AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ListSchemasRequest.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 ListSchemasRequest() = 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 "ListSchemas"; }
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
38 inline int GetLimit() const { return m_limit; }
39 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
40 inline void SetLimit(int value) {
41 m_limitHasBeenSet = true;
42 m_limit = value;
43 }
44 inline ListSchemasRequest& WithLimit(int value) {
45 SetLimit(value);
46 return *this;
47 }
49
51
56 inline const Aws::String& GetNextToken() const { return m_nextToken; }
57 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58 template <typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) {
60 m_nextTokenHasBeenSet = true;
61 m_nextToken = std::forward<NextTokenT>(value);
62 }
63 template <typename NextTokenT = Aws::String>
64 ListSchemasRequest& WithNextToken(NextTokenT&& value) {
65 SetNextToken(std::forward<NextTokenT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetRegistryName() const { return m_registryName; }
75 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
76 template <typename RegistryNameT = Aws::String>
77 void SetRegistryName(RegistryNameT&& value) {
78 m_registryNameHasBeenSet = true;
79 m_registryName = std::forward<RegistryNameT>(value);
80 }
81 template <typename RegistryNameT = Aws::String>
82 ListSchemasRequest& WithRegistryName(RegistryNameT&& value) {
83 SetRegistryName(std::forward<RegistryNameT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetSchemaNamePrefix() const { return m_schemaNamePrefix; }
94 inline bool SchemaNamePrefixHasBeenSet() const { return m_schemaNamePrefixHasBeenSet; }
95 template <typename SchemaNamePrefixT = Aws::String>
96 void SetSchemaNamePrefix(SchemaNamePrefixT&& value) {
97 m_schemaNamePrefixHasBeenSet = true;
98 m_schemaNamePrefix = std::forward<SchemaNamePrefixT>(value);
99 }
100 template <typename SchemaNamePrefixT = Aws::String>
101 ListSchemasRequest& WithSchemaNamePrefix(SchemaNamePrefixT&& value) {
102 SetSchemaNamePrefix(std::forward<SchemaNamePrefixT>(value));
103 return *this;
104 }
106 private:
107 int m_limit{0};
108
109 Aws::String m_nextToken;
110
111 Aws::String m_registryName;
112
113 Aws::String m_schemaNamePrefix;
114 bool m_limitHasBeenSet = false;
115 bool m_nextTokenHasBeenSet = false;
116 bool m_registryNameHasBeenSet = false;
117 bool m_schemaNamePrefixHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace Schemas
122} // namespace Aws
void SetRegistryName(RegistryNameT &&value)
AWS_SCHEMAS_API ListSchemasRequest()=default
const Aws::String & GetRegistryName() const
const Aws::String & GetSchemaNamePrefix() const
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetNextToken() const
AWS_SCHEMAS_API Aws::String SerializePayload() const override
ListSchemasRequest & WithSchemaNamePrefix(SchemaNamePrefixT &&value)
ListSchemasRequest & WithNextToken(NextTokenT &&value)
void SetSchemaNamePrefix(SchemaNamePrefixT &&value)
ListSchemasRequest & WithRegistryName(RegistryNameT &&value)
ListSchemasRequest & WithLimit(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String