AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSchemaMappingResult.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 UpdateSchemaMappingResult();
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 UpdateSchemaMappingResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
46 inline UpdateSchemaMappingResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
47 inline UpdateSchemaMappingResult& 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 UpdateSchemaMappingResult& AddMappedInputFields(const SchemaInputAttribute& value) { m_mappedInputFields.push_back(value); return *this; }
62 inline UpdateSchemaMappingResult& 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 UpdateSchemaMappingResult& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
75 inline UpdateSchemaMappingResult& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
76 inline UpdateSchemaMappingResult& 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 UpdateSchemaMappingResult& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
88 inline UpdateSchemaMappingResult& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
89 inline UpdateSchemaMappingResult& 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 UpdateSchemaMappingResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
99 inline UpdateSchemaMappingResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 inline UpdateSchemaMappingResult& 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
void SetMappedInputFields(const Aws::Vector< SchemaInputAttribute > &value)
UpdateSchemaMappingResult & WithSchemaName(const char *value)
UpdateSchemaMappingResult & WithDescription(const Aws::String &value)
UpdateSchemaMappingResult & WithMappedInputFields(const Aws::Vector< SchemaInputAttribute > &value)
AWS_ENTITYRESOLUTION_API UpdateSchemaMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSchemaMappingResult & WithRequestId(Aws::String &&value)
UpdateSchemaMappingResult & WithSchemaArn(const char *value)
UpdateSchemaMappingResult & WithRequestId(const Aws::String &value)
UpdateSchemaMappingResult & WithSchemaName(Aws::String &&value)
UpdateSchemaMappingResult & AddMappedInputFields(SchemaInputAttribute &&value)
UpdateSchemaMappingResult & WithSchemaArn(const Aws::String &value)
UpdateSchemaMappingResult & WithDescription(const char *value)
AWS_ENTITYRESOLUTION_API UpdateSchemaMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateSchemaMappingResult & WithDescription(Aws::String &&value)
UpdateSchemaMappingResult & AddMappedInputFields(const SchemaInputAttribute &value)
const Aws::Vector< SchemaInputAttribute > & GetMappedInputFields() const
UpdateSchemaMappingResult & WithRequestId(const char *value)
UpdateSchemaMappingResult & WithMappedInputFields(Aws::Vector< SchemaInputAttribute > &&value)
void SetMappedInputFields(Aws::Vector< SchemaInputAttribute > &&value)
UpdateSchemaMappingResult & WithSchemaName(const Aws::String &value)
UpdateSchemaMappingResult & WithSchemaArn(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