AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateConfiguredTableRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/cleanrooms/model/AnalysisMethod.h>
10#include <aws/cleanrooms/model/SelectedAnalysisMethod.h>
11#include <aws/cleanrooms/model/TableReference.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19namespace CleanRooms {
20namespace Model {
21
25 public:
26 AWS_CLEANROOMS_API CreateConfiguredTableRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateConfiguredTable"; }
33
34 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetName() const { return m_name; }
41 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
42 template <typename NameT = Aws::String>
43 void SetName(NameT&& value) {
44 m_nameHasBeenSet = true;
45 m_name = std::forward<NameT>(value);
46 }
47 template <typename NameT = Aws::String>
49 SetName(std::forward<NameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template <typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) {
62 m_descriptionHasBeenSet = true;
63 m_description = std::forward<DescriptionT>(value);
64 }
65 template <typename DescriptionT = Aws::String>
67 SetDescription(std::forward<DescriptionT>(value));
68 return *this;
69 }
71
73
76 inline const TableReference& GetTableReference() const { return m_tableReference; }
77 inline bool TableReferenceHasBeenSet() const { return m_tableReferenceHasBeenSet; }
78 template <typename TableReferenceT = TableReference>
79 void SetTableReference(TableReferenceT&& value) {
80 m_tableReferenceHasBeenSet = true;
81 m_tableReference = std::forward<TableReferenceT>(value);
82 }
83 template <typename TableReferenceT = TableReference>
85 SetTableReference(std::forward<TableReferenceT>(value));
86 return *this;
87 }
89
91
95 inline const Aws::Vector<Aws::String>& GetAllowedColumns() const { return m_allowedColumns; }
96 inline bool AllowedColumnsHasBeenSet() const { return m_allowedColumnsHasBeenSet; }
97 template <typename AllowedColumnsT = Aws::Vector<Aws::String>>
98 void SetAllowedColumns(AllowedColumnsT&& value) {
99 m_allowedColumnsHasBeenSet = true;
100 m_allowedColumns = std::forward<AllowedColumnsT>(value);
101 }
102 template <typename AllowedColumnsT = Aws::Vector<Aws::String>>
104 SetAllowedColumns(std::forward<AllowedColumnsT>(value));
105 return *this;
106 }
107 template <typename AllowedColumnsT = Aws::String>
109 m_allowedColumnsHasBeenSet = true;
110 m_allowedColumns.emplace_back(std::forward<AllowedColumnsT>(value));
111 return *this;
112 }
114
116
123 inline AnalysisMethod GetAnalysisMethod() const { return m_analysisMethod; }
124 inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; }
126 m_analysisMethodHasBeenSet = true;
127 m_analysisMethod = value;
128 }
130 SetAnalysisMethod(value);
131 return *this;
132 }
134
136
140 inline const Aws::Vector<SelectedAnalysisMethod>& GetSelectedAnalysisMethods() const { return m_selectedAnalysisMethods; }
141 inline bool SelectedAnalysisMethodsHasBeenSet() const { return m_selectedAnalysisMethodsHasBeenSet; }
142 template <typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
143 void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) {
144 m_selectedAnalysisMethodsHasBeenSet = true;
145 m_selectedAnalysisMethods = std::forward<SelectedAnalysisMethodsT>(value);
146 }
147 template <typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
149 SetSelectedAnalysisMethods(std::forward<SelectedAnalysisMethodsT>(value));
150 return *this;
151 }
153 m_selectedAnalysisMethodsHasBeenSet = true;
154 m_selectedAnalysisMethods.push_back(value);
155 return *this;
156 }
158
160
166 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
167 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
168 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
169 void SetTags(TagsT&& value) {
170 m_tagsHasBeenSet = true;
171 m_tags = std::forward<TagsT>(value);
172 }
173 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
175 SetTags(std::forward<TagsT>(value));
176 return *this;
177 }
178 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
179 CreateConfiguredTableRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
180 m_tagsHasBeenSet = true;
181 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
182 return *this;
183 }
185 private:
186 Aws::String m_name;
187
188 Aws::String m_description;
189
190 TableReference m_tableReference;
191
192 Aws::Vector<Aws::String> m_allowedColumns;
193
194 AnalysisMethod m_analysisMethod{AnalysisMethod::NOT_SET};
195
196 Aws::Vector<SelectedAnalysisMethod> m_selectedAnalysisMethods;
197
199 bool m_nameHasBeenSet = false;
200 bool m_descriptionHasBeenSet = false;
201 bool m_tableReferenceHasBeenSet = false;
202 bool m_allowedColumnsHasBeenSet = false;
203 bool m_analysisMethodHasBeenSet = false;
204 bool m_selectedAnalysisMethodsHasBeenSet = false;
205 bool m_tagsHasBeenSet = false;
206};
207
208} // namespace Model
209} // namespace CleanRooms
210} // namespace Aws
CreateConfiguredTableRequest & AddAllowedColumns(AllowedColumnsT &&value)
CreateConfiguredTableRequest & WithSelectedAnalysisMethods(SelectedAnalysisMethodsT &&value)
AWS_CLEANROOMS_API CreateConfiguredTableRequest()=default
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
CreateConfiguredTableRequest & WithTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetAllowedColumns() const
CreateConfiguredTableRequest & WithAllowedColumns(AllowedColumnsT &&value)
CreateConfiguredTableRequest & WithAnalysisMethod(AnalysisMethod value)
CreateConfiguredTableRequest & AddSelectedAnalysisMethods(SelectedAnalysisMethod value)
const Aws::Vector< SelectedAnalysisMethod > & GetSelectedAnalysisMethods() const
CreateConfiguredTableRequest & WithDescription(DescriptionT &&value)
CreateConfiguredTableRequest & WithTableReference(TableReferenceT &&value)
void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT &&value)
CreateConfiguredTableRequest & WithName(NameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateConfiguredTableRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector