AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
CreateAnalysisTemplateRequest.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRoomsRequest.h>
8#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
9#include <aws/cleanrooms/model/AnalysisFormat.h>
10#include <aws/cleanrooms/model/AnalysisParameter.h>
11#include <aws/cleanrooms/model/AnalysisSchema.h>
12#include <aws/cleanrooms/model/AnalysisSource.h>
13#include <aws/cleanrooms/model/ErrorMessageConfiguration.h>
14#include <aws/cleanrooms/model/SyntheticDataParameters.h>
15#include <aws/core/utils/memory/stl/AWSMap.h>
16#include <aws/core/utils/memory/stl/AWSString.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18
19#include <utility>
20
21namespace Aws {
22namespace CleanRooms {
23namespace Model {
24
28 public:
29 AWS_CLEANROOMS_API CreateAnalysisTemplateRequest() = 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 "CreateAnalysisTemplate"; }
36
37 AWS_CLEANROOMS_API Aws::String SerializePayload() const override;
38
40
43 inline const Aws::String& GetDescription() const { return m_description; }
44 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
45 template <typename DescriptionT = Aws::String>
46 void SetDescription(DescriptionT&& value) {
47 m_descriptionHasBeenSet = true;
48 m_description = std::forward<DescriptionT>(value);
49 }
50 template <typename DescriptionT = Aws::String>
52 SetDescription(std::forward<DescriptionT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetMembershipIdentifier() const { return m_membershipIdentifier; }
62 inline bool MembershipIdentifierHasBeenSet() const { return m_membershipIdentifierHasBeenSet; }
63 template <typename MembershipIdentifierT = Aws::String>
64 void SetMembershipIdentifier(MembershipIdentifierT&& value) {
65 m_membershipIdentifierHasBeenSet = true;
66 m_membershipIdentifier = std::forward<MembershipIdentifierT>(value);
67 }
68 template <typename MembershipIdentifierT = Aws::String>
70 SetMembershipIdentifier(std::forward<MembershipIdentifierT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::String& GetName() const { return m_name; }
80 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
81 template <typename NameT = Aws::String>
82 void SetName(NameT&& value) {
83 m_nameHasBeenSet = true;
84 m_name = std::forward<NameT>(value);
85 }
86 template <typename NameT = Aws::String>
88 SetName(std::forward<NameT>(value));
89 return *this;
90 }
92
94
97 inline AnalysisFormat GetFormat() const { return m_format; }
98 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
99 inline void SetFormat(AnalysisFormat value) {
100 m_formatHasBeenSet = true;
101 m_format = value;
102 }
104 SetFormat(value);
105 return *this;
106 }
108
110
113 inline const AnalysisSource& GetSource() const { return m_source; }
114 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
115 template <typename SourceT = AnalysisSource>
116 void SetSource(SourceT&& value) {
117 m_sourceHasBeenSet = true;
118 m_source = std::forward<SourceT>(value);
119 }
120 template <typename SourceT = AnalysisSource>
122 SetSource(std::forward<SourceT>(value));
123 return *this;
124 }
126
128
134 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
135 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
136 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
137 void SetTags(TagsT&& value) {
138 m_tagsHasBeenSet = true;
139 m_tags = std::forward<TagsT>(value);
140 }
141 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 SetTags(std::forward<TagsT>(value));
144 return *this;
145 }
146 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
147 CreateAnalysisTemplateRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
148 m_tagsHasBeenSet = true;
149 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
150 return *this;
151 }
153
155
158 inline const Aws::Vector<AnalysisParameter>& GetAnalysisParameters() const { return m_analysisParameters; }
159 inline bool AnalysisParametersHasBeenSet() const { return m_analysisParametersHasBeenSet; }
160 template <typename AnalysisParametersT = Aws::Vector<AnalysisParameter>>
161 void SetAnalysisParameters(AnalysisParametersT&& value) {
162 m_analysisParametersHasBeenSet = true;
163 m_analysisParameters = std::forward<AnalysisParametersT>(value);
164 }
165 template <typename AnalysisParametersT = Aws::Vector<AnalysisParameter>>
167 SetAnalysisParameters(std::forward<AnalysisParametersT>(value));
168 return *this;
169 }
170 template <typename AnalysisParametersT = AnalysisParameter>
172 m_analysisParametersHasBeenSet = true;
173 m_analysisParameters.emplace_back(std::forward<AnalysisParametersT>(value));
174 return *this;
175 }
177
179
180 inline const AnalysisSchema& GetSchema() const { return m_schema; }
181 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
182 template <typename SchemaT = AnalysisSchema>
183 void SetSchema(SchemaT&& value) {
184 m_schemaHasBeenSet = true;
185 m_schema = std::forward<SchemaT>(value);
186 }
187 template <typename SchemaT = AnalysisSchema>
189 SetSchema(std::forward<SchemaT>(value));
190 return *this;
191 }
193
195
203 inline const ErrorMessageConfiguration& GetErrorMessageConfiguration() const { return m_errorMessageConfiguration; }
204 inline bool ErrorMessageConfigurationHasBeenSet() const { return m_errorMessageConfigurationHasBeenSet; }
205 template <typename ErrorMessageConfigurationT = ErrorMessageConfiguration>
206 void SetErrorMessageConfiguration(ErrorMessageConfigurationT&& value) {
207 m_errorMessageConfigurationHasBeenSet = true;
208 m_errorMessageConfiguration = std::forward<ErrorMessageConfigurationT>(value);
209 }
210 template <typename ErrorMessageConfigurationT = ErrorMessageConfiguration>
212 SetErrorMessageConfiguration(std::forward<ErrorMessageConfigurationT>(value));
213 return *this;
214 }
216
218
222 inline const SyntheticDataParameters& GetSyntheticDataParameters() const { return m_syntheticDataParameters; }
223 inline bool SyntheticDataParametersHasBeenSet() const { return m_syntheticDataParametersHasBeenSet; }
224 template <typename SyntheticDataParametersT = SyntheticDataParameters>
225 void SetSyntheticDataParameters(SyntheticDataParametersT&& value) {
226 m_syntheticDataParametersHasBeenSet = true;
227 m_syntheticDataParameters = std::forward<SyntheticDataParametersT>(value);
228 }
229 template <typename SyntheticDataParametersT = SyntheticDataParameters>
231 SetSyntheticDataParameters(std::forward<SyntheticDataParametersT>(value));
232 return *this;
233 }
235 private:
236 Aws::String m_description;
237
238 Aws::String m_membershipIdentifier;
239
240 Aws::String m_name;
241
243
244 AnalysisSource m_source;
245
247
248 Aws::Vector<AnalysisParameter> m_analysisParameters;
249
250 AnalysisSchema m_schema;
251
252 ErrorMessageConfiguration m_errorMessageConfiguration;
253
254 SyntheticDataParameters m_syntheticDataParameters;
255 bool m_descriptionHasBeenSet = false;
256 bool m_membershipIdentifierHasBeenSet = false;
257 bool m_nameHasBeenSet = false;
258 bool m_formatHasBeenSet = false;
259 bool m_sourceHasBeenSet = false;
260 bool m_tagsHasBeenSet = false;
261 bool m_analysisParametersHasBeenSet = false;
262 bool m_schemaHasBeenSet = false;
263 bool m_errorMessageConfigurationHasBeenSet = false;
264 bool m_syntheticDataParametersHasBeenSet = false;
265};
266
267} // namespace Model
268} // namespace CleanRooms
269} // namespace Aws
void SetErrorMessageConfiguration(ErrorMessageConfigurationT &&value)
CreateAnalysisTemplateRequest & WithSyntheticDataParameters(SyntheticDataParametersT &&value)
CreateAnalysisTemplateRequest & WithSchema(SchemaT &&value)
CreateAnalysisTemplateRequest & WithDescription(DescriptionT &&value)
CreateAnalysisTemplateRequest & WithFormat(AnalysisFormat value)
AWS_CLEANROOMS_API CreateAnalysisTemplateRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const ErrorMessageConfiguration & GetErrorMessageConfiguration() const
CreateAnalysisTemplateRequest & WithErrorMessageConfiguration(ErrorMessageConfigurationT &&value)
CreateAnalysisTemplateRequest & WithMembershipIdentifier(MembershipIdentifierT &&value)
const Aws::Vector< AnalysisParameter > & GetAnalysisParameters() const
CreateAnalysisTemplateRequest & WithSource(SourceT &&value)
CreateAnalysisTemplateRequest & WithName(NameT &&value)
CreateAnalysisTemplateRequest & WithAnalysisParameters(AnalysisParametersT &&value)
CreateAnalysisTemplateRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateAnalysisTemplateRequest & WithTags(TagsT &&value)
AWS_CLEANROOMS_API Aws::String SerializePayload() const override
CreateAnalysisTemplateRequest & AddAnalysisParameters(AnalysisParametersT &&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