AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
EnvironmentConfiguration.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/model/AwsAccount.h>
10#include <aws/datazone/model/Region.h>
11#include <aws/datazone/model/EnvironmentConfigurationParametersDetails.h>
12#include <aws/datazone/model/DeploymentMode.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace DataZone
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_DATAZONE_API EnvironmentConfiguration() = default;
42 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::Vector<Aws::String>& GetAccountPools() const { return m_accountPools; }
50 inline bool AccountPoolsHasBeenSet() const { return m_accountPoolsHasBeenSet; }
51 template<typename AccountPoolsT = Aws::Vector<Aws::String>>
52 void SetAccountPools(AccountPoolsT&& value) { m_accountPoolsHasBeenSet = true; m_accountPools = std::forward<AccountPoolsT>(value); }
53 template<typename AccountPoolsT = Aws::Vector<Aws::String>>
54 EnvironmentConfiguration& WithAccountPools(AccountPoolsT&& value) { SetAccountPools(std::forward<AccountPoolsT>(value)); return *this;}
55 template<typename AccountPoolsT = Aws::String>
56 EnvironmentConfiguration& AddAccountPools(AccountPoolsT&& value) { m_accountPoolsHasBeenSet = true; m_accountPools.emplace_back(std::forward<AccountPoolsT>(value)); return *this; }
58
60
63 inline const AwsAccount& GetAwsAccount() const { return m_awsAccount; }
64 inline bool AwsAccountHasBeenSet() const { return m_awsAccountHasBeenSet; }
65 template<typename AwsAccountT = AwsAccount>
66 void SetAwsAccount(AwsAccountT&& value) { m_awsAccountHasBeenSet = true; m_awsAccount = std::forward<AwsAccountT>(value); }
67 template<typename AwsAccountT = AwsAccount>
68 EnvironmentConfiguration& WithAwsAccount(AwsAccountT&& value) { SetAwsAccount(std::forward<AwsAccountT>(value)); return *this;}
70
72
75 inline const Region& GetAwsRegion() const { return m_awsRegion; }
76 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
77 template<typename AwsRegionT = Region>
78 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::forward<AwsRegionT>(value); }
79 template<typename AwsRegionT = Region>
80 EnvironmentConfiguration& WithAwsRegion(AwsRegionT&& value) { SetAwsRegion(std::forward<AwsRegionT>(value)); return *this;}
82
84
87 inline const EnvironmentConfigurationParametersDetails& GetConfigurationParameters() const { return m_configurationParameters; }
88 inline bool ConfigurationParametersHasBeenSet() const { return m_configurationParametersHasBeenSet; }
89 template<typename ConfigurationParametersT = EnvironmentConfigurationParametersDetails>
90 void SetConfigurationParameters(ConfigurationParametersT&& value) { m_configurationParametersHasBeenSet = true; m_configurationParameters = std::forward<ConfigurationParametersT>(value); }
91 template<typename ConfigurationParametersT = EnvironmentConfigurationParametersDetails>
92 EnvironmentConfiguration& WithConfigurationParameters(ConfigurationParametersT&& value) { SetConfigurationParameters(std::forward<ConfigurationParametersT>(value)); return *this;}
94
96
99 inline DeploymentMode GetDeploymentMode() const { return m_deploymentMode; }
100 inline bool DeploymentModeHasBeenSet() const { return m_deploymentModeHasBeenSet; }
101 inline void SetDeploymentMode(DeploymentMode value) { m_deploymentModeHasBeenSet = true; m_deploymentMode = value; }
104
106
109 inline int GetDeploymentOrder() const { return m_deploymentOrder; }
110 inline bool DeploymentOrderHasBeenSet() const { return m_deploymentOrderHasBeenSet; }
111 inline void SetDeploymentOrder(int value) { m_deploymentOrderHasBeenSet = true; m_deploymentOrder = value; }
112 inline EnvironmentConfiguration& WithDeploymentOrder(int value) { SetDeploymentOrder(value); return *this;}
114
116
119 inline const Aws::String& GetDescription() const { return m_description; }
120 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
121 template<typename DescriptionT = Aws::String>
122 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
123 template<typename DescriptionT = Aws::String>
124 EnvironmentConfiguration& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
126
128
131 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
132 inline bool EnvironmentBlueprintIdHasBeenSet() const { return m_environmentBlueprintIdHasBeenSet; }
133 template<typename EnvironmentBlueprintIdT = Aws::String>
134 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) { m_environmentBlueprintIdHasBeenSet = true; m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value); }
135 template<typename EnvironmentBlueprintIdT = Aws::String>
136 EnvironmentConfiguration& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) { SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value)); return *this;}
138
140
143 inline const Aws::String& GetId() const { return m_id; }
144 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
145 template<typename IdT = Aws::String>
146 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
147 template<typename IdT = Aws::String>
148 EnvironmentConfiguration& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
150
152
155 inline const Aws::String& GetName() const { return m_name; }
156 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
157 template<typename NameT = Aws::String>
158 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
159 template<typename NameT = Aws::String>
160 EnvironmentConfiguration& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
162 private:
163
164 Aws::Vector<Aws::String> m_accountPools;
165 bool m_accountPoolsHasBeenSet = false;
166
167 AwsAccount m_awsAccount;
168 bool m_awsAccountHasBeenSet = false;
169
170 Region m_awsRegion;
171 bool m_awsRegionHasBeenSet = false;
172
173 EnvironmentConfigurationParametersDetails m_configurationParameters;
174 bool m_configurationParametersHasBeenSet = false;
175
176 DeploymentMode m_deploymentMode{DeploymentMode::NOT_SET};
177 bool m_deploymentModeHasBeenSet = false;
178
179 int m_deploymentOrder{0};
180 bool m_deploymentOrderHasBeenSet = false;
181
182 Aws::String m_description;
183 bool m_descriptionHasBeenSet = false;
184
185 Aws::String m_environmentBlueprintId;
186 bool m_environmentBlueprintIdHasBeenSet = false;
187
188 Aws::String m_id;
189 bool m_idHasBeenSet = false;
190
191 Aws::String m_name;
192 bool m_nameHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace DataZone
197} // 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