AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
47 inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
48 inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
49 inline CreateAssetRevisionRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline CreateAssetRevisionRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline CreateAssetRevisionRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;}
53
55
58 inline const Aws::String& GetDescription() const{ return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
61 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
62 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
63 inline CreateAssetRevisionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline CreateAssetRevisionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline CreateAssetRevisionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
67
69
72 inline const Aws::String& GetDomainIdentifier() const{ return m_domainIdentifier; }
73 inline bool DomainIdentifierHasBeenSet() const { return m_domainIdentifierHasBeenSet; }
74 inline void SetDomainIdentifier(const Aws::String& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = value; }
75 inline void SetDomainIdentifier(Aws::String&& value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier = std::move(value); }
76 inline void SetDomainIdentifier(const char* value) { m_domainIdentifierHasBeenSet = true; m_domainIdentifier.assign(value); }
78 inline CreateAssetRevisionRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
79 inline CreateAssetRevisionRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
81
83
86 inline const Aws::Vector<FormInput>& GetFormsInput() const{ return m_formsInput; }
87 inline bool FormsInputHasBeenSet() const { return m_formsInputHasBeenSet; }
88 inline void SetFormsInput(const Aws::Vector<FormInput>& value) { m_formsInputHasBeenSet = true; m_formsInput = value; }
89 inline void SetFormsInput(Aws::Vector<FormInput>&& value) { m_formsInputHasBeenSet = true; m_formsInput = std::move(value); }
91 inline CreateAssetRevisionRequest& WithFormsInput(Aws::Vector<FormInput>&& value) { SetFormsInput(std::move(value)); return *this;}
92 inline CreateAssetRevisionRequest& AddFormsInput(const FormInput& value) { m_formsInputHasBeenSet = true; m_formsInput.push_back(value); return *this; }
93 inline CreateAssetRevisionRequest& AddFormsInput(FormInput&& value) { m_formsInputHasBeenSet = true; m_formsInput.push_back(std::move(value)); return *this; }
95
97
100 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
101 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
102 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = value; }
103 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::move(value); }
106 inline CreateAssetRevisionRequest& AddGlossaryTerms(const Aws::String& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
107 inline CreateAssetRevisionRequest& AddGlossaryTerms(Aws::String&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
108 inline CreateAssetRevisionRequest& AddGlossaryTerms(const char* value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
110
112
115 inline const Aws::String& GetIdentifier() const{ return m_identifier; }
116 inline bool IdentifierHasBeenSet() const { return m_identifierHasBeenSet; }
117 inline void SetIdentifier(const Aws::String& value) { m_identifierHasBeenSet = true; m_identifier = value; }
118 inline void SetIdentifier(Aws::String&& value) { m_identifierHasBeenSet = true; m_identifier = std::move(value); }
119 inline void SetIdentifier(const char* value) { m_identifierHasBeenSet = true; m_identifier.assign(value); }
120 inline CreateAssetRevisionRequest& WithIdentifier(const Aws::String& value) { SetIdentifier(value); return *this;}
121 inline CreateAssetRevisionRequest& WithIdentifier(Aws::String&& value) { SetIdentifier(std::move(value)); return *this;}
122 inline CreateAssetRevisionRequest& WithIdentifier(const char* value) { SetIdentifier(value); return *this;}
124
126
129 inline const Aws::String& GetName() const{ return m_name; }
130 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
131 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
132 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
133 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
134 inline CreateAssetRevisionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
135 inline CreateAssetRevisionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
136 inline CreateAssetRevisionRequest& WithName(const char* value) { SetName(value); return *this;}
138
140
144 inline const PredictionConfiguration& GetPredictionConfiguration() const{ return m_predictionConfiguration; }
145 inline bool PredictionConfigurationHasBeenSet() const { return m_predictionConfigurationHasBeenSet; }
146 inline void SetPredictionConfiguration(const PredictionConfiguration& value) { m_predictionConfigurationHasBeenSet = true; m_predictionConfiguration = value; }
147 inline void SetPredictionConfiguration(PredictionConfiguration&& value) { m_predictionConfigurationHasBeenSet = true; m_predictionConfiguration = std::move(value); }
151
153
156 inline const Aws::String& GetTypeRevision() const{ return m_typeRevision; }
157 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
158 inline void SetTypeRevision(const Aws::String& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = value; }
159 inline void SetTypeRevision(Aws::String&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::move(value); }
160 inline void SetTypeRevision(const char* value) { m_typeRevisionHasBeenSet = true; m_typeRevision.assign(value); }
161 inline CreateAssetRevisionRequest& WithTypeRevision(const Aws::String& value) { SetTypeRevision(value); return *this;}
162 inline CreateAssetRevisionRequest& WithTypeRevision(Aws::String&& value) { SetTypeRevision(std::move(value)); return *this;}
163 inline CreateAssetRevisionRequest& WithTypeRevision(const char* value) { SetTypeRevision(value); return *this;}
165 private:
166
167 Aws::String m_clientToken;
168 bool m_clientTokenHasBeenSet = false;
169
170 Aws::String m_description;
171 bool m_descriptionHasBeenSet = false;
172
173 Aws::String m_domainIdentifier;
174 bool m_domainIdentifierHasBeenSet = false;
175
176 Aws::Vector<FormInput> m_formsInput;
177 bool m_formsInputHasBeenSet = false;
178
179 Aws::Vector<Aws::String> m_glossaryTerms;
180 bool m_glossaryTermsHasBeenSet = false;
181
182 Aws::String m_identifier;
183 bool m_identifierHasBeenSet = false;
184
185 Aws::String m_name;
186 bool m_nameHasBeenSet = false;
187
188 PredictionConfiguration m_predictionConfiguration;
189 bool m_predictionConfigurationHasBeenSet = false;
190
191 Aws::String m_typeRevision;
192 bool m_typeRevisionHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace DataZone
197} // namespace Aws
CreateAssetRevisionRequest & WithDescription(Aws::String &&value)
CreateAssetRevisionRequest & WithClientToken(const Aws::String &value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
CreateAssetRevisionRequest & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateAssetRevisionRequest & WithDomainIdentifier(Aws::String &&value)
CreateAssetRevisionRequest & WithPredictionConfiguration(const PredictionConfiguration &value)
CreateAssetRevisionRequest & AddGlossaryTerms(Aws::String &&value)
CreateAssetRevisionRequest & WithFormsInput(Aws::Vector< FormInput > &&value)
CreateAssetRevisionRequest & AddFormsInput(FormInput &&value)
CreateAssetRevisionRequest & WithIdentifier(const char *value)
CreateAssetRevisionRequest & WithDescription(const Aws::String &value)
CreateAssetRevisionRequest & AddFormsInput(const FormInput &value)
CreateAssetRevisionRequest & WithName(const Aws::String &value)
CreateAssetRevisionRequest & AddGlossaryTerms(const Aws::String &value)
CreateAssetRevisionRequest & WithDescription(const char *value)
CreateAssetRevisionRequest & WithIdentifier(const Aws::String &value)
CreateAssetRevisionRequest & WithDomainIdentifier(const char *value)
void SetFormsInput(Aws::Vector< FormInput > &&value)
void SetFormsInput(const Aws::Vector< FormInput > &value)
void SetPredictionConfiguration(const PredictionConfiguration &value)
CreateAssetRevisionRequest & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateAssetRevisionRequest & WithTypeRevision(const char *value)
const Aws::Vector< FormInput > & GetFormsInput() const
CreateAssetRevisionRequest & WithFormsInput(const Aws::Vector< FormInput > &value)
void SetPredictionConfiguration(PredictionConfiguration &&value)
CreateAssetRevisionRequest & WithName(Aws::String &&value)
CreateAssetRevisionRequest & WithDomainIdentifier(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateAssetRevisionRequest & WithName(const char *value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
CreateAssetRevisionRequest & WithTypeRevision(Aws::String &&value)
CreateAssetRevisionRequest & WithClientToken(const char *value)
CreateAssetRevisionRequest & WithClientToken(Aws::String &&value)
const PredictionConfiguration & GetPredictionConfiguration() const
CreateAssetRevisionRequest & AddGlossaryTerms(const char *value)
CreateAssetRevisionRequest & WithIdentifier(Aws::String &&value)
CreateAssetRevisionRequest & WithPredictionConfiguration(PredictionConfiguration &&value)
CreateAssetRevisionRequest & WithTypeRevision(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector