AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
15
16namespace Aws
17{
18namespace CleanRooms
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_CLEANROOMS_API CreateConfiguredTableRequest();
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 "CreateConfiguredTable"; }
35
36 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetName() const{ return m_name; }
44 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
45 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
46 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
47 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
48 inline CreateConfiguredTableRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
49 inline CreateConfiguredTableRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
50 inline CreateConfiguredTableRequest& WithName(const char* value) { SetName(value); return *this;}
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline CreateConfiguredTableRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline CreateConfiguredTableRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline CreateConfiguredTableRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const TableReference& GetTableReference() const{ return m_tableReference; }
72 inline bool TableReferenceHasBeenSet() const { return m_tableReferenceHasBeenSet; }
73 inline void SetTableReference(const TableReference& value) { m_tableReferenceHasBeenSet = true; m_tableReference = value; }
74 inline void SetTableReference(TableReference&& value) { m_tableReferenceHasBeenSet = true; m_tableReference = std::move(value); }
76 inline CreateConfiguredTableRequest& WithTableReference(TableReference&& value) { SetTableReference(std::move(value)); return *this;}
78
80
84 inline const Aws::Vector<Aws::String>& GetAllowedColumns() const{ return m_allowedColumns; }
85 inline bool AllowedColumnsHasBeenSet() const { return m_allowedColumnsHasBeenSet; }
86 inline void SetAllowedColumns(const Aws::Vector<Aws::String>& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns = value; }
87 inline void SetAllowedColumns(Aws::Vector<Aws::String>&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns = std::move(value); }
90 inline CreateConfiguredTableRequest& AddAllowedColumns(const Aws::String& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.push_back(value); return *this; }
91 inline CreateConfiguredTableRequest& AddAllowedColumns(Aws::String&& value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.push_back(std::move(value)); return *this; }
92 inline CreateConfiguredTableRequest& AddAllowedColumns(const char* value) { m_allowedColumnsHasBeenSet = true; m_allowedColumns.push_back(value); return *this; }
94
96
100 inline const AnalysisMethod& GetAnalysisMethod() const{ return m_analysisMethod; }
101 inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; }
102 inline void SetAnalysisMethod(const AnalysisMethod& value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = value; }
103 inline void SetAnalysisMethod(AnalysisMethod&& value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = std::move(value); }
105 inline CreateConfiguredTableRequest& WithAnalysisMethod(AnalysisMethod&& value) { SetAnalysisMethod(std::move(value)); return *this;}
107
109
115 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
116 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
117 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
118 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
120 inline CreateConfiguredTableRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
121 inline CreateConfiguredTableRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
122 inline CreateConfiguredTableRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
123 inline CreateConfiguredTableRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
124 inline CreateConfiguredTableRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
125 inline CreateConfiguredTableRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
126 inline CreateConfiguredTableRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
127 inline CreateConfiguredTableRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
129 private:
130
131 Aws::String m_name;
132 bool m_nameHasBeenSet = false;
133
134 Aws::String m_description;
135 bool m_descriptionHasBeenSet = false;
136
137 TableReference m_tableReference;
138 bool m_tableReferenceHasBeenSet = false;
139
140 Aws::Vector<Aws::String> m_allowedColumns;
141 bool m_allowedColumnsHasBeenSet = false;
142
143 AnalysisMethod m_analysisMethod;
144 bool m_analysisMethodHasBeenSet = false;
145
147 bool m_tagsHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace CleanRooms
152} // namespace Aws
CreateConfiguredTableRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateConfiguredTableRequest & AddTags(const char *key, Aws::String &&value)
CreateConfiguredTableRequest & AddTags(const char *key, const char *value)
CreateConfiguredTableRequest & WithAllowedColumns(Aws::Vector< Aws::String > &&value)
void SetAllowedColumns(const Aws::Vector< Aws::String > &value)
CreateConfiguredTableRequest & WithAnalysisMethod(AnalysisMethod &&value)
CreateConfiguredTableRequest & AddAllowedColumns(const Aws::String &value)
CreateConfiguredTableRequest & WithDescription(Aws::String &&value)
CreateConfiguredTableRequest & AddAllowedColumns(Aws::String &&value)
CreateConfiguredTableRequest & WithName(const char *value)
CreateConfiguredTableRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateConfiguredTableRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateConfiguredTableRequest & WithAnalysisMethod(const AnalysisMethod &value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
CreateConfiguredTableRequest & AddAllowedColumns(const char *value)
CreateConfiguredTableRequest & WithAllowedColumns(const Aws::Vector< Aws::String > &value)
CreateConfiguredTableRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateConfiguredTableRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateConfiguredTableRequest & AddTags(Aws::String &&key, const char *value)
const Aws::Vector< Aws::String > & GetAllowedColumns() const
CreateConfiguredTableRequest & WithTableReference(TableReference &&value)
CreateConfiguredTableRequest & WithName(Aws::String &&value)
CreateConfiguredTableRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateConfiguredTableRequest & WithDescription(const Aws::String &value)
CreateConfiguredTableRequest & WithDescription(const char *value)
CreateConfiguredTableRequest & WithTableReference(const TableReference &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateConfiguredTableRequest & WithName(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &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