AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ProviderComponentSchema.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/entityresolution/model/ProviderSchemaAttribute.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace EntityResolution
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_ENTITYRESOLUTION_API ProviderComponentSchema() = default;
37 AWS_ENTITYRESOLUTION_API ProviderComponentSchema(Aws::Utils::Json::JsonView jsonValue);
38 AWS_ENTITYRESOLUTION_API ProviderComponentSchema& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetSchemas() const { return m_schemas; }
47 inline bool SchemasHasBeenSet() const { return m_schemasHasBeenSet; }
48 template<typename SchemasT = Aws::Vector<Aws::Vector<Aws::String>>>
49 void SetSchemas(SchemasT&& value) { m_schemasHasBeenSet = true; m_schemas = std::forward<SchemasT>(value); }
50 template<typename SchemasT = Aws::Vector<Aws::Vector<Aws::String>>>
51 ProviderComponentSchema& WithSchemas(SchemasT&& value) { SetSchemas(std::forward<SchemasT>(value)); return *this;}
52 template<typename SchemasT = Aws::Vector<Aws::String>>
53 ProviderComponentSchema& AddSchemas(SchemasT&& value) { m_schemasHasBeenSet = true; m_schemas.emplace_back(std::forward<SchemasT>(value)); return *this; }
55
57
60 inline const Aws::Vector<ProviderSchemaAttribute>& GetProviderSchemaAttributes() const { return m_providerSchemaAttributes; }
61 inline bool ProviderSchemaAttributesHasBeenSet() const { return m_providerSchemaAttributesHasBeenSet; }
62 template<typename ProviderSchemaAttributesT = Aws::Vector<ProviderSchemaAttribute>>
63 void SetProviderSchemaAttributes(ProviderSchemaAttributesT&& value) { m_providerSchemaAttributesHasBeenSet = true; m_providerSchemaAttributes = std::forward<ProviderSchemaAttributesT>(value); }
64 template<typename ProviderSchemaAttributesT = Aws::Vector<ProviderSchemaAttribute>>
65 ProviderComponentSchema& WithProviderSchemaAttributes(ProviderSchemaAttributesT&& value) { SetProviderSchemaAttributes(std::forward<ProviderSchemaAttributesT>(value)); return *this;}
66 template<typename ProviderSchemaAttributesT = ProviderSchemaAttribute>
67 ProviderComponentSchema& AddProviderSchemaAttributes(ProviderSchemaAttributesT&& value) { m_providerSchemaAttributesHasBeenSet = true; m_providerSchemaAttributes.emplace_back(std::forward<ProviderSchemaAttributesT>(value)); return *this; }
69 private:
70
72 bool m_schemasHasBeenSet = false;
73
74 Aws::Vector<ProviderSchemaAttribute> m_providerSchemaAttributes;
75 bool m_providerSchemaAttributesHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EntityResolution
80} // 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