AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
SchemaSummary.h
1
6#pragma once
7#include <aws/cleanrooms/CleanRooms_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/cleanrooms/model/SchemaType.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/cleanrooms/model/AnalysisMethod.h>
13#include <aws/cleanrooms/model/AnalysisRuleType.h>
14#include <aws/cleanrooms/model/SelectedAnalysisMethod.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace CleanRooms
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_CLEANROOMS_API SchemaSummary() = default;
42 AWS_CLEANROOMS_API SchemaSummary(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLEANROOMS_API SchemaSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetName() const { return m_name; }
52 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
53 template<typename NameT = Aws::String>
54 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
55 template<typename NameT = Aws::String>
56 SchemaSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
58
60
63 inline SchemaType GetType() const { return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(SchemaType value) { m_typeHasBeenSet = true; m_type = value; }
66 inline SchemaSummary& WithType(SchemaType value) { SetType(value); return *this;}
68
70
74 inline const Aws::String& GetCreatorAccountId() const { return m_creatorAccountId; }
75 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
76 template<typename CreatorAccountIdT = Aws::String>
77 void SetCreatorAccountId(CreatorAccountIdT&& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = std::forward<CreatorAccountIdT>(value); }
78 template<typename CreatorAccountIdT = Aws::String>
79 SchemaSummary& WithCreatorAccountId(CreatorAccountIdT&& value) { SetCreatorAccountId(std::forward<CreatorAccountIdT>(value)); return *this;}
81
83
86 inline const Aws::Utils::DateTime& GetCreateTime() const { return m_createTime; }
87 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
88 template<typename CreateTimeT = Aws::Utils::DateTime>
89 void SetCreateTime(CreateTimeT&& value) { m_createTimeHasBeenSet = true; m_createTime = std::forward<CreateTimeT>(value); }
90 template<typename CreateTimeT = Aws::Utils::DateTime>
91 SchemaSummary& WithCreateTime(CreateTimeT&& value) { SetCreateTime(std::forward<CreateTimeT>(value)); return *this;}
93
95
98 inline const Aws::Utils::DateTime& GetUpdateTime() const { return m_updateTime; }
99 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
100 template<typename UpdateTimeT = Aws::Utils::DateTime>
101 void SetUpdateTime(UpdateTimeT&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::forward<UpdateTimeT>(value); }
102 template<typename UpdateTimeT = Aws::Utils::DateTime>
103 SchemaSummary& WithUpdateTime(UpdateTimeT&& value) { SetUpdateTime(std::forward<UpdateTimeT>(value)); return *this;}
105
107
110 inline const Aws::String& GetCollaborationId() const { return m_collaborationId; }
111 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
112 template<typename CollaborationIdT = Aws::String>
113 void SetCollaborationId(CollaborationIdT&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::forward<CollaborationIdT>(value); }
114 template<typename CollaborationIdT = Aws::String>
115 SchemaSummary& WithCollaborationId(CollaborationIdT&& value) { SetCollaborationId(std::forward<CollaborationIdT>(value)); return *this;}
117
119
122 inline const Aws::String& GetCollaborationArn() const { return m_collaborationArn; }
123 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
124 template<typename CollaborationArnT = Aws::String>
125 void SetCollaborationArn(CollaborationArnT&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::forward<CollaborationArnT>(value); }
126 template<typename CollaborationArnT = Aws::String>
127 SchemaSummary& WithCollaborationArn(CollaborationArnT&& value) { SetCollaborationArn(std::forward<CollaborationArnT>(value)); return *this;}
129
131
134 inline const Aws::Vector<AnalysisRuleType>& GetAnalysisRuleTypes() const { return m_analysisRuleTypes; }
135 inline bool AnalysisRuleTypesHasBeenSet() const { return m_analysisRuleTypesHasBeenSet; }
136 template<typename AnalysisRuleTypesT = Aws::Vector<AnalysisRuleType>>
137 void SetAnalysisRuleTypes(AnalysisRuleTypesT&& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes = std::forward<AnalysisRuleTypesT>(value); }
138 template<typename AnalysisRuleTypesT = Aws::Vector<AnalysisRuleType>>
139 SchemaSummary& WithAnalysisRuleTypes(AnalysisRuleTypesT&& value) { SetAnalysisRuleTypes(std::forward<AnalysisRuleTypesT>(value)); return *this;}
140 inline SchemaSummary& AddAnalysisRuleTypes(AnalysisRuleType value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes.push_back(value); return *this; }
142
144
151 inline AnalysisMethod GetAnalysisMethod() const { return m_analysisMethod; }
152 inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; }
153 inline void SetAnalysisMethod(AnalysisMethod value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = value; }
154 inline SchemaSummary& WithAnalysisMethod(AnalysisMethod value) { SetAnalysisMethod(value); return *this;}
156
158
161 inline const Aws::Vector<SelectedAnalysisMethod>& GetSelectedAnalysisMethods() const { return m_selectedAnalysisMethods; }
162 inline bool SelectedAnalysisMethodsHasBeenSet() const { return m_selectedAnalysisMethodsHasBeenSet; }
163 template<typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
164 void SetSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) { m_selectedAnalysisMethodsHasBeenSet = true; m_selectedAnalysisMethods = std::forward<SelectedAnalysisMethodsT>(value); }
165 template<typename SelectedAnalysisMethodsT = Aws::Vector<SelectedAnalysisMethod>>
166 SchemaSummary& WithSelectedAnalysisMethods(SelectedAnalysisMethodsT&& value) { SetSelectedAnalysisMethods(std::forward<SelectedAnalysisMethodsT>(value)); return *this;}
167 inline SchemaSummary& AddSelectedAnalysisMethods(SelectedAnalysisMethod value) { m_selectedAnalysisMethodsHasBeenSet = true; m_selectedAnalysisMethods.push_back(value); return *this; }
169 private:
170
171 Aws::String m_name;
172 bool m_nameHasBeenSet = false;
173
175 bool m_typeHasBeenSet = false;
176
177 Aws::String m_creatorAccountId;
178 bool m_creatorAccountIdHasBeenSet = false;
179
180 Aws::Utils::DateTime m_createTime{};
181 bool m_createTimeHasBeenSet = false;
182
183 Aws::Utils::DateTime m_updateTime{};
184 bool m_updateTimeHasBeenSet = false;
185
186 Aws::String m_collaborationId;
187 bool m_collaborationIdHasBeenSet = false;
188
189 Aws::String m_collaborationArn;
190 bool m_collaborationArnHasBeenSet = false;
191
192 Aws::Vector<AnalysisRuleType> m_analysisRuleTypes;
193 bool m_analysisRuleTypesHasBeenSet = false;
194
195 AnalysisMethod m_analysisMethod{AnalysisMethod::NOT_SET};
196 bool m_analysisMethodHasBeenSet = false;
197
198 Aws::Vector<SelectedAnalysisMethod> m_selectedAnalysisMethods;
199 bool m_selectedAnalysisMethodsHasBeenSet = false;
200 };
201
202} // namespace Model
203} // namespace CleanRooms
204} // namespace Aws
const Aws::Vector< AnalysisRuleType > & GetAnalysisRuleTypes() const
void SetAnalysisRuleTypes(AnalysisRuleTypesT &&value)
SchemaSummary & WithCollaborationArn(CollaborationArnT &&value)
SchemaSummary & WithCreatorAccountId(CreatorAccountIdT &&value)
const Aws::Utils::DateTime & GetCreateTime() const
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