AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const Aws::String& GetDescription() const{ return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
44 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
45 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
46 inline CreateEnvironmentRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
47 inline CreateEnvironmentRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
48 inline CreateEnvironmentRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
50
52
56 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
57 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
58 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
59 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
60 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
62 inline CreateEnvironmentRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
63 inline CreateEnvironmentRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
65
67
70 inline const Aws::String& GetEnvironmentAccountIdentifier() const{ return m_environmentAccountIdentifier; }
71 inline bool EnvironmentAccountIdentifierHasBeenSet() const { return m_environmentAccountIdentifierHasBeenSet; }
72 inline void SetEnvironmentAccountIdentifier(const Aws::String& value) { m_environmentAccountIdentifierHasBeenSet = true; m_environmentAccountIdentifier = value; }
73 inline void SetEnvironmentAccountIdentifier(Aws::String&& value) { m_environmentAccountIdentifierHasBeenSet = true; m_environmentAccountIdentifier = std::move(value); }
74 inline void SetEnvironmentAccountIdentifier(const char* value) { m_environmentAccountIdentifierHasBeenSet = true; m_environmentAccountIdentifier.assign(value); }
79
81
84 inline const Aws::String& GetEnvironmentAccountRegion() const{ return m_environmentAccountRegion; }
85 inline bool EnvironmentAccountRegionHasBeenSet() const { return m_environmentAccountRegionHasBeenSet; }
86 inline void SetEnvironmentAccountRegion(const Aws::String& value) { m_environmentAccountRegionHasBeenSet = true; m_environmentAccountRegion = value; }
87 inline void SetEnvironmentAccountRegion(Aws::String&& value) { m_environmentAccountRegionHasBeenSet = true; m_environmentAccountRegion = std::move(value); }
88 inline void SetEnvironmentAccountRegion(const char* value) { m_environmentAccountRegionHasBeenSet = true; m_environmentAccountRegion.assign(value); }
91 inline CreateEnvironmentRequest& WithEnvironmentAccountRegion(const char* value) { SetEnvironmentAccountRegion(value); return *this;}
93
95
98 inline const Aws::String& GetEnvironmentBlueprintIdentifier() const{ return m_environmentBlueprintIdentifier; }
99 inline bool EnvironmentBlueprintIdentifierHasBeenSet() const { return m_environmentBlueprintIdentifierHasBeenSet; }
100 inline void SetEnvironmentBlueprintIdentifier(const Aws::String& value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier = value; }
101 inline void SetEnvironmentBlueprintIdentifier(Aws::String&& value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier = std::move(value); }
102 inline void SetEnvironmentBlueprintIdentifier(const char* value) { m_environmentBlueprintIdentifierHasBeenSet = true; m_environmentBlueprintIdentifier.assign(value); }
107
109
113 inline const Aws::String& GetEnvironmentProfileIdentifier() const{ return m_environmentProfileIdentifier; }
114 inline bool EnvironmentProfileIdentifierHasBeenSet() const { return m_environmentProfileIdentifierHasBeenSet; }
115 inline void SetEnvironmentProfileIdentifier(const Aws::String& value) { m_environmentProfileIdentifierHasBeenSet = true; m_environmentProfileIdentifier = value; }
116 inline void SetEnvironmentProfileIdentifier(Aws::String&& value) { m_environmentProfileIdentifierHasBeenSet = true; m_environmentProfileIdentifier = std::move(value); }
117 inline void SetEnvironmentProfileIdentifier(const char* value) { m_environmentProfileIdentifierHasBeenSet = true; m_environmentProfileIdentifier.assign(value); }
122
124
127 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
128 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
129 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = value; }
130 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::move(value); }
132 inline CreateEnvironmentRequest& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
133 inline CreateEnvironmentRequest& AddGlossaryTerms(const Aws::String& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
134 inline CreateEnvironmentRequest& AddGlossaryTerms(Aws::String&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
135 inline CreateEnvironmentRequest& AddGlossaryTerms(const char* value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
137
139
142 inline const Aws::String& GetName() const{ return m_name; }
143 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
144 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
145 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
146 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
147 inline CreateEnvironmentRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
148 inline CreateEnvironmentRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
149 inline CreateEnvironmentRequest& WithName(const char* value) { SetName(value); return *this;}
151
153
157 inline const Aws::String& GetProjectIdentifier() const{ return m_projectIdentifier; }
158 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
159 inline void SetProjectIdentifier(const Aws::String& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = value; }
160 inline void SetProjectIdentifier(Aws::String&& value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier = std::move(value); }
161 inline void SetProjectIdentifier(const char* value) { m_projectIdentifierHasBeenSet = true; m_projectIdentifier.assign(value); }
163 inline CreateEnvironmentRequest& WithProjectIdentifier(Aws::String&& value) { SetProjectIdentifier(std::move(value)); return *this;}
164 inline CreateEnvironmentRequest& WithProjectIdentifier(const char* value) { SetProjectIdentifier(value); return *this;}
166
168
171 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const{ return m_userParameters; }
172 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
173 inline void SetUserParameters(const Aws::Vector<EnvironmentParameter>& value) { m_userParametersHasBeenSet = true; m_userParameters = value; }
174 inline void SetUserParameters(Aws::Vector<EnvironmentParameter>&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::move(value); }
177 inline CreateEnvironmentRequest& AddUserParameters(const EnvironmentParameter& value) { m_userParametersHasBeenSet = true; m_userParameters.push_back(value); return *this; }
178 inline CreateEnvironmentRequest& AddUserParameters(EnvironmentParameter&& value) { m_userParametersHasBeenSet = true; m_userParameters.push_back(std::move(value)); return *this; }
180 private:
181
182 Aws::String m_description;
183 bool m_descriptionHasBeenSet = false;
184
185 Aws::String m_domainIdentifier;
186 bool m_domainIdentifierHasBeenSet = false;
187
188 Aws::String m_environmentAccountIdentifier;
189 bool m_environmentAccountIdentifierHasBeenSet = false;
190
191 Aws::String m_environmentAccountRegion;
192 bool m_environmentAccountRegionHasBeenSet = false;
193
194 Aws::String m_environmentBlueprintIdentifier;
195 bool m_environmentBlueprintIdentifierHasBeenSet = false;
196
197 Aws::String m_environmentProfileIdentifier;
198 bool m_environmentProfileIdentifierHasBeenSet = false;
199
200 Aws::Vector<Aws::String> m_glossaryTerms;
201 bool m_glossaryTermsHasBeenSet = false;
202
203 Aws::String m_name;
204 bool m_nameHasBeenSet = false;
205
206 Aws::String m_projectIdentifier;
207 bool m_projectIdentifierHasBeenSet = false;
208
209 Aws::Vector<EnvironmentParameter> m_userParameters;
210 bool m_userParametersHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace DataZone
215} // namespace Aws
CreateEnvironmentRequest & WithEnvironmentProfileIdentifier(const char *value)
CreateEnvironmentRequest & WithDomainIdentifier(const char *value)
CreateEnvironmentRequest & AddGlossaryTerms(const Aws::String &value)
CreateEnvironmentRequest & WithUserParameters(const Aws::Vector< EnvironmentParameter > &value)
void SetEnvironmentBlueprintIdentifier(const Aws::String &value)
CreateEnvironmentRequest & WithName(const char *value)
CreateEnvironmentRequest & AddUserParameters(const EnvironmentParameter &value)
CreateEnvironmentRequest & WithDescription(const Aws::String &value)
CreateEnvironmentRequest & WithEnvironmentProfileIdentifier(Aws::String &&value)
CreateEnvironmentRequest & WithName(const Aws::String &value)
const Aws::Vector< EnvironmentParameter > & GetUserParameters() const
CreateEnvironmentRequest & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
void SetEnvironmentProfileIdentifier(const Aws::String &value)
void SetUserParameters(const Aws::Vector< EnvironmentParameter > &value)
CreateEnvironmentRequest & WithEnvironmentAccountRegion(const Aws::String &value)
CreateEnvironmentRequest & WithUserParameters(Aws::Vector< EnvironmentParameter > &&value)
void SetUserParameters(Aws::Vector< EnvironmentParameter > &&value)
CreateEnvironmentRequest & WithEnvironmentAccountRegion(const char *value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateEnvironmentRequest & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateEnvironmentRequest & WithDescription(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateEnvironmentRequest & AddUserParameters(EnvironmentParameter &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
CreateEnvironmentRequest & WithName(Aws::String &&value)
CreateEnvironmentRequest & WithEnvironmentAccountIdentifier(Aws::String &&value)
CreateEnvironmentRequest & WithEnvironmentBlueprintIdentifier(Aws::String &&value)
CreateEnvironmentRequest & WithDomainIdentifier(Aws::String &&value)
CreateEnvironmentRequest & WithEnvironmentProfileIdentifier(const Aws::String &value)
CreateEnvironmentRequest & WithProjectIdentifier(Aws::String &&value)
void SetEnvironmentAccountIdentifier(const Aws::String &value)
CreateEnvironmentRequest & WithDomainIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateEnvironmentRequest & AddGlossaryTerms(Aws::String &&value)
CreateEnvironmentRequest & WithEnvironmentAccountRegion(Aws::String &&value)
CreateEnvironmentRequest & WithProjectIdentifier(const char *value)
CreateEnvironmentRequest & WithEnvironmentAccountIdentifier(const char *value)
CreateEnvironmentRequest & WithProjectIdentifier(const Aws::String &value)
CreateEnvironmentRequest & WithDescription(Aws::String &&value)
CreateEnvironmentRequest & WithEnvironmentBlueprintIdentifier(const Aws::String &value)
CreateEnvironmentRequest & WithEnvironmentAccountIdentifier(const Aws::String &value)
CreateEnvironmentRequest & AddGlossaryTerms(const char *value)
CreateEnvironmentRequest & WithEnvironmentBlueprintIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector