AWS SDK for C++

AWS SDK for C++ Version 1.11.695

Loading...
Searching...
No Matches
CreateProjectRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/datazone/DataZoneRequest.h>
11#include <aws/datazone/DataZone_EXPORTS.h>
12#include <aws/datazone/model/EnvironmentConfigurationUserParameter.h>
13
14#include <utility>
15
16namespace Aws {
17namespace DataZone {
18namespace Model {
19
23 public:
24 AWS_DATAZONE_API CreateProjectRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateProject"; }
31
32 AWS_DATAZONE_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetDescription() const { return m_description; }
39 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
40 template <typename DescriptionT = Aws::String>
41 void SetDescription(DescriptionT&& value) {
42 m_descriptionHasBeenSet = true;
43 m_description = std::forward<DescriptionT>(value);
44 }
45 template <typename DescriptionT = Aws::String>
46 CreateProjectRequest& WithDescription(DescriptionT&& value) {
47 SetDescription(std::forward<DescriptionT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
57 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
58 template <typename DomainIdentifierT = Aws::String>
59 void SetDomainIdentifier(DomainIdentifierT&& value) {
60 m_domainIdentifierHasBeenSet = true;
61 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
62 }
63 template <typename DomainIdentifierT = Aws::String>
64 CreateProjectRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
65 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
76 inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; }
77 template <typename DomainUnitIdT = Aws::String>
78 void SetDomainUnitId(DomainUnitIdT&& value) {
79 m_domainUnitIdHasBeenSet = true;
80 m_domainUnitId = std::forward<DomainUnitIdT>(value);
81 }
82 template <typename DomainUnitIdT = Aws::String>
83 CreateProjectRequest& WithDomainUnitId(DomainUnitIdT&& value) {
84 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
94 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
95 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
96 void SetGlossaryTerms(GlossaryTermsT&& value) {
97 m_glossaryTermsHasBeenSet = true;
98 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
99 }
100 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
101 CreateProjectRequest& WithGlossaryTerms(GlossaryTermsT&& value) {
102 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
103 return *this;
104 }
105 template <typename GlossaryTermsT = Aws::String>
106 CreateProjectRequest& AddGlossaryTerms(GlossaryTermsT&& value) {
107 m_glossaryTermsHasBeenSet = true;
108 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::String& GetName() const { return m_name; }
118 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
119 template <typename NameT = Aws::String>
120 void SetName(NameT&& value) {
121 m_nameHasBeenSet = true;
122 m_name = std::forward<NameT>(value);
123 }
124 template <typename NameT = Aws::String>
126 SetName(std::forward<NameT>(value));
127 return *this;
128 }
130
132
135 inline const Aws::String& GetProjectProfileId() const { return m_projectProfileId; }
136 inline bool ProjectProfileIdHasBeenSet() const { return m_projectProfileIdHasBeenSet; }
137 template <typename ProjectProfileIdT = Aws::String>
138 void SetProjectProfileId(ProjectProfileIdT&& value) {
139 m_projectProfileIdHasBeenSet = true;
140 m_projectProfileId = std::forward<ProjectProfileIdT>(value);
141 }
142 template <typename ProjectProfileIdT = Aws::String>
143 CreateProjectRequest& WithProjectProfileId(ProjectProfileIdT&& value) {
144 SetProjectProfileId(std::forward<ProjectProfileIdT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::Map<Aws::String, Aws::String>& GetResourceTags() const { return m_resourceTags; }
154 inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; }
155 template <typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
156 void SetResourceTags(ResourceTagsT&& value) {
157 m_resourceTagsHasBeenSet = true;
158 m_resourceTags = std::forward<ResourceTagsT>(value);
159 }
160 template <typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
161 CreateProjectRequest& WithResourceTags(ResourceTagsT&& value) {
162 SetResourceTags(std::forward<ResourceTagsT>(value));
163 return *this;
164 }
165 template <typename ResourceTagsKeyT = Aws::String, typename ResourceTagsValueT = Aws::String>
166 CreateProjectRequest& AddResourceTags(ResourceTagsKeyT&& key, ResourceTagsValueT&& value) {
167 m_resourceTagsHasBeenSet = true;
168 m_resourceTags.emplace(std::forward<ResourceTagsKeyT>(key), std::forward<ResourceTagsValueT>(value));
169 return *this;
170 }
172
174
177 inline const Aws::Vector<EnvironmentConfigurationUserParameter>& GetUserParameters() const { return m_userParameters; }
178 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
179 template <typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
180 void SetUserParameters(UserParametersT&& value) {
181 m_userParametersHasBeenSet = true;
182 m_userParameters = std::forward<UserParametersT>(value);
183 }
184 template <typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
185 CreateProjectRequest& WithUserParameters(UserParametersT&& value) {
186 SetUserParameters(std::forward<UserParametersT>(value));
187 return *this;
188 }
189 template <typename UserParametersT = EnvironmentConfigurationUserParameter>
190 CreateProjectRequest& AddUserParameters(UserParametersT&& value) {
191 m_userParametersHasBeenSet = true;
192 m_userParameters.emplace_back(std::forward<UserParametersT>(value));
193 return *this;
194 }
196 private:
197 Aws::String m_description;
198 bool m_descriptionHasBeenSet = false;
199
200 Aws::String m_domainIdentifier;
201 bool m_domainIdentifierHasBeenSet = false;
202
203 Aws::String m_domainUnitId;
204 bool m_domainUnitIdHasBeenSet = false;
205
206 Aws::Vector<Aws::String> m_glossaryTerms;
207 bool m_glossaryTermsHasBeenSet = false;
208
209 Aws::String m_name;
210 bool m_nameHasBeenSet = false;
211
212 Aws::String m_projectProfileId;
213 bool m_projectProfileIdHasBeenSet = false;
214
216 bool m_resourceTagsHasBeenSet = false;
217
219 bool m_userParametersHasBeenSet = false;
220};
221
222} // namespace Model
223} // namespace DataZone
224} // namespace Aws
const Aws::Vector< EnvironmentConfigurationUserParameter > & GetUserParameters() const
CreateProjectRequest & AddResourceTags(ResourceTagsKeyT &&key, ResourceTagsValueT &&value)
virtual const char * GetServiceRequestName() const override
void SetUserParameters(UserParametersT &&value)
CreateProjectRequest & WithResourceTags(ResourceTagsT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateProjectRequest & WithDescription(DescriptionT &&value)
CreateProjectRequest & WithProjectProfileId(ProjectProfileIdT &&value)
CreateProjectRequest & AddGlossaryTerms(GlossaryTermsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetResourceTags() const
CreateProjectRequest & WithUserParameters(UserParametersT &&value)
CreateProjectRequest & AddUserParameters(UserParametersT &&value)
CreateProjectRequest & WithDomainUnitId(DomainUnitIdT &&value)
void SetProjectProfileId(ProjectProfileIdT &&value)
CreateProjectRequest & WithGlossaryTerms(GlossaryTermsT &&value)
CreateProjectRequest & WithName(NameT &&value)
CreateProjectRequest & WithDomainIdentifier(DomainIdentifierT &&value)
AWS_DATAZONE_API CreateProjectRequest()=default
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector