AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
35
36
38
41 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
42 template<typename SchemaNameT = Aws::String>
43 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
44 template<typename SchemaNameT = Aws::String>
45 CreateSchemaMappingResult& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
47
49
53 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
54 template<typename SchemaArnT = Aws::String>
55 void SetSchemaArn(SchemaArnT&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
56 template<typename SchemaArnT = Aws::String>
57 CreateSchemaMappingResult& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
59
61
64 inline const Aws::String& GetDescription() const { return m_description; }
65 template<typename DescriptionT = Aws::String>
66 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
67 template<typename DescriptionT = Aws::String>
68 CreateSchemaMappingResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
70
72
77 inline const Aws::Vector<SchemaInputAttribute>& GetMappedInputFields() const { return m_mappedInputFields; }
78 template<typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
79 void SetMappedInputFields(MappedInputFieldsT&& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields = std::forward<MappedInputFieldsT>(value); }
80 template<typename MappedInputFieldsT = Aws::Vector<SchemaInputAttribute>>
81 CreateSchemaMappingResult& WithMappedInputFields(MappedInputFieldsT&& value) { SetMappedInputFields(std::forward<MappedInputFieldsT>(value)); return *this;}
82 template<typename MappedInputFieldsT = SchemaInputAttribute>
83 CreateSchemaMappingResult& AddMappedInputFields(MappedInputFieldsT&& value) { m_mappedInputFieldsHasBeenSet = true; m_mappedInputFields.emplace_back(std::forward<MappedInputFieldsT>(value)); return *this; }
85
87
88 inline const Aws::String& GetRequestId() const { return m_requestId; }
89 template<typename RequestIdT = Aws::String>
90 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
91 template<typename RequestIdT = Aws::String>
92 CreateSchemaMappingResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
94 private:
95
96 Aws::String m_schemaName;
97 bool m_schemaNameHasBeenSet = false;
98
99 Aws::String m_schemaArn;
100 bool m_schemaArnHasBeenSet = false;
101
102 Aws::String m_description;
103 bool m_descriptionHasBeenSet = false;
104
105 Aws::Vector<SchemaInputAttribute> m_mappedInputFields;
106 bool m_mappedInputFieldsHasBeenSet = false;
107
108 Aws::String m_requestId;
109 bool m_requestIdHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace EntityResolution
114} // namespace Aws
const Aws::Vector< SchemaInputAttribute > & GetMappedInputFields() const
CreateSchemaMappingResult & WithSchemaArn(SchemaArnT &&value)
AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSchemaMappingResult & WithSchemaName(SchemaNameT &&value)
CreateSchemaMappingResult & AddMappedInputFields(MappedInputFieldsT &&value)
AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ENTITYRESOLUTION_API CreateSchemaMappingResult()=default
CreateSchemaMappingResult & WithMappedInputFields(MappedInputFieldsT &&value)
CreateSchemaMappingResult & WithDescription(DescriptionT &&value)
CreateSchemaMappingResult & WithRequestId(RequestIdT &&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