AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateEnvironmentRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/EnvironmentParameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API UpdateEnvironmentRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateEnvironment"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
42 inline const Aws::String& GetBlueprintVersion() const { return m_blueprintVersion; }
43 inline bool BlueprintVersionHasBeenSet() const { return m_blueprintVersionHasBeenSet; }
44 template<typename BlueprintVersionT = Aws::String>
45 void SetBlueprintVersion(BlueprintVersionT&& value) { m_blueprintVersionHasBeenSet = true; m_blueprintVersion = std::forward<BlueprintVersionT>(value); }
46 template<typename BlueprintVersionT = Aws::String>
47 UpdateEnvironmentRequest& WithBlueprintVersion(BlueprintVersionT&& value) { SetBlueprintVersion(std::forward<BlueprintVersionT>(value)); return *this;}
49
51
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template<typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
59 template<typename DescriptionT = Aws::String>
60 UpdateEnvironmentRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
68 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
69 template<typename DomainIdentifierT = Aws::String>
70 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
71 template<typename DomainIdentifierT = Aws::String>
72 UpdateEnvironmentRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
74
76
80 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
81 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
82 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
83 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
84 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
85 UpdateEnvironmentRequest& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
86 template<typename GlossaryTermsT = Aws::String>
87 UpdateEnvironmentRequest& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
89
91
94 inline const Aws::String& GetIdentifier() const { return m_identifier; }
95 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
96 template<typename IdentifierT = Aws::String>
97 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
98 template<typename IdentifierT = Aws::String>
99 UpdateEnvironmentRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
101
103
107 inline const Aws::String& GetName() const { return m_name; }
108 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
109 template<typename NameT = Aws::String>
110 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
111 template<typename NameT = Aws::String>
112 UpdateEnvironmentRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
114
116
119 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const { return m_userParameters; }
120 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
121 template<typename UserParametersT = Aws::Vector<EnvironmentParameter>>
122 void SetUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::forward<UserParametersT>(value); }
123 template<typename UserParametersT = Aws::Vector<EnvironmentParameter>>
124 UpdateEnvironmentRequest& WithUserParameters(UserParametersT&& value) { SetUserParameters(std::forward<UserParametersT>(value)); return *this;}
125 template<typename UserParametersT = EnvironmentParameter>
126 UpdateEnvironmentRequest& AddUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters.emplace_back(std::forward<UserParametersT>(value)); return *this; }
128 private:
129
130 Aws::String m_blueprintVersion;
131 bool m_blueprintVersionHasBeenSet = false;
132
133 Aws::String m_description;
134 bool m_descriptionHasBeenSet = false;
135
136 Aws::String m_domainIdentifier;
137 bool m_domainIdentifierHasBeenSet = false;
138
139 Aws::Vector<Aws::String> m_glossaryTerms;
140 bool m_glossaryTermsHasBeenSet = false;
141
142 Aws::String m_identifier;
143 bool m_identifierHasBeenSet = false;
144
145 Aws::String m_name;
146 bool m_nameHasBeenSet = false;
147
148 Aws::Vector<EnvironmentParameter> m_userParameters;
149 bool m_userParametersHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace DataZone
154} // namespace Aws
UpdateEnvironmentRequest & WithIdentifier(IdentifierT &&value)
UpdateEnvironmentRequest & WithUserParameters(UserParametersT &&value)
UpdateEnvironmentRequest & WithBlueprintVersion(BlueprintVersionT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
UpdateEnvironmentRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API UpdateEnvironmentRequest()=default
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateEnvironmentRequest & AddUserParameters(UserParametersT &&value)
UpdateEnvironmentRequest & WithGlossaryTerms(GlossaryTermsT &&value)
UpdateEnvironmentRequest & WithDomainIdentifier(DomainIdentifierT &&value)
const Aws::Vector< EnvironmentParameter > & GetUserParameters() const
UpdateEnvironmentRequest & AddGlossaryTerms(GlossaryTermsT &&value)
UpdateEnvironmentRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector