AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace CleanRooms
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_CLEANROOMS_API SchemaSummary();
41 AWS_CLEANROOMS_API SchemaSummary(Aws::Utils::Json::JsonView jsonValue);
42 AWS_CLEANROOMS_API SchemaSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline SchemaSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline SchemaSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline SchemaSummary& WithName(const char* value) { SetName(value); return *this;}
59
61
64 inline const SchemaType& GetType() const{ return m_type; }
65 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
66 inline void SetType(const SchemaType& value) { m_typeHasBeenSet = true; m_type = value; }
67 inline void SetType(SchemaType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
68 inline SchemaSummary& WithType(const SchemaType& value) { SetType(value); return *this;}
69 inline SchemaSummary& WithType(SchemaType&& value) { SetType(std::move(value)); return *this;}
71
73
77 inline const Aws::String& GetCreatorAccountId() const{ return m_creatorAccountId; }
78 inline bool CreatorAccountIdHasBeenSet() const { return m_creatorAccountIdHasBeenSet; }
79 inline void SetCreatorAccountId(const Aws::String& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = value; }
80 inline void SetCreatorAccountId(Aws::String&& value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId = std::move(value); }
81 inline void SetCreatorAccountId(const char* value) { m_creatorAccountIdHasBeenSet = true; m_creatorAccountId.assign(value); }
82 inline SchemaSummary& WithCreatorAccountId(const Aws::String& value) { SetCreatorAccountId(value); return *this;}
83 inline SchemaSummary& WithCreatorAccountId(Aws::String&& value) { SetCreatorAccountId(std::move(value)); return *this;}
84 inline SchemaSummary& WithCreatorAccountId(const char* value) { SetCreatorAccountId(value); return *this;}
86
88
91 inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; }
92 inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; }
93 inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; }
94 inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); }
95 inline SchemaSummary& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;}
96 inline SchemaSummary& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;}
98
100
103 inline const Aws::Utils::DateTime& GetUpdateTime() const{ return m_updateTime; }
104 inline bool UpdateTimeHasBeenSet() const { return m_updateTimeHasBeenSet; }
105 inline void SetUpdateTime(const Aws::Utils::DateTime& value) { m_updateTimeHasBeenSet = true; m_updateTime = value; }
106 inline void SetUpdateTime(Aws::Utils::DateTime&& value) { m_updateTimeHasBeenSet = true; m_updateTime = std::move(value); }
107 inline SchemaSummary& WithUpdateTime(const Aws::Utils::DateTime& value) { SetUpdateTime(value); return *this;}
108 inline SchemaSummary& WithUpdateTime(Aws::Utils::DateTime&& value) { SetUpdateTime(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetCollaborationId() const{ return m_collaborationId; }
116 inline bool CollaborationIdHasBeenSet() const { return m_collaborationIdHasBeenSet; }
117 inline void SetCollaborationId(const Aws::String& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = value; }
118 inline void SetCollaborationId(Aws::String&& value) { m_collaborationIdHasBeenSet = true; m_collaborationId = std::move(value); }
119 inline void SetCollaborationId(const char* value) { m_collaborationIdHasBeenSet = true; m_collaborationId.assign(value); }
120 inline SchemaSummary& WithCollaborationId(const Aws::String& value) { SetCollaborationId(value); return *this;}
121 inline SchemaSummary& WithCollaborationId(Aws::String&& value) { SetCollaborationId(std::move(value)); return *this;}
122 inline SchemaSummary& WithCollaborationId(const char* value) { SetCollaborationId(value); return *this;}
124
126
129 inline const Aws::String& GetCollaborationArn() const{ return m_collaborationArn; }
130 inline bool CollaborationArnHasBeenSet() const { return m_collaborationArnHasBeenSet; }
131 inline void SetCollaborationArn(const Aws::String& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = value; }
132 inline void SetCollaborationArn(Aws::String&& value) { m_collaborationArnHasBeenSet = true; m_collaborationArn = std::move(value); }
133 inline void SetCollaborationArn(const char* value) { m_collaborationArnHasBeenSet = true; m_collaborationArn.assign(value); }
134 inline SchemaSummary& WithCollaborationArn(const Aws::String& value) { SetCollaborationArn(value); return *this;}
135 inline SchemaSummary& WithCollaborationArn(Aws::String&& value) { SetCollaborationArn(std::move(value)); return *this;}
136 inline SchemaSummary& WithCollaborationArn(const char* value) { SetCollaborationArn(value); return *this;}
138
140
143 inline const Aws::Vector<AnalysisRuleType>& GetAnalysisRuleTypes() const{ return m_analysisRuleTypes; }
144 inline bool AnalysisRuleTypesHasBeenSet() const { return m_analysisRuleTypesHasBeenSet; }
145 inline void SetAnalysisRuleTypes(const Aws::Vector<AnalysisRuleType>& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes = value; }
146 inline void SetAnalysisRuleTypes(Aws::Vector<AnalysisRuleType>&& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes = std::move(value); }
149 inline SchemaSummary& AddAnalysisRuleTypes(const AnalysisRuleType& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes.push_back(value); return *this; }
150 inline SchemaSummary& AddAnalysisRuleTypes(AnalysisRuleType&& value) { m_analysisRuleTypesHasBeenSet = true; m_analysisRuleTypes.push_back(std::move(value)); return *this; }
152
154
158 inline const AnalysisMethod& GetAnalysisMethod() const{ return m_analysisMethod; }
159 inline bool AnalysisMethodHasBeenSet() const { return m_analysisMethodHasBeenSet; }
160 inline void SetAnalysisMethod(const AnalysisMethod& value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = value; }
161 inline void SetAnalysisMethod(AnalysisMethod&& value) { m_analysisMethodHasBeenSet = true; m_analysisMethod = std::move(value); }
162 inline SchemaSummary& WithAnalysisMethod(const AnalysisMethod& value) { SetAnalysisMethod(value); return *this;}
163 inline SchemaSummary& WithAnalysisMethod(AnalysisMethod&& value) { SetAnalysisMethod(std::move(value)); return *this;}
165 private:
166
167 Aws::String m_name;
168 bool m_nameHasBeenSet = false;
169
170 SchemaType m_type;
171 bool m_typeHasBeenSet = false;
172
173 Aws::String m_creatorAccountId;
174 bool m_creatorAccountIdHasBeenSet = false;
175
176 Aws::Utils::DateTime m_createTime;
177 bool m_createTimeHasBeenSet = false;
178
179 Aws::Utils::DateTime m_updateTime;
180 bool m_updateTimeHasBeenSet = false;
181
182 Aws::String m_collaborationId;
183 bool m_collaborationIdHasBeenSet = false;
184
185 Aws::String m_collaborationArn;
186 bool m_collaborationArnHasBeenSet = false;
187
188 Aws::Vector<AnalysisRuleType> m_analysisRuleTypes;
189 bool m_analysisRuleTypesHasBeenSet = false;
190
191 AnalysisMethod m_analysisMethod;
192 bool m_analysisMethodHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace CleanRooms
197} // namespace Aws
void SetCreateTime(const Aws::Utils::DateTime &value)
const Aws::Vector< AnalysisRuleType > & GetAnalysisRuleTypes() const
void SetCollaborationId(const Aws::String &value)
SchemaSummary & AddAnalysisRuleTypes(const AnalysisRuleType &value)
void SetUpdateTime(Aws::Utils::DateTime &&value)
SchemaSummary & WithCollaborationArn(Aws::String &&value)
void SetCollaborationArn(const Aws::String &value)
void SetCollaborationId(const char *value)
SchemaSummary & WithUpdateTime(const Aws::Utils::DateTime &value)
SchemaSummary & WithName(Aws::String &&value)
SchemaSummary & WithAnalysisMethod(AnalysisMethod &&value)
SchemaSummary & WithUpdateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreateTime() const
SchemaSummary & WithCollaborationId(Aws::String &&value)
SchemaSummary & WithCreatorAccountId(Aws::String &&value)
void SetAnalysisMethod(AnalysisMethod &&value)
SchemaSummary & AddAnalysisRuleTypes(AnalysisRuleType &&value)
SchemaSummary & WithAnalysisRuleTypes(const Aws::Vector< AnalysisRuleType > &value)
const Aws::Utils::DateTime & GetUpdateTime() const
const AnalysisMethod & GetAnalysisMethod() const
SchemaSummary & WithCreatorAccountId(const Aws::String &value)
void SetCreatorAccountId(const char *value)
void SetCollaborationId(Aws::String &&value)
AWS_CLEANROOMS_API SchemaSummary(Aws::Utils::Json::JsonView jsonValue)
SchemaSummary & WithName(const Aws::String &value)
SchemaSummary & WithAnalysisRuleTypes(Aws::Vector< AnalysisRuleType > &&value)
const Aws::String & GetCreatorAccountId() const
SchemaSummary & WithCreateTime(const Aws::Utils::DateTime &value)
void SetType(const SchemaType &value)
void SetAnalysisMethod(const AnalysisMethod &value)
void SetAnalysisRuleTypes(const Aws::Vector< AnalysisRuleType > &value)
void SetName(const Aws::String &value)
SchemaSummary & WithCollaborationId(const Aws::String &value)
void SetCollaborationArn(const char *value)
void SetUpdateTime(const Aws::Utils::DateTime &value)
SchemaSummary & WithType(SchemaType &&value)
SchemaSummary & WithName(const char *value)
void SetCreatorAccountId(Aws::String &&value)
void SetCreatorAccountId(const Aws::String &value)
void SetCollaborationArn(Aws::String &&value)
SchemaSummary & WithAnalysisMethod(const AnalysisMethod &value)
void SetType(SchemaType &&value)
const SchemaType & GetType() const
SchemaSummary & WithCreateTime(Aws::Utils::DateTime &&value)
AWS_CLEANROOMS_API SchemaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaSummary & WithCreatorAccountId(const char *value)
SchemaSummary & WithCollaborationId(const char *value)
SchemaSummary & WithCollaborationArn(const char *value)
AWS_CLEANROOMS_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetCollaborationId() const
void SetAnalysisRuleTypes(Aws::Vector< AnalysisRuleType > &&value)
const Aws::String & GetCollaborationArn() const
SchemaSummary & WithCollaborationArn(const Aws::String &value)
const Aws::String & GetName() const
void SetName(Aws::String &&value)
SchemaSummary & WithType(const SchemaType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue