AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
44 inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
45 inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
46 inline SearchSchemaSummary& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
47 inline SearchSchemaSummary& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
48 inline SearchSchemaSummary& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
50
52
55 inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
56 inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
57 inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
58 inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
59 inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
60 inline SearchSchemaSummary& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
61 inline SearchSchemaSummary& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
62 inline SearchSchemaSummary& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
64
66
69 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
70 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
71 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
72 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
73 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
74 inline SearchSchemaSummary& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
75 inline SearchSchemaSummary& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
76 inline SearchSchemaSummary& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
78
80
83 inline const Aws::Vector<SearchSchemaVersionSummary>& GetSchemaVersions() const{ return m_schemaVersions; }
84 inline bool SchemaVersionsHasBeenSet() const { return m_schemaVersionsHasBeenSet; }
85 inline void SetSchemaVersions(const Aws::Vector<SearchSchemaVersionSummary>& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions = value; }
86 inline void SetSchemaVersions(Aws::Vector<SearchSchemaVersionSummary>&& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions = std::move(value); }
89 inline SearchSchemaSummary& AddSchemaVersions(const SearchSchemaVersionSummary& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions.push_back(value); return *this; }
90 inline SearchSchemaSummary& AddSchemaVersions(SearchSchemaVersionSummary&& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions.push_back(std::move(value)); return *this; }
92 private:
93
94 Aws::String m_registryName;
95 bool m_registryNameHasBeenSet = false;
96
97 Aws::String m_schemaArn;
98 bool m_schemaArnHasBeenSet = false;
99
100 Aws::String m_schemaName;
101 bool m_schemaNameHasBeenSet = false;
102
104 bool m_schemaVersionsHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Schemas
109} // namespace Aws
AWS_SCHEMAS_API SearchSchemaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
SearchSchemaSummary & WithSchemaArn(Aws::String &&value)
SearchSchemaSummary & WithRegistryName(Aws::String &&value)
AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const
SearchSchemaSummary & WithSchemaName(const Aws::String &value)
SearchSchemaSummary & WithSchemaName(const char *value)
void SetSchemaName(const Aws::String &value)
void SetSchemaVersions(const Aws::Vector< SearchSchemaVersionSummary > &value)
SearchSchemaSummary & WithSchemaName(Aws::String &&value)
void SetSchemaArn(const Aws::String &value)
SearchSchemaSummary & AddSchemaVersions(const SearchSchemaVersionSummary &value)
SearchSchemaSummary & WithSchemaVersions(const Aws::Vector< SearchSchemaVersionSummary > &value)
void SetSchemaVersions(Aws::Vector< SearchSchemaVersionSummary > &&value)
SearchSchemaSummary & WithRegistryName(const Aws::String &value)
const Aws::String & GetRegistryName() const
SearchSchemaSummary & WithSchemaArn(const Aws::String &value)
AWS_SCHEMAS_API SearchSchemaSummary(Aws::Utils::Json::JsonView jsonValue)
SearchSchemaSummary & WithRegistryName(const char *value)
SearchSchemaSummary & AddSchemaVersions(SearchSchemaVersionSummary &&value)
SearchSchemaSummary & WithSchemaVersions(Aws::Vector< SearchSchemaVersionSummary > &&value)
void SetRegistryName(const Aws::String &value)
SearchSchemaSummary & WithSchemaArn(const char *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