AWS SDK for C++

AWS SDK for C++ Version 1.11.814

Loading...
Searching...
No Matches
PutEnvironmentBlueprintConfigurationResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/DataZone_EXPORTS.h>
13#include <aws/datazone/model/ProvisioningConfiguration.h>
14#include <aws/datazone/model/ResourceConfiguration.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace DataZone {
28namespace Model {
30 public:
31 AWS_DATAZONE_API PutEnvironmentBlueprintConfigurationResult() = default;
35
37
40 inline const Aws::String& GetDomainId() const { return m_domainId; }
41 template <typename DomainIdT = Aws::String>
42 void SetDomainId(DomainIdT&& value) {
43 m_domainIdHasBeenSet = true;
44 m_domainId = std::forward<DomainIdT>(value);
45 }
46 template <typename DomainIdT = Aws::String>
48 SetDomainId(std::forward<DomainIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
58 template <typename EnvironmentBlueprintIdT = Aws::String>
59 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
60 m_environmentBlueprintIdHasBeenSet = true;
61 m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value);
62 }
63 template <typename EnvironmentBlueprintIdT = Aws::String>
65 SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetProvisioningRoleArn() const { return m_provisioningRoleArn; }
75 template <typename ProvisioningRoleArnT = Aws::String>
76 void SetProvisioningRoleArn(ProvisioningRoleArnT&& value) {
77 m_provisioningRoleArnHasBeenSet = true;
78 m_provisioningRoleArn = std::forward<ProvisioningRoleArnT>(value);
79 }
80 template <typename ProvisioningRoleArnT = Aws::String>
82 SetProvisioningRoleArn(std::forward<ProvisioningRoleArnT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetEnvironmentRolePermissionBoundary() const { return m_environmentRolePermissionBoundary; }
92 template <typename EnvironmentRolePermissionBoundaryT = Aws::String>
93 void SetEnvironmentRolePermissionBoundary(EnvironmentRolePermissionBoundaryT&& value) {
94 m_environmentRolePermissionBoundaryHasBeenSet = true;
95 m_environmentRolePermissionBoundary = std::forward<EnvironmentRolePermissionBoundaryT>(value);
96 }
97 template <typename EnvironmentRolePermissionBoundaryT = Aws::String>
99 SetEnvironmentRolePermissionBoundary(std::forward<EnvironmentRolePermissionBoundaryT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetManageAccessRoleArn() const { return m_manageAccessRoleArn; }
109 template <typename ManageAccessRoleArnT = Aws::String>
110 void SetManageAccessRoleArn(ManageAccessRoleArnT&& value) {
111 m_manageAccessRoleArnHasBeenSet = true;
112 m_manageAccessRoleArn = std::forward<ManageAccessRoleArnT>(value);
113 }
114 template <typename ManageAccessRoleArnT = Aws::String>
116 SetManageAccessRoleArn(std::forward<ManageAccessRoleArnT>(value));
117 return *this;
118 }
120
122
125 inline const Aws::Vector<Aws::String>& GetEnabledRegions() const { return m_enabledRegions; }
126 template <typename EnabledRegionsT = Aws::Vector<Aws::String>>
127 void SetEnabledRegions(EnabledRegionsT&& value) {
128 m_enabledRegionsHasBeenSet = true;
129 m_enabledRegions = std::forward<EnabledRegionsT>(value);
130 }
131 template <typename EnabledRegionsT = Aws::Vector<Aws::String>>
133 SetEnabledRegions(std::forward<EnabledRegionsT>(value));
134 return *this;
135 }
136 template <typename EnabledRegionsT = Aws::String>
138 m_enabledRegionsHasBeenSet = true;
139 m_enabledRegions.emplace_back(std::forward<EnabledRegionsT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>& GetRegionalParameters() const { return m_regionalParameters; }
149 template <typename RegionalParametersT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
150 void SetRegionalParameters(RegionalParametersT&& value) {
151 m_regionalParametersHasBeenSet = true;
152 m_regionalParameters = std::forward<RegionalParametersT>(value);
153 }
154 template <typename RegionalParametersT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
156 SetRegionalParameters(std::forward<RegionalParametersT>(value));
157 return *this;
158 }
159 template <typename RegionalParametersKeyT = Aws::String, typename RegionalParametersValueT = Aws::Map<Aws::String, Aws::String>>
160 PutEnvironmentBlueprintConfigurationResult& AddRegionalParameters(RegionalParametersKeyT&& key, RegionalParametersValueT&& value) {
161 m_regionalParametersHasBeenSet = true;
162 m_regionalParameters.emplace(std::forward<RegionalParametersKeyT>(key), std::forward<RegionalParametersValueT>(value));
163 return *this;
164 }
166
168
172 inline bool GetAllowUserProvidedConfigurations() const { return m_allowUserProvidedConfigurations; }
173 inline void SetAllowUserProvidedConfigurations(bool value) {
174 m_allowUserProvidedConfigurationsHasBeenSet = true;
175 m_allowUserProvidedConfigurations = value;
176 }
179 return *this;
180 }
182
184
187 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
188 template <typename CreatedAtT = Aws::Utils::DateTime>
189 void SetCreatedAt(CreatedAtT&& value) {
190 m_createdAtHasBeenSet = true;
191 m_createdAt = std::forward<CreatedAtT>(value);
192 }
193 template <typename CreatedAtT = Aws::Utils::DateTime>
195 SetCreatedAt(std::forward<CreatedAtT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
205 template <typename UpdatedAtT = Aws::Utils::DateTime>
206 void SetUpdatedAt(UpdatedAtT&& value) {
207 m_updatedAtHasBeenSet = true;
208 m_updatedAt = std::forward<UpdatedAtT>(value);
209 }
210 template <typename UpdatedAtT = Aws::Utils::DateTime>
212 SetUpdatedAt(std::forward<UpdatedAtT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::Vector<ResourceConfiguration>& GetResourceConfigurations() const { return m_resourceConfigurations; }
222 template <typename ResourceConfigurationsT = Aws::Vector<ResourceConfiguration>>
223 void SetResourceConfigurations(ResourceConfigurationsT&& value) {
224 m_resourceConfigurationsHasBeenSet = true;
225 m_resourceConfigurations = std::forward<ResourceConfigurationsT>(value);
226 }
227 template <typename ResourceConfigurationsT = Aws::Vector<ResourceConfiguration>>
229 SetResourceConfigurations(std::forward<ResourceConfigurationsT>(value));
230 return *this;
231 }
232 template <typename ResourceConfigurationsT = ResourceConfiguration>
234 m_resourceConfigurationsHasBeenSet = true;
235 m_resourceConfigurations.emplace_back(std::forward<ResourceConfigurationsT>(value));
236 return *this;
237 }
239
241
244 inline const Aws::Vector<ProvisioningConfiguration>& GetProvisioningConfigurations() const { return m_provisioningConfigurations; }
245 template <typename ProvisioningConfigurationsT = Aws::Vector<ProvisioningConfiguration>>
246 void SetProvisioningConfigurations(ProvisioningConfigurationsT&& value) {
247 m_provisioningConfigurationsHasBeenSet = true;
248 m_provisioningConfigurations = std::forward<ProvisioningConfigurationsT>(value);
249 }
250 template <typename ProvisioningConfigurationsT = Aws::Vector<ProvisioningConfiguration>>
252 SetProvisioningConfigurations(std::forward<ProvisioningConfigurationsT>(value));
253 return *this;
254 }
255 template <typename ProvisioningConfigurationsT = ProvisioningConfiguration>
257 m_provisioningConfigurationsHasBeenSet = true;
258 m_provisioningConfigurations.emplace_back(std::forward<ProvisioningConfigurationsT>(value));
259 return *this;
260 }
262
264
265 inline const Aws::String& GetRequestId() const { return m_requestId; }
266 template <typename RequestIdT = Aws::String>
267 void SetRequestId(RequestIdT&& value) {
268 m_requestIdHasBeenSet = true;
269 m_requestId = std::forward<RequestIdT>(value);
270 }
271 template <typename RequestIdT = Aws::String>
273 SetRequestId(std::forward<RequestIdT>(value));
274 return *this;
275 }
277 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
278
279 private:
280 Aws::String m_domainId;
281
282 Aws::String m_environmentBlueprintId;
283
284 Aws::String m_provisioningRoleArn;
285
286 Aws::String m_environmentRolePermissionBoundary;
287
288 Aws::String m_manageAccessRoleArn;
289
290 Aws::Vector<Aws::String> m_enabledRegions;
291
293
294 bool m_allowUserProvidedConfigurations{false};
295
296 Aws::Utils::DateTime m_createdAt{};
297
298 Aws::Utils::DateTime m_updatedAt{};
299
300 Aws::Vector<ResourceConfiguration> m_resourceConfigurations;
301
302 Aws::Vector<ProvisioningConfiguration> m_provisioningConfigurations;
303
304 Aws::String m_requestId;
305 Aws::Http::HttpResponseCode m_HttpResponseCode;
306 bool m_domainIdHasBeenSet = false;
307 bool m_environmentBlueprintIdHasBeenSet = false;
308 bool m_provisioningRoleArnHasBeenSet = false;
309 bool m_environmentRolePermissionBoundaryHasBeenSet = false;
310 bool m_manageAccessRoleArnHasBeenSet = false;
311 bool m_enabledRegionsHasBeenSet = false;
312 bool m_regionalParametersHasBeenSet = false;
313 bool m_allowUserProvidedConfigurationsHasBeenSet = false;
314 bool m_createdAtHasBeenSet = false;
315 bool m_updatedAtHasBeenSet = false;
316 bool m_resourceConfigurationsHasBeenSet = false;
317 bool m_provisioningConfigurationsHasBeenSet = false;
318 bool m_requestIdHasBeenSet = false;
319};
320
321} // namespace Model
322} // namespace DataZone
323} // namespace Aws
PutEnvironmentBlueprintConfigurationResult & WithAllowUserProvidedConfigurations(bool value)
PutEnvironmentBlueprintConfigurationResult & WithProvisioningConfigurations(ProvisioningConfigurationsT &&value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetRegionalParameters() const
PutEnvironmentBlueprintConfigurationResult & WithRegionalParameters(RegionalParametersT &&value)
PutEnvironmentBlueprintConfigurationResult & WithEnabledRegions(EnabledRegionsT &&value)
PutEnvironmentBlueprintConfigurationResult & WithManageAccessRoleArn(ManageAccessRoleArnT &&value)
PutEnvironmentBlueprintConfigurationResult & WithResourceConfigurations(ResourceConfigurationsT &&value)
PutEnvironmentBlueprintConfigurationResult & AddRegionalParameters(RegionalParametersKeyT &&key, RegionalParametersValueT &&value)
PutEnvironmentBlueprintConfigurationResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_DATAZONE_API PutEnvironmentBlueprintConfigurationResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_DATAZONE_API PutEnvironmentBlueprintConfigurationResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutEnvironmentBlueprintConfigurationResult & WithEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
PutEnvironmentBlueprintConfigurationResult & WithEnvironmentRolePermissionBoundary(EnvironmentRolePermissionBoundaryT &&value)
PutEnvironmentBlueprintConfigurationResult & WithDomainId(DomainIdT &&value)
PutEnvironmentBlueprintConfigurationResult & AddProvisioningConfigurations(ProvisioningConfigurationsT &&value)
PutEnvironmentBlueprintConfigurationResult & WithCreatedAt(CreatedAtT &&value)
PutEnvironmentBlueprintConfigurationResult & AddResourceConfigurations(ResourceConfigurationsT &&value)
PutEnvironmentBlueprintConfigurationResult & WithRequestId(RequestIdT &&value)
PutEnvironmentBlueprintConfigurationResult & WithProvisioningRoleArn(ProvisioningRoleArnT &&value)
const Aws::Vector< ProvisioningConfiguration > & GetProvisioningConfigurations() const
PutEnvironmentBlueprintConfigurationResult & AddEnabledRegions(EnabledRegionsT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue