AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SearchSchemaSummary.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/schemas/model/SearchSchemaVersionSummary.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 Schemas
24{
25namespace Model
26{
27
29 {
30 public:
31 AWS_SCHEMAS_API SearchSchemaSummary() = default;
34 AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const;
35
36
38
41 inline const Aws::String& GetRegistryName() const { return m_registryName; }
42 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
43 template<typename RegistryNameT = Aws::String>
44 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
45 template<typename RegistryNameT = Aws::String>
46 SearchSchemaSummary& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
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) { m_schemaArnHasBeenSet = true; m_schemaArn = std::forward<SchemaArnT>(value); }
57 template<typename SchemaArnT = Aws::String>
58 SearchSchemaSummary& WithSchemaArn(SchemaArnT&& value) { SetSchemaArn(std::forward<SchemaArnT>(value)); return *this;}
60
62
65 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
66 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
67 template<typename SchemaNameT = Aws::String>
68 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
69 template<typename SchemaNameT = Aws::String>
70 SearchSchemaSummary& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
72
74
77 inline const Aws::Vector<SearchSchemaVersionSummary>& GetSchemaVersions() const { return m_schemaVersions; }
78 inline bool SchemaVersionsHasBeenSet() const { return m_schemaVersionsHasBeenSet; }
79 template<typename SchemaVersionsT = Aws::Vector<SearchSchemaVersionSummary>>
80 void SetSchemaVersions(SchemaVersionsT&& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions = std::forward<SchemaVersionsT>(value); }
81 template<typename SchemaVersionsT = Aws::Vector<SearchSchemaVersionSummary>>
82 SearchSchemaSummary& WithSchemaVersions(SchemaVersionsT&& value) { SetSchemaVersions(std::forward<SchemaVersionsT>(value)); return *this;}
83 template<typename SchemaVersionsT = SearchSchemaVersionSummary>
84 SearchSchemaSummary& AddSchemaVersions(SchemaVersionsT&& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions.emplace_back(std::forward<SchemaVersionsT>(value)); return *this; }
86 private:
87
88 Aws::String m_registryName;
89 bool m_registryNameHasBeenSet = false;
90
91 Aws::String m_schemaArn;
92 bool m_schemaArnHasBeenSet = false;
93
94 Aws::String m_schemaName;
95 bool m_schemaNameHasBeenSet = false;
96
98 bool m_schemaVersionsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Schemas
103} // 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