AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 template<typename ClientTokenIdT = Aws::String>
44 void SetClientTokenId(ClientTokenIdT&& value) { m_clientTokenIdHasBeenSet = true; m_clientTokenId = std::forward<ClientTokenIdT>(value); }
45 template<typename ClientTokenIdT = Aws::String>
46 UpdateSchemaRequest& WithClientTokenId(ClientTokenIdT&& value) { SetClientTokenId(std::forward<ClientTokenIdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetContent() const { return m_content; }
54 inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; }
55 template<typename ContentT = Aws::String>
56 void SetContent(ContentT&& value) { m_contentHasBeenSet = true; m_content = std::forward<ContentT>(value); }
57 template<typename ContentT = Aws::String>
58 UpdateSchemaRequest& WithContent(ContentT&& value) { SetContent(std::forward<ContentT>(value)); return *this;}
60
62
65 inline const Aws::String& GetDescription() const { return m_description; }
66 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 UpdateSchemaRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
77 inline const Aws::String& GetRegistryName() const { return m_registryName; }
78 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
79 template<typename RegistryNameT = Aws::String>
80 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
81 template<typename RegistryNameT = Aws::String>
82 UpdateSchemaRequest& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
84
86
89 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
90 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
91 template<typename SchemaNameT = Aws::String>
92 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
93 template<typename SchemaNameT = Aws::String>
94 UpdateSchemaRequest& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
96
98
101 inline Type GetType() const { return m_type; }
102 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
103 inline void SetType(Type value) { m_typeHasBeenSet = true; m_type = value; }
104 inline UpdateSchemaRequest& WithType(Type value) { SetType(value); return *this;}
106 private:
107
109 bool m_clientTokenIdHasBeenSet = true;
110
111 Aws::String m_content;
112 bool m_contentHasBeenSet = false;
113
114 Aws::String m_description;
115 bool m_descriptionHasBeenSet = false;
116
117 Aws::String m_registryName;
118 bool m_registryNameHasBeenSet = false;
119
120 Aws::String m_schemaName;
121 bool m_schemaNameHasBeenSet = false;
122
123 Type m_type{Type::NOT_SET};
124 bool m_typeHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace Schemas
129} // namespace Aws
UpdateSchemaRequest & WithRegistryName(RegistryNameT &&value)
UpdateSchemaRequest & WithSchemaName(SchemaNameT &&value)
UpdateSchemaRequest & WithType(Type value)
UpdateSchemaRequest & WithContent(ContentT &&value)
AWS_SCHEMAS_API UpdateSchemaRequest()=default
const Aws::String & GetRegistryName() const
UpdateSchemaRequest & WithClientTokenId(ClientTokenIdT &&value)
UpdateSchemaRequest & WithDescription(DescriptionT &&value)
virtual const char * GetServiceRequestName() const override
AWS_SCHEMAS_API Aws::String SerializePayload() const override
void SetClientTokenId(ClientTokenIdT &&value)
const Aws::String & GetClientTokenId() const
void SetRegistryName(RegistryNameT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String