AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSchemaMappingResult.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/entityresolution/model/SchemaInputAttribute.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace EntityResolution
28{
29namespace Model
30{
32 {
33 public:
34 AWS_ENTITYRESOLUTION_API GetSchemaMappingResult();
37
38
40
43 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
44 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; }
45 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); }
46 inline GetSchemaMappingResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
47 inline GetSchemaMappingResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
49
51
54 inline const Aws::String& GetDescription() const{ return m_description; }
55 inline void SetDescription(const Aws::String& value) { m_description = value; }
56 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
57 inline void SetDescription(const char* value) { m_description.assign(value); }
58 inline GetSchemaMappingResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
59 inline GetSchemaMappingResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
60 inline GetSchemaMappingResult& WithDescription(const char* value) { SetDescription(value); return *this;}
62
64
67 inline bool GetHasWorkflows() const{ return m_hasWorkflows; }
68 inline void SetHasWorkflows(bool value) { m_hasWorkflows = value; }
69 inline GetSchemaMappingResult& WithHasWorkflows(bool value) { SetHasWorkflows(value); return *this;}
71
73
78 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const{ return m_mappedInputFields; }
79 inline void SetMappedInputFields(const Aws::Vector<SchemaInputAttribute>& value) { m_mappedInputFields = value; }
80 inline void SetMappedInputFields(Aws::Vector<SchemaInputAttribute>&& value) { m_mappedInputFields = std::move(value); }
83 inline GetSchemaMappingResult& AddMappedInputFields(const SchemaInputAttribute& value) { m_mappedInputFields.push_back(value); return *this; }
84 inline GetSchemaMappingResult& AddMappedInputFields(SchemaInputAttribute&& value) { m_mappedInputFields.push_back(std::move(value)); return *this; }
86
88
92 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
93 inline void SetSchemaArn(const Aws::String& value) { m_schemaArn = value; }
94 inline void SetSchemaArn(Aws::String&& value) { m_schemaArn = std::move(value); }
95 inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); }
96 inline GetSchemaMappingResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
97 inline GetSchemaMappingResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
98 inline GetSchemaMappingResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
100
102
105 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
106 inline void SetSchemaName(const Aws::String& value) { m_schemaName = value; }
107 inline void SetSchemaName(Aws::String&& value) { m_schemaName = std::move(value); }
108 inline void SetSchemaName(const char* value) { m_schemaName.assign(value); }
109 inline GetSchemaMappingResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
110 inline GetSchemaMappingResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
111 inline GetSchemaMappingResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
113
115
118 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
119 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
120 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
121 inline GetSchemaMappingResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
122 inline GetSchemaMappingResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
123 inline GetSchemaMappingResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
124 inline GetSchemaMappingResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
125 inline GetSchemaMappingResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
126 inline GetSchemaMappingResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
127 inline GetSchemaMappingResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
128 inline GetSchemaMappingResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
129 inline GetSchemaMappingResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
131
133
136 inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; }
137 inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAt = value; }
138 inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAt = std::move(value); }
139 inline GetSchemaMappingResult& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;}
140 inline GetSchemaMappingResult& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;}
142
144
145 inline const Aws::String& GetRequestId() const{ return m_requestId; }
146 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
147 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
148 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
149 inline GetSchemaMappingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
150 inline GetSchemaMappingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
151 inline GetSchemaMappingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
153 private:
154
155 Aws::Utils::DateTime m_createdAt;
156
157 Aws::String m_description;
158
159 bool m_hasWorkflows;
160
161 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
162
163 Aws::String m_schemaArn;
164
165 Aws::String m_schemaName;
166
168
169 Aws::Utils::DateTime m_updatedAt;
170
171 Aws::String m_requestId;
172 };
173
174} // namespace Model
175} // namespace EntityResolution
176} // namespace Aws
GetSchemaMappingResult & AddTags(const Aws::String &key, Aws::String &&value)
GetSchemaMappingResult & WithMappedInputFields(const Aws::Vector< SchemaInputAttribute > &value)
GetSchemaMappingResult & WithRequestId(Aws::String &&value)
GetSchemaMappingResult & AddTags(Aws::String &&key, const char *value)
GetSchemaMappingResult & WithUpdatedAt(const Aws::Utils::DateTime &value)
GetSchemaMappingResult & WithCreatedAt(Aws::Utils::DateTime &&value)
GetSchemaMappingResult & AddMappedInputFields(const SchemaInputAttribute &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetSchemaMappingResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
GetSchemaMappingResult & WithRequestId(const char *value)
AWS_ENTITYRESOLUTION_API GetSchemaMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaMappingResult & WithSchemaName(const Aws::String &value)
GetSchemaMappingResult & WithSchemaArn(const Aws::String &value)
GetSchemaMappingResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
GetSchemaMappingResult & WithCreatedAt(const Aws::Utils::DateTime &value)
GetSchemaMappingResult & WithSchemaArn(Aws::String &&value)
GetSchemaMappingResult & AddTags(const char *key, const char *value)
GetSchemaMappingResult & AddMappedInputFields(SchemaInputAttribute &&value)
GetSchemaMappingResult & WithSchemaName(Aws::String &&value)
GetSchemaMappingResult & AddTags(Aws::String &&key, Aws::String &&value)
GetSchemaMappingResult & WithUpdatedAt(Aws::Utils::DateTime &&value)
GetSchemaMappingResult & WithDescription(const Aws::String &value)
GetSchemaMappingResult & WithMappedInputFields(Aws::Vector< SchemaInputAttribute > &&value)
GetSchemaMappingResult & WithDescription(const char *value)
void SetMappedInputFields(Aws::Vector< SchemaInputAttribute > &&value)
GetSchemaMappingResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
GetSchemaMappingResult & WithDescription(Aws::String &&value)
void SetMappedInputFields(const Aws::Vector< SchemaInputAttribute > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< SchemaInputAttribute > & GetMappedInputFields() const
GetSchemaMappingResult & WithSchemaName(const char *value)
AWS_ENTITYRESOLUTION_API GetSchemaMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSchemaMappingResult & AddTags(const char *key, Aws::String &&value)
GetSchemaMappingResult & WithSchemaArn(const char *value)
GetSchemaMappingResult & WithRequestId(const Aws::String &value)
GetSchemaMappingResult & AddTags(Aws::String &&key, const Aws::String &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue