AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QueryPlanningContext.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace LakeFormation
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_LAKEFORMATION_API QueryPlanningContext();
38 AWS_LAKEFORMATION_API QueryPlanningContext(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetCatalogId() const{ return m_catalogId; }
49 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
50 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
51 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
52 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
53 inline QueryPlanningContext& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
54 inline QueryPlanningContext& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
55 inline QueryPlanningContext& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
57
59
62 inline const Aws::String& GetDatabaseName() const{ return m_databaseName; }
63 inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; }
64 inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; }
65 inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); }
66 inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); }
67 inline QueryPlanningContext& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;}
68 inline QueryPlanningContext& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;}
69 inline QueryPlanningContext& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;}
71
73
78 inline const Aws::Utils::DateTime& GetQueryAsOfTime() const{ return m_queryAsOfTime; }
79 inline bool QueryAsOfTimeHasBeenSet() const { return m_queryAsOfTimeHasBeenSet; }
80 inline void SetQueryAsOfTime(const Aws::Utils::DateTime& value) { m_queryAsOfTimeHasBeenSet = true; m_queryAsOfTime = value; }
81 inline void SetQueryAsOfTime(Aws::Utils::DateTime&& value) { m_queryAsOfTimeHasBeenSet = true; m_queryAsOfTime = std::move(value); }
82 inline QueryPlanningContext& WithQueryAsOfTime(const Aws::Utils::DateTime& value) { SetQueryAsOfTime(value); return *this;}
83 inline QueryPlanningContext& WithQueryAsOfTime(Aws::Utils::DateTime&& value) { SetQueryAsOfTime(std::move(value)); return *this;}
85
87
90 inline const Aws::Map<Aws::String, Aws::String>& GetQueryParameters() const{ return m_queryParameters; }
91 inline bool QueryParametersHasBeenSet() const { return m_queryParametersHasBeenSet; }
92 inline void SetQueryParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_queryParametersHasBeenSet = true; m_queryParameters = value; }
93 inline void SetQueryParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_queryParametersHasBeenSet = true; m_queryParameters = std::move(value); }
96 inline QueryPlanningContext& AddQueryParameters(const Aws::String& key, const Aws::String& value) { m_queryParametersHasBeenSet = true; m_queryParameters.emplace(key, value); return *this; }
97 inline QueryPlanningContext& AddQueryParameters(Aws::String&& key, const Aws::String& value) { m_queryParametersHasBeenSet = true; m_queryParameters.emplace(std::move(key), value); return *this; }
98 inline QueryPlanningContext& AddQueryParameters(const Aws::String& key, Aws::String&& value) { m_queryParametersHasBeenSet = true; m_queryParameters.emplace(key, std::move(value)); return *this; }
99 inline QueryPlanningContext& AddQueryParameters(Aws::String&& key, Aws::String&& value) { m_queryParametersHasBeenSet = true; m_queryParameters.emplace(std::move(key), std::move(value)); return *this; }
100 inline QueryPlanningContext& AddQueryParameters(const char* key, Aws::String&& value) { m_queryParametersHasBeenSet = true; m_queryParameters.emplace(key, std::move(value)); return *this; }
101 inline QueryPlanningContext& AddQueryParameters(Aws::String&& key, const char* value) { m_queryParametersHasBeenSet = true; m_queryParameters.emplace(std::move(key), value); return *this; }
102 inline QueryPlanningContext& AddQueryParameters(const char* key, const char* value) { m_queryParametersHasBeenSet = true; m_queryParameters.emplace(key, value); return *this; }
104
106
113 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
114 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
115 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
116 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
117 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
118 inline QueryPlanningContext& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
119 inline QueryPlanningContext& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
120 inline QueryPlanningContext& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
122 private:
123
124 Aws::String m_catalogId;
125 bool m_catalogIdHasBeenSet = false;
126
127 Aws::String m_databaseName;
128 bool m_databaseNameHasBeenSet = false;
129
130 Aws::Utils::DateTime m_queryAsOfTime;
131 bool m_queryAsOfTimeHasBeenSet = false;
132
133 Aws::Map<Aws::String, Aws::String> m_queryParameters;
134 bool m_queryParametersHasBeenSet = false;
135
136 Aws::String m_transactionId;
137 bool m_transactionIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace LakeFormation
142} // namespace Aws
QueryPlanningContext & WithCatalogId(const Aws::String &value)
QueryPlanningContext & WithQueryParameters(const Aws::Map< Aws::String, Aws::String > &value)
QueryPlanningContext & AddQueryParameters(Aws::String &&key, const char *value)
QueryPlanningContext & AddQueryParameters(const char *key, const char *value)
void SetQueryParameters(const Aws::Map< Aws::String, Aws::String > &value)
QueryPlanningContext & WithQueryAsOfTime(Aws::Utils::DateTime &&value)
QueryPlanningContext & WithTransactionId(Aws::String &&value)
QueryPlanningContext & WithQueryAsOfTime(const Aws::Utils::DateTime &value)
const Aws::Map< Aws::String, Aws::String > & GetQueryParameters() const
QueryPlanningContext & WithQueryParameters(Aws::Map< Aws::String, Aws::String > &&value)
QueryPlanningContext & WithTransactionId(const char *value)
QueryPlanningContext & WithDatabaseName(const char *value)
QueryPlanningContext & AddQueryParameters(const char *key, Aws::String &&value)
QueryPlanningContext & WithDatabaseName(Aws::String &&value)
QueryPlanningContext & WithCatalogId(const char *value)
QueryPlanningContext & AddQueryParameters(Aws::String &&key, const Aws::String &value)
AWS_LAKEFORMATION_API QueryPlanningContext(Aws::Utils::Json::JsonView jsonValue)
QueryPlanningContext & WithDatabaseName(const Aws::String &value)
QueryPlanningContext & AddQueryParameters(const Aws::String &key, const Aws::String &value)
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetQueryAsOfTime(Aws::Utils::DateTime &&value)
AWS_LAKEFORMATION_API QueryPlanningContext & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetQueryParameters(Aws::Map< Aws::String, Aws::String > &&value)
QueryPlanningContext & WithCatalogId(Aws::String &&value)
QueryPlanningContext & AddQueryParameters(Aws::String &&key, Aws::String &&value)
QueryPlanningContext & WithTransactionId(const Aws::String &value)
void SetQueryAsOfTime(const Aws::Utils::DateTime &value)
QueryPlanningContext & AddQueryParameters(const Aws::String &key, Aws::String &&value)
const Aws::Utils::DateTime & GetQueryAsOfTime() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue