AWS SDK for C++  1.8.127
AWS SDK for C++
ListSchemasRequest.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 "ListSchemas"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
41 
42  inline int GetLimit() const{ return m_limit; }
43 
44 
45  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
46 
47 
48  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
49 
50 
51  inline ListSchemasRequest& WithLimit(int value) { SetLimit(value); return *this;}
52 
53 
59  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
60 
66  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
67 
73  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 
80  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
81 
87  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
88 
94  inline ListSchemasRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
95 
101  inline ListSchemasRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
108  inline ListSchemasRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109 
110 
114  inline const Aws::String& GetRegistryName() const{ return m_registryName; }
115 
119  inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
120 
124  inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
125 
129  inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
130 
134  inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
135 
139  inline ListSchemasRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
140 
144  inline ListSchemasRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
145 
149  inline ListSchemasRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
150 
151 
156  inline const Aws::String& GetSchemaNamePrefix() const{ return m_schemaNamePrefix; }
157 
162  inline bool SchemaNamePrefixHasBeenSet() const { return m_schemaNamePrefixHasBeenSet; }
163 
168  inline void SetSchemaNamePrefix(const Aws::String& value) { m_schemaNamePrefixHasBeenSet = true; m_schemaNamePrefix = value; }
169 
174  inline void SetSchemaNamePrefix(Aws::String&& value) { m_schemaNamePrefixHasBeenSet = true; m_schemaNamePrefix = std::move(value); }
175 
180  inline void SetSchemaNamePrefix(const char* value) { m_schemaNamePrefixHasBeenSet = true; m_schemaNamePrefix.assign(value); }
181 
186  inline ListSchemasRequest& WithSchemaNamePrefix(const Aws::String& value) { SetSchemaNamePrefix(value); return *this;}
187 
192  inline ListSchemasRequest& WithSchemaNamePrefix(Aws::String&& value) { SetSchemaNamePrefix(std::move(value)); return *this;}
193 
198  inline ListSchemasRequest& WithSchemaNamePrefix(const char* value) { SetSchemaNamePrefix(value); return *this;}
199 
200  private:
201 
202  int m_limit;
203  bool m_limitHasBeenSet;
204 
205  Aws::String m_nextToken;
206  bool m_nextTokenHasBeenSet;
207 
208  Aws::String m_registryName;
209  bool m_registryNameHasBeenSet;
210 
211  Aws::String m_schemaNamePrefix;
212  bool m_schemaNamePrefixHasBeenSet;
213  };
214 
215 } // namespace Model
216 } // namespace Schemas
217 } // namespace Aws
Aws::Schemas::Model::ListSchemasRequest::SetSchemaNamePrefix
void SetSchemaNamePrefix(const char *value)
Definition: ListSchemasRequest.h:180
Aws::Http::URI
Definition: URI.h:32
Aws::Schemas::Model::ListSchemasRequest::WithSchemaNamePrefix
ListSchemasRequest & WithSchemaNamePrefix(const Aws::String &value)
Definition: ListSchemasRequest.h:186
Aws::Schemas::Model::ListSchemasRequest::WithNextToken
ListSchemasRequest & WithNextToken(const Aws::String &value)
Definition: ListSchemasRequest.h:94
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
Aws::Schemas::Model::ListSchemasRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSchemasRequest.h:73
Aws::Schemas::Model::ListSchemasRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: ListSchemasRequest.h:114
SchemasRequest.h
Aws::Schemas::Model::ListSchemasRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSchemasRequest.h:59
Aws::Schemas::Model::ListSchemasRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSchemasRequest.h:66
Aws::Schemas::Model::ListSchemasRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSchemasRequest.h:87
Aws::Schemas::Model::ListSchemasRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: ListSchemasRequest.h:124
Aws::Schemas::Model::ListSchemasRequest::WithSchemaNamePrefix
ListSchemasRequest & WithSchemaNamePrefix(const char *value)
Definition: ListSchemasRequest.h:198
Aws::Schemas::Model::ListSchemasRequest::WithNextToken
ListSchemasRequest & WithNextToken(Aws::String &&value)
Definition: ListSchemasRequest.h:101
Aws::Schemas::Model::ListSchemasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSchemasRequest.h:34
Aws::Schemas::Model::ListSchemasRequest::WithRegistryName
ListSchemasRequest & WithRegistryName(const Aws::String &value)
Definition: ListSchemasRequest.h:139
Schemas_EXPORTS.h
Aws::Schemas::Model::ListSchemasRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Schemas::Model::ListSchemasRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: ListSchemasRequest.h:134
AWSString.h
Aws::Schemas::Model::ListSchemasRequest::WithNextToken
ListSchemasRequest & WithNextToken(const char *value)
Definition: ListSchemasRequest.h:108
Aws::Schemas::Model::ListSchemasRequest::WithRegistryName
ListSchemasRequest & WithRegistryName(const char *value)
Definition: ListSchemasRequest.h:149
Aws::Schemas::Model::ListSchemasRequest::WithSchemaNamePrefix
ListSchemasRequest & WithSchemaNamePrefix(Aws::String &&value)
Definition: ListSchemasRequest.h:192
Aws::Schemas::Model::ListSchemasRequest::SchemaNamePrefixHasBeenSet
bool SchemaNamePrefixHasBeenSet() const
Definition: ListSchemasRequest.h:162
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::ListSchemasRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListSchemasRequest.h:45
Aws::Schemas::Model::ListSchemasRequest::ListSchemasRequest
ListSchemasRequest()
Aws::Schemas::Model::ListSchemasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Schemas::Model::ListSchemasRequest::WithLimit
ListSchemasRequest & WithLimit(int value)
Definition: ListSchemasRequest.h:51
Aws::Schemas::Model::ListSchemasRequest::GetLimit
int GetLimit() const
Definition: ListSchemasRequest.h:42
Aws::Schemas::Model::ListSchemasRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: ListSchemasRequest.h:119
Aws::Schemas::Model::ListSchemasRequest::WithRegistryName
ListSchemasRequest & WithRegistryName(Aws::String &&value)
Definition: ListSchemasRequest.h:144
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::ListSchemasRequest::GetSchemaNamePrefix
const Aws::String & GetSchemaNamePrefix() const
Definition: ListSchemasRequest.h:156
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::ListSchemasRequest::SetSchemaNamePrefix
void SetSchemaNamePrefix(const Aws::String &value)
Definition: ListSchemasRequest.h:168
Aws::Schemas::Model::ListSchemasRequest::SetLimit
void SetLimit(int value)
Definition: ListSchemasRequest.h:48
Aws::Schemas::Model::ListSchemasRequest
Definition: ListSchemasRequest.h:26
Aws::Schemas::Model::ListSchemasRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: ListSchemasRequest.h:129
Aws::Schemas::Model::ListSchemasRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSchemasRequest.h:80
Aws::Schemas::Model::ListSchemasRequest::SetSchemaNamePrefix
void SetSchemaNamePrefix(Aws::String &&value)
Definition: ListSchemasRequest.h:174