AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ExportSchemaRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/schemas/SchemasRequest.h>
9#include <aws/schemas/Schemas_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Http {
15class URI;
16} // namespace Http
17namespace Schemas {
18namespace Model {
19
23 public:
24 AWS_SCHEMAS_API ExportSchemaRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ExportSchema"; }
31
32 AWS_SCHEMAS_API Aws::String SerializePayload() const override;
33
34 AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
35
37
40 inline const Aws::String& GetRegistryName() const { return m_registryName; }
41 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
42 template <typename RegistryNameT = Aws::String>
43 void SetRegistryName(RegistryNameT&& value) {
44 m_registryNameHasBeenSet = true;
45 m_registryName = std::forward<RegistryNameT>(value);
46 }
47 template <typename RegistryNameT = Aws::String>
48 ExportSchemaRequest& WithRegistryName(RegistryNameT&& value) {
49 SetRegistryName(std::forward<RegistryNameT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
59 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
60 template <typename SchemaNameT = Aws::String>
61 void SetSchemaName(SchemaNameT&& value) {
62 m_schemaNameHasBeenSet = true;
63 m_schemaName = std::forward<SchemaNameT>(value);
64 }
65 template <typename SchemaNameT = Aws::String>
66 ExportSchemaRequest& WithSchemaName(SchemaNameT&& value) {
67 SetSchemaName(std::forward<SchemaNameT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
77 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
78 template <typename SchemaVersionT = Aws::String>
79 void SetSchemaVersion(SchemaVersionT&& value) {
80 m_schemaVersionHasBeenSet = true;
81 m_schemaVersion = std::forward<SchemaVersionT>(value);
82 }
83 template <typename SchemaVersionT = Aws::String>
84 ExportSchemaRequest& WithSchemaVersion(SchemaVersionT&& value) {
85 SetSchemaVersion(std::forward<SchemaVersionT>(value));
86 return *this;
87 }
89
91
92 inline const Aws::String& GetType() const { return m_type; }
93 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
94 template <typename TypeT = Aws::String>
95 void SetType(TypeT&& value) {
96 m_typeHasBeenSet = true;
97 m_type = std::forward<TypeT>(value);
98 }
99 template <typename TypeT = Aws::String>
101 SetType(std::forward<TypeT>(value));
102 return *this;
103 }
105 private:
106 Aws::String m_registryName;
107
108 Aws::String m_schemaName;
109
110 Aws::String m_schemaVersion;
111
112 Aws::String m_type;
113 bool m_registryNameHasBeenSet = false;
114 bool m_schemaNameHasBeenSet = false;
115 bool m_schemaVersionHasBeenSet = false;
116 bool m_typeHasBeenSet = false;
117};
118
119} // namespace Model
120} // namespace Schemas
121} // namespace Aws
AWS_SCHEMAS_API Aws::String SerializePayload() const override
const Aws::String & GetRegistryName() const
virtual const char * GetServiceRequestName() const override
ExportSchemaRequest & WithRegistryName(RegistryNameT &&value)
ExportSchemaRequest & WithSchemaName(SchemaNameT &&value)
ExportSchemaRequest & WithSchemaVersion(SchemaVersionT &&value)
const Aws::String & GetSchemaVersion() const
ExportSchemaRequest & WithType(TypeT &&value)
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
void SetRegistryName(RegistryNameT &&value)
AWS_SCHEMAS_API ExportSchemaRequest()=default
void SetSchemaVersion(SchemaVersionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String