AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
CreateAssetRevisionRequest.h
1
6#pragma once
7#include <aws/core/utils/UUID.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/FormInput.h>
13#include <aws/datazone/model/PredictionConfiguration.h>
14
15#include <utility>
16
17namespace Aws {
18namespace DataZone {
19namespace Model {
20
24 public:
25 AWS_DATAZONE_API CreateAssetRevisionRequest() = 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 "CreateAssetRevision"; }
32
33 AWS_DATAZONE_API Aws::String SerializePayload() const override;
34
36
39 inline const Aws::String& GetName() const { return m_name; }
40 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
41 template <typename NameT = Aws::String>
42 void SetName(NameT&& value) {
43 m_nameHasBeenSet = true;
44 m_name = std::forward<NameT>(value);
45 }
46 template <typename NameT = Aws::String>
48 SetName(std::forward<NameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
58 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
59 template <typename DomainIdentifierT = Aws::String>
60 void SetDomainIdentifier(DomainIdentifierT&& value) {
61 m_domainIdentifierHasBeenSet = true;
62 m_domainIdentifier = std::forward<DomainIdentifierT>(value);
63 }
64 template <typename DomainIdentifierT = Aws::String>
66 SetDomainIdentifier(std::forward<DomainIdentifierT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetIdentifier() const { return m_identifier; }
76 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
77 template <typename IdentifierT = Aws::String>
78 void SetIdentifier(IdentifierT&& value) {
79 m_identifierHasBeenSet = true;
80 m_identifier = std::forward<IdentifierT>(value);
81 }
82 template <typename IdentifierT = Aws::String>
84 SetIdentifier(std::forward<IdentifierT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
94 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
95 template <typename TypeRevisionT = Aws::String>
96 void SetTypeRevision(TypeRevisionT&& value) {
97 m_typeRevisionHasBeenSet = true;
98 m_typeRevision = std::forward<TypeRevisionT>(value);
99 }
100 template <typename TypeRevisionT = Aws::String>
102 SetTypeRevision(std::forward<TypeRevisionT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetDescription() const { return m_description; }
112 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
113 template <typename DescriptionT = Aws::String>
114 void SetDescription(DescriptionT&& value) {
115 m_descriptionHasBeenSet = true;
116 m_description = std::forward<DescriptionT>(value);
117 }
118 template <typename DescriptionT = Aws::String>
120 SetDescription(std::forward<DescriptionT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
130 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
131 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
132 void SetGlossaryTerms(GlossaryTermsT&& value) {
133 m_glossaryTermsHasBeenSet = true;
134 m_glossaryTerms = std::forward<GlossaryTermsT>(value);
135 }
136 template <typename GlossaryTermsT = Aws::Vector<Aws::String>>
138 SetGlossaryTerms(std::forward<GlossaryTermsT>(value));
139 return *this;
140 }
141 template <typename GlossaryTermsT = Aws::String>
143 m_glossaryTermsHasBeenSet = true;
144 m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::Vector<FormInput>& GetFormsInput() const { return m_formsInput; }
154 inline bool FormsInputHasBeenSet() const { return m_formsInputHasBeenSet; }
155 template <typename FormsInputT = Aws::Vector<FormInput>>
156 void SetFormsInput(FormsInputT&& value) {
157 m_formsInputHasBeenSet = true;
158 m_formsInput = std::forward<FormsInputT>(value);
159 }
160 template <typename FormsInputT = Aws::Vector<FormInput>>
162 SetFormsInput(std::forward<FormsInputT>(value));
163 return *this;
164 }
165 template <typename FormsInputT = FormInput>
167 m_formsInputHasBeenSet = true;
168 m_formsInput.emplace_back(std::forward<FormsInputT>(value));
169 return *this;
170 }
172
174
178 inline const PredictionConfiguration& GetPredictionConfiguration() const { return m_predictionConfiguration; }
179 inline bool PredictionConfigurationHasBeenSet() const { return m_predictionConfigurationHasBeenSet; }
180 template <typename PredictionConfigurationT = PredictionConfiguration>
181 void SetPredictionConfiguration(PredictionConfigurationT&& value) {
182 m_predictionConfigurationHasBeenSet = true;
183 m_predictionConfiguration = std::forward<PredictionConfigurationT>(value);
184 }
185 template <typename PredictionConfigurationT = PredictionConfiguration>
186 CreateAssetRevisionRequest& WithPredictionConfiguration(PredictionConfigurationT&& value) {
187 SetPredictionConfiguration(std::forward<PredictionConfigurationT>(value));
188 return *this;
189 }
191
193
197 inline const Aws::String& GetClientToken() const { return m_clientToken; }
198 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
199 template <typename ClientTokenT = Aws::String>
200 void SetClientToken(ClientTokenT&& value) {
201 m_clientTokenHasBeenSet = true;
202 m_clientToken = std::forward<ClientTokenT>(value);
203 }
204 template <typename ClientTokenT = Aws::String>
206 SetClientToken(std::forward<ClientTokenT>(value));
207 return *this;
208 }
210 private:
211 Aws::String m_name;
212
213 Aws::String m_domainIdentifier;
214
215 Aws::String m_identifier;
216
217 Aws::String m_typeRevision;
218
219 Aws::String m_description;
220
221 Aws::Vector<Aws::String> m_glossaryTerms;
222
223 Aws::Vector<FormInput> m_formsInput;
224
225 PredictionConfiguration m_predictionConfiguration;
226
228 bool m_nameHasBeenSet = false;
229 bool m_domainIdentifierHasBeenSet = false;
230 bool m_identifierHasBeenSet = false;
231 bool m_typeRevisionHasBeenSet = false;
232 bool m_descriptionHasBeenSet = false;
233 bool m_glossaryTermsHasBeenSet = false;
234 bool m_formsInputHasBeenSet = false;
235 bool m_predictionConfigurationHasBeenSet = false;
236 bool m_clientTokenHasBeenSet = true;
237};
238
239} // namespace Model
240} // namespace DataZone
241} // namespace Aws
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
CreateAssetRevisionRequest & WithDescription(DescriptionT &&value)
void SetPredictionConfiguration(PredictionConfigurationT &&value)
CreateAssetRevisionRequest & WithClientToken(ClientTokenT &&value)
CreateAssetRevisionRequest & WithGlossaryTerms(GlossaryTermsT &&value)
CreateAssetRevisionRequest & AddGlossaryTerms(GlossaryTermsT &&value)
CreateAssetRevisionRequest & WithIdentifier(IdentifierT &&value)
CreateAssetRevisionRequest & WithPredictionConfiguration(PredictionConfigurationT &&value)
const Aws::Vector< FormInput > & GetFormsInput() const
virtual const char * GetServiceRequestName() const override
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateAssetRevisionRequest & WithDomainIdentifier(DomainIdentifierT &&value)
const PredictionConfiguration & GetPredictionConfiguration() const
CreateAssetRevisionRequest & WithName(NameT &&value)
CreateAssetRevisionRequest & AddFormsInput(FormsInputT &&value)
CreateAssetRevisionRequest & WithTypeRevision(TypeRevisionT &&value)
AWS_DATAZONE_API CreateAssetRevisionRequest()=default
CreateAssetRevisionRequest & WithFormsInput(FormsInputT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector