AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateAssetRequest.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 CreateAssetRequest();
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 "CreateAsset"; }
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 CreateAssetRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline CreateAssetRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline CreateAssetRequest& 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 CreateAssetRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline CreateAssetRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline CreateAssetRequest& 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); }
77 inline CreateAssetRequest& WithDomainIdentifier(const Aws::String& value) { SetDomainIdentifier(value); return *this;}
78 inline CreateAssetRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
79 inline CreateAssetRequest& WithDomainIdentifier(const char* value) { SetDomainIdentifier(value); return *this;}
81
83
86 inline const Aws::String& GetExternalIdentifier() const{ return m_externalIdentifier; }
87 inline bool ExternalIdentifierHasBeenSet() const { return m_externalIdentifierHasBeenSet; }
88 inline void SetExternalIdentifier(const Aws::String& value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier = value; }
89 inline void SetExternalIdentifier(Aws::String&& value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier = std::move(value); }
90 inline void SetExternalIdentifier(const char* value) { m_externalIdentifierHasBeenSet = true; m_externalIdentifier.assign(value); }
91 inline CreateAssetRequest& WithExternalIdentifier(const Aws::String& value) { SetExternalIdentifier(value); return *this;}
92 inline CreateAssetRequest& WithExternalIdentifier(Aws::String&& value) { SetExternalIdentifier(std::move(value)); return *this;}
93 inline CreateAssetRequest& WithExternalIdentifier(const char* value) { SetExternalIdentifier(value); return *this;}
95
97
100 inline const Aws::Vector<FormInput>& GetFormsInput() const{ return m_formsInput; }
101 inline bool FormsInputHasBeenSet() const { return m_formsInputHasBeenSet; }
102 inline void SetFormsInput(const Aws::Vector<FormInput>& value) { m_formsInputHasBeenSet = true; m_formsInput = value; }
103 inline void SetFormsInput(Aws::Vector<FormInput>&& value) { m_formsInputHasBeenSet = true; m_formsInput = std::move(value); }
104 inline CreateAssetRequest& WithFormsInput(const Aws::Vector<FormInput>& value) { SetFormsInput(value); return *this;}
105 inline CreateAssetRequest& WithFormsInput(Aws::Vector<FormInput>&& value) { SetFormsInput(std::move(value)); return *this;}
106 inline CreateAssetRequest& AddFormsInput(const FormInput& value) { m_formsInputHasBeenSet = true; m_formsInput.push_back(value); return *this; }
107 inline CreateAssetRequest& AddFormsInput(FormInput&& value) { m_formsInputHasBeenSet = true; m_formsInput.push_back(std::move(value)); return *this; }
109
111
114 inline const Aws::Vector<Aws::String>& GetGlossaryTerms() const{ return m_glossaryTerms; }
115 inline bool GlossaryTermsHasBeenSet() const { return m_glossaryTermsHasBeenSet; }
116 inline void SetGlossaryTerms(const Aws::Vector<Aws::String>& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = value; }
117 inline void SetGlossaryTerms(Aws::Vector<Aws::String>&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms = std::move(value); }
119 inline CreateAssetRequest& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
120 inline CreateAssetRequest& AddGlossaryTerms(const Aws::String& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
121 inline CreateAssetRequest& AddGlossaryTerms(Aws::String&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
122 inline CreateAssetRequest& AddGlossaryTerms(const char* value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(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 CreateAssetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
135 inline CreateAssetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
136 inline CreateAssetRequest& WithName(const char* value) { SetName(value); return *this;}
138
140
143 inline const Aws::String& GetOwningProjectIdentifier() const{ return m_owningProjectIdentifier; }
144 inline bool OwningProjectIdentifierHasBeenSet() const { return m_owningProjectIdentifierHasBeenSet; }
145 inline void SetOwningProjectIdentifier(const Aws::String& value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier = value; }
146 inline void SetOwningProjectIdentifier(Aws::String&& value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier = std::move(value); }
147 inline void SetOwningProjectIdentifier(const char* value) { m_owningProjectIdentifierHasBeenSet = true; m_owningProjectIdentifier.assign(value); }
150 inline CreateAssetRequest& WithOwningProjectIdentifier(const char* value) { SetOwningProjectIdentifier(value); return *this;}
152
154
158 inline const PredictionConfiguration& GetPredictionConfiguration() const{ return m_predictionConfiguration; }
159 inline bool PredictionConfigurationHasBeenSet() const { return m_predictionConfigurationHasBeenSet; }
160 inline void SetPredictionConfiguration(const PredictionConfiguration& value) { m_predictionConfigurationHasBeenSet = true; m_predictionConfiguration = value; }
161 inline void SetPredictionConfiguration(PredictionConfiguration&& value) { m_predictionConfigurationHasBeenSet = true; m_predictionConfiguration = std::move(value); }
165
167
170 inline const Aws::String& GetTypeIdentifier() const{ return m_typeIdentifier; }
171 inline bool TypeIdentifierHasBeenSet() const { return m_typeIdentifierHasBeenSet; }
172 inline void SetTypeIdentifier(const Aws::String& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = value; }
173 inline void SetTypeIdentifier(Aws::String&& value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier = std::move(value); }
174 inline void SetTypeIdentifier(const char* value) { m_typeIdentifierHasBeenSet = true; m_typeIdentifier.assign(value); }
175 inline CreateAssetRequest& WithTypeIdentifier(const Aws::String& value) { SetTypeIdentifier(value); return *this;}
176 inline CreateAssetRequest& WithTypeIdentifier(Aws::String&& value) { SetTypeIdentifier(std::move(value)); return *this;}
177 inline CreateAssetRequest& WithTypeIdentifier(const char* value) { SetTypeIdentifier(value); return *this;}
179
181
184 inline const Aws::String& GetTypeRevision() const{ return m_typeRevision; }
185 inline bool TypeRevisionHasBeenSet() const { return m_typeRevisionHasBeenSet; }
186 inline void SetTypeRevision(const Aws::String& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = value; }
187 inline void SetTypeRevision(Aws::String&& value) { m_typeRevisionHasBeenSet = true; m_typeRevision = std::move(value); }
188 inline void SetTypeRevision(const char* value) { m_typeRevisionHasBeenSet = true; m_typeRevision.assign(value); }
189 inline CreateAssetRequest& WithTypeRevision(const Aws::String& value) { SetTypeRevision(value); return *this;}
190 inline CreateAssetRequest& WithTypeRevision(Aws::String&& value) { SetTypeRevision(std::move(value)); return *this;}
191 inline CreateAssetRequest& WithTypeRevision(const char* value) { SetTypeRevision(value); return *this;}
193 private:
194
195 Aws::String m_clientToken;
196 bool m_clientTokenHasBeenSet = false;
197
198 Aws::String m_description;
199 bool m_descriptionHasBeenSet = false;
200
201 Aws::String m_domainIdentifier;
202 bool m_domainIdentifierHasBeenSet = false;
203
204 Aws::String m_externalIdentifier;
205 bool m_externalIdentifierHasBeenSet = false;
206
207 Aws::Vector<FormInput> m_formsInput;
208 bool m_formsInputHasBeenSet = false;
209
210 Aws::Vector<Aws::String> m_glossaryTerms;
211 bool m_glossaryTermsHasBeenSet = false;
212
213 Aws::String m_name;
214 bool m_nameHasBeenSet = false;
215
216 Aws::String m_owningProjectIdentifier;
217 bool m_owningProjectIdentifierHasBeenSet = false;
218
219 PredictionConfiguration m_predictionConfiguration;
220 bool m_predictionConfigurationHasBeenSet = false;
221
222 Aws::String m_typeIdentifier;
223 bool m_typeIdentifierHasBeenSet = false;
224
225 Aws::String m_typeRevision;
226 bool m_typeRevisionHasBeenSet = false;
227 };
228
229} // namespace Model
230} // namespace DataZone
231} // namespace Aws
void SetPredictionConfiguration(const PredictionConfiguration &value)
CreateAssetRequest & WithName(const Aws::String &value)
void SetClientToken(const Aws::String &value)
const Aws::String & GetTypeIdentifier() const
CreateAssetRequest & WithTypeIdentifier(const char *value)
void SetExternalIdentifier(Aws::String &&value)
CreateAssetRequest & WithPredictionConfiguration(const PredictionConfiguration &value)
CreateAssetRequest & WithPredictionConfiguration(PredictionConfiguration &&value)
const Aws::Vector< FormInput > & GetFormsInput() const
CreateAssetRequest & WithExternalIdentifier(const char *value)
CreateAssetRequest & WithExternalIdentifier(const Aws::String &value)
const Aws::String & GetOwningProjectIdentifier() const
CreateAssetRequest & WithDomainIdentifier(const Aws::String &value)
CreateAssetRequest & WithDomainIdentifier(Aws::String &&value)
const Aws::String & GetTypeRevision() const
const Aws::String & GetDomainIdentifier() const
CreateAssetRequest & WithTypeRevision(const Aws::String &value)
CreateAssetRequest & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
void SetFormsInput(const Aws::Vector< FormInput > &value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
const Aws::String & GetExternalIdentifier() const
CreateAssetRequest & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateAssetRequest & AddGlossaryTerms(Aws::String &&value)
void SetDomainIdentifier(const Aws::String &value)
CreateAssetRequest & WithDescription(const char *value)
CreateAssetRequest & WithTypeRevision(Aws::String &&value)
CreateAssetRequest & WithDescription(Aws::String &&value)
CreateAssetRequest & WithClientToken(const char *value)
CreateAssetRequest & WithFormsInput(const Aws::Vector< FormInput > &value)
CreateAssetRequest & WithTypeIdentifier(Aws::String &&value)
CreateAssetRequest & WithExternalIdentifier(Aws::String &&value)
void SetDomainIdentifier(Aws::String &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
CreateAssetRequest & WithTypeRevision(const char *value)
virtual const char * GetServiceRequestName() const override
CreateAssetRequest & AddFormsInput(const FormInput &value)
CreateAssetRequest & WithName(Aws::String &&value)
void SetFormsInput(Aws::Vector< FormInput > &&value)
CreateAssetRequest & AddFormsInput(FormInput &&value)
CreateAssetRequest & WithOwningProjectIdentifier(Aws::String &&value)
const PredictionConfiguration & GetPredictionConfiguration() const
CreateAssetRequest & WithOwningProjectIdentifier(const Aws::String &value)
CreateAssetRequest & WithName(const char *value)
CreateAssetRequest & AddGlossaryTerms(const Aws::String &value)
void SetExternalIdentifier(const Aws::String &value)
CreateAssetRequest & WithTypeIdentifier(const Aws::String &value)
void SetName(const Aws::String &value)
CreateAssetRequest & WithFormsInput(Aws::Vector< FormInput > &&value)
CreateAssetRequest & WithDescription(const Aws::String &value)
CreateAssetRequest & WithClientToken(Aws::String &&value)
CreateAssetRequest & WithClientToken(const Aws::String &value)
CreateAssetRequest & WithDomainIdentifier(const char *value)
void SetOwningProjectIdentifier(Aws::String &&value)
const Aws::String & GetClientToken() const
const Aws::String & GetDescription() const
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
void SetDescription(const Aws::String &value)
CreateAssetRequest & WithOwningProjectIdentifier(const char *value)
void SetOwningProjectIdentifier(const Aws::String &value)
void SetTypeIdentifier(const Aws::String &value)
void SetPredictionConfiguration(PredictionConfiguration &&value)
void SetTypeRevision(const Aws::String &value)
CreateAssetRequest & AddGlossaryTerms(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector