AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
SchemaSummary.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/cleanrooms/model/AnalysisMethod.h>
9#include <aws/cleanrooms/model/AnalysisRuleType.h>
10#include <aws/cleanrooms/model/SchemaType.h>
11#include <aws/cleanrooms/model/SelectedAnalysisMethod.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/core/utils/memory/stl/AWSString.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace CleanRooms {
26namespace Model {
27
35 public:
36 AWS_CLEANROOMS_API SchemaSummary() = default;
37 AWS_CLEANROOMS_API SchemaSummary(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLEANROOMS_API SchemaSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template <typename NameT = Aws::String>
48 void SetName(NameT&& value) {
49 m_nameHasBeenSet = true;
50 m_name = std::forward<NameT>(value);
51 }
52 template <typename NameT = Aws::String>
53 SchemaSummary& WithName(NameT&& value) {
54 SetName(std::forward<NameT>(value));
55 return *this;
56 }
58
60
63 inline SchemaType GetType() const { return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(SchemaType value) {
66 m_typeHasBeenSet = true;
67 m_type = value;
68 }
70 SetType(value);
71 return *this;
72 }
74
76
80 inline const Aws::String& GetCreatorAccountId() const { return m_creatorAccountId; }
81 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
82 template <typename CreatorAccountIdT = Aws::String>
83 void SetCreatorAccountId(CreatorAccountIdT&& value) {
84 m_creatorAccountIdHasBeenSet = true;
85 m_creatorAccountId = std::forward<CreatorAccountIdT>(value);
86 }
87 template <typename CreatorAccountIdT = Aws::String>
88 SchemaSummary& WithCreatorAccountId(CreatorAccountIdT&& value) {
89 SetCreatorAccountId(std::forward<CreatorAccountIdT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
99 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
100 template <typename CreateTimeT = Aws::Utils::DateTime>
101 void SetCreateTime(CreateTimeT&& value) {
102 m_createTimeHasBeenSet = true;
103 m_createTime = std::forward<CreateTimeT>(value);
104 }
105 template <typename CreateTimeT = Aws::Utils::DateTime>
106 SchemaSummary& WithCreateTime(CreateTimeT&& value) {
107 SetCreateTime(std::forward<CreateTimeT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
117 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
118 template <typename UpdateTimeT = Aws::Utils::DateTime>
119 void SetUpdateTime(UpdateTimeT&& value) {
120 m_updateTimeHasBeenSet = true;
121 m_updateTime = std::forward<UpdateTimeT>(value);
122 }
123 template <typename UpdateTimeT = Aws::Utils::DateTime>
124 SchemaSummary& WithUpdateTime(UpdateTimeT&& value) {
125 SetUpdateTime(std::forward<UpdateTimeT>(value));
126 return *this;
127 }
129
131
134 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
135 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
136 template <typename CollaborationIdT = Aws::String>
137 void SetCollaborationId(CollaborationIdT&& value) {
138 m_collaborationIdHasBeenSet = true;
139 m_collaborationId = std::forward<CollaborationIdT>(value);
140 }
141 template <typename CollaborationIdT = Aws::String>
142 SchemaSummary& WithCollaborationId(CollaborationIdT&& value) {
143 SetCollaborationId(std::forward<CollaborationIdT>(value));
144 return *this;
145 }
147
149
152 inline const Aws::String& GetCollaborationArn() const { return m_collaborationArn; }
153 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
154 template <typename CollaborationArnT = Aws::String>
155 void SetCollaborationArn(CollaborationArnT&& value) {
156 m_collaborationArnHasBeenSet = true;
157 m_collaborationArn = std::forward<CollaborationArnT>(value);
158 }
159 template <typename CollaborationArnT = Aws::String>
160 SchemaSummary& WithCollaborationArn(CollaborationArnT&& value) {
161 SetCollaborationArn(std::forward<CollaborationArnT>(value));
162 return *this;
163 }
165
167
170 inline const Aws::Vector<AnalysisRuleType>& GetAnalysisRuleTypes() const { return m_analysisRuleTypes; }
171 inline bool AnalysisRuleTypesHasBeenSet() const { return m_analysisRuleTypesHasBeenSet; }
172 template <typename AnalysisRuleTypesT = Aws::Vector<AnalysisRuleType>>
173 void SetAnalysisRuleTypes(AnalysisRuleTypesT&& value) {
174 m_analysisRuleTypesHasBeenSet = true;
175 m_analysisRuleTypes = std::forward<AnalysisRuleTypesT>(value);
176 }
177 template <typename AnalysisRuleTypesT = Aws::Vector<AnalysisRuleType>>
178 SchemaSummary& WithAnalysisRuleTypes(AnalysisRuleTypesT&& value) {
179 SetAnalysisRuleTypes(std::forward<AnalysisRuleTypesT>(value));
180 return *this;
181 }
183 m_analysisRuleTypesHasBeenSet = true;
184 m_analysisRuleTypes.push_back(value);
185 return *this;
186 }
188
190
197 inline AnalysisMethod GetAnalysisMethod() const { return m_analysisMethod; }
198 inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; }
200 m_analysisMethodHasBeenSet = true;
201 m_analysisMethod = value;
202 }
204 SetAnalysisMethod(value);
205 return *this;
206 }
208
210
213 inline const Aws::String& GetResourceArn() const { return m_resourceArn; }
214 inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; }
215 template <typename ResourceArnT = Aws::String>
216 void SetResourceArn(ResourceArnT&& value) {
217 m_resourceArnHasBeenSet = true;
218 m_resourceArn = std::forward<ResourceArnT>(value);
219 }
220 template <typename ResourceArnT = Aws::String>
221 SchemaSummary& WithResourceArn(ResourceArnT&& value) {
222 SetResourceArn(std::forward<ResourceArnT>(value));
223 return *this;
224 }
226
228
231 inline const Aws::Vector<SelectedAnalysisMethod>& GetSelectedAnalysisMethods() const { return m_selectedAnalysisMethods; }
232 inline bool SelectedAnalysisMethodsHasBeenSet() const { return m_selectedAnalysisMethodsHasBeenSet; }
233 template <typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
234 void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) {
235 m_selectedAnalysisMethodsHasBeenSet = true;
236 m_selectedAnalysisMethods = std::forward<SelectedAnalysisMethodsT>(value);
237 }
238 template <typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
239 SchemaSummary& WithSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) {
240 SetSelectedAnalysisMethods(std::forward<SelectedAnalysisMethodsT>(value));
241 return *this;
242 }
244 m_selectedAnalysisMethodsHasBeenSet = true;
245 m_selectedAnalysisMethods.push_back(value);
246 return *this;
247 }
249 private:
250 Aws::String m_name;
251
253
254 Aws::String m_creatorAccountId;
255
256 Aws::Utils::DateTime m_createTime{};
257
258 Aws::Utils::DateTime m_updateTime{};
259
260 Aws::String m_collaborationId;
261
262 Aws::String m_collaborationArn;
263
264 Aws::Vector<AnalysisRuleType> m_analysisRuleTypes;
265
266 AnalysisMethod m_analysisMethod{AnalysisMethod::NOT_SET};
267
268 Aws::String m_resourceArn;
269
270 Aws::Vector<SelectedAnalysisMethod> m_selectedAnalysisMethods;
271 bool m_nameHasBeenSet = false;
272 bool m_typeHasBeenSet = false;
273 bool m_creatorAccountIdHasBeenSet = false;
274 bool m_createTimeHasBeenSet = false;
275 bool m_updateTimeHasBeenSet = false;
276 bool m_collaborationIdHasBeenSet = false;
277 bool m_collaborationArnHasBeenSet = false;
278 bool m_analysisRuleTypesHasBeenSet = false;
279 bool m_analysisMethodHasBeenSet = false;
280 bool m_resourceArnHasBeenSet = false;
281 bool m_selectedAnalysisMethodsHasBeenSet = false;
282};
283
284} // namespace Model
285} // namespace CleanRooms
286} // namespace Aws
const Aws::Vector< AnalysisRuleType > & GetAnalysisRuleTypes() const
const Aws::String & GetResourceArn() const
void SetAnalysisRuleTypes(AnalysisRuleTypesT &&value)
SchemaSummary & WithResourceArn(ResourceArnT &&value)
SchemaSummary & WithCollaborationArn(CollaborationArnT &&value)
SchemaSummary & WithCreatorAccountId(CreatorAccountIdT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
void SetResourceArn(ResourceArnT &&value)
SchemaSummary & AddSelectedAnalysisMethods(SelectedAnalysisMethod value)
SchemaSummary & WithName(NameT &&value)
SchemaSummary & WithAnalysisMethod(AnalysisMethod value)
SchemaSummary & WithType(SchemaType value)
SchemaSummary & AddAnalysisRuleTypes(AnalysisRuleType value)
const Aws::Utils::DateTime & GetUpdateTime() const
SchemaSummary & WithSelectedAnalysisMethods(SelectedAnalysisMethodsT &&value)
void SetCollaborationArn(CollaborationArnT &&value)
void SetCreateTime(CreateTimeT &&value)
AWS_CLEANROOMS_API SchemaSummary(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCreatorAccountId() const
void SetCreatorAccountId(CreatorAccountIdT &&value)
AWS_CLEANROOMS_API SchemaSummary()=default
SchemaSummary & WithAnalysisRuleTypes(AnalysisRuleTypesT &&value)
void SetCollaborationId(CollaborationIdT &&value)
const Aws::Vector< SelectedAnalysisMethod > & GetSelectedAnalysisMethods() const
SchemaSummary & WithUpdateTime(UpdateTimeT &&value)
void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT &&value)
AnalysisMethod GetAnalysisMethod() const
AWS_CLEANROOMS_API SchemaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUpdateTime(UpdateTimeT &&value)
SchemaSummary & WithCreateTime(CreateTimeT &&value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetCollaborationId() const
SchemaSummary & WithCollaborationId(CollaborationIdT &&value)
const Aws::String & GetCollaborationArn() const
void SetAnalysisMethod(AnalysisMethod value)
const Aws::String & GetName() 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