AWS SDK for C++

AWS SDK for C++ Version 1.11.814

Loading...
Searching...
No Matches
PutEnvironmentBlueprintConfigurationRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZoneRequest.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/ProvisioningConfiguration.h>
13#include <aws/datazone/model/PutResourceConfiguration.h>
14
15#include <utility>
16
17namespace Aws {
18namespace DataZone {
19namespace Model {
20
24 public:
25 AWS_DATAZONE_API PutEnvironmentBlueprintConfigurationRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "PutEnvironmentBlueprintConfiguration"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
40 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
41 template <typename DomainIdentifierT = Aws::String>
42 void SetDomainIdentifier(DomainIdentifierT&& value) {
43 m_domainIdentifierHasBeenSet = true;
44 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
45 }
46 template <typename DomainIdentifierT = Aws::String>
48 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetEnvironmentBlueprintIdentifier() const { return m_environmentBlueprintIdentifier; }
58 inline bool EnvironmentBlueprintIdentifierHasBeenSet() const { return m_environmentBlueprintIdentifierHasBeenSet; }
59 template <typename EnvironmentBlueprintIdentifierT = Aws::String>
60 void SetEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT&& value) {
61 m_environmentBlueprintIdentifierHasBeenSet = true;
62 m_environmentBlueprintIdentifier = std::forward<EnvironmentBlueprintIdentifierT>(value);
63 }
64 template <typename EnvironmentBlueprintIdentifierT = Aws::String>
66 SetEnvironmentBlueprintIdentifier(std::forward<EnvironmentBlueprintIdentifierT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetProvisioningRoleArn() const { return m_provisioningRoleArn; }
76 inline bool ProvisioningRoleArnHasBeenSet() const { return m_provisioningRoleArnHasBeenSet; }
77 template <typename ProvisioningRoleArnT = Aws::String>
78 void SetProvisioningRoleArn(ProvisioningRoleArnT&& value) {
79 m_provisioningRoleArnHasBeenSet = true;
80 m_provisioningRoleArn = std::forward<ProvisioningRoleArnT>(value);
81 }
82 template <typename ProvisioningRoleArnT = Aws::String>
84 SetProvisioningRoleArn(std::forward<ProvisioningRoleArnT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetManageAccessRoleArn() const { return m_manageAccessRoleArn; }
94 inline bool ManageAccessRoleArnHasBeenSet() const { return m_manageAccessRoleArnHasBeenSet; }
95 template <typename ManageAccessRoleArnT = Aws::String>
96 void SetManageAccessRoleArn(ManageAccessRoleArnT&& value) {
97 m_manageAccessRoleArnHasBeenSet = true;
98 m_manageAccessRoleArn = std::forward<ManageAccessRoleArnT>(value);
99 }
100 template <typename ManageAccessRoleArnT = Aws::String>
102 SetManageAccessRoleArn(std::forward<ManageAccessRoleArnT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetEnvironmentRolePermissionBoundary() const { return m_environmentRolePermissionBoundary; }
112 inline bool EnvironmentRolePermissionBoundaryHasBeenSet() const { return m_environmentRolePermissionBoundaryHasBeenSet; }
113 template <typename EnvironmentRolePermissionBoundaryT = Aws::String>
114 void SetEnvironmentRolePermissionBoundary(EnvironmentRolePermissionBoundaryT&& value) {
115 m_environmentRolePermissionBoundaryHasBeenSet = true;
116 m_environmentRolePermissionBoundary = std::forward<EnvironmentRolePermissionBoundaryT>(value);
117 }
118 template <typename EnvironmentRolePermissionBoundaryT = Aws::String>
120 SetEnvironmentRolePermissionBoundary(std::forward<EnvironmentRolePermissionBoundaryT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Vector<Aws::String>& GetEnabledRegions() const { return m_enabledRegions; }
130 inline bool EnabledRegionsHasBeenSet() const { return m_enabledRegionsHasBeenSet; }
131 template <typename EnabledRegionsT = Aws::Vector<Aws::String>>
132 void SetEnabledRegions(EnabledRegionsT&& value) {
133 m_enabledRegionsHasBeenSet = true;
134 m_enabledRegions = std::forward<EnabledRegionsT>(value);
135 }
136 template <typename EnabledRegionsT = Aws::Vector<Aws::String>>
138 SetEnabledRegions(std::forward<EnabledRegionsT>(value));
139 return *this;
140 }
141 template <typename EnabledRegionsT = Aws::String>
143 m_enabledRegionsHasBeenSet = true;
144 m_enabledRegions.emplace_back(std::forward<EnabledRegionsT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>& GetRegionalParameters() const { return m_regionalParameters; }
154 inline bool RegionalParametersHasBeenSet() const { return m_regionalParametersHasBeenSet; }
155 template <typename RegionalParametersT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
156 void SetRegionalParameters(RegionalParametersT&& value) {
157 m_regionalParametersHasBeenSet = true;
158 m_regionalParameters = std::forward<RegionalParametersT>(value);
159 }
160 template <typename RegionalParametersT = Aws::Map<Aws::String, Aws::Map<Aws::String, Aws::String>>>
162 SetRegionalParameters(std::forward<RegionalParametersT>(value));
163 return *this;
164 }
165 template <typename RegionalParametersKeyT = Aws::String, typename RegionalParametersValueT = Aws::Map<Aws::String, Aws::String>>
166 PutEnvironmentBlueprintConfigurationRequest& AddRegionalParameters(RegionalParametersKeyT&& key, RegionalParametersValueT&& value) {
167 m_regionalParametersHasBeenSet = true;
168 m_regionalParameters.emplace(std::forward<RegionalParametersKeyT>(key), std::forward<RegionalParametersValueT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Vector<PutResourceConfiguration>& GetResourceConfigurations() const { return m_resourceConfigurations; }
178 inline bool ResourceConfigurationsHasBeenSet() const { return m_resourceConfigurationsHasBeenSet; }
179 template <typename ResourceConfigurationsT = Aws::Vector<PutResourceConfiguration>>
180 void SetResourceConfigurations(ResourceConfigurationsT&& value) {
181 m_resourceConfigurationsHasBeenSet = true;
182 m_resourceConfigurations = std::forward<ResourceConfigurationsT>(value);
183 }
184 template <typename ResourceConfigurationsT = Aws::Vector<PutResourceConfiguration>>
186 SetResourceConfigurations(std::forward<ResourceConfigurationsT>(value));
187 return *this;
188 }
189 template <typename ResourceConfigurationsT = PutResourceConfiguration>
191 m_resourceConfigurationsHasBeenSet = true;
192 m_resourceConfigurations.emplace_back(std::forward<ResourceConfigurationsT>(value));
193 return *this;
194 }
196
198
202 inline bool GetAllowUserProvidedConfigurations() const { return m_allowUserProvidedConfigurations; }
203 inline bool AllowUserProvidedConfigurationsHasBeenSet() const { return m_allowUserProvidedConfigurationsHasBeenSet; }
204 inline void SetAllowUserProvidedConfigurations(bool value) {
205 m_allowUserProvidedConfigurationsHasBeenSet = true;
206 m_allowUserProvidedConfigurations = value;
207 }
210 return *this;
211 }
213
215
218 inline const Aws::Map<Aws::String, Aws::String>& GetGlobalParameters() const { return m_globalParameters; }
219 inline bool GlobalParametersHasBeenSet() const { return m_globalParametersHasBeenSet; }
220 template <typename GlobalParametersT = Aws::Map<Aws::String, Aws::String>>
221 void SetGlobalParameters(GlobalParametersT&& value) {
222 m_globalParametersHasBeenSet = true;
223 m_globalParameters = std::forward<GlobalParametersT>(value);
224 }
225 template <typename GlobalParametersT = Aws::Map<Aws::String, Aws::String>>
227 SetGlobalParameters(std::forward<GlobalParametersT>(value));
228 return *this;
229 }
230 template <typename GlobalParametersKeyT = Aws::String, typename GlobalParametersValueT = Aws::String>
231 PutEnvironmentBlueprintConfigurationRequest& AddGlobalParameters(GlobalParametersKeyT&& key, GlobalParametersValueT&& value) {
232 m_globalParametersHasBeenSet = true;
233 m_globalParameters.emplace(std::forward<GlobalParametersKeyT>(key), std::forward<GlobalParametersValueT>(value));
234 return *this;
235 }
237
239
242 inline const Aws::Vector<ProvisioningConfiguration>& GetProvisioningConfigurations() const { return m_provisioningConfigurations; }
243 inline bool ProvisioningConfigurationsHasBeenSet() const { return m_provisioningConfigurationsHasBeenSet; }
244 template <typename ProvisioningConfigurationsT = Aws::Vector<ProvisioningConfiguration>>
245 void SetProvisioningConfigurations(ProvisioningConfigurationsT&& value) {
246 m_provisioningConfigurationsHasBeenSet = true;
247 m_provisioningConfigurations = std::forward<ProvisioningConfigurationsT>(value);
248 }
249 template <typename ProvisioningConfigurationsT = Aws::Vector<ProvisioningConfiguration>>
251 SetProvisioningConfigurations(std::forward<ProvisioningConfigurationsT>(value));
252 return *this;
253 }
254 template <typename ProvisioningConfigurationsT = ProvisioningConfiguration>
256 m_provisioningConfigurationsHasBeenSet = true;
257 m_provisioningConfigurations.emplace_back(std::forward<ProvisioningConfigurationsT>(value));
258 return *this;
259 }
261 private:
262 Aws::String m_domainIdentifier;
263
264 Aws::String m_environmentBlueprintIdentifier;
265
266 Aws::String m_provisioningRoleArn;
267
268 Aws::String m_manageAccessRoleArn;
269
270 Aws::String m_environmentRolePermissionBoundary;
271
272 Aws::Vector<Aws::String> m_enabledRegions;
273
275
276 Aws::Vector<PutResourceConfiguration> m_resourceConfigurations;
277
278 bool m_allowUserProvidedConfigurations{false};
279
280 Aws::Map<Aws::String, Aws::String> m_globalParameters;
281
282 Aws::Vector<ProvisioningConfiguration> m_provisioningConfigurations;
283 bool m_domainIdentifierHasBeenSet = false;
284 bool m_environmentBlueprintIdentifierHasBeenSet = false;
285 bool m_provisioningRoleArnHasBeenSet = false;
286 bool m_manageAccessRoleArnHasBeenSet = false;
287 bool m_environmentRolePermissionBoundaryHasBeenSet = false;
288 bool m_enabledRegionsHasBeenSet = false;
289 bool m_regionalParametersHasBeenSet = false;
290 bool m_resourceConfigurationsHasBeenSet = false;
291 bool m_allowUserProvidedConfigurationsHasBeenSet = false;
292 bool m_globalParametersHasBeenSet = false;
293 bool m_provisioningConfigurationsHasBeenSet = false;
294};
295
296} // namespace Model
297} // namespace DataZone
298} // namespace Aws
PutEnvironmentBlueprintConfigurationRequest & AddResourceConfigurations(ResourceConfigurationsT &&value)
const Aws::Map< Aws::String, Aws::Map< Aws::String, Aws::String > > & GetRegionalParameters() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
PutEnvironmentBlueprintConfigurationRequest & WithResourceConfigurations(ResourceConfigurationsT &&value)
PutEnvironmentBlueprintConfigurationRequest & WithManageAccessRoleArn(ManageAccessRoleArnT &&value)
PutEnvironmentBlueprintConfigurationRequest & AddProvisioningConfigurations(ProvisioningConfigurationsT &&value)
PutEnvironmentBlueprintConfigurationRequest & AddRegionalParameters(RegionalParametersKeyT &&key, RegionalParametersValueT &&value)
PutEnvironmentBlueprintConfigurationRequest & WithAllowUserProvidedConfigurations(bool value)
PutEnvironmentBlueprintConfigurationRequest & WithEnabledRegions(EnabledRegionsT &&value)
PutEnvironmentBlueprintConfigurationRequest & WithProvisioningRoleArn(ProvisioningRoleArnT &&value)
PutEnvironmentBlueprintConfigurationRequest & WithGlobalParameters(GlobalParametersT &&value)
PutEnvironmentBlueprintConfigurationRequest & WithRegionalParameters(RegionalParametersT &&value)
PutEnvironmentBlueprintConfigurationRequest & WithDomainIdentifier(DomainIdentifierT &&value)
PutEnvironmentBlueprintConfigurationRequest & WithEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT &&value)
const Aws::Vector< ProvisioningConfiguration > & GetProvisioningConfigurations() const
PutEnvironmentBlueprintConfigurationRequest & AddGlobalParameters(GlobalParametersKeyT &&key, GlobalParametersValueT &&value)
PutEnvironmentBlueprintConfigurationRequest & WithEnvironmentRolePermissionBoundary(EnvironmentRolePermissionBoundaryT &&value)
PutEnvironmentBlueprintConfigurationRequest & AddEnabledRegions(EnabledRegionsT &&value)
PutEnvironmentBlueprintConfigurationRequest & WithProvisioningConfigurations(ProvisioningConfigurationsT &&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