AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ExportSchemaRequest.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 <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Schemas
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SCHEMAS_API ExportSchemaRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ExportSchema"; }
35
36 AWS_SCHEMAS_API Aws::String SerializePayload() const override;
37
38 AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
45 inline const Aws::String& GetRegistryName() const { return m_registryName; }
46 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
47 template<typename RegistryNameT = Aws::String>
48 void SetRegistryName(RegistryNameT&& value) { m_registryNameHasBeenSet = true; m_registryName = std::forward<RegistryNameT>(value); }
49 template<typename RegistryNameT = Aws::String>
50 ExportSchemaRequest& WithRegistryName(RegistryNameT&& value) { SetRegistryName(std::forward<RegistryNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetSchemaName() const { return m_schemaName; }
58 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
59 template<typename SchemaNameT = Aws::String>
60 void SetSchemaName(SchemaNameT&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::forward<SchemaNameT>(value); }
61 template<typename SchemaNameT = Aws::String>
62 ExportSchemaRequest& WithSchemaName(SchemaNameT&& value) { SetSchemaName(std::forward<SchemaNameT>(value)); return *this;}
64
66
69 inline const Aws::String& GetSchemaVersion() const { return m_schemaVersion; }
70 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
71 template<typename SchemaVersionT = Aws::String>
72 void SetSchemaVersion(SchemaVersionT&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::forward<SchemaVersionT>(value); }
73 template<typename SchemaVersionT = Aws::String>
74 ExportSchemaRequest& WithSchemaVersion(SchemaVersionT&& value) { SetSchemaVersion(std::forward<SchemaVersionT>(value)); return *this;}
76
78
79 inline const Aws::String& GetType() const { return m_type; }
80 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
81 template<typename TypeT = Aws::String>
82 void SetType(TypeT&& value) { m_typeHasBeenSet = true; m_type = std::forward<TypeT>(value); }
83 template<typename TypeT = Aws::String>
84 ExportSchemaRequest& WithType(TypeT&& value) { SetType(std::forward<TypeT>(value)); return *this;}
86 private:
87
88 Aws::String m_registryName;
89 bool m_registryNameHasBeenSet = false;
90
91 Aws::String m_schemaName;
92 bool m_schemaNameHasBeenSet = false;
93
94 Aws::String m_schemaVersion;
95 bool m_schemaVersionHasBeenSet = false;
96
97 Aws::String m_type;
98 bool m_typeHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace Schemas
103} // 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