AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateProjectRequest.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/datazone/model/EnvironmentConfigurationUserParameter.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DataZone
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_DATAZONE_API CreateProjectRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateProject"; }
33
34 AWS_DATAZONE_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetDescription() const { return m_description; }
42 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
43 template<typename DescriptionT = Aws::String>
44 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
45 template<typename DescriptionT = Aws::String>
46 CreateProjectRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
48
50
53 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
54 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
55 template<typename DomainIdentifierT = Aws::String>
56 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
57 template<typename DomainIdentifierT = Aws::String>
58 CreateProjectRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
60
62
66 inline const Aws::String& GetDomainUnitId() const { return m_domainUnitId; }
67 inline bool DomainUnitIdHasBeenSet() const { return m_domainUnitIdHasBeenSet; }
68 template<typename DomainUnitIdT = Aws::String>
69 void SetDomainUnitId(DomainUnitIdT&& value) { m_domainUnitIdHasBeenSet = true; m_domainUnitId = std::forward<DomainUnitIdT>(value); }
70 template<typename DomainUnitIdT = Aws::String>
71 CreateProjectRequest& WithDomainUnitId(DomainUnitIdT&& value) { SetDomainUnitId(std::forward<DomainUnitIdT>(value)); return *this;}
73
75
78 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
79 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
80 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
81 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
82 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
83 CreateProjectRequest& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
84 template<typename GlossaryTermsT = Aws::String>
85 CreateProjectRequest& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
87
89
92 inline const Aws::String& GetName() const { return m_name; }
93 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
94 template<typename NameT = Aws::String>
95 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
96 template<typename NameT = Aws::String>
97 CreateProjectRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
99
101
104 inline const Aws::String& GetProjectProfileId() const { return m_projectProfileId; }
105 inline bool ProjectProfileIdHasBeenSet() const { return m_projectProfileIdHasBeenSet; }
106 template<typename ProjectProfileIdT = Aws::String>
107 void SetProjectProfileId(ProjectProfileIdT&& value) { m_projectProfileIdHasBeenSet = true; m_projectProfileId = std::forward<ProjectProfileIdT>(value); }
108 template<typename ProjectProfileIdT = Aws::String>
109 CreateProjectRequest& WithProjectProfileId(ProjectProfileIdT&& value) { SetProjectProfileId(std::forward<ProjectProfileIdT>(value)); return *this;}
111
113
116 inline const Aws::Vector<EnvironmentConfigurationUserParameter>& GetUserParameters() const { return m_userParameters; }
117 inline bool UserParametersHasBeenSet() const { return m_userParametersHasBeenSet; }
118 template<typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
119 void SetUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters = std::forward<UserParametersT>(value); }
120 template<typename UserParametersT = Aws::Vector<EnvironmentConfigurationUserParameter>>
121 CreateProjectRequest& WithUserParameters(UserParametersT&& value) { SetUserParameters(std::forward<UserParametersT>(value)); return *this;}
122 template<typename UserParametersT = EnvironmentConfigurationUserParameter>
123 CreateProjectRequest& AddUserParameters(UserParametersT&& value) { m_userParametersHasBeenSet = true; m_userParameters.emplace_back(std::forward<UserParametersT>(value)); return *this; }
125 private:
126
127 Aws::String m_description;
128 bool m_descriptionHasBeenSet = false;
129
130 Aws::String m_domainIdentifier;
131 bool m_domainIdentifierHasBeenSet = false;
132
133 Aws::String m_domainUnitId;
134 bool m_domainUnitIdHasBeenSet = false;
135
136 Aws::Vector<Aws::String> m_glossaryTerms;
137 bool m_glossaryTermsHasBeenSet = false;
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141
142 Aws::String m_projectProfileId;
143 bool m_projectProfileIdHasBeenSet = false;
144
146 bool m_userParametersHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace DataZone
151} // namespace Aws
const Aws::Vector< EnvironmentConfigurationUserParameter > & GetUserParameters() const
virtual const char * GetServiceRequestName() const override
void SetUserParameters(UserParametersT &&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)
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::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector