AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateEnvironmentRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/EnvironmentParameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API CreateEnvironmentRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateEnvironment"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
41 inline int GetDeploymentOrder() const { return m_deploymentOrder; }
42 inline bool DeploymentOrderHasBeenSet() const { return m_deploymentOrderHasBeenSet; }
43 inline void SetDeploymentOrder(int value) { m_deploymentOrderHasBeenSet = true; m_deploymentOrder = value; }
44 inline CreateEnvironmentRequest& WithDeploymentOrder(int value) { SetDeploymentOrder(value); return *this;}
46
48
51 inline const Aws::String& GetDescription() const { return m_description; }
52 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
53 template<typename DescriptionT = Aws::String>
54 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
55 template<typename DescriptionT = Aws::String>
56 CreateEnvironmentRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
58
60
64 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
65 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
66 template<typename DomainIdentifierT = Aws::String>
67 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
68 template<typename DomainIdentifierT = Aws::String>
69 CreateEnvironmentRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
71
73
76 inline const Aws::String& GetEnvironmentAccountIdentifier() const { return m_environmentAccountIdentifier; }
77 inline bool EnvironmentAccountIdentifierHasBeenSet() const { return m_environmentAccountIdentifierHasBeenSet; }
78 template<typename EnvironmentAccountIdentifierT = Aws::String>
79 void SetEnvironmentAccountIdentifier(EnvironmentAccountIdentifierT&& value) { m_environmentAccountIdentifierHasBeenSet = true; m_environmentAccountIdentifier = std::forward<EnvironmentAccountIdentifierT>(value); }
80 template<typename EnvironmentAccountIdentifierT = Aws::String>
81 CreateEnvironmentRequest& WithEnvironmentAccountIdentifier(EnvironmentAccountIdentifierT&& value) { SetEnvironmentAccountIdentifier(std::forward<EnvironmentAccountIdentifierT>(value)); return *this;}
83
85
88 inline const Aws::String& GetEnvironmentAccountRegion() const { return m_environmentAccountRegion; }
89 inline bool EnvironmentAccountRegionHasBeenSet() const { return m_environmentAccountRegionHasBeenSet; }
90 template<typename EnvironmentAccountRegionT = Aws::String>
91 void SetEnvironmentAccountRegion(EnvironmentAccountRegionT&& value) { m_environmentAccountRegionHasBeenSet = true; m_environmentAccountRegion = std::forward<EnvironmentAccountRegionT>(value); }
92 template<typename EnvironmentAccountRegionT = Aws::String>
93 CreateEnvironmentRequest& WithEnvironmentAccountRegion(EnvironmentAccountRegionT&& value) { SetEnvironmentAccountRegion(std::forward<EnvironmentAccountRegionT>(value)); return *this;}
95
97
100 inline const Aws::String& GetEnvironmentBlueprintIdentifier() const { return m_environmentBlueprintIdentifier; }
101 inline bool EnvironmentBlueprintIdentifierHasBeenSet() const { return m_environmentBlueprintIdentifierHasBeenSet; }
102 template<typename EnvironmentBlueprintIdentifierT = Aws::String>
103 void SetEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT&& value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier = std::forward<EnvironmentBlueprintIdentifierT>(value); }
104 template<typename EnvironmentBlueprintIdentifierT = Aws::String>
105 CreateEnvironmentRequest& WithEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT&& value) { SetEnvironmentBlueprintIdentifier(std::forward<EnvironmentBlueprintIdentifierT>(value)); return *this;}
107
109
112 inline const Aws::String& GetEnvironmentConfigurationId() const { return m_environmentConfigurationId; }
113 inline bool EnvironmentConfigurationIdHasBeenSet() const { return m_environmentConfigurationIdHasBeenSet; }
114 template<typename EnvironmentConfigurationIdT = Aws::String>
115 void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) { m_environmentConfigurationIdHasBeenSet = true; m_environmentConfigurationId = std::forward<EnvironmentConfigurationIdT>(value); }
116 template<typename EnvironmentConfigurationIdT = Aws::String>
117 CreateEnvironmentRequest& WithEnvironmentConfigurationId(EnvironmentConfigurationIdT&& value) { SetEnvironmentConfigurationId(std::forward<EnvironmentConfigurationIdT>(value)); return *this;}
119
121
125 inline const Aws::String& GetEnvironmentProfileIdentifier() const { return m_environmentProfileIdentifier; }
126 inline bool EnvironmentProfileIdentifierHasBeenSet() const { return m_environmentProfileIdentifierHasBeenSet; }
127 template<typename EnvironmentProfileIdentifierT = Aws::String>
128 void SetEnvironmentProfileIdentifier(EnvironmentProfileIdentifierT&& value) { m_environmentProfileIdentifierHasBeenSet = true; m_environmentProfileIdentifier = std::forward<EnvironmentProfileIdentifierT>(value); }
129 template<typename EnvironmentProfileIdentifierT = Aws::String>
130 CreateEnvironmentRequest& WithEnvironmentProfileIdentifier(EnvironmentProfileIdentifierT&& value) { SetEnvironmentProfileIdentifier(std::forward<EnvironmentProfileIdentifierT>(value)); return *this;}
132
134
137 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
138 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
139 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
140 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
141 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
142 CreateEnvironmentRequest& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
143 template<typename GlossaryTermsT = Aws::String>
144 CreateEnvironmentRequest& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
146
148
151 inline const Aws::String& GetName() const { return m_name; }
152 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
153 template<typename NameT = Aws::String>
154 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
155 template<typename NameT = Aws::String>
156 CreateEnvironmentRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
158
160
164 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
165 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
166 template<typename ProjectIdentifierT = Aws::String>
167 void SetProjectIdentifier(ProjectIdentifierT&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::forward<ProjectIdentifierT>(value); }
168 template<typename ProjectIdentifierT = Aws::String>
169 CreateEnvironmentRequest& WithProjectIdentifier(ProjectIdentifierT&& value) { SetProjectIdentifier(std::forward<ProjectIdentifierT>(value)); return *this;}
171
173
176 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const { return m_userParameters; }
177 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
178 template<typename UserParametersT = Aws::Vector<EnvironmentParameter>>
179 void SetUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::forward<UserParametersT>(value); }
180 template<typename UserParametersT = Aws::Vector<EnvironmentParameter>>
181 CreateEnvironmentRequest& WithUserParameters(UserParametersT&& value) { SetUserParameters(std::forward<UserParametersT>(value)); return *this;}
182 template<typename UserParametersT = EnvironmentParameter>
183 CreateEnvironmentRequest& AddUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters.emplace_back(std::forward<UserParametersT>(value)); return *this; }
185 private:
186
187 int m_deploymentOrder{0};
188 bool m_deploymentOrderHasBeenSet = false;
189
190 Aws::String m_description;
191 bool m_descriptionHasBeenSet = false;
192
193 Aws::String m_domainIdentifier;
194 bool m_domainIdentifierHasBeenSet = false;
195
196 Aws::String m_environmentAccountIdentifier;
197 bool m_environmentAccountIdentifierHasBeenSet = false;
198
199 Aws::String m_environmentAccountRegion;
200 bool m_environmentAccountRegionHasBeenSet = false;
201
202 Aws::String m_environmentBlueprintIdentifier;
203 bool m_environmentBlueprintIdentifierHasBeenSet = false;
204
205 Aws::String m_environmentConfigurationId;
206 bool m_environmentConfigurationIdHasBeenSet = false;
207
208 Aws::String m_environmentProfileIdentifier;
209 bool m_environmentProfileIdentifierHasBeenSet = false;
210
211 Aws::Vector<Aws::String> m_glossaryTerms;
212 bool m_glossaryTermsHasBeenSet = false;
213
214 Aws::String m_name;
215 bool m_nameHasBeenSet = false;
216
217 Aws::String m_projectIdentifier;
218 bool m_projectIdentifierHasBeenSet = false;
219
220 Aws::Vector<EnvironmentParameter> m_userParameters;
221 bool m_userParametersHasBeenSet = false;
222 };
223
224} // namespace Model
225} // namespace DataZone
226} // namespace Aws
AWS_DATAZONE_API CreateEnvironmentRequest()=default
CreateEnvironmentRequest & WithEnvironmentAccountIdentifier(EnvironmentAccountIdentifierT &&value)
CreateEnvironmentRequest & AddUserParameters(UserParametersT &&value)
const Aws::Vector< EnvironmentParameter > & GetUserParameters() const
CreateEnvironmentRequest & WithEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
CreateEnvironmentRequest & WithDescription(DescriptionT &&value)
CreateEnvironmentRequest & WithUserParameters(UserParametersT &&value)
void SetEnvironmentConfigurationId(EnvironmentConfigurationIdT &&value)
void SetEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT &&value)
CreateEnvironmentRequest & WithDeploymentOrder(int value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateEnvironmentRequest & WithName(NameT &&value)
CreateEnvironmentRequest & WithProjectIdentifier(ProjectIdentifierT &&value)
CreateEnvironmentRequest & WithEnvironmentAccountRegion(EnvironmentAccountRegionT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
CreateEnvironmentRequest & WithEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT &&value)
CreateEnvironmentRequest & WithGlossaryTerms(GlossaryTermsT &&value)
CreateEnvironmentRequest & WithEnvironmentProfileIdentifier(EnvironmentProfileIdentifierT &&value)
void SetEnvironmentAccountRegion(EnvironmentAccountRegionT &&value)
void SetEnvironmentProfileIdentifier(EnvironmentProfileIdentifierT &&value)
virtual const char * GetServiceRequestName() const override
CreateEnvironmentRequest & AddGlossaryTerms(GlossaryTermsT &&value)
void SetEnvironmentAccountIdentifier(EnvironmentAccountIdentifierT &&value)
CreateEnvironmentRequest & WithDomainIdentifier(DomainIdentifierT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector