AWS SDK for C++

AWS SDK for C++ Version 1.11.695

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 bool GetAllowCustomProjectResourceTags() const { return m_allowCustomProjectResourceTags; }
40 inline bool AllowCustomProjectResourceTagsHasBeenSet() const { return m_allowCustomProjectResourceTagsHasBeenSet; }
41 inline void SetAllowCustomProjectResourceTags(bool value) {
42 m_allowCustomProjectResourceTagsHasBeenSet = true;
43 m_allowCustomProjectResourceTags = value;
44 }
47 return *this;
48 }
50
52
55 inline const Aws::String& GetDescription() const { return m_description; }
56 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
57 template <typename DescriptionT = Aws::String>
58 void SetDescription(DescriptionT&& value) {
59 m_descriptionHasBeenSet = true;
60 m_description = std::forward<DescriptionT>(value);
61 }
62 template <typename DescriptionT = Aws::String>
64 SetDescription(std::forward<DescriptionT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
74 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
75 template <typename DomainIdentifierT = Aws::String>
76 void SetDomainIdentifier(DomainIdentifierT&& value) {
77 m_domainIdentifierHasBeenSet = true;
78 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
79 }
80 template <typename DomainIdentifierT = Aws::String>
82 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::String& GetDomainUnitIdentifier() const { return m_domainUnitIdentifier; }
92 inline bool DomainUnitIdentifierHasBeenSet() const { return m_domainUnitIdentifierHasBeenSet; }
93 template <typename DomainUnitIdentifierT = Aws::String>
94 void SetDomainUnitIdentifier(DomainUnitIdentifierT&& value) {
95 m_domainUnitIdentifierHasBeenSet = true;
96 m_domainUnitIdentifier = std::forward<DomainUnitIdentifierT>(value);
97 }
98 template <typename DomainUnitIdentifierT = Aws::String>
99 UpdateProjectProfileRequest& WithDomainUnitIdentifier(DomainUnitIdentifierT&& value) {
100 SetDomainUnitIdentifier(std::forward<DomainUnitIdentifierT>(value));
101 return *this;
102 }
104
106
109 inline const Aws::Vector<EnvironmentConfiguration>& GetEnvironmentConfigurations() const { return m_environmentConfigurations; }
110 inline bool EnvironmentConfigurationsHasBeenSet() const { return m_environmentConfigurationsHasBeenSet; }
111 template <typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
112 void SetEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
113 m_environmentConfigurationsHasBeenSet = true;
114 m_environmentConfigurations = std::forward<EnvironmentConfigurationsT>(value);
115 }
116 template <typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
117 UpdateProjectProfileRequest& WithEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
118 SetEnvironmentConfigurations(std::forward<EnvironmentConfigurationsT>(value));
119 return *this;
120 }
121 template <typename EnvironmentConfigurationsT = EnvironmentConfiguration>
122 UpdateProjectProfileRequest& AddEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
123 m_environmentConfigurationsHasBeenSet = true;
124 m_environmentConfigurations.emplace_back(std::forward<EnvironmentConfigurationsT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetIdentifier() const { return m_identifier; }
134 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
135 template <typename IdentifierT = Aws::String>
136 void SetIdentifier(IdentifierT&& value) {
137 m_identifierHasBeenSet = true;
138 m_identifier = std::forward<IdentifierT>(value);
139 }
140 template <typename IdentifierT = Aws::String>
142 SetIdentifier(std::forward<IdentifierT>(value));
143 return *this;
144 }
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) {
155 m_nameHasBeenSet = true;
156 m_name = std::forward<NameT>(value);
157 }
158 template <typename NameT = Aws::String>
160 SetName(std::forward<NameT>(value));
161 return *this;
162 }
164
166
169 inline const Aws::Vector<ResourceTagParameter>& GetProjectResourceTags() const { return m_projectResourceTags; }
170 inline bool ProjectResourceTagsHasBeenSet() const { return m_projectResourceTagsHasBeenSet; }
171 template <typename ProjectResourceTagsT = Aws::Vector<ResourceTagParameter>>
172 void SetProjectResourceTags(ProjectResourceTagsT&& value) {
173 m_projectResourceTagsHasBeenSet = true;
174 m_projectResourceTags = std::forward<ProjectResourceTagsT>(value);
175 }
176 template <typename ProjectResourceTagsT = Aws::Vector<ResourceTagParameter>>
178 SetProjectResourceTags(std::forward<ProjectResourceTagsT>(value));
179 return *this;
180 }
181 template <typename ProjectResourceTagsT = ResourceTagParameter>
183 m_projectResourceTagsHasBeenSet = true;
184 m_projectResourceTags.emplace_back(std::forward<ProjectResourceTagsT>(value));
185 return *this;
186 }
188
190
194 inline const Aws::String& GetProjectResourceTagsDescription() const { return m_projectResourceTagsDescription; }
195 inline bool ProjectResourceTagsDescriptionHasBeenSet() const { return m_projectResourceTagsDescriptionHasBeenSet; }
196 template <typename ProjectResourceTagsDescriptionT = Aws::String>
197 void SetProjectResourceTagsDescription(ProjectResourceTagsDescriptionT&& value) {
198 m_projectResourceTagsDescriptionHasBeenSet = true;
199 m_projectResourceTagsDescription = std::forward<ProjectResourceTagsDescriptionT>(value);
200 }
201 template <typename ProjectResourceTagsDescriptionT = Aws::String>
202 UpdateProjectProfileRequest& WithProjectResourceTagsDescription(ProjectResourceTagsDescriptionT&& value) {
203 SetProjectResourceTagsDescription(std::forward<ProjectResourceTagsDescriptionT>(value));
204 return *this;
205 }
207
209
212 inline Status GetStatus() const { return m_status; }
213 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
214 inline void SetStatus(Status value) {
215 m_statusHasBeenSet = true;
216 m_status = value;
217 }
219 SetStatus(value);
220 return *this;
221 }
223 private:
224 bool m_allowCustomProjectResourceTags{false};
225 bool m_allowCustomProjectResourceTagsHasBeenSet = false;
226
227 Aws::String m_description;
228 bool m_descriptionHasBeenSet = false;
229
230 Aws::String m_domainIdentifier;
231 bool m_domainIdentifierHasBeenSet = false;
232
233 Aws::String m_domainUnitIdentifier;
234 bool m_domainUnitIdentifierHasBeenSet = false;
235
236 Aws::Vector<EnvironmentConfiguration> m_environmentConfigurations;
237 bool m_environmentConfigurationsHasBeenSet = false;
238
239 Aws::String m_identifier;
240 bool m_identifierHasBeenSet = false;
241
242 Aws::String m_name;
243 bool m_nameHasBeenSet = false;
244
245 Aws::Vector<ResourceTagParameter> m_projectResourceTags;
246 bool m_projectResourceTagsHasBeenSet = false;
247
248 Aws::String m_projectResourceTagsDescription;
249 bool m_projectResourceTagsDescriptionHasBeenSet = false;
250
251 Status m_status{Status::NOT_SET};
252 bool m_statusHasBeenSet = 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