AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
48 inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
49 inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
50 inline ExportSchemaRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
51 inline ExportSchemaRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
52 inline ExportSchemaRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
54
56
59 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
60 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
61 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
62 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
63 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
64 inline ExportSchemaRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
65 inline ExportSchemaRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
66 inline ExportSchemaRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
68
70
73 inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
74 inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
75 inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
76 inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
77 inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
78 inline ExportSchemaRequest& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
79 inline ExportSchemaRequest& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
80 inline ExportSchemaRequest& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
82
84
85 inline const Aws::String& GetType() const{ return m_type; }
86 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
87 inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
88 inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
89 inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
90 inline ExportSchemaRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
91 inline ExportSchemaRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
92 inline ExportSchemaRequest& WithType(const char* value) { SetType(value); return *this;}
94 private:
95
96 Aws::String m_registryName;
97 bool m_registryNameHasBeenSet = false;
98
99 Aws::String m_schemaName;
100 bool m_schemaNameHasBeenSet = false;
101
102 Aws::String m_schemaVersion;
103 bool m_schemaVersionHasBeenSet = false;
104
105 Aws::String m_type;
106 bool m_typeHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace Schemas
111} // namespace Aws
AWS_SCHEMAS_API Aws::String SerializePayload() const override
ExportSchemaRequest & WithRegistryName(const char *value)
const Aws::String & GetRegistryName() const
void SetRegistryName(const Aws::String &value)
void SetSchemaName(const Aws::String &value)
ExportSchemaRequest & WithRegistryName(Aws::String &&value)
ExportSchemaRequest & WithType(const Aws::String &value)
ExportSchemaRequest & WithSchemaName(const char *value)
virtual const char * GetServiceRequestName() const override
ExportSchemaRequest & WithSchemaVersion(const char *value)
ExportSchemaRequest & WithSchemaName(Aws::String &&value)
ExportSchemaRequest & WithType(Aws::String &&value)
ExportSchemaRequest & WithSchemaVersion(const Aws::String &value)
void SetSchemaVersion(const Aws::String &value)
ExportSchemaRequest & WithSchemaVersion(Aws::String &&value)
void SetType(const Aws::String &value)
const Aws::String & GetSchemaVersion() const
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ExportSchemaRequest & WithRegistryName(const Aws::String &value)
ExportSchemaRequest & WithSchemaName(const Aws::String &value)
ExportSchemaRequest & WithType(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String