AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeSchemaRequest.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 DescribeSchemaRequest() = 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 "DescribeSchema"; }
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 DescribeSchemaRequest& 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 DescribeSchemaRequest& 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 DescribeSchemaRequest& WithSchemaVersion(SchemaVersionT&& value) {
85 SetSchemaVersion(std::forward<SchemaVersionT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_registryName;
91
92 Aws::String m_schemaName;
93
94 Aws::String m_schemaVersion;
95 bool m_registryNameHasBeenSet = false;
96 bool m_schemaNameHasBeenSet = false;
97 bool m_schemaVersionHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace Schemas
102} // namespace Aws
DescribeSchemaRequest & WithSchemaName(SchemaNameT &&value)
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_SCHEMAS_API DescribeSchemaRequest()=default
AWS_SCHEMAS_API Aws::String SerializePayload() const override
DescribeSchemaRequest & WithSchemaVersion(SchemaVersionT &&value)
virtual const char * GetServiceRequestName() const override
DescribeSchemaRequest & WithRegistryName(RegistryNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String