AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSchemaMappingResult.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/entityresolution/model/SchemaInputAttribute.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace EntityResolution
26{
27namespace Model
28{
30 {
31 public:
32 AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult();
35
36
38
41 inline const Aws::String& GetDescription() const{ return m_description; }
42 inline void SetDescription(const Aws::String& value) { m_description = value; }
43 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
44 inline void SetDescription(const char* value) { m_description.assign(value); }
45 inline CreateSchemaMappingResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
46 inline CreateSchemaMappingResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
47 inline CreateSchemaMappingResult& WithDescription(const char* value) { SetDescription(value); return *this;}
49
51
56 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const{ return m_mappedInputFields; }
57 inline void SetMappedInputFields(const Aws::Vector<SchemaInputAttribute>& value) { m_mappedInputFields = value; }
58 inline void SetMappedInputFields(Aws::Vector<SchemaInputAttribute>&& value) { m_mappedInputFields = std::move(value); }
61 inline CreateSchemaMappingResult& AddMappedInputFields(const SchemaInputAttribute& value) { m_mappedInputFields.push_back(value); return *this; }
62 inline CreateSchemaMappingResult& AddMappedInputFields(SchemaInputAttribute&& value) { m_mappedInputFields.push_back(std::move(value)); return *this; }
64
66
70 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
71 inline void SetSchemaArn(const Aws::String& value) { m_schemaArn = value; }
72 inline void SetSchemaArn(Aws::String&& value) { m_schemaArn = std::move(value); }
73 inline void SetSchemaArn(const char* value) { m_schemaArn.assign(value); }
74 inline CreateSchemaMappingResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
75 inline CreateSchemaMappingResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
76 inline CreateSchemaMappingResult& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
78
80
83 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
84 inline void SetSchemaName(const Aws::String& value) { m_schemaName = value; }
85 inline void SetSchemaName(Aws::String&& value) { m_schemaName = std::move(value); }
86 inline void SetSchemaName(const char* value) { m_schemaName.assign(value); }
87 inline CreateSchemaMappingResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
88 inline CreateSchemaMappingResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
89 inline CreateSchemaMappingResult& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
91
93
94 inline const Aws::String& GetRequestId() const{ return m_requestId; }
95 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
96 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
97 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
98 inline CreateSchemaMappingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
99 inline CreateSchemaMappingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 inline CreateSchemaMappingResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
102 private:
103
104 Aws::String m_description;
105
106 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
107
108 Aws::String m_schemaArn;
109
110 Aws::String m_schemaName;
111
112 Aws::String m_requestId;
113 };
114
115} // namespace Model
116} // namespace EntityResolution
117} // namespace Aws
CreateSchemaMappingResult & WithSchemaArn(Aws::String &&value)
CreateSchemaMappingResult & WithSchemaName(const char *value)
CreateSchemaMappingResult & WithSchemaArn(const char *value)
CreateSchemaMappingResult & WithDescription(Aws::String &&value)
const Aws::Vector< SchemaInputAttribute > & GetMappedInputFields() const
void SetMappedInputFields(Aws::Vector< SchemaInputAttribute > &&value)
AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSchemaMappingResult & WithSchemaArn(const Aws::String &value)
CreateSchemaMappingResult & WithMappedInputFields(const Aws::Vector< SchemaInputAttribute > &value)
CreateSchemaMappingResult & WithRequestId(const Aws::String &value)
CreateSchemaMappingResult & WithDescription(const char *value)
CreateSchemaMappingResult & WithSchemaName(const Aws::String &value)
CreateSchemaMappingResult & WithMappedInputFields(Aws::Vector< SchemaInputAttribute > &&value)
CreateSchemaMappingResult & WithRequestId(Aws::String &&value)
CreateSchemaMappingResult & WithDescription(const Aws::String &value)
void SetMappedInputFields(const Aws::Vector< SchemaInputAttribute > &value)
CreateSchemaMappingResult & WithRequestId(const char *value)
CreateSchemaMappingResult & AddMappedInputFields(SchemaInputAttribute &&value)
CreateSchemaMappingResult & AddMappedInputFields(const SchemaInputAttribute &value)
CreateSchemaMappingResult & WithSchemaName(Aws::String &&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