AWS SDK for C++

AWS SDK for C++ Version 1.11.743

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& 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>
46 CreateProjectRequest& WithDomainIdentifier(DomainIdentifierT&& value) {
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>
82 CreateProjectRequest& WithDescription(DescriptionT&& value) {
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
92 inline const Aws::Map<Aws::String, Aws::String>& GetResourceTags() const { return m_resourceTags; }
93 inline bool ResourceTagsHasBeenSet() const { return m_resourceTagsHasBeenSet; }
94 template <typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
95 void SetResourceTags(ResourceTagsT&& value) {
96 m_resourceTagsHasBeenSet = true;
97 m_resourceTags = std::forward<ResourceTagsT>(value);
98 }
99 template <typename ResourceTagsT = Aws::Map<Aws::String, Aws::String>>
100 CreateProjectRequest& WithResourceTags(ResourceTagsT&& value) {
101 SetResourceTags(std::forward<ResourceTagsT>(value));
102 return *this;
103 }
104 template <typename ResourceTagsKeyT = Aws::String, typename ResourceTagsValueT = Aws::String>
105 CreateProjectRequest& AddResourceTags(ResourceTagsKeyT&& key, ResourceTagsValueT&& value) {
106 m_resourceTagsHasBeenSet = true;
107 m_resourceTags.emplace(std::forward<ResourceTagsKeyT>(key), std::forward<ResourceTagsValueT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
117 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
118 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
119 void SetGlossaryTerms(GlossaryTermsT&& value) {
120 m_glossaryTermsHasBeenSet = true;
121 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
122 }
123 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
124 CreateProjectRequest& WithGlossaryTerms(GlossaryTermsT&& value) {
125 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
126 return *this;
127 }
128 template <typename GlossaryTermsT = Aws::String>
129 CreateProjectRequest& AddGlossaryTerms(GlossaryTermsT&& value) {
130 m_glossaryTermsHasBeenSet = true;
131 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
142 inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; }
143 template <typename DomainUnitIdT = Aws::String>
144 void SetDomainUnitId(DomainUnitIdT&& value) {
145 m_domainUnitIdHasBeenSet = true;
146 m_domainUnitId = std::forward<DomainUnitIdT>(value);
147 }
148 template <typename DomainUnitIdT = Aws::String>
149 CreateProjectRequest& WithDomainUnitId(DomainUnitIdT&& value) {
150 SetDomainUnitId(std::forward<DomainUnitIdT>(value));
151 return *this;
152 }
154
156
159 inline const Aws::String& GetProjectProfileId() const { return m_projectProfileId; }
160 inline bool ProjectProfileIdHasBeenSet() const { return m_projectProfileIdHasBeenSet; }
161 template <typename ProjectProfileIdT = Aws::String>
162 void SetProjectProfileId(ProjectProfileIdT&& value) {
163 m_projectProfileIdHasBeenSet = true;
164 m_projectProfileId = std::forward<ProjectProfileIdT>(value);
165 }
166 template <typename ProjectProfileIdT = Aws::String>
167 CreateProjectRequest& WithProjectProfileId(ProjectProfileIdT&& value) {
168 SetProjectProfileId(std::forward<ProjectProfileIdT>(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_domainIdentifier;
198
199 Aws::String m_name;
200
201 Aws::String m_description;
202
204
205 Aws::Vector<Aws::String> m_glossaryTerms;
206
207 Aws::String m_domainUnitId;
208
209 Aws::String m_projectProfileId;
210
212 bool m_domainIdentifierHasBeenSet = false;
213 bool m_nameHasBeenSet = false;
214 bool m_descriptionHasBeenSet = false;
215 bool m_resourceTagsHasBeenSet = false;
216 bool m_glossaryTermsHasBeenSet = false;
217 bool m_domainUnitIdHasBeenSet = false;
218 bool m_projectProfileIdHasBeenSet = false;
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