AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetCatalogsRequest.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/GlueRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Glue
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GLUE_API GetCatalogsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetCatalogs"; }
31
32 AWS_GLUE_API Aws::String SerializePayload() const override;
33
35
36
38
42 inline const Aws::String& GetParentCatalogId() const { return m_parentCatalogId; }
43 inline bool ParentCatalogIdHasBeenSet() const { return m_parentCatalogIdHasBeenSet; }
44 template<typename ParentCatalogIdT = Aws::String>
45 void SetParentCatalogId(ParentCatalogIdT&& value) { m_parentCatalogIdHasBeenSet = true; m_parentCatalogId = std::forward<ParentCatalogIdT>(value); }
46 template<typename ParentCatalogIdT = Aws::String>
47 GetCatalogsRequest& WithParentCatalogId(ParentCatalogIdT&& value) { SetParentCatalogId(std::forward<ParentCatalogIdT>(value)); return *this;}
49
51
54 inline const Aws::String& GetNextToken() const { return m_nextToken; }
55 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
56 template<typename NextTokenT = Aws::String>
57 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
58 template<typename NextTokenT = Aws::String>
59 GetCatalogsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
61
63
66 inline int GetMaxResults() const { return m_maxResults; }
67 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
68 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
69 inline GetCatalogsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
71
73
79 inline bool GetRecursive() const { return m_recursive; }
80 inline bool RecursiveHasBeenSet() const { return m_recursiveHasBeenSet; }
81 inline void SetRecursive(bool value) { m_recursiveHasBeenSet = true; m_recursive = value; }
82 inline GetCatalogsRequest& WithRecursive(bool value) { SetRecursive(value); return *this;}
84
86
95 inline bool GetIncludeRoot() const { return m_includeRoot; }
96 inline bool IncludeRootHasBeenSet() const { return m_includeRootHasBeenSet; }
97 inline void SetIncludeRoot(bool value) { m_includeRootHasBeenSet = true; m_includeRoot = value; }
98 inline GetCatalogsRequest& WithIncludeRoot(bool value) { SetIncludeRoot(value); return *this;}
100 private:
101
102 Aws::String m_parentCatalogId;
103 bool m_parentCatalogIdHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults{0};
109 bool m_maxResultsHasBeenSet = false;
110
111 bool m_recursive{false};
112 bool m_recursiveHasBeenSet = false;
113
114 bool m_includeRoot{false};
115 bool m_includeRootHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace Glue
120} // 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