AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CreateProjectProfileRequest.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 CreateProjectProfileRequest() = 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 "CreateProjectProfile"; }
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& GetName() const { return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 template <typename NameT = Aws::String>
60 void SetName(NameT&& value) {
61 m_nameHasBeenSet = true;
62 m_name = std::forward<NameT>(value);
63 }
64 template <typename NameT = Aws::String>
66 SetName(std::forward<NameT>(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
93 inline Status GetStatus() const { return m_status; }
94 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
95 inline void SetStatus(Status value) {
96 m_statusHasBeenSet = true;
97 m_status = value;
98 }
100 SetStatus(value);
101 return *this;
102 }
104
106
109 inline const Aws::Vector<ResourceTagParameter>& GetProjectResourceTags() const { return m_projectResourceTags; }
110 inline bool ProjectResourceTagsHasBeenSet() const { return m_projectResourceTagsHasBeenSet; }
111 template <typename ProjectResourceTagsT = Aws::Vector<ResourceTagParameter>>
112 void SetProjectResourceTags(ProjectResourceTagsT&& value) {
113 m_projectResourceTagsHasBeenSet = true;
114 m_projectResourceTags = std::forward<ProjectResourceTagsT>(value);
115 }
116 template <typename ProjectResourceTagsT = Aws::Vector<ResourceTagParameter>>
118 SetProjectResourceTags(std::forward<ProjectResourceTagsT>(value));
119 return *this;
120 }
121 template <typename ProjectResourceTagsT = ResourceTagParameter>
123 m_projectResourceTagsHasBeenSet = true;
124 m_projectResourceTags.emplace_back(std::forward<ProjectResourceTagsT>(value));
125 return *this;
126 }
128
130
133 inline bool GetAllowCustomProjectResourceTags() const { return m_allowCustomProjectResourceTags; }
134 inline bool AllowCustomProjectResourceTagsHasBeenSet() const { return m_allowCustomProjectResourceTagsHasBeenSet; }
135 inline void SetAllowCustomProjectResourceTags(bool value) {
136 m_allowCustomProjectResourceTagsHasBeenSet = true;
137 m_allowCustomProjectResourceTags = value;
138 }
141 return *this;
142 }
144
146
150 inline const Aws::String& GetProjectResourceTagsDescription() const { return m_projectResourceTagsDescription; }
151 inline bool ProjectResourceTagsDescriptionHasBeenSet() const { return m_projectResourceTagsDescriptionHasBeenSet; }
152 template <typename ProjectResourceTagsDescriptionT = Aws::String>
153 void SetProjectResourceTagsDescription(ProjectResourceTagsDescriptionT&& value) {
154 m_projectResourceTagsDescriptionHasBeenSet = true;
155 m_projectResourceTagsDescription = std::forward<ProjectResourceTagsDescriptionT>(value);
156 }
157 template <typename ProjectResourceTagsDescriptionT = Aws::String>
158 CreateProjectProfileRequest& WithProjectResourceTagsDescription(ProjectResourceTagsDescriptionT&& value) {
159 SetProjectResourceTagsDescription(std::forward<ProjectResourceTagsDescriptionT>(value));
160 return *this;
161 }
163
165
168 inline const Aws::Vector<EnvironmentConfiguration>& GetEnvironmentConfigurations() const { return m_environmentConfigurations; }
169 inline bool EnvironmentConfigurationsHasBeenSet() const { return m_environmentConfigurationsHasBeenSet; }
170 template <typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
171 void SetEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
172 m_environmentConfigurationsHasBeenSet = true;
173 m_environmentConfigurations = std::forward<EnvironmentConfigurationsT>(value);
174 }
175 template <typename EnvironmentConfigurationsT = Aws::Vector<EnvironmentConfiguration>>
176 CreateProjectProfileRequest& WithEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
177 SetEnvironmentConfigurations(std::forward<EnvironmentConfigurationsT>(value));
178 return *this;
179 }
180 template <typename EnvironmentConfigurationsT = EnvironmentConfiguration>
181 CreateProjectProfileRequest& AddEnvironmentConfigurations(EnvironmentConfigurationsT&& value) {
182 m_environmentConfigurationsHasBeenSet = true;
183 m_environmentConfigurations.emplace_back(std::forward<EnvironmentConfigurationsT>(value));
184 return *this;
185 }
187
189
192 inline const Aws::String& GetDomainUnitIdentifier() const { return m_domainUnitIdentifier; }
193 inline bool DomainUnitIdentifierHasBeenSet() const { return m_domainUnitIdentifierHasBeenSet; }
194 template <typename DomainUnitIdentifierT = Aws::String>
195 void SetDomainUnitIdentifier(DomainUnitIdentifierT&& value) {
196 m_domainUnitIdentifierHasBeenSet = true;
197 m_domainUnitIdentifier = std::forward<DomainUnitIdentifierT>(value);
198 }
199 template <typename DomainUnitIdentifierT = Aws::String>
201 SetDomainUnitIdentifier(std::forward<DomainUnitIdentifierT>(value));
202 return *this;
203 }
205 private:
206 Aws::String m_domainIdentifier;
207
208 Aws::String m_name;
209
210 Aws::String m_description;
211
212 Status m_status{Status::NOT_SET};
213
214 Aws::Vector<ResourceTagParameter> m_projectResourceTags;
215
216 bool m_allowCustomProjectResourceTags{false};
217
218 Aws::String m_projectResourceTagsDescription;
219
220 Aws::Vector<EnvironmentConfiguration> m_environmentConfigurations;
221
222 Aws::String m_domainUnitIdentifier;
223 bool m_domainIdentifierHasBeenSet = false;
224 bool m_nameHasBeenSet = false;
225 bool m_descriptionHasBeenSet = false;
226 bool m_statusHasBeenSet = false;
227 bool m_projectResourceTagsHasBeenSet = false;
228 bool m_allowCustomProjectResourceTagsHasBeenSet = false;
229 bool m_projectResourceTagsDescriptionHasBeenSet = false;
230 bool m_environmentConfigurationsHasBeenSet = false;
231 bool m_domainUnitIdentifierHasBeenSet = false;
232};
233
234} // namespace Model
235} // namespace DataZone
236} // namespace Aws
CreateProjectProfileRequest & WithDomainUnitIdentifier(DomainUnitIdentifierT &&value)
AWS_DATAZONE_API CreateProjectProfileRequest()=default
CreateProjectProfileRequest & AddEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
CreateProjectProfileRequest & WithAllowCustomProjectResourceTags(bool value)
CreateProjectProfileRequest & WithDomainIdentifier(DomainIdentifierT &&value)
void SetEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
void SetProjectResourceTagsDescription(ProjectResourceTagsDescriptionT &&value)
CreateProjectProfileRequest & WithStatus(Status value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
const Aws::Vector< EnvironmentConfiguration > & GetEnvironmentConfigurations() const
CreateProjectProfileRequest & WithProjectResourceTagsDescription(ProjectResourceTagsDescriptionT &&value)
virtual const char * GetServiceRequestName() const override
CreateProjectProfileRequest & WithProjectResourceTags(ProjectResourceTagsT &&value)
CreateProjectProfileRequest & WithEnvironmentConfigurations(EnvironmentConfigurationsT &&value)
CreateProjectProfileRequest & AddProjectResourceTags(ProjectResourceTagsT &&value)
CreateProjectProfileRequest & WithName(NameT &&value)
CreateProjectProfileRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< ResourceTagParameter > & GetProjectResourceTags() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector