AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
SchemaMappingSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/entityresolution/EntityResolution_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EntityResolution {
21namespace Model {
22
31 public:
32 AWS_ENTITYRESOLUTION_API SchemaMappingSummary() = default;
33 AWS_ENTITYRESOLUTION_API SchemaMappingSummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENTITYRESOLUTION_API SchemaMappingSummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
42 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
43 template <typename SchemaNameT = Aws::String>
44 void SetSchemaName(SchemaNameT&& value) {
45 m_schemaNameHasBeenSet = true;
46 m_schemaName = std::forward<SchemaNameT>(value);
47 }
48 template <typename SchemaNameT = Aws::String>
49 SchemaMappingSummary& WithSchemaName(SchemaNameT&& value) {
50 SetSchemaName(std::forward<SchemaNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
61 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
62 template <typename SchemaArnT = Aws::String>
63 void SetSchemaArn(SchemaArnT&& value) {
64 m_schemaArnHasBeenSet = true;
65 m_schemaArn = std::forward<SchemaArnT>(value);
66 }
67 template <typename SchemaArnT = Aws::String>
68 SchemaMappingSummary& WithSchemaArn(SchemaArnT&& value) {
69 SetSchemaArn(std::forward<SchemaArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
79 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
80 template <typename CreatedAtT = Aws::Utils::DateTime>
81 void SetCreatedAt(CreatedAtT&& value) {
82 m_createdAtHasBeenSet = true;
83 m_createdAt = std::forward<CreatedAtT>(value);
84 }
85 template <typename CreatedAtT = Aws::Utils::DateTime>
86 SchemaMappingSummary& WithCreatedAt(CreatedAtT&& value) {
87 SetCreatedAt(std::forward<CreatedAtT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetUpdatedAt() const { return m_updatedAt; }
97 inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; }
98 template <typename UpdatedAtT = Aws::Utils::DateTime>
99 void SetUpdatedAt(UpdatedAtT&& value) {
100 m_updatedAtHasBeenSet = true;
101 m_updatedAt = std::forward<UpdatedAtT>(value);
102 }
103 template <typename UpdatedAtT = Aws::Utils::DateTime>
104 SchemaMappingSummary& WithUpdatedAt(UpdatedAtT&& value) {
105 SetUpdatedAt(std::forward<UpdatedAtT>(value));
106 return *this;
107 }
109
111
114 inline bool GetHasWorkflows() const { return m_hasWorkflows; }
115 inline bool HasWorkflowsHasBeenSet() const { return m_hasWorkflowsHasBeenSet; }
116 inline void SetHasWorkflows(bool value) {
117 m_hasWorkflowsHasBeenSet = true;
118 m_hasWorkflows = value;
119 }
121 SetHasWorkflows(value);
122 return *this;
123 }
125 private:
126 Aws::String m_schemaName;
127
128 Aws::String m_schemaArn;
129
130 Aws::Utils::DateTime m_createdAt{};
131
132 Aws::Utils::DateTime m_updatedAt{};
133
134 bool m_hasWorkflows{false};
135 bool m_schemaNameHasBeenSet = false;
136 bool m_schemaArnHasBeenSet = false;
137 bool m_createdAtHasBeenSet = false;
138 bool m_updatedAtHasBeenSet = false;
139 bool m_hasWorkflowsHasBeenSet = false;
140};
141
142} // namespace Model
143} // namespace EntityResolution
144} // namespace Aws
AWS_ENTITYRESOLUTION_API SchemaMappingSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API SchemaMappingSummary()=default
SchemaMappingSummary & WithCreatedAt(CreatedAtT &&value)
AWS_ENTITYRESOLUTION_API SchemaMappingSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SchemaMappingSummary & WithSchemaName(SchemaNameT &&value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
SchemaMappingSummary & WithUpdatedAt(UpdatedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
const Aws::Utils::DateTime & GetUpdatedAt() const
SchemaMappingSummary & WithSchemaArn(SchemaArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue