AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateAssetRevisionRequest.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/PredictionConfiguration.h>
12#include <aws/datazone/model/FormInput.h>
13#include <utility>
14#include <aws/core/utils/UUID.h>
15
16namespace Aws
17{
18namespace DataZone
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_DATAZONE_API CreateAssetRevisionRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateAssetRevision"; }
35
36 AWS_DATAZONE_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetClientToken() const { return m_clientToken; }
45 inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
46 template<typename ClientTokenT = Aws::String>
47 void SetClientToken(ClientTokenT&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::forward<ClientTokenT>(value); }
48 template<typename ClientTokenT = Aws::String>
49 CreateAssetRevisionRequest& WithClientToken(ClientTokenT&& value) { SetClientToken(std::forward<ClientTokenT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template<typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 CreateAssetRevisionRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDomainIdentifier() const { return m_domainIdentifier; }
69 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
70 template<typename DomainIdentifierT = Aws::String>
71 void SetDomainIdentifier(DomainIdentifierT&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::forward<DomainIdentifierT>(value); }
72 template<typename DomainIdentifierT = Aws::String>
73 CreateAssetRevisionRequest& WithDomainIdentifier(DomainIdentifierT&& value) { SetDomainIdentifier(std::forward<DomainIdentifierT>(value)); return *this;}
75
77
80 inline const Aws::Vector<FormInput>& GetFormsInput() const { return m_formsInput; }
81 inline bool FormsInputHasBeenSet() const { return m_formsInputHasBeenSet; }
82 template<typename FormsInputT = Aws::Vector<FormInput>>
83 void SetFormsInput(FormsInputT&& value) { m_formsInputHasBeenSet = true; m_formsInput = std::forward<FormsInputT>(value); }
84 template<typename FormsInputT = Aws::Vector<FormInput>>
85 CreateAssetRevisionRequest& WithFormsInput(FormsInputT&& value) { SetFormsInput(std::forward<FormsInputT>(value)); return *this;}
86 template<typename FormsInputT = FormInput>
87 CreateAssetRevisionRequest& AddFormsInput(FormsInputT&& value) { m_formsInputHasBeenSet = true; m_formsInput.emplace_back(std::forward<FormsInputT>(value)); return *this; }
89
91
94 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const { return m_glossaryTerms; }
95 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
96 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
97 void SetGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::forward<GlossaryTermsT>(value); }
98 template<typename GlossaryTermsT = Aws::Vector<Aws::String>>
99 CreateAssetRevisionRequest& WithGlossaryTerms(GlossaryTermsT&& value) { SetGlossaryTerms(std::forward<GlossaryTermsT>(value)); return *this;}
100 template<typename GlossaryTermsT = Aws::String>
101 CreateAssetRevisionRequest& AddGlossaryTerms(GlossaryTermsT&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.emplace_back(std::forward<GlossaryTermsT>(value)); return *this; }
103
105
108 inline const Aws::String& GetIdentifier() const { return m_identifier; }
109 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
110 template<typename IdentifierT = Aws::String>
111 void SetIdentifier(IdentifierT&& value) { m_identifierHasBeenSet = true; m_identifier = std::forward<IdentifierT>(value); }
112 template<typename IdentifierT = Aws::String>
113 CreateAssetRevisionRequest& WithIdentifier(IdentifierT&& value) { SetIdentifier(std::forward<IdentifierT>(value)); return *this;}
115
117
120 inline const Aws::String& GetName() const { return m_name; }
121 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
122 template<typename NameT = Aws::String>
123 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
124 template<typename NameT = Aws::String>
125 CreateAssetRevisionRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
127
129
133 inline const PredictionConfiguration& GetPredictionConfiguration() const { return m_predictionConfiguration; }
134 inline bool PredictionConfigurationHasBeenSet() const { return m_predictionConfigurationHasBeenSet; }
135 template<typename PredictionConfigurationT = PredictionConfiguration>
136 void SetPredictionConfiguration(PredictionConfigurationT&& value) { m_predictionConfigurationHasBeenSet = true; m_predictionConfiguration = std::forward<PredictionConfigurationT>(value); }
137 template<typename PredictionConfigurationT = PredictionConfiguration>
138 CreateAssetRevisionRequest& WithPredictionConfiguration(PredictionConfigurationT&& value) { SetPredictionConfiguration(std::forward<PredictionConfigurationT>(value)); return *this;}
140
142
145 inline const Aws::String& GetTypeRevision() const { return m_typeRevision; }
146 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
147 template<typename TypeRevisionT = Aws::String>
148 void SetTypeRevision(TypeRevisionT&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::forward<TypeRevisionT>(value); }
149 template<typename TypeRevisionT = Aws::String>
150 CreateAssetRevisionRequest& WithTypeRevision(TypeRevisionT&& value) { SetTypeRevision(std::forward<TypeRevisionT>(value)); return *this;}
152 private:
153
155 bool m_clientTokenHasBeenSet = true;
156
157 Aws::String m_description;
158 bool m_descriptionHasBeenSet = false;
159
160 Aws::String m_domainIdentifier;
161 bool m_domainIdentifierHasBeenSet = false;
162
163 Aws::Vector<FormInput> m_formsInput;
164 bool m_formsInputHasBeenSet = 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 PredictionConfiguration m_predictionConfiguration;
176 bool m_predictionConfigurationHasBeenSet = false;
177
178 Aws::String m_typeRevision;
179 bool m_typeRevisionHasBeenSet = false;
180 };
181
182} // namespace Model
183} // namespace DataZone
184} // 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