AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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& GetDomainIdentifier() const { return m_domainIdentifier; }
39 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
40 template <typename DomainIdentifierT = Aws::String>
41 void SetDomainIdentifier(DomainIdentifierT&& value) {
42 m_domainIdentifierHasBeenSet = true;
43 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
44 }
45 template <typename DomainIdentifierT = Aws::String>
47 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template <typename NameT = Aws::String>
59 void SetName(NameT&& value) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::String& GetEnvironmentBlueprintIdentifier() const { return m_environmentBlueprintIdentifier; }
93 inline bool EnvironmentBlueprintIdentifierHasBeenSet() const { return m_environmentBlueprintIdentifierHasBeenSet; }
94 template <typename EnvironmentBlueprintIdentifierT = Aws::String>
95 void SetEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT&& value) {
96 m_environmentBlueprintIdentifierHasBeenSet = true;
97 m_environmentBlueprintIdentifier = std::forward<EnvironmentBlueprintIdentifierT>(value);
98 }
99 template <typename EnvironmentBlueprintIdentifierT = Aws::String>
100 CreateEnvironmentProfileRequest& WithEnvironmentBlueprintIdentifier(EnvironmentBlueprintIdentifierT&& value) {
101 SetEnvironmentBlueprintIdentifier(std::forward<EnvironmentBlueprintIdentifierT>(value));
102 return *this;
103 }
105
107
110 inline const Aws::String& GetProjectIdentifier() const { return m_projectIdentifier; }
111 inline bool ProjectIdentifierHasBeenSet() const { return m_projectIdentifierHasBeenSet; }
112 template <typename ProjectIdentifierT = Aws::String>
113 void SetProjectIdentifier(ProjectIdentifierT&& value) {
114 m_projectIdentifierHasBeenSet = true;
115 m_projectIdentifier = std::forward<ProjectIdentifierT>(value);
116 }
117 template <typename ProjectIdentifierT = Aws::String>
119 SetProjectIdentifier(std::forward<ProjectIdentifierT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Vector<EnvironmentParameter>& GetUserParameters() const { return m_userParameters; }
129 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
130 template <typename UserParametersT = Aws::Vector<EnvironmentParameter>>
131 void SetUserParameters(UserParametersT&& value) {
132 m_userParametersHasBeenSet = true;
133 m_userParameters = std::forward<UserParametersT>(value);
134 }
135 template <typename UserParametersT = Aws::Vector<EnvironmentParameter>>
137 SetUserParameters(std::forward<UserParametersT>(value));
138 return *this;
139 }
140 template <typename UserParametersT = EnvironmentParameter>
142 m_userParametersHasBeenSet = true;
143 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
144 return *this;
145 }
147
149
153 inline const Aws::String& GetAwsAccountId() const { return m_awsAccountId; }
154 inline bool AwsAccountIdHasBeenSet() const { return m_awsAccountIdHasBeenSet; }
155 template <typename AwsAccountIdT = Aws::String>
156 void SetAwsAccountId(AwsAccountIdT&& value) {
157 m_awsAccountIdHasBeenSet = true;
158 m_awsAccountId = std::forward<AwsAccountIdT>(value);
159 }
160 template <typename AwsAccountIdT = Aws::String>
162 SetAwsAccountId(std::forward<AwsAccountIdT>(value));
163 return *this;
164 }
166
168
172 inline const Aws::String& GetAwsAccountRegion() const { return m_awsAccountRegion; }
173 inline bool AwsAccountRegionHasBeenSet() const { return m_awsAccountRegionHasBeenSet; }
174 template <typename AwsAccountRegionT = Aws::String>
175 void SetAwsAccountRegion(AwsAccountRegionT&& value) {
176 m_awsAccountRegionHasBeenSet = true;
177 m_awsAccountRegion = std::forward<AwsAccountRegionT>(value);
178 }
179 template <typename AwsAccountRegionT = Aws::String>
181 SetAwsAccountRegion(std::forward<AwsAccountRegionT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_domainIdentifier;
187
188 Aws::String m_name;
189
190 Aws::String m_description;
191
192 Aws::String m_environmentBlueprintIdentifier;
193
194 Aws::String m_projectIdentifier;
195
196 Aws::Vector<EnvironmentParameter> m_userParameters;
197
198 Aws::String m_awsAccountId;
199
200 Aws::String m_awsAccountRegion;
201 bool m_domainIdentifierHasBeenSet = false;
202 bool m_nameHasBeenSet = false;
203 bool m_descriptionHasBeenSet = false;
204 bool m_environmentBlueprintIdentifierHasBeenSet = false;
205 bool m_projectIdentifierHasBeenSet = false;
206 bool m_userParametersHasBeenSet = false;
207 bool m_awsAccountIdHasBeenSet = false;
208 bool m_awsAccountRegionHasBeenSet = 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