AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSchemaRequest.h
1
6#pragma once
7#include <aws/schemas/Schemas_EXPORTS.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/schemas/model/Type.h>
11#include <utility>
12#include <aws/core/utils/UUID.h>
13
14namespace Aws
15{
16namespace Schemas
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SCHEMAS_API UpdateSchemaRequest();
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_SCHEMAS_API Aws::String SerializePayload() const override;
35
36
38
41 inline const Aws::String& GetClientTokenId() const{ return m_clientTokenId; }
42 inline bool ClientTokenIdHasBeenSet() const { return m_clientTokenIdHasBeenSet; }
43 inline void SetClientTokenId(const Aws::String& value) { m_clientTokenIdHasBeenSet = true; m_clientTokenId = value; }
44 inline void SetClientTokenId(Aws::String&& value) { m_clientTokenIdHasBeenSet = true; m_clientTokenId = std::move(value); }
45 inline void SetClientTokenId(const char* value) { m_clientTokenIdHasBeenSet = true; m_clientTokenId.assign(value); }
46 inline UpdateSchemaRequest& WithClientTokenId(const Aws::String& value) { SetClientTokenId(value); return *this;}
47 inline UpdateSchemaRequest& WithClientTokenId(Aws::String&& value) { SetClientTokenId(std::move(value)); return *this;}
48 inline UpdateSchemaRequest& WithClientTokenId(const char* value) { SetClientTokenId(value); return *this;}
50
52
55 inline const Aws::String& GetContent() const{ return m_content; }
56 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
57 inline void SetContent(const Aws::String& value) { m_contentHasBeenSet = true; m_content = value; }
58 inline void SetContent(Aws::String&& value) { m_contentHasBeenSet = true; m_content = std::move(value); }
59 inline void SetContent(const char* value) { m_contentHasBeenSet = true; m_content.assign(value); }
60 inline UpdateSchemaRequest& WithContent(const Aws::String& value) { SetContent(value); return *this;}
61 inline UpdateSchemaRequest& WithContent(Aws::String&& value) { SetContent(std::move(value)); return *this;}
62 inline UpdateSchemaRequest& WithContent(const char* value) { SetContent(value); return *this;}
64
66
69 inline const Aws::String& GetDescription() const{ return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
74 inline UpdateSchemaRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline UpdateSchemaRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline UpdateSchemaRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
83 inline const Aws::String& GetRegistryName() const{ return m_registryName; }
84 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
85 inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
86 inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
87 inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
88 inline UpdateSchemaRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
89 inline UpdateSchemaRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
90 inline UpdateSchemaRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
92
94
97 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
98 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
99 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
100 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
101 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
102 inline UpdateSchemaRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
103 inline UpdateSchemaRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
104 inline UpdateSchemaRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
106
108
111 inline const Type& GetType() const{ return m_type; }
112 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
113 inline void SetType(const Type& value) { m_typeHasBeenSet = true; m_type = value; }
114 inline void SetType(Type&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
115 inline UpdateSchemaRequest& WithType(const Type& value) { SetType(value); return *this;}
116 inline UpdateSchemaRequest& WithType(Type&& value) { SetType(std::move(value)); return *this;}
118 private:
119
120 Aws::String m_clientTokenId;
121 bool m_clientTokenIdHasBeenSet = false;
122
123 Aws::String m_content;
124 bool m_contentHasBeenSet = false;
125
126 Aws::String m_description;
127 bool m_descriptionHasBeenSet = false;
128
129 Aws::String m_registryName;
130 bool m_registryNameHasBeenSet = false;
131
132 Aws::String m_schemaName;
133 bool m_schemaNameHasBeenSet = false;
134
135 Type m_type;
136 bool m_typeHasBeenSet = false;
137 };
138
139} // namespace Model
140} // namespace Schemas
141} // namespace Aws
UpdateSchemaRequest & WithClientTokenId(Aws::String &&value)
UpdateSchemaRequest & WithRegistryName(const char *value)
UpdateSchemaRequest & WithContent(const char *value)
UpdateSchemaRequest & WithSchemaName(const char *value)
UpdateSchemaRequest & WithRegistryName(Aws::String &&value)
void SetDescription(const Aws::String &value)
UpdateSchemaRequest & WithContent(const Aws::String &value)
void SetSchemaName(const Aws::String &value)
UpdateSchemaRequest & WithSchemaName(Aws::String &&value)
const Aws::String & GetRegistryName() const
UpdateSchemaRequest & WithClientTokenId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateSchemaRequest & WithRegistryName(const Aws::String &value)
UpdateSchemaRequest & WithClientTokenId(const char *value)
UpdateSchemaRequest & WithContent(Aws::String &&value)
UpdateSchemaRequest & WithSchemaName(const Aws::String &value)
UpdateSchemaRequest & WithType(const Type &value)
void SetClientTokenId(const Aws::String &value)
void SetContent(const Aws::String &value)
UpdateSchemaRequest & WithType(Type &&value)
UpdateSchemaRequest & WithDescription(const char *value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
void SetRegistryName(const Aws::String &value)
UpdateSchemaRequest & WithDescription(const Aws::String &value)
const Aws::String & GetClientTokenId() const
UpdateSchemaRequest & WithDescription(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String