AWS SDK for C++  1.8.127
AWS SDK for C++
UpdateSchemaRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <aws/schemas/model/Type.h>
11 #include <utility>
12 #include <aws/core/utils/UUID.h>
13 
14 namespace Aws
15 {
16 namespace Schemas
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateSchema"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetClientTokenId() const{ return m_clientTokenId; }
41 
45  inline bool ClientTokenIdHasBeenSet() const { return m_clientTokenIdHasBeenSet; }
46 
50  inline void SetClientTokenId(const Aws::String& value) { m_clientTokenIdHasBeenSet = true; m_clientTokenId = value; }
51 
55  inline void SetClientTokenId(Aws::String&& value) { m_clientTokenIdHasBeenSet = true; m_clientTokenId = std::move(value); }
56 
60  inline void SetClientTokenId(const char* value) { m_clientTokenIdHasBeenSet = true; m_clientTokenId.assign(value); }
61 
65  inline UpdateSchemaRequest& WithClientTokenId(const Aws::String& value) { SetClientTokenId(value); return *this;}
66 
70  inline UpdateSchemaRequest& WithClientTokenId(Aws::String&& value) { SetClientTokenId(std::move(value)); return *this;}
71 
75  inline UpdateSchemaRequest& WithClientTokenId(const char* value) { SetClientTokenId(value); return *this;}
76 
77 
81  inline const Aws::String& GetContent() const{ return m_content; }
82 
86  inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
87 
91  inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
92 
96  inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
97 
101  inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
102 
106  inline UpdateSchemaRequest& WithContent(const Aws::String& value) { SetContent(value); return *this;}
107 
111  inline UpdateSchemaRequest& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
112 
116  inline UpdateSchemaRequest& WithContent(const char* value) { SetContent(value); return *this;}
117 
118 
122  inline const Aws::String& GetDescription() const{ return m_description; }
123 
127  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
128 
132  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
133 
137  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
138 
142  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
143 
147  inline UpdateSchemaRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
148 
152  inline UpdateSchemaRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
153 
157  inline UpdateSchemaRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
158 
159 
163  inline const Aws::String& GetRegistryName() const{ return m_registryName; }
164 
168  inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
169 
173  inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
174 
178  inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
179 
183  inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
184 
188  inline UpdateSchemaRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
189 
193  inline UpdateSchemaRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
194 
198  inline UpdateSchemaRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
199 
200 
204  inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
205 
209  inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
210 
214  inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
215 
219  inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
220 
224  inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
225 
229  inline UpdateSchemaRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
230 
234  inline UpdateSchemaRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
235 
239  inline UpdateSchemaRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
240 
241 
245  inline const Type& GetType() const{ return m_type; }
246 
250  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
251 
255  inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
256 
260  inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
261 
265  inline UpdateSchemaRequest& WithType(const Type& value) { SetType(value); return *this;}
266 
270  inline UpdateSchemaRequest& WithType(Type&& value) { SetType(std::move(value)); return *this;}
271 
272  private:
273 
274  Aws::String m_clientTokenId;
275  bool m_clientTokenIdHasBeenSet;
276 
277  Aws::String m_content;
278  bool m_contentHasBeenSet;
279 
280  Aws::String m_description;
281  bool m_descriptionHasBeenSet;
282 
283  Aws::String m_registryName;
284  bool m_registryNameHasBeenSet;
285 
286  Aws::String m_schemaName;
287  bool m_schemaNameHasBeenSet;
288 
289  Type m_type;
290  bool m_typeHasBeenSet;
291  };
292 
293 } // namespace Model
294 } // namespace Schemas
295 } // namespace Aws
Aws::Schemas::Model::UpdateSchemaRequest::GetType
const Type & GetType() const
Definition: UpdateSchemaRequest.h:245
Aws::Schemas::Model::UpdateSchemaRequest::WithClientTokenId
UpdateSchemaRequest & WithClientTokenId(Aws::String &&value)
Definition: UpdateSchemaRequest.h:70
Aws::Schemas::Model::UpdateSchemaRequest::SetContent
void SetContent(const Aws::String &value)
Definition: UpdateSchemaRequest.h:91
Aws::Schemas::Model::UpdateSchemaRequest::WithContent
UpdateSchemaRequest & WithContent(const Aws::String &value)
Definition: UpdateSchemaRequest.h:106
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
Aws::Schemas::Model::UpdateSchemaRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateSchemaRequest.h:137
SchemasRequest.h
Aws::Schemas::Model::UpdateSchemaRequest::WithDescription
UpdateSchemaRequest & WithDescription(Aws::String &&value)
Definition: UpdateSchemaRequest.h:152
Aws::Schemas::Model::UpdateSchemaRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: UpdateSchemaRequest.h:173
Aws::Schemas::Model::UpdateSchemaRequest::GetContent
const Aws::String & GetContent() const
Definition: UpdateSchemaRequest.h:81
Aws::Schemas::Model::UpdateSchemaRequest::WithRegistryName
UpdateSchemaRequest & WithRegistryName(const Aws::String &value)
Definition: UpdateSchemaRequest.h:188
Aws::Schemas::Model::UpdateSchemaRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: UpdateSchemaRequest.h:183
Aws::Schemas::Model::UpdateSchemaRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: UpdateSchemaRequest.h:163
Aws::Schemas::Model::UpdateSchemaRequest::WithContent
UpdateSchemaRequest & WithContent(Aws::String &&value)
Definition: UpdateSchemaRequest.h:111
Aws::Schemas::Model::UpdateSchemaRequest::WithClientTokenId
UpdateSchemaRequest & WithClientTokenId(const char *value)
Definition: UpdateSchemaRequest.h:75
Aws::Schemas::Model::UpdateSchemaRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateSchemaRequest.h:142
Schemas_EXPORTS.h
Aws::Schemas::Model::UpdateSchemaRequest::SetType
void SetType(Type &&value)
Definition: UpdateSchemaRequest.h:260
Aws::Schemas::Model::UpdateSchemaRequest::WithSchemaName
UpdateSchemaRequest & WithSchemaName(Aws::String &&value)
Definition: UpdateSchemaRequest.h:234
Aws::Schemas::Model::UpdateSchemaRequest::ContentHasBeenSet
bool ContentHasBeenSet() const
Definition: UpdateSchemaRequest.h:86
Aws::Schemas::Model::UpdateSchemaRequest::SetContent
void SetContent(Aws::String &&value)
Definition: UpdateSchemaRequest.h:96
Aws::Schemas::Model::UpdateSchemaRequest::SetType
void SetType(const Type &value)
Definition: UpdateSchemaRequest.h:255
Aws::Schemas::Model::UpdateSchemaRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateSchemaRequest.h:127
Aws::Schemas::Model::UpdateSchemaRequest::ClientTokenIdHasBeenSet
bool ClientTokenIdHasBeenSet() const
Definition: UpdateSchemaRequest.h:45
Aws::Schemas::Model::UpdateSchemaRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::UpdateSchemaRequest::SetClientTokenId
void SetClientTokenId(const Aws::String &value)
Definition: UpdateSchemaRequest.h:50
AWSString.h
Aws::Schemas::Model::UpdateSchemaRequest::SetSchemaName
void SetSchemaName(const char *value)
Definition: UpdateSchemaRequest.h:224
Aws::Schemas::Model::UpdateSchemaRequest::SetSchemaName
void SetSchemaName(Aws::String &&value)
Definition: UpdateSchemaRequest.h:219
Aws::Schemas::Model::UpdateSchemaRequest::WithRegistryName
UpdateSchemaRequest & WithRegistryName(Aws::String &&value)
Definition: UpdateSchemaRequest.h:193
Aws::Schemas::Model::UpdateSchemaRequest::WithSchemaName
UpdateSchemaRequest & WithSchemaName(const char *value)
Definition: UpdateSchemaRequest.h:239
Aws::Schemas::Model::UpdateSchemaRequest::GetSchemaName
const Aws::String & GetSchemaName() const
Definition: UpdateSchemaRequest.h:204
Aws::Schemas::Model::UpdateSchemaRequest::SchemaNameHasBeenSet
bool SchemaNameHasBeenSet() const
Definition: UpdateSchemaRequest.h:209
Aws::Schemas::Model::UpdateSchemaRequest::WithType
UpdateSchemaRequest & WithType(Type &&value)
Definition: UpdateSchemaRequest.h:270
Aws::Schemas::Model::UpdateSchemaRequest::UpdateSchemaRequest
UpdateSchemaRequest()
Aws::Schemas::Model::UpdateSchemaRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: UpdateSchemaRequest.h:168
Aws::Schemas::Model::UpdateSchemaRequest
Definition: UpdateSchemaRequest.h:24
Aws::Schemas::Model::UpdateSchemaRequest::SetContent
void SetContent(const char *value)
Definition: UpdateSchemaRequest.h:101
Aws::Schemas::Model::UpdateSchemaRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: UpdateSchemaRequest.h:250
Aws::Schemas::Model::UpdateSchemaRequest::WithDescription
UpdateSchemaRequest & WithDescription(const char *value)
Definition: UpdateSchemaRequest.h:157
Aws::Schemas::Model::UpdateSchemaRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateSchemaRequest.h:132
Aws::Schemas::Model::Type
Type
Definition: Type.h:17
Aws::Schemas::Model::UpdateSchemaRequest::WithSchemaName
UpdateSchemaRequest & WithSchemaName(const Aws::String &value)
Definition: UpdateSchemaRequest.h:229
Aws::Schemas::Model::UpdateSchemaRequest::WithDescription
UpdateSchemaRequest & WithDescription(const Aws::String &value)
Definition: UpdateSchemaRequest.h:147
Aws::Schemas::Model::UpdateSchemaRequest::SetClientTokenId
void SetClientTokenId(const char *value)
Definition: UpdateSchemaRequest.h:60
Aws
Definition: AccessManagementClient.h:15
Type.h
Aws::Schemas::Model::UpdateSchemaRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateSchemaRequest.h:122
Aws::Schemas::Model::UpdateSchemaRequest::WithRegistryName
UpdateSchemaRequest & WithRegistryName(const char *value)
Definition: UpdateSchemaRequest.h:198
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::UpdateSchemaRequest::GetClientTokenId
const Aws::String & GetClientTokenId() const
Definition: UpdateSchemaRequest.h:40
Aws::Schemas::Model::UpdateSchemaRequest::SetClientTokenId
void SetClientTokenId(Aws::String &&value)
Definition: UpdateSchemaRequest.h:55
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::UpdateSchemaRequest::SetSchemaName
void SetSchemaName(const Aws::String &value)
Definition: UpdateSchemaRequest.h:214
Aws::Schemas::Model::UpdateSchemaRequest::WithType
UpdateSchemaRequest & WithType(const Type &value)
Definition: UpdateSchemaRequest.h:265
Aws::Schemas::Model::UpdateSchemaRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateSchemaRequest.h:32
Aws::Schemas::Model::UpdateSchemaRequest::WithContent
UpdateSchemaRequest & WithContent(const char *value)
Definition: UpdateSchemaRequest.h:116
Aws::Schemas::Model::UpdateSchemaRequest::WithClientTokenId
UpdateSchemaRequest & WithClientTokenId(const Aws::String &value)
Definition: UpdateSchemaRequest.h:65
UUID.h
Aws::Schemas::Model::UpdateSchemaRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: UpdateSchemaRequest.h:178