AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdateConfiguredTableRequest.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/AWSString.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14
15#include <utility>
16
17namespace Aws {
18namespace CleanRooms {
19namespace Model {
20
24 public:
25 AWS_CLEANROOMS_API UpdateConfiguredTableRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateConfiguredTable"; }
32
33 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
34
36
40 inline const Aws::String& GetConfiguredTableIdentifier() const { return m_configuredTableIdentifier; }
41 inline bool ConfiguredTableIdentifierHasBeenSet() const { return m_configuredTableIdentifierHasBeenSet; }
42 template <typename ConfiguredTableIdentifierT = Aws::String>
43 void SetConfiguredTableIdentifier(ConfiguredTableIdentifierT&& value) {
44 m_configuredTableIdentifierHasBeenSet = true;
45 m_configuredTableIdentifier = std::forward<ConfiguredTableIdentifierT>(value);
46 }
47 template <typename ConfiguredTableIdentifierT = Aws::String>
48 UpdateConfiguredTableRequest& WithConfiguredTableIdentifier(ConfiguredTableIdentifierT&& value) {
49 SetConfiguredTableIdentifier(std::forward<ConfiguredTableIdentifierT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDescription() const { return m_description; }
77 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
78 template <typename DescriptionT = Aws::String>
79 void SetDescription(DescriptionT&& value) {
80 m_descriptionHasBeenSet = true;
81 m_description = std::forward<DescriptionT>(value);
82 }
83 template <typename DescriptionT = Aws::String>
85 SetDescription(std::forward<DescriptionT>(value));
86 return *this;
87 }
89
91
92 inline const TableReference& GetTableReference() const { return m_tableReference; }
93 inline bool TableReferenceHasBeenSet() const { return m_tableReferenceHasBeenSet; }
94 template <typename TableReferenceT = TableReference>
95 void SetTableReference(TableReferenceT&& value) {
96 m_tableReferenceHasBeenSet = true;
97 m_tableReference = std::forward<TableReferenceT>(value);
98 }
99 template <typename TableReferenceT = TableReference>
101 SetTableReference(std::forward<TableReferenceT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::Vector<Aws::String>& GetAllowedColumns() const { return m_allowedColumns; }
112 inline bool AllowedColumnsHasBeenSet() const { return m_allowedColumnsHasBeenSet; }
113 template <typename AllowedColumnsT = Aws::Vector<Aws::String>>
114 void SetAllowedColumns(AllowedColumnsT&& value) {
115 m_allowedColumnsHasBeenSet = true;
116 m_allowedColumns = std::forward<AllowedColumnsT>(value);
117 }
118 template <typename AllowedColumnsT = Aws::Vector<Aws::String>>
120 SetAllowedColumns(std::forward<AllowedColumnsT>(value));
121 return *this;
122 }
123 template <typename AllowedColumnsT = Aws::String>
125 m_allowedColumnsHasBeenSet = true;
126 m_allowedColumns.emplace_back(std::forward<AllowedColumnsT>(value));
127 return *this;
128 }
130
132
139 inline AnalysisMethod GetAnalysisMethod() const { return m_analysisMethod; }
140 inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; }
142 m_analysisMethodHasBeenSet = true;
143 m_analysisMethod = value;
144 }
146 SetAnalysisMethod(value);
147 return *this;
148 }
150
152
155 inline const Aws::Vector<SelectedAnalysisMethod>& GetSelectedAnalysisMethods() const { return m_selectedAnalysisMethods; }
156 inline bool SelectedAnalysisMethodsHasBeenSet() const { return m_selectedAnalysisMethodsHasBeenSet; }
157 template <typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
158 void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) {
159 m_selectedAnalysisMethodsHasBeenSet = true;
160 m_selectedAnalysisMethods = std::forward<SelectedAnalysisMethodsT>(value);
161 }
162 template <typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
164 SetSelectedAnalysisMethods(std::forward<SelectedAnalysisMethodsT>(value));
165 return *this;
166 }
168 m_selectedAnalysisMethodsHasBeenSet = true;
169 m_selectedAnalysisMethods.push_back(value);
170 return *this;
171 }
173 private:
174 Aws::String m_configuredTableIdentifier;
175 bool m_configuredTableIdentifierHasBeenSet = false;
176
177 Aws::String m_name;
178 bool m_nameHasBeenSet = false;
179
180 Aws::String m_description;
181 bool m_descriptionHasBeenSet = false;
182
183 TableReference m_tableReference;
184 bool m_tableReferenceHasBeenSet = false;
185
186 Aws::Vector<Aws::String> m_allowedColumns;
187 bool m_allowedColumnsHasBeenSet = false;
188
189 AnalysisMethod m_analysisMethod{AnalysisMethod::NOT_SET};
190 bool m_analysisMethodHasBeenSet = false;
191
192 Aws::Vector<SelectedAnalysisMethod> m_selectedAnalysisMethods;
193 bool m_selectedAnalysisMethodsHasBeenSet = false;
194};
195
196} // namespace Model
197} // namespace CleanRooms
198} // namespace Aws
AWS_CLEANROOMS_API UpdateConfiguredTableRequest()=default
const Aws::Vector< Aws::String > & GetAllowedColumns() const
UpdateConfiguredTableRequest & AddSelectedAnalysisMethods(SelectedAnalysisMethod value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
UpdateConfiguredTableRequest & WithAllowedColumns(AllowedColumnsT &&value)
void SetConfiguredTableIdentifier(ConfiguredTableIdentifierT &&value)
UpdateConfiguredTableRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< SelectedAnalysisMethod > & GetSelectedAnalysisMethods() const
UpdateConfiguredTableRequest & WithTableReference(TableReferenceT &&value)
UpdateConfiguredTableRequest & WithAnalysisMethod(AnalysisMethod value)
UpdateConfiguredTableRequest & WithConfiguredTableIdentifier(ConfiguredTableIdentifierT &&value)
UpdateConfiguredTableRequest & WithName(NameT &&value)
UpdateConfiguredTableRequest & WithSelectedAnalysisMethods(SelectedAnalysisMethodsT &&value)
void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT &&value)
UpdateConfiguredTableRequest & AddAllowedColumns(AllowedColumnsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector