AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateProjectProfileRequest.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/EnvironmentConfiguration.h>
12#include <aws/datazone/model/ResourceTagParameter.h>
13#include <aws/datazone/model/Status.h>
14
15#include <utility>
16
17namespace Aws {
18namespace DataZone {
19namespace Model {
20
24 public:
25 AWS_DATAZONE_API UpdateProjectProfileRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateProjectProfile"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
40 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
41 template <typename DomainIdentifierT = Aws::String>
42 void SetDomainIdentifier(DomainIdentifierT&& value) {
43 m_domainIdentifierHasBeenSet = true;
44 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
45 }
46 template <typename DomainIdentifierT = Aws::String>
48 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIdentifier() const { return m_identifier; }
58 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
59 template <typename IdentifierT = Aws::String>
60 void SetIdentifier(IdentifierT&& value) {
61 m_identifierHasBeenSet = true;
62 m_identifier = std::forward<IdentifierT>(value);
63 }
64 template <typename IdentifierT = Aws::String>
66 SetIdentifier(std::forward<IdentifierT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetName() const { return m_name; }
76 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetDescription() const { return m_description; }
94 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
95 template <typename DescriptionT = Aws::String>
96 void SetDescription(DescriptionT&& value) {
97 m_descriptionHasBeenSet = true;
98 m_description = std::forward<DescriptionT>(value);
99 }
100 template <typename DescriptionT = Aws::String>
102 SetDescription(std::forward<DescriptionT>(value));
103 return *this;
104 }
106
108
111 inline Status GetStatus() const { return m_status; }
112 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
113 inline void SetStatus(Status value) {
114 m_statusHasBeenSet = true;
115 m_status = value;
116 }
118 SetStatus(value);
119 return *this;
120 }
122
124
127 inline const Aws::Vector<ResourceTagParameter>& GetProjectResourceTags() const { return m_projectResourceTags; }
128 inline bool ProjectResourceTagsHasBeenSet() const { return m_projectResourceTagsHasBeenSet; }
129 template <typename ProjectResourceTagsT = Aws::Vector<ResourceTagParameter>>
130 void SetProjectResourceTags(ProjectResourceTagsT&& value) {
131 m_projectResourceTagsHasBeenSet = true;
132 m_projectResourceTags = std::forward<ProjectResourceTagsT>(value);
133 }
134 template <typename ProjectResourceTagsT = Aws::Vector<ResourceTagParameter>>
136 SetProjectResourceTags(std::forward<ProjectResourceTagsT>(value));
137 return *this;
138 }
139 template <typename ProjectResourceTagsT = ResourceTagParameter>
141 m_projectResourceTagsHasBeenSet = true;
142 m_projectResourceTags.emplace_back(std::forward<ProjectResourceTagsT>(value));
143 return *this;
144 }
146
148
151 inline bool GetAllowCustomProjectResourceTags() const { return m_allowCustomProjectResourceTags; }
152 inline bool AllowCustomProjectResourceTagsHasBeenSet() const { return m_allowCustomProjectResourceTagsHasBeenSet; }
153 inline void SetAllowCustomProjectResourceTags(bool value) {
154 m_allowCustomProjectResourceTagsHasBeenSet = true;
155 m_allowCustomProjectResourceTags = value;
156 }
159 return *this;
160 }
162
164
168 inline const Aws::String& GetProjectResourceTagsDescription() const { return m_projectResourceTagsDescription; }
169 inline bool ProjectResourceTagsDescriptionHasBeenSet() const { return m_projectResourceTagsDescriptionHasBeenSet; }
170 template <typename ProjectResourceTagsDescriptionT = Aws::String>
171 void SetProjectResourceTagsDescription(ProjectResourceTagsDescriptionT&& value) {
172 m_projectResourceTagsDescriptionHasBeenSet = true;
173 m_projectResourceTagsDescription = std::forward<ProjectResourceTagsDescriptionT>(value);
174 }
175 template <typename ProjectResourceTagsDescriptionT = Aws::String>
176 UpdateProjectProfileRequest& WithProjectResourceTagsDescription(ProjectResourceTagsDescriptionT&& value) {
177 SetProjectResourceTagsDescription(std::forward<ProjectResourceTagsDescriptionT>(value));
178 return *this;
179 }
181
183
186 inline const Aws::Vector<EnvironmentConfiguration>& GetEnvironmentConfigurations() const { return m_environmentConfigurations; }
187 inline bool EnvironmentConfigurationsHasBeenSet() const { return m_environmentConfigurationsHasBeenSet; }
188 template <typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
189 void SetEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
190 m_environmentConfigurationsHasBeenSet = true;
191 m_environmentConfigurations = std::forward<EnvironmentConfigurationsT>(value);
192 }
193 template <typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
194 UpdateProjectProfileRequest& WithEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
195 SetEnvironmentConfigurations(std::forward<EnvironmentConfigurationsT>(value));
196 return *this;
197 }
198 template <typename EnvironmentConfigurationsT = EnvironmentConfiguration>
199 UpdateProjectProfileRequest& AddEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
200 m_environmentConfigurationsHasBeenSet = true;
201 m_environmentConfigurations.emplace_back(std::forward<EnvironmentConfigurationsT>(value));
202 return *this;
203 }
205
207
210 inline const Aws::String& GetDomainUnitIdentifier() const { return m_domainUnitIdentifier; }
211 inline bool DomainUnitIdentifierHasBeenSet() const { return m_domainUnitIdentifierHasBeenSet; }
212 template <typename DomainUnitIdentifierT = Aws::String>
213 void SetDomainUnitIdentifier(DomainUnitIdentifierT&& value) {
214 m_domainUnitIdentifierHasBeenSet = true;
215 m_domainUnitIdentifier = std::forward<DomainUnitIdentifierT>(value);
216 }
217 template <typename DomainUnitIdentifierT = Aws::String>
219 SetDomainUnitIdentifier(std::forward<DomainUnitIdentifierT>(value));
220 return *this;
221 }
223 private:
224 Aws::String m_domainIdentifier;
225
226 Aws::String m_identifier;
227
228 Aws::String m_name;
229
230 Aws::String m_description;
231
232 Status m_status{Status::NOT_SET};
233
234 Aws::Vector<ResourceTagParameter> m_projectResourceTags;
235
236 bool m_allowCustomProjectResourceTags{false};
237
238 Aws::String m_projectResourceTagsDescription;
239
240 Aws::Vector<EnvironmentConfiguration> m_environmentConfigurations;
241
242 Aws::String m_domainUnitIdentifier;
243 bool m_domainIdentifierHasBeenSet = false;
244 bool m_identifierHasBeenSet = false;
245 bool m_nameHasBeenSet = false;
246 bool m_descriptionHasBeenSet = false;
247 bool m_statusHasBeenSet = false;
248 bool m_projectResourceTagsHasBeenSet = false;
249 bool m_allowCustomProjectResourceTagsHasBeenSet = false;
250 bool m_projectResourceTagsDescriptionHasBeenSet = false;
251 bool m_environmentConfigurationsHasBeenSet = false;
252 bool m_domainUnitIdentifierHasBeenSet = false;
253};
254
255} // namespace Model
256} // namespace DataZone
257} // namespace Aws
UpdateProjectProfileRequest & WithEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
AWS_DATAZONE_API UpdateProjectProfileRequest()=default
const Aws::Vector< EnvironmentConfiguration > & GetEnvironmentConfigurations() const
UpdateProjectProfileRequest & WithAllowCustomProjectResourceTags(bool value)
UpdateProjectProfileRequest & AddProjectResourceTags(ProjectResourceTagsT &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
UpdateProjectProfileRequest & WithIdentifier(IdentifierT &&value)
void SetEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
UpdateProjectProfileRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
UpdateProjectProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
UpdateProjectProfileRequest & WithName(NameT &&value)
UpdateProjectProfileRequest & WithStatus(Status value)
const Aws::Vector< ResourceTagParameter > & GetProjectResourceTags() const
UpdateProjectProfileRequest & WithDomainUnitIdentifier(DomainUnitIdentifierT &&value)
UpdateProjectProfileRequest & WithProjectResourceTagsDescription(ProjectResourceTagsDescriptionT &&value)
UpdateProjectProfileRequest & WithProjectResourceTags(ProjectResourceTagsT &&value)
void SetProjectResourceTagsDescription(ProjectResourceTagsDescriptionT &&value)
UpdateProjectProfileRequest & AddEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector