AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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
37 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
38 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
39 template <typename DomainIdentifierT = Aws::String>
40 void SetDomainIdentifier(DomainIdentifierT&& value) {
41 m_domainIdentifierHasBeenSet = true;
42 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
43 }
44 template <typename DomainIdentifierT = Aws::String>
45 UpdateEnvironmentRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
46 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetIdentifier() const { return m_identifier; }
56 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
57 template <typename IdentifierT = Aws::String>
58 void SetIdentifier(IdentifierT&& value) {
59 m_identifierHasBeenSet = true;
60 m_identifier = std::forward<IdentifierT>(value);
61 }
62 template <typename IdentifierT = Aws::String>
64 SetIdentifier(std::forward<IdentifierT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template <typename NameT = Aws::String>
77 void SetName(NameT&& value) {
78 m_nameHasBeenSet = true;
79 m_name = std::forward<NameT>(value);
80 }
81 template <typename NameT = Aws::String>
83 SetName(std::forward<NameT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
113 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
114 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
115 void SetGlossaryTerms(GlossaryTermsT&& value) {
116 m_glossaryTermsHasBeenSet = true;
117 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
118 }
119 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
121 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
122 return *this;
123 }
124 template <typename GlossaryTermsT = Aws::String>
126 m_glossaryTermsHasBeenSet = true;
127 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
128 return *this;
129 }
131
133
137 inline const Aws::String& GetBlueprintVersion() const { return m_blueprintVersion; }
138 inline bool BlueprintVersionHasBeenSet() const { return m_blueprintVersionHasBeenSet; }
139 template <typename BlueprintVersionT = Aws::String>
140 void SetBlueprintVersion(BlueprintVersionT&& value) {
141 m_blueprintVersionHasBeenSet = true;
142 m_blueprintVersion = std::forward<BlueprintVersionT>(value);
143 }
144 template <typename BlueprintVersionT = Aws::String>
145 UpdateEnvironmentRequest& WithBlueprintVersion(BlueprintVersionT&& value) {
146 SetBlueprintVersion(std::forward<BlueprintVersionT>(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_domainIdentifier;
176
177 Aws::String m_identifier;
178
179 Aws::String m_name;
180
181 Aws::String m_description;
182
183 Aws::Vector<Aws::String> m_glossaryTerms;
184
185 Aws::String m_blueprintVersion;
186
187 Aws::Vector<EnvironmentParameter> m_userParameters;
188 bool m_domainIdentifierHasBeenSet = false;
189 bool m_identifierHasBeenSet = false;
190 bool m_nameHasBeenSet = false;
191 bool m_descriptionHasBeenSet = false;
192 bool m_glossaryTermsHasBeenSet = false;
193 bool m_blueprintVersionHasBeenSet = false;
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