AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDataProductRequest.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/FormInput.h>
12#include <aws/datazone/model/DataProductItem.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 CreateDataProductRequest();
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 "CreateDataProduct"; }
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 CreateDataProductRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
50 inline CreateDataProductRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
51 inline CreateDataProductRequest& 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 CreateDataProductRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
64 inline CreateDataProductRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
65 inline CreateDataProductRequest& 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 CreateDataProductRequest& WithDomainIdentifier(Aws::String&& value) { SetDomainIdentifier(std::move(value)); return *this;}
79 inline CreateDataProductRequest& 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); }
90 inline CreateDataProductRequest& WithFormsInput(const Aws::Vector<FormInput>& value) { SetFormsInput(value); return *this;}
91 inline CreateDataProductRequest& WithFormsInput(Aws::Vector<FormInput>&& value) { SetFormsInput(std::move(value)); return *this;}
92 inline CreateDataProductRequest& AddFormsInput(const FormInput& value) { m_formsInputHasBeenSet = true; m_formsInput.push_back(value); return *this; }
93 inline CreateDataProductRequest& 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); }
105 inline CreateDataProductRequest& WithGlossaryTerms(Aws::Vector<Aws::String>&& value) { SetGlossaryTerms(std::move(value)); return *this;}
106 inline CreateDataProductRequest& AddGlossaryTerms(const Aws::String& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
107 inline CreateDataProductRequest& AddGlossaryTerms(Aws::String&& value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(std::move(value)); return *this; }
108 inline CreateDataProductRequest& AddGlossaryTerms(const char* value) { m_glossaryTermsHasBeenSet = true; m_glossaryTerms.push_back(value); return *this; }
110
112
115 inline const Aws::Vector<DataProductItem>& GetItems() const{ return m_items; }
116 inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; }
117 inline void SetItems(const Aws::Vector<DataProductItem>& value) { m_itemsHasBeenSet = true; m_items = value; }
118 inline void SetItems(Aws::Vector<DataProductItem>&& value) { m_itemsHasBeenSet = true; m_items = std::move(value); }
119 inline CreateDataProductRequest& WithItems(const Aws::Vector<DataProductItem>& value) { SetItems(value); return *this;}
120 inline CreateDataProductRequest& WithItems(Aws::Vector<DataProductItem>&& value) { SetItems(std::move(value)); return *this;}
121 inline CreateDataProductRequest& AddItems(const DataProductItem& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; }
122 inline CreateDataProductRequest& AddItems(DataProductItem&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(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 CreateDataProductRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
135 inline CreateDataProductRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
136 inline CreateDataProductRequest& 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 CreateDataProductRequest& WithOwningProjectIdentifier(const char* value) { SetOwningProjectIdentifier(value); return *this;}
152 private:
153
154 Aws::String m_clientToken;
155 bool m_clientTokenHasBeenSet = false;
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
170 bool m_itemsHasBeenSet = false;
171
172 Aws::String m_name;
173 bool m_nameHasBeenSet = false;
174
175 Aws::String m_owningProjectIdentifier;
176 bool m_owningProjectIdentifierHasBeenSet = false;
177 };
178
179} // namespace Model
180} // namespace DataZone
181} // namespace Aws
CreateDataProductRequest & WithOwningProjectIdentifier(const char *value)
CreateDataProductRequest & WithOwningProjectIdentifier(Aws::String &&value)
CreateDataProductRequest & AddItems(DataProductItem &&value)
void SetFormsInput(Aws::Vector< FormInput > &&value)
CreateDataProductRequest & WithFormsInput(const Aws::Vector< FormInput > &value)
CreateDataProductRequest & AddItems(const DataProductItem &value)
CreateDataProductRequest & WithDomainIdentifier(const Aws::String &value)
CreateDataProductRequest & AddFormsInput(const FormInput &value)
CreateDataProductRequest & AddGlossaryTerms(const Aws::String &value)
CreateDataProductRequest & WithName(Aws::String &&value)
CreateDataProductRequest & WithOwningProjectIdentifier(const Aws::String &value)
CreateDataProductRequest & WithGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateDataProductRequest & WithItems(const Aws::Vector< DataProductItem > &value)
virtual const char * GetServiceRequestName() const override
void SetGlossaryTerms(const Aws::Vector< Aws::String > &value)
CreateDataProductRequest & WithDescription(Aws::String &&value)
AWS_DATAZONE_API Aws::String SerializePayload() const override
void SetItems(Aws::Vector< DataProductItem > &&value)
CreateDataProductRequest & WithItems(Aws::Vector< DataProductItem > &&value)
CreateDataProductRequest & AddGlossaryTerms(Aws::String &&value)
CreateDataProductRequest & WithGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateDataProductRequest & WithClientToken(Aws::String &&value)
CreateDataProductRequest & WithDomainIdentifier(const char *value)
CreateDataProductRequest & AddFormsInput(FormInput &&value)
const Aws::Vector< DataProductItem > & GetItems() const
CreateDataProductRequest & WithDescription(const char *value)
const Aws::Vector< FormInput > & GetFormsInput() const
CreateDataProductRequest & WithDescription(const Aws::String &value)
void SetGlossaryTerms(Aws::Vector< Aws::String > &&value)
CreateDataProductRequest & WithName(const Aws::String &value)
CreateDataProductRequest & WithDomainIdentifier(Aws::String &&value)
const Aws::Vector< Aws::String > & GetGlossaryTerms() const
CreateDataProductRequest & WithName(const char *value)
CreateDataProductRequest & WithClientToken(const Aws::String &value)
void SetItems(const Aws::Vector< DataProductItem > &value)
CreateDataProductRequest & AddGlossaryTerms(const char *value)
CreateDataProductRequest & WithClientToken(const char *value)
void SetFormsInput(const Aws::Vector< FormInput > &value)
CreateDataProductRequest & WithFormsInput(Aws::Vector< FormInput > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector