AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
EnvironmentConfiguration.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/DataZone_EXPORTS.h>
10#include <aws/datazone/model/AwsAccount.h>
11#include <aws/datazone/model/DeploymentMode.h>
12#include <aws/datazone/model/EnvironmentConfigurationParametersDetails.h>
13#include <aws/datazone/model/Region.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DataZone {
25namespace Model {
26
33 public:
34 AWS_DATAZONE_API EnvironmentConfiguration() = default;
37 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetName() const { return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 template <typename NameT = Aws::String>
46 void SetName(NameT&& value) {
47 m_nameHasBeenSet = true;
48 m_name = std::forward<NameT>(value);
49 }
50 template <typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetId() const { return m_id; }
62 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
63 template <typename IdT = Aws::String>
64 void SetId(IdT&& value) {
65 m_idHasBeenSet = true;
66 m_id = std::forward<IdT>(value);
67 }
68 template <typename IdT = Aws::String>
70 SetId(std::forward<IdT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
80 inline bool EnvironmentBlueprintIdHasBeenSet() const { return m_environmentBlueprintIdHasBeenSet; }
81 template <typename EnvironmentBlueprintIdT = Aws::String>
82 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
83 m_environmentBlueprintIdHasBeenSet = true;
84 m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value);
85 }
86 template <typename EnvironmentBlueprintIdT = Aws::String>
87 EnvironmentConfiguration& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) {
88 SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value));
89 return *this;
90 }
92
94
97 inline const Aws::String& GetDescription() const { return m_description; }
98 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
99 template <typename DescriptionT = Aws::String>
100 void SetDescription(DescriptionT&& value) {
101 m_descriptionHasBeenSet = true;
102 m_description = std::forward<DescriptionT>(value);
103 }
104 template <typename DescriptionT = Aws::String>
106 SetDescription(std::forward<DescriptionT>(value));
107 return *this;
108 }
110
112
115 inline DeploymentMode GetDeploymentMode() const { return m_deploymentMode; }
116 inline bool DeploymentModeHasBeenSet() const { return m_deploymentModeHasBeenSet; }
118 m_deploymentModeHasBeenSet = true;
119 m_deploymentMode = value;
120 }
122 SetDeploymentMode(value);
123 return *this;
124 }
126
128
131 inline const EnvironmentConfigurationParametersDetails& GetConfigurationParameters() const { return m_configurationParameters; }
132 inline bool ConfigurationParametersHasBeenSet() const { return m_configurationParametersHasBeenSet; }
133 template <typename ConfigurationParametersT = EnvironmentConfigurationParametersDetails>
134 void SetConfigurationParameters(ConfigurationParametersT&& value) {
135 m_configurationParametersHasBeenSet = true;
136 m_configurationParameters = std::forward<ConfigurationParametersT>(value);
137 }
138 template <typename ConfigurationParametersT = EnvironmentConfigurationParametersDetails>
139 EnvironmentConfiguration& WithConfigurationParameters(ConfigurationParametersT&& value) {
140 SetConfigurationParameters(std::forward<ConfigurationParametersT>(value));
141 return *this;
142 }
144
146
149 inline const AwsAccount& GetAwsAccount() const { return m_awsAccount; }
150 inline bool AwsAccountHasBeenSet() const { return m_awsAccountHasBeenSet; }
151 template <typename AwsAccountT = AwsAccount>
152 void SetAwsAccount(AwsAccountT&& value) {
153 m_awsAccountHasBeenSet = true;
154 m_awsAccount = std::forward<AwsAccountT>(value);
155 }
156 template <typename AwsAccountT = AwsAccount>
158 SetAwsAccount(std::forward<AwsAccountT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::Vector<Aws::String>& GetAccountPools() const { return m_accountPools; }
168 inline bool AccountPoolsHasBeenSet() const { return m_accountPoolsHasBeenSet; }
169 template <typename AccountPoolsT = Aws::Vector<Aws::String>>
170 void SetAccountPools(AccountPoolsT&& value) {
171 m_accountPoolsHasBeenSet = true;
172 m_accountPools = std::forward<AccountPoolsT>(value);
173 }
174 template <typename AccountPoolsT = Aws::Vector<Aws::String>>
176 SetAccountPools(std::forward<AccountPoolsT>(value));
177 return *this;
178 }
179 template <typename AccountPoolsT = Aws::String>
181 m_accountPoolsHasBeenSet = true;
182 m_accountPools.emplace_back(std::forward<AccountPoolsT>(value));
183 return *this;
184 }
186
188
191 inline const Region& GetAwsRegion() const { return m_awsRegion; }
192 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
193 template <typename AwsRegionT = Region>
194 void SetAwsRegion(AwsRegionT&& value) {
195 m_awsRegionHasBeenSet = true;
196 m_awsRegion = std::forward<AwsRegionT>(value);
197 }
198 template <typename AwsRegionT = Region>
200 SetAwsRegion(std::forward<AwsRegionT>(value));
201 return *this;
202 }
204
206
209 inline int GetDeploymentOrder() const { return m_deploymentOrder; }
210 inline bool DeploymentOrderHasBeenSet() const { return m_deploymentOrderHasBeenSet; }
211 inline void SetDeploymentOrder(int value) {
212 m_deploymentOrderHasBeenSet = true;
213 m_deploymentOrder = value;
214 }
216 SetDeploymentOrder(value);
217 return *this;
218 }
220 private:
221 Aws::String m_name;
222
223 Aws::String m_id;
224
225 Aws::String m_environmentBlueprintId;
226
227 Aws::String m_description;
228
229 DeploymentMode m_deploymentMode{DeploymentMode::NOT_SET};
230
231 EnvironmentConfigurationParametersDetails m_configurationParameters;
232
233 AwsAccount m_awsAccount;
234
235 Aws::Vector<Aws::String> m_accountPools;
236
237 Region m_awsRegion;
238
239 int m_deploymentOrder{0};
240 bool m_nameHasBeenSet = false;
241 bool m_idHasBeenSet = false;
242 bool m_environmentBlueprintIdHasBeenSet = false;
243 bool m_descriptionHasBeenSet = false;
244 bool m_deploymentModeHasBeenSet = false;
245 bool m_configurationParametersHasBeenSet = false;
246 bool m_awsAccountHasBeenSet = false;
247 bool m_accountPoolsHasBeenSet = false;
248 bool m_awsRegionHasBeenSet = false;
249 bool m_deploymentOrderHasBeenSet = false;
250};
251
252} // namespace Model
253} // namespace DataZone
254} // namespace Aws
EnvironmentConfiguration & WithAccountPools(AccountPoolsT &&value)
const EnvironmentConfigurationParametersDetails & GetConfigurationParameters() const
AWS_DATAZONE_API EnvironmentConfiguration()=default
AWS_DATAZONE_API EnvironmentConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
EnvironmentConfiguration & WithDeploymentOrder(int value)
EnvironmentConfiguration & WithEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
EnvironmentConfiguration & WithId(IdT &&value)
EnvironmentConfiguration & WithConfigurationParameters(ConfigurationParametersT &&value)
EnvironmentConfiguration & WithName(NameT &&value)
EnvironmentConfiguration & WithAwsAccount(AwsAccountT &&value)
void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT &&value)
void SetConfigurationParameters(ConfigurationParametersT &&value)
const Aws::Vector< Aws::String > & GetAccountPools() const
EnvironmentConfiguration & AddAccountPools(AccountPoolsT &&value)
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
EnvironmentConfiguration & WithAwsRegion(AwsRegionT &&value)
EnvironmentConfiguration & WithDescription(DescriptionT &&value)
EnvironmentConfiguration & WithDeploymentMode(DeploymentMode value)
AWS_DATAZONE_API EnvironmentConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue