AWS SDK for C++  1.8.126
AWS SDK for C++
SearchSchemaSummary.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Schemas
24 {
25 namespace Model
26 {
27 
29  {
30  public:
35 
36 
40  inline const Aws::String& GetRegistryName() const{ return m_registryName; }
41 
45  inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
46 
50  inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
51 
55  inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
56 
60  inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
61 
65  inline SearchSchemaSummary& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
66 
70  inline SearchSchemaSummary& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
71 
75  inline SearchSchemaSummary& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
76 
77 
81  inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; }
82 
86  inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; }
87 
91  inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; }
92 
96  inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); }
97 
101  inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); }
102 
106  inline SearchSchemaSummary& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;}
107 
111  inline SearchSchemaSummary& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;}
112 
116  inline SearchSchemaSummary& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;}
117 
118 
122  inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
123 
127  inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
128 
132  inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
133 
137  inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
138 
142  inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
143 
147  inline SearchSchemaSummary& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
148 
152  inline SearchSchemaSummary& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
153 
157  inline SearchSchemaSummary& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
158 
159 
163  inline const Aws::Vector<SearchSchemaVersionSummary>& GetSchemaVersions() const{ return m_schemaVersions; }
164 
168  inline bool SchemaVersionsHasBeenSet() const { return m_schemaVersionsHasBeenSet; }
169 
173  inline void SetSchemaVersions(const Aws::Vector<SearchSchemaVersionSummary>& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions = value; }
174 
178  inline void SetSchemaVersions(Aws::Vector<SearchSchemaVersionSummary>&& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions = std::move(value); }
179 
183  inline SearchSchemaSummary& WithSchemaVersions(const Aws::Vector<SearchSchemaVersionSummary>& value) { SetSchemaVersions(value); return *this;}
184 
188  inline SearchSchemaSummary& WithSchemaVersions(Aws::Vector<SearchSchemaVersionSummary>&& value) { SetSchemaVersions(std::move(value)); return *this;}
189 
193  inline SearchSchemaSummary& AddSchemaVersions(const SearchSchemaVersionSummary& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions.push_back(value); return *this; }
194 
198  inline SearchSchemaSummary& AddSchemaVersions(SearchSchemaVersionSummary&& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions.push_back(std::move(value)); return *this; }
199 
200  private:
201 
202  Aws::String m_registryName;
203  bool m_registryNameHasBeenSet;
204 
205  Aws::String m_schemaArn;
206  bool m_schemaArnHasBeenSet;
207 
208  Aws::String m_schemaName;
209  bool m_schemaNameHasBeenSet;
210 
212  bool m_schemaVersionsHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace Schemas
217 } // namespace Aws
Aws::Schemas::Model::SearchSchemaSummary::WithSchemaName
SearchSchemaSummary & WithSchemaName(Aws::String &&value)
Definition: SearchSchemaSummary.h:152
Aws::Schemas::Model::SearchSchemaSummary::SearchSchemaSummary
SearchSchemaSummary(Aws::Utils::Json::JsonView jsonValue)
Aws::Schemas::Model::SearchSchemaSummary::SearchSchemaSummary
SearchSchemaSummary()
Aws::Schemas::Model::SearchSchemaSummary::SetSchemaName
void SetSchemaName(Aws::String &&value)
Definition: SearchSchemaSummary.h:137
Aws::Schemas::Model::SearchSchemaSummary::WithSchemaVersions
SearchSchemaSummary & WithSchemaVersions(Aws::Vector< SearchSchemaVersionSummary > &&value)
Definition: SearchSchemaSummary.h:188
Aws::Schemas::Model::SearchSchemaSummary::AddSchemaVersions
SearchSchemaSummary & AddSchemaVersions(SearchSchemaVersionSummary &&value)
Definition: SearchSchemaSummary.h:198
Aws::Schemas::Model::SearchSchemaSummary::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: SearchSchemaSummary.h:50
Aws::Schemas::Model::SearchSchemaSummary::SchemaArnHasBeenSet
bool SchemaArnHasBeenSet() const
Definition: SearchSchemaSummary.h:86
Aws::Schemas::Model::SearchSchemaSummary::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: SearchSchemaSummary.h:40
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Schemas::Model::SearchSchemaSummary::SetSchemaVersions
void SetSchemaVersions(Aws::Vector< SearchSchemaVersionSummary > &&value)
Definition: SearchSchemaSummary.h:178
AWSVector.h
Aws::Schemas::Model::SearchSchemaSummary::GetSchemaVersions
const Aws::Vector< SearchSchemaVersionSummary > & GetSchemaVersions() const
Definition: SearchSchemaSummary.h:163
Aws::Schemas::Model::SearchSchemaSummary::SetSchemaName
void SetSchemaName(const Aws::String &value)
Definition: SearchSchemaSummary.h:132
Aws::Schemas::Model::SearchSchemaSummary::GetSchemaName
const Aws::String & GetSchemaName() const
Definition: SearchSchemaSummary.h:122
Aws::Schemas::Model::SearchSchemaSummary::SetSchemaArn
void SetSchemaArn(Aws::String &&value)
Definition: SearchSchemaSummary.h:96
Aws::Schemas::Model::SearchSchemaSummary::WithSchemaName
SearchSchemaSummary & WithSchemaName(const char *value)
Definition: SearchSchemaSummary.h:157
Aws::Schemas::Model::SearchSchemaSummary::SetRegistryName
void SetRegistryName(const char *value)
Definition: SearchSchemaSummary.h:60
Schemas_EXPORTS.h
Aws::Schemas::Model::SearchSchemaSummary
Definition: SearchSchemaSummary.h:29
Aws::Schemas::Model::SearchSchemaSummary::SetSchemaArn
void SetSchemaArn(const char *value)
Definition: SearchSchemaSummary.h:101
Aws::Schemas::Model::SearchSchemaSummary::WithSchemaArn
SearchSchemaSummary & WithSchemaArn(const char *value)
Definition: SearchSchemaSummary.h:116
Aws::Schemas::Model::SearchSchemaSummary::WithRegistryName
SearchSchemaSummary & WithRegistryName(Aws::String &&value)
Definition: SearchSchemaSummary.h:70
Aws::Schemas::Model::SearchSchemaVersionSummary
Definition: SearchSchemaVersionSummary.h:29
Aws::Schemas::Model::SearchSchemaSummary::WithSchemaVersions
SearchSchemaSummary & WithSchemaVersions(const Aws::Vector< SearchSchemaVersionSummary > &value)
Definition: SearchSchemaSummary.h:183
Aws::Schemas::Model::SearchSchemaSummary::SetSchemaArn
void SetSchemaArn(const Aws::String &value)
Definition: SearchSchemaSummary.h:91
Aws::Schemas::Model::SearchSchemaSummary::SetSchemaName
void SetSchemaName(const char *value)
Definition: SearchSchemaSummary.h:142
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Schemas::Model::SearchSchemaSummary::WithRegistryName
SearchSchemaSummary & WithRegistryName(const Aws::String &value)
Definition: SearchSchemaSummary.h:65
Aws::Schemas::Model::SearchSchemaSummary::SchemaNameHasBeenSet
bool SchemaNameHasBeenSet() const
Definition: SearchSchemaSummary.h:127
Aws::Schemas::Model::SearchSchemaSummary::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: SearchSchemaSummary.h:45
Aws::Schemas::Model::SearchSchemaSummary::SchemaVersionsHasBeenSet
bool SchemaVersionsHasBeenSet() const
Definition: SearchSchemaSummary.h:168
Aws::Schemas::Model::SearchSchemaSummary::SetSchemaVersions
void SetSchemaVersions(const Aws::Vector< SearchSchemaVersionSummary > &value)
Definition: SearchSchemaSummary.h:173
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::SearchSchemaSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
SearchSchemaVersionSummary.h
Aws::Schemas::Model::SearchSchemaSummary::GetSchemaArn
const Aws::String & GetSchemaArn() const
Definition: SearchSchemaSummary.h:81
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::SearchSchemaSummary::WithSchemaName
SearchSchemaSummary & WithSchemaName(const Aws::String &value)
Definition: SearchSchemaSummary.h:147
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::SearchSchemaSummary::WithRegistryName
SearchSchemaSummary & WithRegistryName(const char *value)
Definition: SearchSchemaSummary.h:75
Aws::Schemas::Model::SearchSchemaSummary::AddSchemaVersions
SearchSchemaSummary & AddSchemaVersions(const SearchSchemaVersionSummary &value)
Definition: SearchSchemaSummary.h:193
Aws::Schemas::Model::SearchSchemaSummary::WithSchemaArn
SearchSchemaSummary & WithSchemaArn(const Aws::String &value)
Definition: SearchSchemaSummary.h:106
Aws::Schemas::Model::SearchSchemaSummary::operator=
SearchSchemaSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Schemas::Model::SearchSchemaSummary::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: SearchSchemaSummary.h:55
Aws::Schemas::Model::SearchSchemaSummary::WithSchemaArn
SearchSchemaSummary & WithSchemaArn(Aws::String &&value)
Definition: SearchSchemaSummary.h:111