AWS SDK for C++

AWS SDK for C++ Version 1.11.867

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
93 inline const PopulationAnalysisConfiguration& GetPopulationAnalysisConfiguration() const { return m_populationAnalysisConfiguration; }
94 inline bool PopulationAnalysisConfigurationHasBeenSet() const { return m_populationAnalysisConfigurationHasBeenSet; }
95 template <typename PopulationAnalysisConfigurationT = PopulationAnalysisConfiguration>
96 void SetPopulationAnalysisConfiguration(PopulationAnalysisConfigurationT&& value) {
97 m_populationAnalysisConfigurationHasBeenSet = true;
98 m_populationAnalysisConfiguration = std::forward<PopulationAnalysisConfigurationT>(value);
99 }
100 template <typename PopulationAnalysisConfigurationT = PopulationAnalysisConfiguration>
101 CreateIntermediateTableRequest& WithPopulationAnalysisConfiguration(PopulationAnalysisConfigurationT&& value) {
102 SetPopulationAnalysisConfiguration(std::forward<PopulationAnalysisConfigurationT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
113 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
114 template <typename KmsKeyArnT = Aws::String>
115 void SetKmsKeyArn(KmsKeyArnT&& value) {
116 m_kmsKeyArnHasBeenSet = true;
117 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
118 }
119 template <typename KmsKeyArnT = Aws::String>
121 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
122 return *this;
123 }
125
127
130 inline int GetRetentionInDays() const { return m_retentionInDays; }
131 inline bool RetentionInDaysHasBeenSet() const { return m_retentionInDaysHasBeenSet; }
132 inline void SetRetentionInDays(int value) {
133 m_retentionInDaysHasBeenSet = true;
134 m_retentionInDays = value;
135 }
137 SetRetentionInDays(value);
138 return *this;
139 }
141
143
149 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
150 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
151 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
152 void SetTags(TagsT&& value) {
153 m_tagsHasBeenSet = true;
154 m_tags = std::forward<TagsT>(value);
155 }
156 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 SetTags(std::forward<TagsT>(value));
159 return *this;
160 }
161 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
162 CreateIntermediateTableRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
163 m_tagsHasBeenSet = true;
164 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
165 return *this;
166 }
168 private:
169 Aws::String m_membershipIdentifier;
170
171 Aws::String m_name;
172
173 Aws::String m_description;
174
175 PopulationAnalysisConfiguration m_populationAnalysisConfiguration;
176
177 Aws::String m_kmsKeyArn;
178
179 int m_retentionInDays{0};
180
182 bool m_membershipIdentifierHasBeenSet = false;
183 bool m_nameHasBeenSet = false;
184 bool m_descriptionHasBeenSet = false;
185 bool m_populationAnalysisConfigurationHasBeenSet = false;
186 bool m_kmsKeyArnHasBeenSet = false;
187 bool m_retentionInDaysHasBeenSet = false;
188 bool m_tagsHasBeenSet = false;
189};
190
191} // namespace Model
192} // namespace CleanRooms
193} // 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