AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
CustomMetadataSchemaConfiguration.h
1
6#pragma once
7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/RecordTypeSchemaOverride.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace AgentRegistryControl {
22namespace Model {
23
32 public:
33 AWS_AGENTREGISTRYCONTROL_API CustomMetadataSchemaConfiguration() = default;
34 AWS_AGENTREGISTRYCONTROL_API CustomMetadataSchemaConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
45 inline const Aws::String& GetDefaultSchema() const { return m_defaultSchema; }
46 inline bool DefaultSchemaHasBeenSet() const { return m_defaultSchemaHasBeenSet; }
47 template <typename DefaultSchemaT = Aws::String>
48 void SetDefaultSchema(DefaultSchemaT&& value) {
49 m_defaultSchemaHasBeenSet = true;
50 m_defaultSchema = std::forward<DefaultSchemaT>(value);
51 }
52 template <typename DefaultSchemaT = Aws::String>
54 SetDefaultSchema(std::forward<DefaultSchemaT>(value));
55 return *this;
56 }
58
60
67 inline const Aws::Vector<RecordTypeSchemaOverride>& GetRecordTypeSchemaOverrides() const { return m_recordTypeSchemaOverrides; }
68 inline bool RecordTypeSchemaOverridesHasBeenSet() const { return m_recordTypeSchemaOverridesHasBeenSet; }
69 template <typename RecordTypeSchemaOverridesT = Aws::Vector<RecordTypeSchemaOverride>>
70 void SetRecordTypeSchemaOverrides(RecordTypeSchemaOverridesT&& value) {
71 m_recordTypeSchemaOverridesHasBeenSet = true;
72 m_recordTypeSchemaOverrides = std::forward<RecordTypeSchemaOverridesT>(value);
73 }
74 template <typename RecordTypeSchemaOverridesT = Aws::Vector<RecordTypeSchemaOverride>>
76 SetRecordTypeSchemaOverrides(std::forward<RecordTypeSchemaOverridesT>(value));
77 return *this;
78 }
79 template <typename RecordTypeSchemaOverridesT = RecordTypeSchemaOverride>
81 m_recordTypeSchemaOverridesHasBeenSet = true;
82 m_recordTypeSchemaOverrides.emplace_back(std::forward<RecordTypeSchemaOverridesT>(value));
83 return *this;
84 }
86 private:
87 Aws::String m_defaultSchema;
88
89 Aws::Vector<RecordTypeSchemaOverride> m_recordTypeSchemaOverrides;
90 bool m_defaultSchemaHasBeenSet = false;
91 bool m_recordTypeSchemaOverridesHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace AgentRegistryControl
96} // namespace Aws
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
CustomMetadataSchemaConfiguration & AddRecordTypeSchemaOverrides(RecordTypeSchemaOverridesT &&value)
CustomMetadataSchemaConfiguration & WithDefaultSchema(DefaultSchemaT &&value)
CustomMetadataSchemaConfiguration & WithRecordTypeSchemaOverrides(RecordTypeSchemaOverridesT &&value)
AWS_AGENTREGISTRYCONTROL_API CustomMetadataSchemaConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< RecordTypeSchemaOverride > & GetRecordTypeSchemaOverrides() const
AWS_AGENTREGISTRYCONTROL_API CustomMetadataSchemaConfiguration()=default
AWS_AGENTREGISTRYCONTROL_API CustomMetadataSchemaConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue