AWS SDK for C++

AWS SDK for C++ Version 1.11.633

Loading...
Searching...
No Matches
UpdateConfiguredTableRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/CleanRoomsRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cleanrooms/model/TableReference.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cleanrooms/model/AnalysisMethod.h>
13#include <aws/cleanrooms/model/SelectedAnalysisMethod.h>
14#include <utility>
15
16namespace Aws
17{
18namespace CleanRooms
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_CLEANROOMS_API UpdateConfiguredTableRequest() = default;
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 "UpdateConfiguredTable"; }
35
36 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
37
38
40
44 inline const Aws::String& GetConfiguredTableIdentifier() const { return m_configuredTableIdentifier; }
45 inline bool ConfiguredTableIdentifierHasBeenSet() const { return m_configuredTableIdentifierHasBeenSet; }
46 template<typename ConfiguredTableIdentifierT = Aws::String>
47 void SetConfiguredTableIdentifier(ConfiguredTableIdentifierT&& value) { m_configuredTableIdentifierHasBeenSet = true; m_configuredTableIdentifier = std::forward<ConfiguredTableIdentifierT>(value); }
48 template<typename ConfiguredTableIdentifierT = Aws::String>
49 UpdateConfiguredTableRequest& WithConfiguredTableIdentifier(ConfiguredTableIdentifierT&& value) { SetConfiguredTableIdentifier(std::forward<ConfiguredTableIdentifierT>(value)); return *this;}
51
53
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template<typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
60 template<typename NameT = Aws::String>
61 UpdateConfiguredTableRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetDescription() const { return m_description; }
69 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
70 template<typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
72 template<typename DescriptionT = Aws::String>
73 UpdateConfiguredTableRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
75
77
78 inline const TableReference& GetTableReference() const { return m_tableReference; }
79 inline bool TableReferenceHasBeenSet() const { return m_tableReferenceHasBeenSet; }
80 template<typename TableReferenceT = TableReference>
81 void SetTableReference(TableReferenceT&& value) { m_tableReferenceHasBeenSet = true; m_tableReference = std::forward<TableReferenceT>(value); }
82 template<typename TableReferenceT = TableReference>
83 UpdateConfiguredTableRequest& WithTableReference(TableReferenceT&& value) { SetTableReference(std::forward<TableReferenceT>(value)); return *this;}
85
87
91 inline const Aws::Vector<Aws::String>& GetAllowedColumns() const { return m_allowedColumns; }
92 inline bool AllowedColumnsHasBeenSet() const { return m_allowedColumnsHasBeenSet; }
93 template<typename AllowedColumnsT = Aws::Vector<Aws::String>>
94 void SetAllowedColumns(AllowedColumnsT&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns = std::forward<AllowedColumnsT>(value); }
95 template<typename AllowedColumnsT = Aws::Vector<Aws::String>>
96 UpdateConfiguredTableRequest& WithAllowedColumns(AllowedColumnsT&& value) { SetAllowedColumns(std::forward<AllowedColumnsT>(value)); return *this;}
97 template<typename AllowedColumnsT = Aws::String>
98 UpdateConfiguredTableRequest& AddAllowedColumns(AllowedColumnsT&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.emplace_back(std::forward<AllowedColumnsT>(value)); return *this; }
100
102
109 inline AnalysisMethod GetAnalysisMethod() const { return m_analysisMethod; }
110 inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; }
111 inline void SetAnalysisMethod(AnalysisMethod value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = value; }
114
116
119 inline const Aws::Vector<SelectedAnalysisMethod>& GetSelectedAnalysisMethods() const { return m_selectedAnalysisMethods; }
120 inline bool SelectedAnalysisMethodsHasBeenSet() const { return m_selectedAnalysisMethodsHasBeenSet; }
121 template<typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
122 void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) { m_selectedAnalysisMethodsHasBeenSet = true; m_selectedAnalysisMethods = std::forward<SelectedAnalysisMethodsT>(value); }
123 template<typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
124 UpdateConfiguredTableRequest& WithSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) { SetSelectedAnalysisMethods(std::forward<SelectedAnalysisMethodsT>(value)); return *this;}
125 inline UpdateConfiguredTableRequest& AddSelectedAnalysisMethods(SelectedAnalysisMethod value) { m_selectedAnalysisMethodsHasBeenSet = true; m_selectedAnalysisMethods.push_back(value); return *this; }
127 private:
128
129 Aws::String m_configuredTableIdentifier;
130 bool m_configuredTableIdentifierHasBeenSet = false;
131
132 Aws::String m_name;
133 bool m_nameHasBeenSet = false;
134
135 Aws::String m_description;
136 bool m_descriptionHasBeenSet = false;
137
138 TableReference m_tableReference;
139 bool m_tableReferenceHasBeenSet = false;
140
141 Aws::Vector<Aws::String> m_allowedColumns;
142 bool m_allowedColumnsHasBeenSet = false;
143
144 AnalysisMethod m_analysisMethod{AnalysisMethod::NOT_SET};
145 bool m_analysisMethodHasBeenSet = false;
146
147 Aws::Vector<SelectedAnalysisMethod> m_selectedAnalysisMethods;
148 bool m_selectedAnalysisMethodsHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace CleanRooms
153} // 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