AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalysisTemplate.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/cleanrooms/model/AnalysisSchema.h>
11#include <aws/cleanrooms/model/AnalysisFormat.h>
12#include <aws/cleanrooms/model/AnalysisSource.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/cleanrooms/model/AnalysisParameter.h>
15#include <aws/cleanrooms/model/AnalysisTemplateValidationStatusDetail.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace CleanRooms
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_CLEANROOMS_API AnalysisTemplate();
42 AWS_CLEANROOMS_API AnalysisTemplate(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetId() const{ return m_id; }
52 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
53 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
54 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
55 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
56 inline AnalysisTemplate& WithId(const Aws::String& value) { SetId(value); return *this;}
57 inline AnalysisTemplate& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
58 inline AnalysisTemplate& WithId(const char* value) { SetId(value); return *this;}
60
62
65 inline const Aws::String& GetArn() const{ return m_arn; }
66 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
67 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
68 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
69 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
70 inline AnalysisTemplate& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 inline AnalysisTemplate& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
72 inline AnalysisTemplate& WithArn(const char* value) { SetArn(value); return *this;}
74
76
79 inline const Aws::String& GetCollaborationId() const{ return m_collaborationId; }
80 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
81 inline void SetCollaborationId(const Aws::String& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = value; }
82 inline void SetCollaborationId(Aws::String&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::move(value); }
83 inline void SetCollaborationId(const char* value) { m_collaborationIdHasBeenSet = true; m_collaborationId.assign(value); }
84 inline AnalysisTemplate& WithCollaborationId(const Aws::String& value) { SetCollaborationId(value); return *this;}
85 inline AnalysisTemplate& WithCollaborationId(Aws::String&& value) { SetCollaborationId(std::move(value)); return *this;}
86 inline AnalysisTemplate& WithCollaborationId(const char* value) { SetCollaborationId(value); return *this;}
88
90
93 inline const Aws::String& GetCollaborationArn() const{ return m_collaborationArn; }
94 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
95 inline void SetCollaborationArn(const Aws::String& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = value; }
96 inline void SetCollaborationArn(Aws::String&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::move(value); }
97 inline void SetCollaborationArn(const char* value) { m_collaborationArnHasBeenSet = true; m_collaborationArn.assign(value); }
98 inline AnalysisTemplate& WithCollaborationArn(const Aws::String& value) { SetCollaborationArn(value); return *this;}
99 inline AnalysisTemplate& WithCollaborationArn(Aws::String&& value) { SetCollaborationArn(std::move(value)); return *this;}
100 inline AnalysisTemplate& WithCollaborationArn(const char* value) { SetCollaborationArn(value); return *this;}
102
104
107 inline const Aws::String& GetMembershipId() const{ return m_membershipId; }
108 inline bool MembershipIdHasBeenSet() const { return m_membershipIdHasBeenSet; }
109 inline void SetMembershipId(const Aws::String& value) { m_membershipIdHasBeenSet = true; m_membershipId = value; }
110 inline void SetMembershipId(Aws::String&& value) { m_membershipIdHasBeenSet = true; m_membershipId = std::move(value); }
111 inline void SetMembershipId(const char* value) { m_membershipIdHasBeenSet = true; m_membershipId.assign(value); }
112 inline AnalysisTemplate& WithMembershipId(const Aws::String& value) { SetMembershipId(value); return *this;}
113 inline AnalysisTemplate& WithMembershipId(Aws::String&& value) { SetMembershipId(std::move(value)); return *this;}
114 inline AnalysisTemplate& WithMembershipId(const char* value) { SetMembershipId(value); return *this;}
116
118
122 inline const Aws::String& GetMembershipArn() const{ return m_membershipArn; }
123 inline bool MembershipArnHasBeenSet() const { return m_membershipArnHasBeenSet; }
124 inline void SetMembershipArn(const Aws::String& value) { m_membershipArnHasBeenSet = true; m_membershipArn = value; }
125 inline void SetMembershipArn(Aws::String&& value) { m_membershipArnHasBeenSet = true; m_membershipArn = std::move(value); }
126 inline void SetMembershipArn(const char* value) { m_membershipArnHasBeenSet = true; m_membershipArn.assign(value); }
127 inline AnalysisTemplate& WithMembershipArn(const Aws::String& value) { SetMembershipArn(value); return *this;}
128 inline AnalysisTemplate& WithMembershipArn(Aws::String&& value) { SetMembershipArn(std::move(value)); return *this;}
129 inline AnalysisTemplate& WithMembershipArn(const char* value) { SetMembershipArn(value); return *this;}
131
133
136 inline const Aws::String& GetDescription() const{ return m_description; }
137 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
138 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
139 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
140 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
141 inline AnalysisTemplate& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
142 inline AnalysisTemplate& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
143 inline AnalysisTemplate& WithDescription(const char* value) { SetDescription(value); return *this;}
145
147
150 inline const Aws::String& GetName() const{ return m_name; }
151 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
152 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
153 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
154 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
155 inline AnalysisTemplate& WithName(const Aws::String& value) { SetName(value); return *this;}
156 inline AnalysisTemplate& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
157 inline AnalysisTemplate& WithName(const char* value) { SetName(value); return *this;}
159
161
164 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
165 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
166 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
167 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
168 inline AnalysisTemplate& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
169 inline AnalysisTemplate& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
171
173
176 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
177 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
178 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
179 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
180 inline AnalysisTemplate& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
181 inline AnalysisTemplate& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
183
185
188 inline const AnalysisSchema& GetSchema() const{ return m_schema; }
189 inline bool SchemaHasBeenSet() const { return m_schemaHasBeenSet; }
190 inline void SetSchema(const AnalysisSchema& value) { m_schemaHasBeenSet = true; m_schema = value; }
191 inline void SetSchema(AnalysisSchema&& value) { m_schemaHasBeenSet = true; m_schema = std::move(value); }
192 inline AnalysisTemplate& WithSchema(const AnalysisSchema& value) { SetSchema(value); return *this;}
193 inline AnalysisTemplate& WithSchema(AnalysisSchema&& value) { SetSchema(std::move(value)); return *this;}
195
197
200 inline const AnalysisFormat& GetFormat() const{ return m_format; }
201 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
202 inline void SetFormat(const AnalysisFormat& value) { m_formatHasBeenSet = true; m_format = value; }
203 inline void SetFormat(AnalysisFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
204 inline AnalysisTemplate& WithFormat(const AnalysisFormat& value) { SetFormat(value); return *this;}
205 inline AnalysisTemplate& WithFormat(AnalysisFormat&& value) { SetFormat(std::move(value)); return *this;}
207
209
212 inline const AnalysisSource& GetSource() const{ return m_source; }
213 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
214 inline void SetSource(const AnalysisSource& value) { m_sourceHasBeenSet = true; m_source = value; }
215 inline void SetSource(AnalysisSource&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
216 inline AnalysisTemplate& WithSource(const AnalysisSource& value) { SetSource(value); return *this;}
217 inline AnalysisTemplate& WithSource(AnalysisSource&& value) { SetSource(std::move(value)); return *this;}
219
221
224 inline const Aws::Vector<AnalysisParameter>& GetAnalysisParameters() const{ return m_analysisParameters; }
225 inline bool AnalysisParametersHasBeenSet() const { return m_analysisParametersHasBeenSet; }
226 inline void SetAnalysisParameters(const Aws::Vector<AnalysisParameter>& value) { m_analysisParametersHasBeenSet = true; m_analysisParameters = value; }
227 inline void SetAnalysisParameters(Aws::Vector<AnalysisParameter>&& value) { m_analysisParametersHasBeenSet = true; m_analysisParameters = std::move(value); }
230 inline AnalysisTemplate& AddAnalysisParameters(const AnalysisParameter& value) { m_analysisParametersHasBeenSet = true; m_analysisParameters.push_back(value); return *this; }
231 inline AnalysisTemplate& AddAnalysisParameters(AnalysisParameter&& value) { m_analysisParametersHasBeenSet = true; m_analysisParameters.push_back(std::move(value)); return *this; }
233
235
238 inline const Aws::Vector<AnalysisTemplateValidationStatusDetail>& GetValidations() const{ return m_validations; }
239 inline bool ValidationsHasBeenSet() const { return m_validationsHasBeenSet; }
240 inline void SetValidations(const Aws::Vector<AnalysisTemplateValidationStatusDetail>& value) { m_validationsHasBeenSet = true; m_validations = value; }
241 inline void SetValidations(Aws::Vector<AnalysisTemplateValidationStatusDetail>&& value) { m_validationsHasBeenSet = true; m_validations = std::move(value); }
244 inline AnalysisTemplate& AddValidations(const AnalysisTemplateValidationStatusDetail& value) { m_validationsHasBeenSet = true; m_validations.push_back(value); return *this; }
245 inline AnalysisTemplate& AddValidations(AnalysisTemplateValidationStatusDetail&& value) { m_validationsHasBeenSet = true; m_validations.push_back(std::move(value)); return *this; }
247 private:
248
249 Aws::String m_id;
250 bool m_idHasBeenSet = false;
251
252 Aws::String m_arn;
253 bool m_arnHasBeenSet = false;
254
255 Aws::String m_collaborationId;
256 bool m_collaborationIdHasBeenSet = false;
257
258 Aws::String m_collaborationArn;
259 bool m_collaborationArnHasBeenSet = false;
260
261 Aws::String m_membershipId;
262 bool m_membershipIdHasBeenSet = false;
263
264 Aws::String m_membershipArn;
265 bool m_membershipArnHasBeenSet = false;
266
267 Aws::String m_description;
268 bool m_descriptionHasBeenSet = false;
269
270 Aws::String m_name;
271 bool m_nameHasBeenSet = false;
272
273 Aws::Utils::DateTime m_createTime;
274 bool m_createTimeHasBeenSet = false;
275
276 Aws::Utils::DateTime m_updateTime;
277 bool m_updateTimeHasBeenSet = false;
278
279 AnalysisSchema m_schema;
280 bool m_schemaHasBeenSet = false;
281
282 AnalysisFormat m_format;
283 bool m_formatHasBeenSet = false;
284
285 AnalysisSource m_source;
286 bool m_sourceHasBeenSet = false;
287
288 Aws::Vector<AnalysisParameter> m_analysisParameters;
289 bool m_analysisParametersHasBeenSet = false;
290
292 bool m_validationsHasBeenSet = false;
293 };
294
295} // namespace Model
296} // namespace CleanRooms
297} // namespace Aws
void SetValidations(Aws::Vector< AnalysisTemplateValidationStatusDetail > &&value)
AnalysisTemplate & AddValidations(AnalysisTemplateValidationStatusDetail &&value)
AnalysisTemplate & WithSchema(const AnalysisSchema &value)
AnalysisTemplate & WithDescription(Aws::String &&value)
AnalysisTemplate & WithId(Aws::String &&value)
AnalysisTemplate & WithMembershipId(const Aws::String &value)
AnalysisTemplate & WithId(const Aws::String &value)
AnalysisTemplate & WithAnalysisParameters(const Aws::Vector< AnalysisParameter > &value)
AnalysisTemplate & WithCollaborationId(Aws::String &&value)
void SetId(const Aws::String &value)
AnalysisTemplate & WithSource(const AnalysisSource &value)
void SetCollaborationArn(const Aws::String &value)
AnalysisTemplate & WithFormat(const AnalysisFormat &value)
AnalysisTemplate & WithId(const char *value)
AnalysisTemplate & AddValidations(const AnalysisTemplateValidationStatusDetail &value)
AnalysisTemplate & WithName(const Aws::String &value)
AnalysisTemplate & WithCollaborationId(const Aws::String &value)
const Aws::String & GetCollaborationArn() const
void SetAnalysisParameters(Aws::Vector< AnalysisParameter > &&value)
void SetCreateTime(const Aws::Utils::DateTime &value)
const Aws::String & GetCollaborationId() const
AnalysisTemplate & WithUpdateTime(const Aws::Utils::DateTime &value)
void SetCreateTime(Aws::Utils::DateTime &&value)
const AnalysisSource & GetSource() const
AnalysisTemplate & WithDescription(const char *value)
AWS_CLEANROOMS_API AnalysisTemplate & operator=(Aws::Utils::Json::JsonView jsonValue)
AnalysisTemplate & WithCollaborationArn(const char *value)
void SetSource(const AnalysisSource &value)
void SetFormat(const AnalysisFormat &value)
AnalysisTemplate & WithSchema(AnalysisSchema &&value)
AnalysisTemplate & WithSource(AnalysisSource &&value)
void SetFormat(AnalysisFormat &&value)
const Aws::Vector< AnalysisParameter > & GetAnalysisParameters() const
AnalysisTemplate & WithValidations(const Aws::Vector< AnalysisTemplateValidationStatusDetail > &value)
void SetDescription(const Aws::String &value)
void SetCollaborationArn(Aws::String &&value)
AnalysisTemplate & WithMembershipId(const char *value)
AnalysisTemplate & WithValidations(Aws::Vector< AnalysisTemplateValidationStatusDetail > &&value)
AnalysisTemplate & WithCreateTime(Aws::Utils::DateTime &&value)
AnalysisTemplate & WithCollaborationArn(Aws::String &&value)
const AnalysisFormat & GetFormat() const
void SetSchema(AnalysisSchema &&value)
AnalysisTemplate & WithAnalysisParameters(Aws::Vector< AnalysisParameter > &&value)
AnalysisTemplate & AddAnalysisParameters(const AnalysisParameter &value)
AnalysisTemplate & WithFormat(AnalysisFormat &&value)
AnalysisTemplate & WithName(const char *value)
void SetCollaborationId(const Aws::String &value)
AnalysisTemplate & WithArn(const char *value)
AnalysisTemplate & WithName(Aws::String &&value)
void SetName(const Aws::String &value)
const Aws::String & GetMembershipId() const
AnalysisTemplate & WithUpdateTime(Aws::Utils::DateTime &&value)
void SetArn(const Aws::String &value)
const Aws::String & GetDescription() const
AnalysisTemplate & WithCreateTime(const Aws::Utils::DateTime &value)
AnalysisTemplate & WithMembershipId(Aws::String &&value)
void SetAnalysisParameters(const Aws::Vector< AnalysisParameter > &value)
AnalysisTemplate & WithDescription(const Aws::String &value)
AnalysisTemplate & WithCollaborationId(const char *value)
void SetSource(AnalysisSource &&value)
AnalysisTemplate & AddAnalysisParameters(AnalysisParameter &&value)
void SetCollaborationId(Aws::String &&value)
AnalysisTemplate & WithArn(Aws::String &&value)
AnalysisTemplate & WithCollaborationArn(const Aws::String &value)
AnalysisTemplate & WithMembershipArn(Aws::String &&value)
AnalysisTemplate & WithArn(const Aws::String &value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSchema(const AnalysisSchema &value)
const Aws::Utils::DateTime & GetUpdateTime() const
const Aws::Vector< AnalysisTemplateValidationStatusDetail > & GetValidations() const
const Aws::Utils::DateTime & GetCreateTime() const
AWS_CLEANROOMS_API AnalysisTemplate(Aws::Utils::Json::JsonView jsonValue)
void SetMembershipId(const Aws::String &value)
AnalysisTemplate & WithMembershipArn(const char *value)
AnalysisTemplate & WithMembershipArn(const Aws::String &value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
void SetValidations(const Aws::Vector< AnalysisTemplateValidationStatusDetail > &value)
const Aws::String & GetMembershipArn() const
void SetUpdateTime(const Aws::Utils::DateTime &value)
void SetMembershipArn(const Aws::String &value)
const AnalysisSchema & GetSchema() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue