AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
CreateConfiguredTableRequest.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/core/utils/memory/stl/AWSMap.h>
14#include <aws/cleanrooms/model/SelectedAnalysisMethod.h>
15#include <utility>
16
17namespace Aws
18{
19namespace CleanRooms
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_CLEANROOMS_API CreateConfiguredTableRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateConfiguredTable"; }
36
37 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 CreateConfiguredTableRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetDescription() const { return m_description; }
57 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
58 template<typename DescriptionT = Aws::String>
59 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
60 template<typename DescriptionT = Aws::String>
61 CreateConfiguredTableRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
63
65
68 inline const TableReference& GetTableReference() const { return m_tableReference; }
69 inline bool TableReferenceHasBeenSet() const { return m_tableReferenceHasBeenSet; }
70 template<typename TableReferenceT = TableReference>
71 void SetTableReference(TableReferenceT&& value) { m_tableReferenceHasBeenSet = true; m_tableReference = std::forward<TableReferenceT>(value); }
72 template<typename TableReferenceT = TableReference>
73 CreateConfiguredTableRequest& WithTableReference(TableReferenceT&& value) { SetTableReference(std::forward<TableReferenceT>(value)); return *this;}
75
77
81 inline const Aws::Vector<Aws::String>& GetAllowedColumns() const { return m_allowedColumns; }
82 inline bool AllowedColumnsHasBeenSet() const { return m_allowedColumnsHasBeenSet; }
83 template<typename AllowedColumnsT = Aws::Vector<Aws::String>>
84 void SetAllowedColumns(AllowedColumnsT&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns = std::forward<AllowedColumnsT>(value); }
85 template<typename AllowedColumnsT = Aws::Vector<Aws::String>>
86 CreateConfiguredTableRequest& WithAllowedColumns(AllowedColumnsT&& value) { SetAllowedColumns(std::forward<AllowedColumnsT>(value)); return *this;}
87 template<typename AllowedColumnsT = Aws::String>
88 CreateConfiguredTableRequest& AddAllowedColumns(AllowedColumnsT&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.emplace_back(std::forward<AllowedColumnsT>(value)); return *this; }
90
92
99 inline AnalysisMethod GetAnalysisMethod() const { return m_analysisMethod; }
100 inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; }
101 inline void SetAnalysisMethod(AnalysisMethod value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = value; }
104
106
110 inline const Aws::Vector<SelectedAnalysisMethod>& GetSelectedAnalysisMethods() const { return m_selectedAnalysisMethods; }
111 inline bool SelectedAnalysisMethodsHasBeenSet() const { return m_selectedAnalysisMethodsHasBeenSet; }
112 template<typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
113 void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) { m_selectedAnalysisMethodsHasBeenSet = true; m_selectedAnalysisMethods = std::forward<SelectedAnalysisMethodsT>(value); }
114 template<typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
115 CreateConfiguredTableRequest& WithSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) { SetSelectedAnalysisMethods(std::forward<SelectedAnalysisMethodsT>(value)); return *this;}
116 inline CreateConfiguredTableRequest& AddSelectedAnalysisMethods(SelectedAnalysisMethod value) { m_selectedAnalysisMethodsHasBeenSet = true; m_selectedAnalysisMethods.push_back(value); return *this; }
118
120
126 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
127 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
128 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
129 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
130 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
131 CreateConfiguredTableRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
132 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
133 CreateConfiguredTableRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
134 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
135 }
137 private:
138
139 Aws::String m_name;
140 bool m_nameHasBeenSet = false;
141
142 Aws::String m_description;
143 bool m_descriptionHasBeenSet = false;
144
145 TableReference m_tableReference;
146 bool m_tableReferenceHasBeenSet = false;
147
148 Aws::Vector<Aws::String> m_allowedColumns;
149 bool m_allowedColumnsHasBeenSet = false;
150
151 AnalysisMethod m_analysisMethod{AnalysisMethod::NOT_SET};
152 bool m_analysisMethodHasBeenSet = false;
153
154 Aws::Vector<SelectedAnalysisMethod> m_selectedAnalysisMethods;
155 bool m_selectedAnalysisMethodsHasBeenSet = false;
156
158 bool m_tagsHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace CleanRooms
163} // 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