AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
SearchSchemaSummary.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/schemas/Schemas_EXPORTS.h>
10#include <aws/schemas/model/SearchSchemaVersionSummary.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Schemas {
22namespace Model {
23
25 public:
26 AWS_SCHEMAS_API SearchSchemaSummary() = default;
29 AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline const Aws::String& GetRegistryName() const { return m_registryName; }
36 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
37 template <typename RegistryNameT = Aws::String>
38 void SetRegistryName(RegistryNameT&& value) {
39 m_registryNameHasBeenSet = true;
40 m_registryName = std::forward<RegistryNameT>(value);
41 }
42 template <typename RegistryNameT = Aws::String>
43 SearchSchemaSummary& WithRegistryName(RegistryNameT&& value) {
44 SetRegistryName(std::forward<RegistryNameT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetSchemaArn() const { return m_schemaArn; }
54 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
55 template <typename SchemaArnT = Aws::String>
56 void SetSchemaArn(SchemaArnT&& value) {
57 m_schemaArnHasBeenSet = true;
58 m_schemaArn = std::forward<SchemaArnT>(value);
59 }
60 template <typename SchemaArnT = Aws::String>
61 SearchSchemaSummary& WithSchemaArn(SchemaArnT&& value) {
62 SetSchemaArn(std::forward<SchemaArnT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
72 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
73 template <typename SchemaNameT = Aws::String>
74 void SetSchemaName(SchemaNameT&& value) {
75 m_schemaNameHasBeenSet = true;
76 m_schemaName = std::forward<SchemaNameT>(value);
77 }
78 template <typename SchemaNameT = Aws::String>
79 SearchSchemaSummary& WithSchemaName(SchemaNameT&& value) {
80 SetSchemaName(std::forward<SchemaNameT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Vector<SearchSchemaVersionSummary>& GetSchemaVersions() const { return m_schemaVersions; }
90 inline bool SchemaVersionsHasBeenSet() const { return m_schemaVersionsHasBeenSet; }
91 template <typename SchemaVersionsT = Aws::Vector<SearchSchemaVersionSummary>>
92 void SetSchemaVersions(SchemaVersionsT&& value) {
93 m_schemaVersionsHasBeenSet = true;
94 m_schemaVersions = std::forward<SchemaVersionsT>(value);
95 }
96 template <typename SchemaVersionsT = Aws::Vector<SearchSchemaVersionSummary>>
97 SearchSchemaSummary& WithSchemaVersions(SchemaVersionsT&& value) {
98 SetSchemaVersions(std::forward<SchemaVersionsT>(value));
99 return *this;
100 }
101 template <typename SchemaVersionsT = SearchSchemaVersionSummary>
102 SearchSchemaSummary& AddSchemaVersions(SchemaVersionsT&& value) {
103 m_schemaVersionsHasBeenSet = true;
104 m_schemaVersions.emplace_back(std::forward<SchemaVersionsT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_registryName;
110
111 Aws::String m_schemaArn;
112
113 Aws::String m_schemaName;
114
116 bool m_registryNameHasBeenSet = false;
117 bool m_schemaArnHasBeenSet = false;
118 bool m_schemaNameHasBeenSet = false;
119 bool m_schemaVersionsHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace Schemas
124} // namespace Aws
AWS_SCHEMAS_API SearchSchemaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
SearchSchemaSummary & WithRegistryName(RegistryNameT &&value)
void SetSchemaVersions(SchemaVersionsT &&value)
AWS_SCHEMAS_API SearchSchemaSummary()=default
void SetRegistryName(RegistryNameT &&value)
SearchSchemaSummary & WithSchemaName(SchemaNameT &&value)
const Aws::String & GetRegistryName() const
AWS_SCHEMAS_API SearchSchemaSummary(Aws::Utils::Json::JsonView jsonValue)
SearchSchemaSummary & WithSchemaArn(SchemaArnT &&value)
SearchSchemaSummary & AddSchemaVersions(SchemaVersionsT &&value)
SearchSchemaSummary & WithSchemaVersions(SchemaVersionsT &&value)
const Aws::Vector< SearchSchemaVersionSummary > & GetSchemaVersions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue