AWS SDK for C++

AWS SDK for C++ Version 1.11.682

Loading...
Searching...
No Matches
GetCatalogsRequest.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
11#include <utility>
12
13namespace Aws {
14namespace Glue {
15namespace Model {
16
20 public:
21 AWS_GLUE_API GetCatalogsRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetCatalogs"; }
28
29 AWS_GLUE_API Aws::String SerializePayload() const override;
30
32
34
38 inline const Aws::String& GetParentCatalogId() const { return m_parentCatalogId; }
39 inline bool ParentCatalogIdHasBeenSet() const { return m_parentCatalogIdHasBeenSet; }
40 template <typename ParentCatalogIdT = Aws::String>
41 void SetParentCatalogId(ParentCatalogIdT&& value) {
42 m_parentCatalogIdHasBeenSet = true;
43 m_parentCatalogId = std::forward<ParentCatalogIdT>(value);
44 }
45 template <typename ParentCatalogIdT = Aws::String>
46 GetCatalogsRequest& WithParentCatalogId(ParentCatalogIdT&& value) {
47 SetParentCatalogId(std::forward<ParentCatalogIdT>(value));
48 return *this;
49 }
51
53
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 GetCatalogsRequest& WithNextToken(NextTokenT&& value) {
65 SetNextToken(std::forward<NextTokenT>(value));
66 return *this;
67 }
69
71
74 inline int GetMaxResults() const { return m_maxResults; }
75 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
76 inline void SetMaxResults(int value) {
77 m_maxResultsHasBeenSet = true;
78 m_maxResults = value;
79 }
81 SetMaxResults(value);
82 return *this;
83 }
85
87
93 inline bool GetRecursive() const { return m_recursive; }
94 inline bool RecursiveHasBeenSet() const { return m_recursiveHasBeenSet; }
95 inline void SetRecursive(bool value) {
96 m_recursiveHasBeenSet = true;
97 m_recursive = value;
98 }
99 inline GetCatalogsRequest& WithRecursive(bool value) {
100 SetRecursive(value);
101 return *this;
102 }
104
106
115 inline bool GetIncludeRoot() const { return m_includeRoot; }
116 inline bool IncludeRootHasBeenSet() const { return m_includeRootHasBeenSet; }
117 inline void SetIncludeRoot(bool value) {
118 m_includeRootHasBeenSet = true;
119 m_includeRoot = value;
120 }
122 SetIncludeRoot(value);
123 return *this;
124 }
126 private:
127 Aws::String m_parentCatalogId;
128 bool m_parentCatalogIdHasBeenSet = false;
129
130 Aws::String m_nextToken;
131 bool m_nextTokenHasBeenSet = false;
132
133 int m_maxResults{0};
134 bool m_maxResultsHasBeenSet = false;
135
136 bool m_recursive{false};
137 bool m_recursiveHasBeenSet = false;
138
139 bool m_includeRoot{false};
140 bool m_includeRootHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace Glue
145} // namespace Aws
AWS_GLUE_API GetCatalogsRequest()=default
GetCatalogsRequest & WithParentCatalogId(ParentCatalogIdT &&value)
GetCatalogsRequest & WithRecursive(bool value)
const Aws::String & GetNextToken() const
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetParentCatalogId(ParentCatalogIdT &&value)
const Aws::String & GetParentCatalogId() const
GetCatalogsRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API Aws::String SerializePayload() const override
GetCatalogsRequest & WithNextToken(NextTokenT &&value)
GetCatalogsRequest & WithIncludeRoot(bool value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String