AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
EnvironmentConfiguration.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/model/AwsAccount.h>
9#include <aws/datazone/model/Region.h>
10#include <aws/datazone/model/EnvironmentConfigurationParametersDetails.h>
11#include <aws/datazone/model/DeploymentMode.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace DataZone
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_DATAZONE_API EnvironmentConfiguration() = default;
41 AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const AwsAccount& GetAwsAccount() const { return m_awsAccount; }
49 inline bool AwsAccountHasBeenSet() const { return m_awsAccountHasBeenSet; }
50 template<typename AwsAccountT = AwsAccount>
51 void SetAwsAccount(AwsAccountT&& value) { m_awsAccountHasBeenSet = true; m_awsAccount = std::forward<AwsAccountT>(value); }
52 template<typename AwsAccountT = AwsAccount>
53 EnvironmentConfiguration& WithAwsAccount(AwsAccountT&& value) { SetAwsAccount(std::forward<AwsAccountT>(value)); return *this;}
55
57
60 inline const Region& GetAwsRegion() const { return m_awsRegion; }
61 inline bool AwsRegionHasBeenSet() const { return m_awsRegionHasBeenSet; }
62 template<typename AwsRegionT = Region>
63 void SetAwsRegion(AwsRegionT&& value) { m_awsRegionHasBeenSet = true; m_awsRegion = std::forward<AwsRegionT>(value); }
64 template<typename AwsRegionT = Region>
65 EnvironmentConfiguration& WithAwsRegion(AwsRegionT&& value) { SetAwsRegion(std::forward<AwsRegionT>(value)); return *this;}
67
69
72 inline const EnvironmentConfigurationParametersDetails& GetConfigurationParameters() const { return m_configurationParameters; }
73 inline bool ConfigurationParametersHasBeenSet() const { return m_configurationParametersHasBeenSet; }
74 template<typename ConfigurationParametersT = EnvironmentConfigurationParametersDetails>
75 void SetConfigurationParameters(ConfigurationParametersT&& value) { m_configurationParametersHasBeenSet = true; m_configurationParameters = std::forward<ConfigurationParametersT>(value); }
76 template<typename ConfigurationParametersT = EnvironmentConfigurationParametersDetails>
77 EnvironmentConfiguration& WithConfigurationParameters(ConfigurationParametersT&& value) { SetConfigurationParameters(std::forward<ConfigurationParametersT>(value)); return *this;}
79
81
84 inline DeploymentMode GetDeploymentMode() const { return m_deploymentMode; }
85 inline bool DeploymentModeHasBeenSet() const { return m_deploymentModeHasBeenSet; }
86 inline void SetDeploymentMode(DeploymentMode value) { m_deploymentModeHasBeenSet = true; m_deploymentMode = value; }
89
91
94 inline int GetDeploymentOrder() const { return m_deploymentOrder; }
95 inline bool DeploymentOrderHasBeenSet() const { return m_deploymentOrderHasBeenSet; }
96 inline void SetDeploymentOrder(int value) { m_deploymentOrderHasBeenSet = true; m_deploymentOrder = value; }
97 inline EnvironmentConfiguration& WithDeploymentOrder(int value) { SetDeploymentOrder(value); return *this;}
99
101
104 inline const Aws::String& GetDescription() const { return m_description; }
105 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
106 template<typename DescriptionT = Aws::String>
107 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
108 template<typename DescriptionT = Aws::String>
109 EnvironmentConfiguration& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
111
113
116 inline const Aws::String& GetEnvironmentBlueprintId() const { return m_environmentBlueprintId; }
117 inline bool EnvironmentBlueprintIdHasBeenSet() const { return m_environmentBlueprintIdHasBeenSet; }
118 template<typename EnvironmentBlueprintIdT = Aws::String>
119 void SetEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) { m_environmentBlueprintIdHasBeenSet = true; m_environmentBlueprintId = std::forward<EnvironmentBlueprintIdT>(value); }
120 template<typename EnvironmentBlueprintIdT = Aws::String>
121 EnvironmentConfiguration& WithEnvironmentBlueprintId(EnvironmentBlueprintIdT&& value) { SetEnvironmentBlueprintId(std::forward<EnvironmentBlueprintIdT>(value)); return *this;}
123
125
128 inline const Aws::String& GetId() const { return m_id; }
129 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
130 template<typename IdT = Aws::String>
131 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
132 template<typename IdT = Aws::String>
133 EnvironmentConfiguration& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
135
137
140 inline const Aws::String& GetName() const { return m_name; }
141 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
142 template<typename NameT = Aws::String>
143 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
144 template<typename NameT = Aws::String>
145 EnvironmentConfiguration& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
147 private:
148
149 AwsAccount m_awsAccount;
150 bool m_awsAccountHasBeenSet = false;
151
152 Region m_awsRegion;
153 bool m_awsRegionHasBeenSet = false;
154
155 EnvironmentConfigurationParametersDetails m_configurationParameters;
156 bool m_configurationParametersHasBeenSet = false;
157
158 DeploymentMode m_deploymentMode{DeploymentMode::NOT_SET};
159 bool m_deploymentModeHasBeenSet = false;
160
161 int m_deploymentOrder{0};
162 bool m_deploymentOrderHasBeenSet = false;
163
164 Aws::String m_description;
165 bool m_descriptionHasBeenSet = false;
166
167 Aws::String m_environmentBlueprintId;
168 bool m_environmentBlueprintIdHasBeenSet = false;
169
170 Aws::String m_id;
171 bool m_idHasBeenSet = false;
172
173 Aws::String m_name;
174 bool m_nameHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace DataZone
179} // namespace Aws
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)
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
Aws::Utils::Json::JsonValue JsonValue