AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
ProviderComponentSchema.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/entityresolution/EntityResolution_EXPORTS.h>
10#include <aws/entityresolution/model/ProviderSchemaAttribute.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EntityResolution {
22namespace Model {
23
30 public:
31 AWS_ENTITYRESOLUTION_API ProviderComponentSchema() = default;
32 AWS_ENTITYRESOLUTION_API ProviderComponentSchema(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ENTITYRESOLUTION_API ProviderComponentSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetSchemas() const { return m_schemas; }
41 inline bool SchemasHasBeenSet() const { return m_schemasHasBeenSet; }
42 template <typename SchemasT = Aws::Vector<Aws::Vector<Aws::String>>>
43 void SetSchemas(SchemasT&& value) {
44 m_schemasHasBeenSet = true;
45 m_schemas = std::forward<SchemasT>(value);
46 }
47 template <typename SchemasT = Aws::Vector<Aws::Vector<Aws::String>>>
49 SetSchemas(std::forward<SchemasT>(value));
50 return *this;
51 }
52 template <typename SchemasT = Aws::Vector<Aws::String>>
54 m_schemasHasBeenSet = true;
55 m_schemas.emplace_back(std::forward<SchemasT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<ProviderSchemaAttribute>& GetProviderSchemaAttributes() const { return m_providerSchemaAttributes; }
65 inline bool ProviderSchemaAttributesHasBeenSet() const { return m_providerSchemaAttributesHasBeenSet; }
66 template <typename ProviderSchemaAttributesT = Aws::Vector<ProviderSchemaAttribute>>
67 void SetProviderSchemaAttributes(ProviderSchemaAttributesT&& value) {
68 m_providerSchemaAttributesHasBeenSet = true;
69 m_providerSchemaAttributes = std::forward<ProviderSchemaAttributesT>(value);
70 }
71 template <typename ProviderSchemaAttributesT = Aws::Vector<ProviderSchemaAttribute>>
72 ProviderComponentSchema& WithProviderSchemaAttributes(ProviderSchemaAttributesT&& value) {
73 SetProviderSchemaAttributes(std::forward<ProviderSchemaAttributesT>(value));
74 return *this;
75 }
76 template <typename ProviderSchemaAttributesT = ProviderSchemaAttribute>
77 ProviderComponentSchema& AddProviderSchemaAttributes(ProviderSchemaAttributesT&& value) {
78 m_providerSchemaAttributesHasBeenSet = true;
79 m_providerSchemaAttributes.emplace_back(std::forward<ProviderSchemaAttributesT>(value));
80 return *this;
81 }
83 private:
85
86 Aws::Vector<ProviderSchemaAttribute> m_providerSchemaAttributes;
87 bool m_schemasHasBeenSet = false;
88 bool m_providerSchemaAttributesHasBeenSet = false;
89};
90
91} // namespace Model
92} // namespace EntityResolution
93} // namespace Aws
ProviderComponentSchema & WithSchemas(SchemasT &&value)
void SetProviderSchemaAttributes(ProviderSchemaAttributesT &&value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetSchemas() const
ProviderComponentSchema & AddProviderSchemaAttributes(ProviderSchemaAttributesT &&value)
ProviderComponentSchema & WithProviderSchemaAttributes(ProviderSchemaAttributesT &&value)
const Aws::Vector< ProviderSchemaAttribute > & GetProviderSchemaAttributes() const
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ENTITYRESOLUTION_API ProviderComponentSchema(Aws::Utils::Json::JsonView jsonValue)
AWS_ENTITYRESOLUTION_API ProviderComponentSchema()=default
ProviderComponentSchema & AddSchemas(SchemasT &&value)
AWS_ENTITYRESOLUTION_API ProviderComponentSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue