AWS SDK for C++  1.9.20
AWS SDK for C++
ExportSchemaRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Schemas
19 {
20 namespace Model
21 {
22 
26  {
27  public:
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::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
44  inline const Aws::String& GetRegistryName() const{ return m_registryName; }
45 
49  inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
50 
54  inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
55 
59  inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
60 
64  inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
65 
69  inline ExportSchemaRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
70 
74  inline ExportSchemaRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
75 
79  inline ExportSchemaRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
80 
81 
85  inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
86 
90  inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
91 
95  inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
96 
100  inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
101 
105  inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
106 
110  inline ExportSchemaRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
111 
115  inline ExportSchemaRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
116 
120  inline ExportSchemaRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
121 
122 
126  inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; }
127 
131  inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; }
132 
136  inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; }
137 
141  inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); }
142 
146  inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); }
147 
151  inline ExportSchemaRequest& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
152 
156  inline ExportSchemaRequest& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
157 
161  inline ExportSchemaRequest& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
162 
163 
164 
165  inline const Aws::String& GetType() const{ return m_type; }
166 
167 
168  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
169 
170 
171  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
172 
173 
174  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
175 
176 
177  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
178 
179 
180  inline ExportSchemaRequest& WithType(const Aws::String& value) { SetType(value); return *this;}
181 
182 
183  inline ExportSchemaRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
184 
185 
186  inline ExportSchemaRequest& WithType(const char* value) { SetType(value); return *this;}
187 
188  private:
189 
190  Aws::String m_registryName;
191  bool m_registryNameHasBeenSet;
192 
193  Aws::String m_schemaName;
194  bool m_schemaNameHasBeenSet;
195 
196  Aws::String m_schemaVersion;
197  bool m_schemaVersionHasBeenSet;
198 
199  Aws::String m_type;
200  bool m_typeHasBeenSet;
201  };
202 
203 } // namespace Model
204 } // namespace Schemas
205 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Schemas::Model::ExportSchemaRequest::SchemaVersionHasBeenSet
bool SchemaVersionHasBeenSet() const
Definition: ExportSchemaRequest.h:131
Aws::Schemas::Model::ExportSchemaRequest::SetSchemaName
void SetSchemaName(const char *value)
Definition: ExportSchemaRequest.h:105
Aws::Schemas::Model::ExportSchemaRequest::WithType
ExportSchemaRequest & WithType(const Aws::String &value)
Definition: ExportSchemaRequest.h:180
Aws::Schemas::Model::ExportSchemaRequest::WithRegistryName
ExportSchemaRequest & WithRegistryName(const char *value)
Definition: ExportSchemaRequest.h:79
Aws::Schemas::Model::ExportSchemaRequest::SetSchemaVersion
void SetSchemaVersion(const char *value)
Definition: ExportSchemaRequest.h:146
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
Aws::Schemas::Model::ExportSchemaRequest::WithType
ExportSchemaRequest & WithType(const char *value)
Definition: ExportSchemaRequest.h:186
SchemasRequest.h
Aws::Schemas::Model::ExportSchemaRequest::WithRegistryName
ExportSchemaRequest & WithRegistryName(Aws::String &&value)
Definition: ExportSchemaRequest.h:74
Aws::Schemas::Model::ExportSchemaRequest::SetType
void SetType(const Aws::String &value)
Definition: ExportSchemaRequest.h:171
Aws::Schemas::Model::ExportSchemaRequest::WithSchemaVersion
ExportSchemaRequest & WithSchemaVersion(Aws::String &&value)
Definition: ExportSchemaRequest.h:156
Aws::Schemas::Model::ExportSchemaRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Schemas::Model::ExportSchemaRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: ExportSchemaRequest.h:44
Aws::Schemas::Model::ExportSchemaRequest::SetSchemaName
void SetSchemaName(const Aws::String &value)
Definition: ExportSchemaRequest.h:95
Aws::Schemas::Model::ExportSchemaRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: ExportSchemaRequest.h:59
Schemas_EXPORTS.h
Aws::Schemas::Model::ExportSchemaRequest::SchemaNameHasBeenSet
bool SchemaNameHasBeenSet() const
Definition: ExportSchemaRequest.h:90
Aws::Schemas::Model::ExportSchemaRequest::SetSchemaVersion
void SetSchemaVersion(Aws::String &&value)
Definition: ExportSchemaRequest.h:141
Aws::Schemas::Model::ExportSchemaRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::ExportSchemaRequest::WithRegistryName
ExportSchemaRequest & WithRegistryName(const Aws::String &value)
Definition: ExportSchemaRequest.h:69
Aws::Schemas::Model::ExportSchemaRequest::WithSchemaVersion
ExportSchemaRequest & WithSchemaVersion(const char *value)
Definition: ExportSchemaRequest.h:161
Aws::Schemas::Model::ExportSchemaRequest::GetSchemaName
const Aws::String & GetSchemaName() const
Definition: ExportSchemaRequest.h:85
Aws::Schemas::Model::ExportSchemaRequest::WithSchemaVersion
ExportSchemaRequest & WithSchemaVersion(const Aws::String &value)
Definition: ExportSchemaRequest.h:151
Aws::Schemas::Model::ExportSchemaRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ExportSchemaRequest.h:168
AWSString.h
Aws::Schemas::Model::ExportSchemaRequest::WithSchemaName
ExportSchemaRequest & WithSchemaName(const Aws::String &value)
Definition: ExportSchemaRequest.h:110
Aws::Schemas::Model::ExportSchemaRequest::SetSchemaVersion
void SetSchemaVersion(const Aws::String &value)
Definition: ExportSchemaRequest.h:136
Aws::Schemas::Model::ExportSchemaRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: ExportSchemaRequest.h:64
Aws::Schemas::Model::ExportSchemaRequest::GetSchemaVersion
const Aws::String & GetSchemaVersion() const
Definition: ExportSchemaRequest.h:126
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::ExportSchemaRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: ExportSchemaRequest.h:49
Aws::Schemas::Model::ExportSchemaRequest::GetType
const Aws::String & GetType() const
Definition: ExportSchemaRequest.h:165
Aws::Schemas::Model::ExportSchemaRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ExportSchemaRequest.h:34
Aws::Schemas::Model::ExportSchemaRequest::SetType
void SetType(Aws::String &&value)
Definition: ExportSchemaRequest.h:174
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::ExportSchemaRequest::SetType
void SetType(const char *value)
Definition: ExportSchemaRequest.h:177
Aws::Schemas::Model::ExportSchemaRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: ExportSchemaRequest.h:54
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::ExportSchemaRequest
Definition: ExportSchemaRequest.h:26
Aws::Schemas::Model::ExportSchemaRequest::WithSchemaName
ExportSchemaRequest & WithSchemaName(Aws::String &&value)
Definition: ExportSchemaRequest.h:115
Aws::Schemas::Model::ExportSchemaRequest::WithSchemaName
ExportSchemaRequest & WithSchemaName(const char *value)
Definition: ExportSchemaRequest.h:120
Aws::Schemas::Model::ExportSchemaRequest::SetSchemaName
void SetSchemaName(Aws::String &&value)
Definition: ExportSchemaRequest.h:100
Aws::Schemas::Model::ExportSchemaRequest::WithType
ExportSchemaRequest & WithType(Aws::String &&value)
Definition: ExportSchemaRequest.h:183
Aws::Schemas::Model::ExportSchemaRequest::ExportSchemaRequest
ExportSchemaRequest()