AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateProjectRequest.h
1
6#pragma once
7#include <aws/datazone/DataZone_EXPORTS.h>
8#include <aws/datazone/DataZoneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/datazone/model/EnvironmentDeploymentDetails.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/datazone/model/EnvironmentConfigurationUserParameter.h>
13#include <utility>
14
15namespace Aws
16{
17namespace DataZone
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_DATAZONE_API UpdateProjectRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateProject"; }
34
35 AWS_DATAZONE_API Aws::String SerializePayload() const override;
36
37
39
43 inline const Aws::String& GetDescription() const { return m_description; }
44 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
45 template<typename DescriptionT = Aws::String>
46 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
47 template<typename DescriptionT = Aws::String>
48 UpdateProjectRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
56 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
57 template<typename DomainIdentifierT = Aws::String>
58 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
59 template<typename DomainIdentifierT = Aws::String>
60 UpdateProjectRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
62
64
67 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
68 inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; }
69 template<typename DomainUnitIdT = Aws::String>
70 void SetDomainUnitId(DomainUnitIdT&& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = std::forward<DomainUnitIdT>(value); }
71 template<typename DomainUnitIdT = Aws::String>
72 UpdateProjectRequest& WithDomainUnitId(DomainUnitIdT&& value) { SetDomainUnitId(std::forward<DomainUnitIdT>(value)); return *this;}
74
76
79 inline const EnvironmentDeploymentDetails& GetEnvironmentDeploymentDetails() const { return m_environmentDeploymentDetails; }
80 inline bool EnvironmentDeploymentDetailsHasBeenSet() const { return m_environmentDeploymentDetailsHasBeenSet; }
81 template<typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
82 void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) { m_environmentDeploymentDetailsHasBeenSet = true; m_environmentDeploymentDetails = std::forward<EnvironmentDeploymentDetailsT>(value); }
83 template<typename EnvironmentDeploymentDetailsT = EnvironmentDeploymentDetails>
84 UpdateProjectRequest& WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT&& value) { SetEnvironmentDeploymentDetails(std::forward<EnvironmentDeploymentDetailsT>(value)); return *this;}
86
88
92 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
93 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
94 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
95 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
96 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
97 UpdateProjectRequest& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
98 template<typename GlossaryTermsT = Aws::String>
99 UpdateProjectRequest& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
101
103
106 inline const Aws::String& GetIdentifier() const { return m_identifier; }
107 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
108 template<typename IdentifierT = Aws::String>
109 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
110 template<typename IdentifierT = Aws::String>
111 UpdateProjectRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
113
115
118 inline const Aws::String& GetName() const { return m_name; }
119 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
120 template<typename NameT = Aws::String>
121 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
122 template<typename NameT = Aws::String>
123 UpdateProjectRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
125
127
131 inline const Aws::String& GetProjectProfileVersion() const { return m_projectProfileVersion; }
132 inline bool ProjectProfileVersionHasBeenSet() const { return m_projectProfileVersionHasBeenSet; }
133 template<typename ProjectProfileVersionT = Aws::String>
134 void SetProjectProfileVersion(ProjectProfileVersionT&& value) { m_projectProfileVersionHasBeenSet = true; m_projectProfileVersion = std::forward<ProjectProfileVersionT>(value); }
135 template<typename ProjectProfileVersionT = Aws::String>
136 UpdateProjectRequest& WithProjectProfileVersion(ProjectProfileVersionT&& value) { SetProjectProfileVersion(std::forward<ProjectProfileVersionT>(value)); return *this;}
138
140
143 inline const Aws::Vector<EnvironmentConfigurationUserParameter>& GetUserParameters() const { return m_userParameters; }
144 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
145 template<typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
146 void SetUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::forward<UserParametersT>(value); }
147 template<typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
148 UpdateProjectRequest& WithUserParameters(UserParametersT&& value) { SetUserParameters(std::forward<UserParametersT>(value)); return *this;}
149 template<typename UserParametersT = EnvironmentConfigurationUserParameter>
150 UpdateProjectRequest& AddUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters.emplace_back(std::forward<UserParametersT>(value)); return *this; }
152 private:
153
154 Aws::String m_description;
155 bool m_descriptionHasBeenSet = false;
156
157 Aws::String m_domainIdentifier;
158 bool m_domainIdentifierHasBeenSet = false;
159
160 Aws::String m_domainUnitId;
161 bool m_domainUnitIdHasBeenSet = false;
162
163 EnvironmentDeploymentDetails m_environmentDeploymentDetails;
164 bool m_environmentDeploymentDetailsHasBeenSet = false;
165
166 Aws::Vector<Aws::String> m_glossaryTerms;
167 bool m_glossaryTermsHasBeenSet = false;
168
169 Aws::String m_identifier;
170 bool m_identifierHasBeenSet = false;
171
172 Aws::String m_name;
173 bool m_nameHasBeenSet = false;
174
175 Aws::String m_projectProfileVersion;
176 bool m_projectProfileVersionHasBeenSet = false;
177
179 bool m_userParametersHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace DataZone
184} // namespace Aws
UpdateProjectRequest & WithGlossaryTerms(GlossaryTermsT &&value)
const Aws::String & GetProjectProfileVersion() const
AWS_DATAZONE_API Aws::String SerializePayload() const override
const Aws::Vector< EnvironmentConfigurationUserParameter > & GetUserParameters() const
const EnvironmentDeploymentDetails & GetEnvironmentDeploymentDetails() const
UpdateProjectRequest & WithProjectProfileVersion(ProjectProfileVersionT &&value)
void SetUserParameters(UserParametersT &&value)
UpdateProjectRequest & WithEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT &&value)
UpdateProjectRequest & WithIdentifier(IdentifierT &&value)
UpdateProjectRequest & AddUserParameters(UserParametersT &&value)
AWS_DATAZONE_API UpdateProjectRequest()=default
virtual const char * GetServiceRequestName() const override
void SetProjectProfileVersion(ProjectProfileVersionT &&value)
UpdateProjectRequest & AddGlossaryTerms(GlossaryTermsT &&value)
UpdateProjectRequest & WithUserParameters(UserParametersT &&value)
UpdateProjectRequest & WithDomainUnitId(DomainUnitIdT &&value)
void SetDomainIdentifier(DomainIdentifierT &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
UpdateProjectRequest & WithDomainIdentifier(DomainIdentifierT &&value)
UpdateProjectRequest & WithName(NameT &&value)
UpdateProjectRequest & WithDescription(DescriptionT &&value)
void SetEnvironmentDeploymentDetails(EnvironmentDeploymentDetailsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector