AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListSchemaVersionsRequest.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 ListSchemaVersionsRequest();
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_SCHEMAS_API Aws::String SerializePayload() const override;
37
38 AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
43 inline int GetLimit() const{ return m_limit; }
44 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
45 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
46 inline ListSchemaVersionsRequest& WithLimit(int value) { SetLimit(value); return *this;}
48
50
55 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
56 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
57 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
58 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
59 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
60 inline ListSchemaVersionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
61 inline ListSchemaVersionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
62 inline ListSchemaVersionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
64
66
69 inline const Aws::String& GetRegistryName() const{ return m_registryName; }
70 inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; }
71 inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; }
72 inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); }
73 inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); }
74 inline ListSchemaVersionsRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;}
75 inline ListSchemaVersionsRequest& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;}
76 inline ListSchemaVersionsRequest& WithRegistryName(const char* value) { SetRegistryName(value); return *this;}
78
80
83 inline const Aws::String& GetSchemaName() const{ return m_schemaName; }
84 inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; }
85 inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; }
86 inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); }
87 inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); }
88 inline ListSchemaVersionsRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;}
89 inline ListSchemaVersionsRequest& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;}
90 inline ListSchemaVersionsRequest& WithSchemaName(const char* value) { SetSchemaName(value); return *this;}
92 private:
93
94 int m_limit;
95 bool m_limitHasBeenSet = false;
96
97 Aws::String m_nextToken;
98 bool m_nextTokenHasBeenSet = false;
99
100 Aws::String m_registryName;
101 bool m_registryNameHasBeenSet = false;
102
103 Aws::String m_schemaName;
104 bool m_schemaNameHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace Schemas
109} // namespace Aws
ListSchemaVersionsRequest & WithRegistryName(const char *value)
ListSchemaVersionsRequest & WithLimit(int value)
AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListSchemaVersionsRequest & WithSchemaName(const char *value)
ListSchemaVersionsRequest & WithNextToken(const char *value)
ListSchemaVersionsRequest & WithSchemaName(Aws::String &&value)
ListSchemaVersionsRequest & WithRegistryName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
AWS_SCHEMAS_API Aws::String SerializePayload() const override
ListSchemaVersionsRequest & WithNextToken(Aws::String &&value)
ListSchemaVersionsRequest & WithNextToken(const Aws::String &value)
ListSchemaVersionsRequest & WithSchemaName(const Aws::String &value)
ListSchemaVersionsRequest & WithRegistryName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String