AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeEntityRequest.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 DescribeEntityRequest() = 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 "DescribeEntity"; }
28
29 AWS_GLUE_API Aws::String SerializePayload() const override;
30
32
34
37 inline const Aws::String& GetConnectionName() const { return m_connectionName; }
38 inline bool ConnectionNameHasBeenSet() const { return m_connectionNameHasBeenSet; }
39 template <typename ConnectionNameT = Aws::String>
40 void SetConnectionName(ConnectionNameT&& value) {
41 m_connectionNameHasBeenSet = true;
42 m_connectionName = std::forward<ConnectionNameT>(value);
43 }
44 template <typename ConnectionNameT = Aws::String>
45 DescribeEntityRequest& WithConnectionName(ConnectionNameT&& value) {
46 SetConnectionName(std::forward<ConnectionNameT>(value));
47 return *this;
48 }
50
52
56 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
57 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
58 template <typename CatalogIdT = Aws::String>
59 void SetCatalogId(CatalogIdT&& value) {
60 m_catalogIdHasBeenSet = true;
61 m_catalogId = std::forward<CatalogIdT>(value);
62 }
63 template <typename CatalogIdT = Aws::String>
64 DescribeEntityRequest& WithCatalogId(CatalogIdT&& value) {
65 SetCatalogId(std::forward<CatalogIdT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::String& GetEntityName() const { return m_entityName; }
76 inline bool EntityNameHasBeenSet() const { return m_entityNameHasBeenSet; }
77 template <typename EntityNameT = Aws::String>
78 void SetEntityName(EntityNameT&& value) {
79 m_entityNameHasBeenSet = true;
80 m_entityName = std::forward<EntityNameT>(value);
81 }
82 template <typename EntityNameT = Aws::String>
83 DescribeEntityRequest& WithEntityName(EntityNameT&& value) {
84 SetEntityName(std::forward<EntityNameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetNextToken() const { return m_nextToken; }
94 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
95 template <typename NextTokenT = Aws::String>
96 void SetNextToken(NextTokenT&& value) {
97 m_nextTokenHasBeenSet = true;
98 m_nextToken = std::forward<NextTokenT>(value);
99 }
100 template <typename NextTokenT = Aws::String>
102 SetNextToken(std::forward<NextTokenT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetDataStoreApiVersion() const { return m_dataStoreApiVersion; }
112 inline bool DataStoreApiVersionHasBeenSet() const { return m_dataStoreApiVersionHasBeenSet; }
113 template <typename DataStoreApiVersionT = Aws::String>
114 void SetDataStoreApiVersion(DataStoreApiVersionT&& value) {
115 m_dataStoreApiVersionHasBeenSet = true;
116 m_dataStoreApiVersion = std::forward<DataStoreApiVersionT>(value);
117 }
118 template <typename DataStoreApiVersionT = Aws::String>
119 DescribeEntityRequest& WithDataStoreApiVersion(DataStoreApiVersionT&& value) {
120 SetDataStoreApiVersion(std::forward<DataStoreApiVersionT>(value));
121 return *this;
122 }
124 private:
125 Aws::String m_connectionName;
126
127 Aws::String m_catalogId;
128
129 Aws::String m_entityName;
130
131 Aws::String m_nextToken;
132
133 Aws::String m_dataStoreApiVersion;
134 bool m_connectionNameHasBeenSet = false;
135 bool m_catalogIdHasBeenSet = false;
136 bool m_entityNameHasBeenSet = false;
137 bool m_nextTokenHasBeenSet = false;
138 bool m_dataStoreApiVersionHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace Glue
143} // namespace Aws
const Aws::String & GetConnectionName() const
DescribeEntityRequest & WithNextToken(NextTokenT &&value)
void SetDataStoreApiVersion(DataStoreApiVersionT &&value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_GLUE_API Aws::String SerializePayload() const override
AWS_GLUE_API DescribeEntityRequest()=default
DescribeEntityRequest & WithCatalogId(CatalogIdT &&value)
DescribeEntityRequest & WithDataStoreApiVersion(DataStoreApiVersionT &&value)
DescribeEntityRequest & WithEntityName(EntityNameT &&value)
const Aws::String & GetDataStoreApiVersion() const
void SetConnectionName(ConnectionNameT &&value)
DescribeEntityRequest & WithConnectionName(ConnectionNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String