AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CreateEnvironmentProfileRequest.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/DataZoneRequest.h>
10#include <aws/datazone/DataZone_EXPORTS.h>
11#include <aws/datazone/model/EnvironmentParameter.h>
12
13#include <utility>
14
15namespace Aws {
16namespace DataZone {
17namespace Model {
18
22 public:
23 AWS_DATAZONE_API CreateEnvironmentProfileRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateEnvironmentProfile"; }
30
31 AWS_DATAZONE_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
39 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
40 template <typename AwsAccountIdT = Aws::String>
41 void SetAwsAccountId(AwsAccountIdT&& value) {
42 m_awsAccountIdHasBeenSet = true;
43 m_awsAccountId = std::forward<AwsAccountIdT>(value);
44 }
45 template <typename AwsAccountIdT = Aws::String>
47 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
48 return *this;
49 }
51
53
57 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
58 inline bool AwsAccountRegionHasBeenSet() const { return m_awsAccountRegionHasBeenSet; }
59 template <typename AwsAccountRegionT = Aws::String>
60 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
61 m_awsAccountRegionHasBeenSet = true;
62 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
63 }
64 template <typename AwsAccountRegionT = Aws::String>
66 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetDescription() const { return m_description; }
76 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
77 template <typename DescriptionT = Aws::String>
78 void SetDescription(DescriptionT&& value) {
79 m_descriptionHasBeenSet = true;
80 m_description = std::forward<DescriptionT>(value);
81 }
82 template <typename DescriptionT = Aws::String>
84 SetDescription(std::forward<DescriptionT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
95 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
96 template <typename DomainIdentifierT = Aws::String>
97 void SetDomainIdentifier(DomainIdentifierT&& value) {
98 m_domainIdentifierHasBeenSet = true;
99 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
100 }
101 template <typename DomainIdentifierT = Aws::String>
103 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetEnvironmentBlueprintIdentifier() const { return m_environmentBlueprintIdentifier; }
113 inline bool EnvironmentBlueprintIdentifierHasBeenSet() const { return m_environmentBlueprintIdentifierHasBeenSet; }
114 template <typename EnvironmentBlueprintIdentifierT = Aws::String>
115 void SetEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT&& value) {
116 m_environmentBlueprintIdentifierHasBeenSet = true;
117 m_environmentBlueprintIdentifier = std::forward<EnvironmentBlueprintIdentifierT>(value);
118 }
119 template <typename EnvironmentBlueprintIdentifierT = Aws::String>
120 CreateEnvironmentProfileRequest& WithEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT&& value) {
121 SetEnvironmentBlueprintIdentifier(std::forward<EnvironmentBlueprintIdentifierT>(value));
122 return *this;
123 }
125
127
130 inline const Aws::String& GetName() const { return m_name; }
131 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
132 template <typename NameT = Aws::String>
133 void SetName(NameT&& value) {
134 m_nameHasBeenSet = true;
135 m_name = std::forward<NameT>(value);
136 }
137 template <typename NameT = Aws::String>
139 SetName(std::forward<NameT>(value));
140 return *this;
141 }
143
145
148 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
149 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
150 template <typename ProjectIdentifierT = Aws::String>
151 void SetProjectIdentifier(ProjectIdentifierT&& value) {
152 m_projectIdentifierHasBeenSet = true;
153 m_projectIdentifier = std::forward<ProjectIdentifierT>(value);
154 }
155 template <typename ProjectIdentifierT = Aws::String>
157 SetProjectIdentifier(std::forward<ProjectIdentifierT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const { return m_userParameters; }
167 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
168 template <typename UserParametersT = Aws::Vector<EnvironmentParameter>>
169 void SetUserParameters(UserParametersT&& value) {
170 m_userParametersHasBeenSet = true;
171 m_userParameters = std::forward<UserParametersT>(value);
172 }
173 template <typename UserParametersT = Aws::Vector<EnvironmentParameter>>
175 SetUserParameters(std::forward<UserParametersT>(value));
176 return *this;
177 }
178 template <typename UserParametersT = EnvironmentParameter>
180 m_userParametersHasBeenSet = true;
181 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_awsAccountId;
187 bool m_awsAccountIdHasBeenSet = false;
188
189 Aws::String m_awsAccountRegion;
190 bool m_awsAccountRegionHasBeenSet = false;
191
192 Aws::String m_description;
193 bool m_descriptionHasBeenSet = false;
194
195 Aws::String m_domainIdentifier;
196 bool m_domainIdentifierHasBeenSet = false;
197
198 Aws::String m_environmentBlueprintIdentifier;
199 bool m_environmentBlueprintIdentifierHasBeenSet = false;
200
201 Aws::String m_name;
202 bool m_nameHasBeenSet = false;
203
204 Aws::String m_projectIdentifier;
205 bool m_projectIdentifierHasBeenSet = false;
206
207 Aws::Vector<EnvironmentParameter> m_userParameters;
208 bool m_userParametersHasBeenSet = false;
209};
210
211} // namespace Model
212} // namespace DataZone
213} // namespace Aws
CreateEnvironmentProfileRequest & WithProjectIdentifier(ProjectIdentifierT &&value)
void SetEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
AWS_DATAZONE_API CreateEnvironmentProfileRequest()=default
CreateEnvironmentProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
CreateEnvironmentProfileRequest & WithAwsAccountId(AwsAccountIdT &&value)
CreateEnvironmentProfileRequest & WithEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT &&value)
const Aws::Vector< EnvironmentParameter > & GetUserParameters() const
CreateEnvironmentProfileRequest & AddUserParameters(UserParametersT &&value)
CreateEnvironmentProfileRequest & WithAwsAccountRegion(AwsAccountRegionT &&value)
CreateEnvironmentProfileRequest & WithDescription(DescriptionT &&value)
CreateEnvironmentProfileRequest & WithUserParameters(UserParametersT &&value)
CreateEnvironmentProfileRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector