AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
QuerySessionContext.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
37 {
38 public:
39 AWS_LAKEFORMATION_API QuerySessionContext();
40 AWS_LAKEFORMATION_API QuerySessionContext(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LAKEFORMATION_API QuerySessionContext& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetQueryId() const{ return m_queryId; }
50 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
51 inline void SetQueryId(const Aws::String& value) { m_queryIdHasBeenSet = true; m_queryId = value; }
52 inline void SetQueryId(Aws::String&& value) { m_queryIdHasBeenSet = true; m_queryId = std::move(value); }
53 inline void SetQueryId(const char* value) { m_queryIdHasBeenSet = true; m_queryId.assign(value); }
54 inline QuerySessionContext& WithQueryId(const Aws::String& value) { SetQueryId(value); return *this;}
55 inline QuerySessionContext& WithQueryId(Aws::String&& value) { SetQueryId(std::move(value)); return *this;}
56 inline QuerySessionContext& WithQueryId(const char* value) { SetQueryId(value); return *this;}
58
60
63 inline const Aws::Utils::DateTime& GetQueryStartTime() const{ return m_queryStartTime; }
64 inline bool QueryStartTimeHasBeenSet() const { return m_queryStartTimeHasBeenSet; }
65 inline void SetQueryStartTime(const Aws::Utils::DateTime& value) { m_queryStartTimeHasBeenSet = true; m_queryStartTime = value; }
66 inline void SetQueryStartTime(Aws::Utils::DateTime&& value) { m_queryStartTimeHasBeenSet = true; m_queryStartTime = std::move(value); }
68 inline QuerySessionContext& WithQueryStartTime(Aws::Utils::DateTime&& value) { SetQueryStartTime(std::move(value)); return *this;}
70
72
75 inline const Aws::String& GetClusterId() const{ return m_clusterId; }
76 inline bool ClusterIdHasBeenSet() const { return m_clusterIdHasBeenSet; }
77 inline void SetClusterId(const Aws::String& value) { m_clusterIdHasBeenSet = true; m_clusterId = value; }
78 inline void SetClusterId(Aws::String&& value) { m_clusterIdHasBeenSet = true; m_clusterId = std::move(value); }
79 inline void SetClusterId(const char* value) { m_clusterIdHasBeenSet = true; m_clusterId.assign(value); }
80 inline QuerySessionContext& WithClusterId(const Aws::String& value) { SetClusterId(value); return *this;}
81 inline QuerySessionContext& WithClusterId(Aws::String&& value) { SetClusterId(std::move(value)); return *this;}
82 inline QuerySessionContext& WithClusterId(const char* value) { SetClusterId(value); return *this;}
84
86
90 inline const Aws::String& GetQueryAuthorizationId() const{ return m_queryAuthorizationId; }
91 inline bool QueryAuthorizationIdHasBeenSet() const { return m_queryAuthorizationIdHasBeenSet; }
92 inline void SetQueryAuthorizationId(const Aws::String& value) { m_queryAuthorizationIdHasBeenSet = true; m_queryAuthorizationId = value; }
93 inline void SetQueryAuthorizationId(Aws::String&& value) { m_queryAuthorizationIdHasBeenSet = true; m_queryAuthorizationId = std::move(value); }
94 inline void SetQueryAuthorizationId(const char* value) { m_queryAuthorizationIdHasBeenSet = true; m_queryAuthorizationId.assign(value); }
96 inline QuerySessionContext& WithQueryAuthorizationId(Aws::String&& value) { SetQueryAuthorizationId(std::move(value)); return *this;}
97 inline QuerySessionContext& WithQueryAuthorizationId(const char* value) { SetQueryAuthorizationId(value); return *this;}
99
101
104 inline const Aws::Map<Aws::String, Aws::String>& GetAdditionalContext() const{ return m_additionalContext; }
105 inline bool AdditionalContextHasBeenSet() const { return m_additionalContextHasBeenSet; }
106 inline void SetAdditionalContext(const Aws::Map<Aws::String, Aws::String>& value) { m_additionalContextHasBeenSet = true; m_additionalContext = value; }
107 inline void SetAdditionalContext(Aws::Map<Aws::String, Aws::String>&& value) { m_additionalContextHasBeenSet = true; m_additionalContext = std::move(value); }
110 inline QuerySessionContext& AddAdditionalContext(const Aws::String& key, const Aws::String& value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(key, value); return *this; }
111 inline QuerySessionContext& AddAdditionalContext(Aws::String&& key, const Aws::String& value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(std::move(key), value); return *this; }
112 inline QuerySessionContext& AddAdditionalContext(const Aws::String& key, Aws::String&& value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(key, std::move(value)); return *this; }
113 inline QuerySessionContext& AddAdditionalContext(Aws::String&& key, Aws::String&& value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(std::move(key), std::move(value)); return *this; }
114 inline QuerySessionContext& AddAdditionalContext(const char* key, Aws::String&& value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(key, std::move(value)); return *this; }
115 inline QuerySessionContext& AddAdditionalContext(Aws::String&& key, const char* value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(std::move(key), value); return *this; }
116 inline QuerySessionContext& AddAdditionalContext(const char* key, const char* value) { m_additionalContextHasBeenSet = true; m_additionalContext.emplace(key, value); return *this; }
118 private:
119
120 Aws::String m_queryId;
121 bool m_queryIdHasBeenSet = false;
122
123 Aws::Utils::DateTime m_queryStartTime;
124 bool m_queryStartTimeHasBeenSet = false;
125
126 Aws::String m_clusterId;
127 bool m_clusterIdHasBeenSet = false;
128
129 Aws::String m_queryAuthorizationId;
130 bool m_queryAuthorizationIdHasBeenSet = false;
131
132 Aws::Map<Aws::String, Aws::String> m_additionalContext;
133 bool m_additionalContextHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace LakeFormation
138} // namespace Aws
AWS_LAKEFORMATION_API QuerySessionContext & operator=(Aws::Utils::Json::JsonView jsonValue)
QuerySessionContext & AddAdditionalContext(const Aws::String &key, const Aws::String &value)
QuerySessionContext & WithQueryAuthorizationId(Aws::String &&value)
QuerySessionContext & AddAdditionalContext(Aws::String &&key, const Aws::String &value)
QuerySessionContext & WithClusterId(Aws::String &&value)
QuerySessionContext & WithAdditionalContext(Aws::Map< Aws::String, Aws::String > &&value)
QuerySessionContext & AddAdditionalContext(const Aws::String &key, Aws::String &&value)
QuerySessionContext & AddAdditionalContext(Aws::String &&key, const char *value)
void SetAdditionalContext(Aws::Map< Aws::String, Aws::String > &&value)
QuerySessionContext & WithQueryId(const Aws::String &value)
QuerySessionContext & AddAdditionalContext(Aws::String &&key, Aws::String &&value)
QuerySessionContext & WithClusterId(const Aws::String &value)
QuerySessionContext & WithQueryId(Aws::String &&value)
QuerySessionContext & WithQueryStartTime(Aws::Utils::DateTime &&value)
AWS_LAKEFORMATION_API QuerySessionContext(Aws::Utils::Json::JsonView jsonValue)
QuerySessionContext & WithQueryStartTime(const Aws::Utils::DateTime &value)
QuerySessionContext & WithQueryId(const char *value)
void SetQueryStartTime(const Aws::Utils::DateTime &value)
QuerySessionContext & AddAdditionalContext(const char *key, const char *value)
void SetAdditionalContext(const Aws::Map< Aws::String, Aws::String > &value)
QuerySessionContext & WithQueryAuthorizationId(const Aws::String &value)
QuerySessionContext & AddAdditionalContext(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetAdditionalContext() const
QuerySessionContext & WithClusterId(const char *value)
void SetQueryStartTime(Aws::Utils::DateTime &&value)
QuerySessionContext & WithQueryAuthorizationId(const char *value)
QuerySessionContext & WithAdditionalContext(const Aws::Map< Aws::String, Aws::String > &value)
void SetQueryAuthorizationId(const Aws::String &value)
const Aws::Utils::DateTime & GetQueryStartTime() const
AWS_LAKEFORMATION_API Aws::Utils::Json::JsonValue Jsonize() 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