AWS SDK for C++

AWS SDK for C++ Version 1.11.689

Loading...
Searching...
No Matches
ListSchemasRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/RegistryId.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Glue {
16namespace Model {
17
21 public:
22 AWS_GLUE_API ListSchemasRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "ListSchemas"; }
29
30 AWS_GLUE_API Aws::String SerializePayload() const override;
31
33
35
39 inline const RegistryId& GetRegistryId() const { return m_registryId; }
40 inline bool RegistryIdHasBeenSet() const { return m_registryIdHasBeenSet; }
41 template <typename RegistryIdT = RegistryId>
42 void SetRegistryId(RegistryIdT&& value) {
43 m_registryIdHasBeenSet = true;
44 m_registryId = std::forward<RegistryIdT>(value);
45 }
46 template <typename RegistryIdT = RegistryId>
47 ListSchemasRequest& WithRegistryId(RegistryIdT&& value) {
48 SetRegistryId(std::forward<RegistryIdT>(value));
49 return *this;
50 }
52
54
58 inline int GetMaxResults() const { return m_maxResults; }
59 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
60 inline void SetMaxResults(int value) {
61 m_maxResultsHasBeenSet = true;
62 m_maxResults = value;
63 }
65 SetMaxResults(value);
66 return *this;
67 }
69
71
74 inline const Aws::String& GetNextToken() const { return m_nextToken; }
75 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 template <typename NextTokenT = Aws::String>
77 void SetNextToken(NextTokenT&& value) {
78 m_nextTokenHasBeenSet = true;
79 m_nextToken = std::forward<NextTokenT>(value);
80 }
81 template <typename NextTokenT = Aws::String>
82 ListSchemasRequest& WithNextToken(NextTokenT&& value) {
83 SetNextToken(std::forward<NextTokenT>(value));
84 return *this;
85 }
87 private:
88 RegistryId m_registryId;
89 bool m_registryIdHasBeenSet = false;
90
91 int m_maxResults{0};
92 bool m_maxResultsHasBeenSet = false;
93
94 Aws::String m_nextToken;
95 bool m_nextTokenHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace Glue
100} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const RegistryId & GetRegistryId() const
ListSchemasRequest & WithMaxResults(int value)
ListSchemasRequest & WithRegistryId(RegistryIdT &&value)
void SetRegistryId(RegistryIdT &&value)
const Aws::String & GetNextToken() const
ListSchemasRequest & WithNextToken(NextTokenT &&value)
AWS_GLUE_API ListSchemasRequest()=default
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String