AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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<ProviderSchemaAttribute>& GetProviderSchemaAttributes() const{ return m_providerSchemaAttributes; }
47 inline bool ProviderSchemaAttributesHasBeenSet() const { return m_providerSchemaAttributesHasBeenSet; }
48 inline void SetProviderSchemaAttributes(const Aws::Vector<ProviderSchemaAttribute>& value) { m_providerSchemaAttributesHasBeenSet = true; m_providerSchemaAttributes = value; }
49 inline void SetProviderSchemaAttributes(Aws::Vector<ProviderSchemaAttribute>&& value) { m_providerSchemaAttributesHasBeenSet = true; m_providerSchemaAttributes = std::move(value); }
52 inline ProviderComponentSchema& AddProviderSchemaAttributes(const ProviderSchemaAttribute& value) { m_providerSchemaAttributesHasBeenSet = true; m_providerSchemaAttributes.push_back(value); return *this; }
53 inline ProviderComponentSchema& AddProviderSchemaAttributes(ProviderSchemaAttribute&& value) { m_providerSchemaAttributesHasBeenSet = true; m_providerSchemaAttributes.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetSchemas() const{ return m_schemas; }
61 inline bool SchemasHasBeenSet() const { return m_schemasHasBeenSet; }
62 inline void SetSchemas(const Aws::Vector<Aws::Vector<Aws::String>>& value) { m_schemasHasBeenSet = true; m_schemas = value; }
63 inline void SetSchemas(Aws::Vector<Aws::Vector<Aws::String>>&& value) { m_schemasHasBeenSet = true; m_schemas = std::move(value); }
65 inline ProviderComponentSchema& WithSchemas(Aws::Vector<Aws::Vector<Aws::String>>&& value) { SetSchemas(std::move(value)); return *this;}
66 inline ProviderComponentSchema& AddSchemas(const Aws::Vector<Aws::String>& value) { m_schemasHasBeenSet = true; m_schemas.push_back(value); return *this; }
67 inline ProviderComponentSchema& AddSchemas(Aws::Vector<Aws::String>&& value) { m_schemasHasBeenSet = true; m_schemas.push_back(std::move(value)); return *this; }
69 private:
70
71 Aws::Vector<ProviderSchemaAttribute> m_providerSchemaAttributes;
72 bool m_providerSchemaAttributesHasBeenSet = false;
73
75 bool m_schemasHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EntityResolution
80} // namespace Aws
ProviderComponentSchema & WithProviderSchemaAttributes(const Aws::Vector< ProviderSchemaAttribute > &value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetSchemas() const
void SetProviderSchemaAttributes(const Aws::Vector< ProviderSchemaAttribute > &value)
ProviderComponentSchema & WithProviderSchemaAttributes(Aws::Vector< ProviderSchemaAttribute > &&value)
ProviderComponentSchema & AddSchemas(const Aws::Vector< Aws::String > &value)
void SetProviderSchemaAttributes(Aws::Vector< ProviderSchemaAttribute > &&value)
ProviderComponentSchema & AddProviderSchemaAttributes(ProviderSchemaAttribute &&value)
const Aws::Vector< ProviderSchemaAttribute > & GetProviderSchemaAttributes() const
ProviderComponentSchema & WithSchemas(Aws::Vector< Aws::Vector< Aws::String > > &&value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSchemas(const Aws::Vector< Aws::Vector< Aws::String > > &value)
AWS_ENTITYRESOLUTION_API ProviderComponentSchema(Aws::Utils::Json::JsonView jsonValue)
ProviderComponentSchema & WithSchemas(const Aws::Vector< Aws::Vector< Aws::String > > &value)
void SetSchemas(Aws::Vector< Aws::Vector< Aws::String > > &&value)
ProviderComponentSchema & AddProviderSchemaAttributes(const ProviderSchemaAttribute &value)
AWS_ENTITYRESOLUTION_API ProviderComponentSchema & operator=(Aws::Utils::Json::JsonView jsonValue)
ProviderComponentSchema & AddSchemas(Aws::Vector< Aws::String > &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue