AWS SDK for C++

AWS SDK for C++ Version 1.11.850

Loading...
Searching...
No Matches
CreateIntermediateTableRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/cleanrooms/model/PopulationAnalysisConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12
13#include <utility>
14
15namespace Aws {
16namespace CleanRooms {
17namespace Model {
18
22 public:
23 AWS_CLEANROOMS_API CreateIntermediateTableRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "CreateIntermediateTable"; }
30
31 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
32
34
38 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
39 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
40 template <typename MembershipIdentifierT = Aws::String>
41 void SetMembershipIdentifier(MembershipIdentifierT&& value) {
42 m_membershipIdentifierHasBeenSet = true;
43 m_membershipIdentifier = std::forward<MembershipIdentifierT>(value);
44 }
45 template <typename MembershipIdentifierT = Aws::String>
47 SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value));
48 return *this;
49 }
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) {
60 m_nameHasBeenSet = true;
61 m_name = std::forward<NameT>(value);
62 }
63 template <typename NameT = Aws::String>
65 SetName(std::forward<NameT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetDescription() const { return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 template <typename DescriptionT = Aws::String>
77 void SetDescription(DescriptionT&& value) {
78 m_descriptionHasBeenSet = true;
79 m_description = std::forward<DescriptionT>(value);
80 }
81 template <typename DescriptionT = Aws::String>
83 SetDescription(std::forward<DescriptionT>(value));
84 return *this;
85 }
87
89
94 inline const PopulationAnalysisConfiguration& GetPopulationAnalysisConfiguration() const { return m_populationAnalysisConfiguration; }
95 inline bool PopulationAnalysisConfigurationHasBeenSet() const { return m_populationAnalysisConfigurationHasBeenSet; }
96 template <typename PopulationAnalysisConfigurationT = PopulationAnalysisConfiguration>
97 void SetPopulationAnalysisConfiguration(PopulationAnalysisConfigurationT&& value) {
98 m_populationAnalysisConfigurationHasBeenSet = true;
99 m_populationAnalysisConfiguration = std::forward<PopulationAnalysisConfigurationT>(value);
100 }
101 template <typename PopulationAnalysisConfigurationT = PopulationAnalysisConfiguration>
102 CreateIntermediateTableRequest& WithPopulationAnalysisConfiguration(PopulationAnalysisConfigurationT&& value) {
103 SetPopulationAnalysisConfiguration(std::forward<PopulationAnalysisConfigurationT>(value));
104 return *this;
105 }
107
109
113 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
114 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
115 template <typename KmsKeyArnT = Aws::String>
116 void SetKmsKeyArn(KmsKeyArnT&& value) {
117 m_kmsKeyArnHasBeenSet = true;
118 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
119 }
120 template <typename KmsKeyArnT = Aws::String>
122 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
123 return *this;
124 }
126
128
132 inline int GetRetentionInDays() const { return m_retentionInDays; }
133 inline bool RetentionInDaysHasBeenSet() const { return m_retentionInDaysHasBeenSet; }
134 inline void SetRetentionInDays(int value) {
135 m_retentionInDaysHasBeenSet = true;
136 m_retentionInDays = value;
137 }
139 SetRetentionInDays(value);
140 return *this;
141 }
143
145
151 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
152 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
153 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
154 void SetTags(TagsT&& value) {
155 m_tagsHasBeenSet = true;
156 m_tags = std::forward<TagsT>(value);
157 }
158 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
160 SetTags(std::forward<TagsT>(value));
161 return *this;
162 }
163 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
164 CreateIntermediateTableRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
165 m_tagsHasBeenSet = true;
166 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
167 return *this;
168 }
170 private:
171 Aws::String m_membershipIdentifier;
172
173 Aws::String m_name;
174
175 Aws::String m_description;
176
177 PopulationAnalysisConfiguration m_populationAnalysisConfiguration;
178
179 Aws::String m_kmsKeyArn;
180
181 int m_retentionInDays{0};
182
184 bool m_membershipIdentifierHasBeenSet = false;
185 bool m_nameHasBeenSet = false;
186 bool m_descriptionHasBeenSet = false;
187 bool m_populationAnalysisConfigurationHasBeenSet = false;
188 bool m_kmsKeyArnHasBeenSet = false;
189 bool m_retentionInDaysHasBeenSet = false;
190 bool m_tagsHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace CleanRooms
195} // namespace Aws
AWS_CLEANROOMS_API CreateIntermediateTableRequest()=default
CreateIntermediateTableRequest & WithRetentionInDays(int value)
CreateIntermediateTableRequest & WithKmsKeyArn(KmsKeyArnT &&value)
CreateIntermediateTableRequest & WithTags(TagsT &&value)
CreateIntermediateTableRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateIntermediateTableRequest & WithName(NameT &&value)
CreateIntermediateTableRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
CreateIntermediateTableRequest & WithDescription(DescriptionT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateIntermediateTableRequest & WithPopulationAnalysisConfiguration(PopulationAnalysisConfigurationT &&value)
const PopulationAnalysisConfiguration & GetPopulationAnalysisConfiguration() const
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
void SetPopulationAnalysisConfiguration(PopulationAnalysisConfigurationT &&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