AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetTableRequest.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 <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Glue
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GLUE_API GetTableRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetTable"; }
32
33 AWS_GLUE_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
44 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
45 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
46 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
47 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
48 inline GetTableRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
49 inline GetTableRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
50 inline GetTableRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
52
54
58 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
59 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
60 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
61 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
62 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
63 inline GetTableRequest& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
64 inline GetTableRequest& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
65 inline GetTableRequest& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
67
69
73 inline const Aws::String& GetName() const{ return m_name; }
74 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
75 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
76 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
77 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
78 inline GetTableRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
79 inline GetTableRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
80 inline GetTableRequest& WithName(const char* value) { SetName(value); return *this;}
82
84
87 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
88 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
89 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
90 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
91 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
92 inline GetTableRequest& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
93 inline GetTableRequest& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
94 inline GetTableRequest& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
96
98
103 inline const Aws::Utils::DateTime& GetQueryAsOfTime() const{ return m_queryAsOfTime; }
104 inline bool QueryAsOfTimeHasBeenSet() const { return m_queryAsOfTimeHasBeenSet; }
105 inline void SetQueryAsOfTime(const Aws::Utils::DateTime& value) { m_queryAsOfTimeHasBeenSet = true; m_queryAsOfTime = value; }
106 inline void SetQueryAsOfTime(Aws::Utils::DateTime&& value) { m_queryAsOfTimeHasBeenSet = true; m_queryAsOfTime = std::move(value); }
107 inline GetTableRequest& WithQueryAsOfTime(const Aws::Utils::DateTime& value) { SetQueryAsOfTime(value); return *this;}
108 inline GetTableRequest& WithQueryAsOfTime(Aws::Utils::DateTime&& value) { SetQueryAsOfTime(std::move(value)); return *this;}
110
112
116 inline bool GetIncludeStatusDetails() const{ return m_includeStatusDetails; }
117 inline bool IncludeStatusDetailsHasBeenSet() const { return m_includeStatusDetailsHasBeenSet; }
118 inline void SetIncludeStatusDetails(bool value) { m_includeStatusDetailsHasBeenSet = true; m_includeStatusDetails = value; }
119 inline GetTableRequest& WithIncludeStatusDetails(bool value) { SetIncludeStatusDetails(value); return *this;}
121 private:
122
123 Aws::String m_catalogId;
124 bool m_catalogIdHasBeenSet = false;
125
126 Aws::String m_databaseName;
127 bool m_databaseNameHasBeenSet = false;
128
129 Aws::String m_name;
130 bool m_nameHasBeenSet = false;
131
132 Aws::String m_transactionId;
133 bool m_transactionIdHasBeenSet = false;
134
135 Aws::Utils::DateTime m_queryAsOfTime;
136 bool m_queryAsOfTimeHasBeenSet = false;
137
138 bool m_includeStatusDetails;
139 bool m_includeStatusDetailsHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace Glue
144} // namespace Aws
GetTableRequest & WithTransactionId(const Aws::String &value)
void SetDatabaseName(Aws::String &&value)
void SetName(const char *value)
GetTableRequest & WithCatalogId(const char *value)
void SetCatalogId(const Aws::String &value)
const Aws::String & GetName() const
void SetTransactionId(Aws::String &&value)
GetTableRequest & WithName(const char *value)
void SetQueryAsOfTime(Aws::Utils::DateTime &&value)
GetTableRequest & WithTransactionId(Aws::String &&value)
void SetTransactionId(const char *value)
GetTableRequest & WithCatalogId(Aws::String &&value)
void SetTransactionId(const Aws::String &value)
GetTableRequest & WithIncludeStatusDetails(bool value)
GetTableRequest & WithDatabaseName(const Aws::String &value)
GetTableRequest & WithName(Aws::String &&value)
void SetName(Aws::String &&value)
void SetName(const Aws::String &value)
void SetQueryAsOfTime(const Aws::Utils::DateTime &value)
GetTableRequest & WithName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetCatalogId(const char *value)
AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetTableRequest & WithCatalogId(const Aws::String &value)
GetTableRequest & WithQueryAsOfTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetQueryAsOfTime() const
GetTableRequest & WithDatabaseName(Aws::String &&value)
GetTableRequest & WithTransactionId(const char *value)
const Aws::String & GetTransactionId() const
const Aws::String & GetCatalogId() const
void SetCatalogId(Aws::String &&value)
const Aws::String & GetDatabaseName() const
AWS_GLUE_API Aws::String SerializePayload() const override
GetTableRequest & WithDatabaseName(const char *value)
GetTableRequest & WithQueryAsOfTime(const Aws::Utils::DateTime &value)
void SetDatabaseName(const char *value)
void SetDatabaseName(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String