AWS SDK for C++  1.8.127
AWS SDK for C++
ListSchemaVersionsRequest.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 "ListSchemaVersions"; }
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 ListSchemaVersionsRequest& 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 ListSchemaVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
95 
101  inline ListSchemaVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
108  inline ListSchemaVersionsRequest& 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 ListSchemaVersionsRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
140 
144  inline ListSchemaVersionsRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
145 
149  inline ListSchemaVersionsRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
150 
151 
155  inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
156 
160  inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
161 
165  inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
166 
170  inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
171 
175  inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
176 
180  inline ListSchemaVersionsRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
181 
185  inline ListSchemaVersionsRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
186 
190  inline ListSchemaVersionsRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
191 
192  private:
193 
194  int m_limit;
195  bool m_limitHasBeenSet;
196 
197  Aws::String m_nextToken;
198  bool m_nextTokenHasBeenSet;
199 
200  Aws::String m_registryName;
201  bool m_registryNameHasBeenSet;
202 
203  Aws::String m_schemaName;
204  bool m_schemaNameHasBeenSet;
205  };
206 
207 } // namespace Model
208 } // namespace Schemas
209 } // namespace Aws
Aws::Schemas::Model::ListSchemaVersionsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListSchemaVersionsRequest.h:87
Aws::Schemas::Model::ListSchemaVersionsRequest::WithRegistryName
ListSchemaVersionsRequest & WithRegistryName(Aws::String &&value)
Definition: ListSchemaVersionsRequest.h:144
Aws::Http::URI
Definition: URI.h:32
Aws::Schemas::Model::ListSchemaVersionsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListSchemaVersionsRequest.h:34
Aws::Schemas::Model::ListSchemaVersionsRequest::WithNextToken
ListSchemaVersionsRequest & WithNextToken(const Aws::String &value)
Definition: ListSchemaVersionsRequest.h:94
Aws::Schemas::Model::ListSchemaVersionsRequest::ListSchemaVersionsRequest
ListSchemaVersionsRequest()
Aws::Schemas::Model::ListSchemaVersionsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: ListSchemaVersionsRequest.h:45
Aws::Schemas::SchemasRequest
Definition: SchemasRequest.h:17
Aws::Schemas::Model::ListSchemaVersionsRequest::SerializePayload
Aws::String SerializePayload() const override
SchemasRequest.h
Aws::Schemas::Model::ListSchemaVersionsRequest::WithLimit
ListSchemaVersionsRequest & WithLimit(int value)
Definition: ListSchemaVersionsRequest.h:51
Aws::Schemas::Model::ListSchemaVersionsRequest::WithRegistryName
ListSchemaVersionsRequest & WithRegistryName(const char *value)
Definition: ListSchemaVersionsRequest.h:149
Aws::Schemas::Model::ListSchemaVersionsRequest::SetSchemaName
void SetSchemaName(const char *value)
Definition: ListSchemaVersionsRequest.h:175
Aws::Schemas::Model::ListSchemaVersionsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSchemaVersionsRequest.h:80
Aws::Schemas::Model::ListSchemaVersionsRequest::WithNextToken
ListSchemaVersionsRequest & WithNextToken(const char *value)
Definition: ListSchemaVersionsRequest.h:108
Aws::Schemas::Model::ListSchemaVersionsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSchemaVersionsRequest.h:73
Aws::Schemas::Model::ListSchemaVersionsRequest
Definition: ListSchemaVersionsRequest.h:26
Schemas_EXPORTS.h
Aws::Schemas::Model::ListSchemaVersionsRequest::GetRegistryName
const Aws::String & GetRegistryName() const
Definition: ListSchemaVersionsRequest.h:114
Aws::Schemas::Model::ListSchemaVersionsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListSchemaVersionsRequest.h:66
Aws::Schemas::Model::ListSchemaVersionsRequest::SetRegistryName
void SetRegistryName(const Aws::String &value)
Definition: ListSchemaVersionsRequest.h:124
Aws::Schemas::Model::ListSchemaVersionsRequest::SchemaNameHasBeenSet
bool SchemaNameHasBeenSet() const
Definition: ListSchemaVersionsRequest.h:160
AWSString.h
Aws::Schemas::Model::ListSchemaVersionsRequest::GetSchemaName
const Aws::String & GetSchemaName() const
Definition: ListSchemaVersionsRequest.h:155
Aws::Schemas::Model::ListSchemaVersionsRequest::WithSchemaName
ListSchemaVersionsRequest & WithSchemaName(Aws::String &&value)
Definition: ListSchemaVersionsRequest.h:185
Aws::Schemas::Model::ListSchemaVersionsRequest::SetRegistryName
void SetRegistryName(const char *value)
Definition: ListSchemaVersionsRequest.h:134
Aws::Schemas::Model::ListSchemaVersionsRequest::SetSchemaName
void SetSchemaName(Aws::String &&value)
Definition: ListSchemaVersionsRequest.h:170
Aws::Schemas::Model::ListSchemaVersionsRequest::WithRegistryName
ListSchemaVersionsRequest & WithRegistryName(const Aws::String &value)
Definition: ListSchemaVersionsRequest.h:139
Aws::Schemas::Model::ListSchemaVersionsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::Schemas::Model::ListSchemaVersionsRequest::WithSchemaName
ListSchemaVersionsRequest & WithSchemaName(const Aws::String &value)
Definition: ListSchemaVersionsRequest.h:180
Aws::Schemas::Model::ListSchemaVersionsRequest::SetLimit
void SetLimit(int value)
Definition: ListSchemaVersionsRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::Schemas::Model::ListSchemaVersionsRequest::RegistryNameHasBeenSet
bool RegistryNameHasBeenSet() const
Definition: ListSchemaVersionsRequest.h:119
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Schemas::Model::ListSchemaVersionsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSchemaVersionsRequest.h:59
Aws::Schemas::Model::ListSchemaVersionsRequest::SetSchemaName
void SetSchemaName(const Aws::String &value)
Definition: ListSchemaVersionsRequest.h:165
AWS_SCHEMAS_API
#define AWS_SCHEMAS_API
Definition: Schemas_EXPORTS.h:28
Aws::Schemas::Model::ListSchemaVersionsRequest::SetRegistryName
void SetRegistryName(Aws::String &&value)
Definition: ListSchemaVersionsRequest.h:129
Aws::Schemas::Model::ListSchemaVersionsRequest::GetLimit
int GetLimit() const
Definition: ListSchemaVersionsRequest.h:42
Aws::Schemas::Model::ListSchemaVersionsRequest::WithNextToken
ListSchemaVersionsRequest & WithNextToken(Aws::String &&value)
Definition: ListSchemaVersionsRequest.h:101
Aws::Schemas::Model::ListSchemaVersionsRequest::WithSchemaName
ListSchemaVersionsRequest & WithSchemaName(const char *value)
Definition: ListSchemaVersionsRequest.h:190