AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeSchemaRequest.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 DescribeSchemaRequest();
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_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 DescribeSchemaRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
51 inline DescribeSchemaRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
52 inline DescribeSchemaRequest& 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 DescribeSchemaRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
65 inline DescribeSchemaRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
66 inline DescribeSchemaRequest& 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 DescribeSchemaRequest& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;}
79 inline DescribeSchemaRequest& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;}
80 inline DescribeSchemaRequest& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;}
82 private:
83
84 Aws::String m_registryName;
85 bool m_registryNameHasBeenSet = false;
86
87 Aws::String m_schemaName;
88 bool m_schemaNameHasBeenSet = false;
89
90 Aws::String m_schemaVersion;
91 bool m_schemaVersionHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Schemas
96} // namespace Aws
DescribeSchemaRequest & WithSchemaName(Aws::String &&value)
DescribeSchemaRequest & WithSchemaName(const Aws::String &value)
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
DescribeSchemaRequest & WithSchemaVersion(const Aws::String &value)
DescribeSchemaRequest & WithRegistryName(const char *value)
AWS_SCHEMAS_API Aws::String SerializePayload() const override
DescribeSchemaRequest & WithSchemaVersion(Aws::String &&value)
DescribeSchemaRequest & WithRegistryName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
DescribeSchemaRequest & WithRegistryName(Aws::String &&value)
DescribeSchemaRequest & WithSchemaVersion(const char *value)
DescribeSchemaRequest & WithSchemaName(const char *value)
void SetRegistryName(const Aws::String &value)
void SetSchemaVersion(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String