AWS SDK for C++  1.8.127
AWS SDK for C++
DescribeSchemaRequest.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 "DescribeSchema"; }
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 DescribeSchemaRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
70 
74  inline DescribeSchemaRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
75 
79  inline DescribeSchemaRequest& 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 DescribeSchemaRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
111 
115  inline DescribeSchemaRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
116 
120  inline DescribeSchemaRequest& 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 DescribeSchemaRequest& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
152 
156  inline DescribeSchemaRequest& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
157 
161  inline DescribeSchemaRequest& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
162 
163  private:
164 
165  Aws::String m_registryName;
166  bool m_registryNameHasBeenSet;
167 
168  Aws::String m_schemaName;
169  bool m_schemaNameHasBeenSet;
170 
171  Aws::String m_schemaVersion;
172  bool m_schemaVersionHasBeenSet;
173  };
174 
175 } // namespace Model
176 } // namespace Schemas
177 } // namespace Aws
Aws::Schemas::Model::DescribeSchemaRequest::WithSchemaVersion
DescribeSchemaRequest & WithSchemaVersion(const char *value)
Definition: DescribeSchemaRequest.h:161
Aws::Schemas::Model::DescribeSchemaRequest::SetSchemaName
void SetSchemaName(const char *value)
Definition: DescribeSchemaRequest.h:105
Aws::Schemas::Model::DescribeSchemaRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: DescribeSchemaRequest.h:44
Aws::Schemas::Model::DescribeSchemaRequest::SchemaNameHasBeenSet
bool SchemaNameHasBeenSet() const
Definition: DescribeSchemaRequest.h:90
Aws::Schemas::Model::DescribeSchemaRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeSchemaRequest.h:34
Aws::Http::URI
Definition: URI.h:32
Aws::Schemas::Model::DescribeSchemaRequest::WithSchemaName
DescribeSchemaRequest & WithSchemaName(const char *value)
Definition: DescribeSchemaRequest.h:120
Aws::Schemas::Model::DescribeSchemaRequest::WithRegistryName
DescribeSchemaRequest & WithRegistryName(const Aws::String &value)
Definition: DescribeSchemaRequest.h:69
Aws::Schemas::Model::DescribeSchemaRequest::WithSchemaName
DescribeSchemaRequest & WithSchemaName(const Aws::String &value)
Definition: DescribeSchemaRequest.h:110
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
SchemasRequest.h
Aws::Schemas::Model::DescribeSchemaRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: DescribeSchemaRequest.h:54
Aws::Schemas::Model::DescribeSchemaRequest::GetSchemaName
const Aws::String & GetSchemaName() const
Definition: DescribeSchemaRequest.h:85
Aws::Schemas::Model::DescribeSchemaRequest::WithSchemaVersion
DescribeSchemaRequest & WithSchemaVersion(const Aws::String &value)
Definition: DescribeSchemaRequest.h:151
Aws::Schemas::Model::DescribeSchemaRequest::SetSchemaVersion
void SetSchemaVersion(Aws::String &&value)
Definition: DescribeSchemaRequest.h:141
Aws::Schemas::Model::DescribeSchemaRequest::WithSchemaVersion
DescribeSchemaRequest & WithSchemaVersion(Aws::String &&value)
Definition: DescribeSchemaRequest.h:156
Schemas_EXPORTS.h
Aws::Schemas::Model::DescribeSchemaRequest
Definition: DescribeSchemaRequest.h:26
Aws::Schemas::Model::DescribeSchemaRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: DescribeSchemaRequest.h:59
Aws::Schemas::Model::DescribeSchemaRequest::SetSchemaVersion
void SetSchemaVersion(const char *value)
Definition: DescribeSchemaRequest.h:146
Aws::Schemas::Model::DescribeSchemaRequest::SchemaVersionHasBeenSet
bool SchemaVersionHasBeenSet() const
Definition: DescribeSchemaRequest.h:131
AWSString.h
Aws::Schemas::Model::DescribeSchemaRequest::DescribeSchemaRequest
DescribeSchemaRequest()
Aws::Schemas::Model::DescribeSchemaRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: DescribeSchemaRequest.h:64
Aws::Schemas::Model::DescribeSchemaRequest::WithRegistryName
DescribeSchemaRequest & WithRegistryName(Aws::String &&value)
Definition: DescribeSchemaRequest.h:74
Aws::Schemas::Model::DescribeSchemaRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: DescribeSchemaRequest.h:49
Aws::Schemas::Model::DescribeSchemaRequest::SetSchemaName
void SetSchemaName(const Aws::String &value)
Definition: DescribeSchemaRequest.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::DescribeSchemaRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::DescribeSchemaRequest::GetSchemaVersion
const Aws::String & GetSchemaVersion() const
Definition: DescribeSchemaRequest.h:126
Aws::Schemas::Model::DescribeSchemaRequest::SetSchemaName
void SetSchemaName(Aws::String &&value)
Definition: DescribeSchemaRequest.h:100
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::DescribeSchemaRequest::SetSchemaVersion
void SetSchemaVersion(const Aws::String &value)
Definition: DescribeSchemaRequest.h:136
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::DescribeSchemaRequest::WithRegistryName
DescribeSchemaRequest & WithRegistryName(const char *value)
Definition: DescribeSchemaRequest.h:79
Aws::Schemas::Model::DescribeSchemaRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Schemas::Model::DescribeSchemaRequest::WithSchemaName
DescribeSchemaRequest & WithSchemaName(Aws::String &&value)
Definition: DescribeSchemaRequest.h:115