AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
UpdateEnvironmentRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/EnvironmentParameter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API UpdateEnvironmentRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "UpdateEnvironment"; }
30
31 AWS_DATAZONE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetBlueprintVersion() const { return m_blueprintVersion; }
39 inline bool BlueprintVersionHasBeenSet() const { return m_blueprintVersionHasBeenSet; }
40 template <typename BlueprintVersionT = Aws::String>
41 void SetBlueprintVersion(BlueprintVersionT&& value) {
42 m_blueprintVersionHasBeenSet = true;
43 m_blueprintVersion = std::forward<BlueprintVersionT>(value);
44 }
45 template <typename BlueprintVersionT = Aws::String>
46 UpdateEnvironmentRequest& WithBlueprintVersion(BlueprintVersionT&& value) {
47 SetBlueprintVersion(std::forward<BlueprintVersionT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template <typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) {
61 m_descriptionHasBeenSet = true;
62 m_description = std::forward<DescriptionT>(value);
63 }
64 template <typename DescriptionT = Aws::String>
66 SetDescription(std::forward<DescriptionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
76 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
77 template <typename DomainIdentifierT = Aws::String>
78 void SetDomainIdentifier(DomainIdentifierT&& value) {
79 m_domainIdentifierHasBeenSet = true;
80 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
81 }
82 template <typename DomainIdentifierT = Aws::String>
83 UpdateEnvironmentRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
84 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
95 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
96 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
97 void SetGlossaryTerms(GlossaryTermsT&& value) {
98 m_glossaryTermsHasBeenSet = true;
99 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
100 }
101 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
103 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
104 return *this;
105 }
106 template <typename GlossaryTermsT = Aws::String>
108 m_glossaryTermsHasBeenSet = true;
109 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetIdentifier() const { return m_identifier; }
119 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
120 template <typename IdentifierT = Aws::String>
121 void SetIdentifier(IdentifierT&& value) {
122 m_identifierHasBeenSet = true;
123 m_identifier = std::forward<IdentifierT>(value);
124 }
125 template <typename IdentifierT = Aws::String>
127 SetIdentifier(std::forward<IdentifierT>(value));
128 return *this;
129 }
131
133
137 inline const Aws::String& GetName() const { return m_name; }
138 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
139 template <typename NameT = Aws::String>
140 void SetName(NameT&& value) {
141 m_nameHasBeenSet = true;
142 m_name = std::forward<NameT>(value);
143 }
144 template <typename NameT = Aws::String>
146 SetName(std::forward<NameT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const { return m_userParameters; }
156 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
157 template <typename UserParametersT = Aws::Vector<EnvironmentParameter>>
158 void SetUserParameters(UserParametersT&& value) {
159 m_userParametersHasBeenSet = true;
160 m_userParameters = std::forward<UserParametersT>(value);
161 }
162 template <typename UserParametersT = Aws::Vector<EnvironmentParameter>>
164 SetUserParameters(std::forward<UserParametersT>(value));
165 return *this;
166 }
167 template <typename UserParametersT = EnvironmentParameter>
168 UpdateEnvironmentRequest& AddUserParameters(UserParametersT&& value) {
169 m_userParametersHasBeenSet = true;
170 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
171 return *this;
172 }
174 private:
175 Aws::String m_blueprintVersion;
176 bool m_blueprintVersionHasBeenSet = false;
177
178 Aws::String m_description;
179 bool m_descriptionHasBeenSet = false;
180
181 Aws::String m_domainIdentifier;
182 bool m_domainIdentifierHasBeenSet = false;
183
184 Aws::Vector<Aws::String> m_glossaryTerms;
185 bool m_glossaryTermsHasBeenSet = false;
186
187 Aws::String m_identifier;
188 bool m_identifierHasBeenSet = false;
189
190 Aws::String m_name;
191 bool m_nameHasBeenSet = false;
192
193 Aws::Vector<EnvironmentParameter> m_userParameters;
194 bool m_userParametersHasBeenSet = false;
195};
196
197} // namespace Model
198} // namespace DataZone
199} // 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