7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/Glue_EXPORTS.h>
45 template <
typename QueryIdT = Aws::String>
47 m_queryIdHasBeenSet =
true;
48 m_queryId = std::forward<QueryIdT>(value);
50 template <
typename QueryIdT = Aws::String>
63 template <
typename QueryStartTimeT = Aws::Utils::DateTime>
65 m_queryStartTimeHasBeenSet =
true;
66 m_queryStartTime = std::forward<QueryStartTimeT>(value);
68 template <
typename QueryStartTimeT = Aws::Utils::DateTime>
81 template <
typename ClusterIdT = Aws::String>
83 m_clusterIdHasBeenSet =
true;
84 m_clusterId = std::forward<ClusterIdT>(value);
86 template <
typename ClusterIdT = Aws::String>
100 template <
typename QueryAuthorizationIdT = Aws::String>
102 m_queryAuthorizationIdHasBeenSet =
true;
103 m_queryAuthorizationId = std::forward<QueryAuthorizationIdT>(value);
105 template <
typename QueryAuthorizationIdT = Aws::String>
118 template <
typename AdditionalContextT = Aws::Map<Aws::String, Aws::String>>
120 m_additionalContextHasBeenSet =
true;
121 m_additionalContext = std::forward<AdditionalContextT>(value);
123 template <
typename AdditionalContextT = Aws::Map<Aws::String, Aws::String>>
128 template <
typename AdditionalContextKeyT = Aws::String,
typename AdditionalContextValueT = Aws::String>
130 m_additionalContextHasBeenSet =
true;
131 m_additionalContext.emplace(std::forward<AdditionalContextKeyT>(key), std::forward<AdditionalContextValueT>(value));
145 bool m_queryIdHasBeenSet =
false;
146 bool m_queryStartTimeHasBeenSet =
false;
147 bool m_clusterIdHasBeenSet =
false;
148 bool m_queryAuthorizationIdHasBeenSet =
false;
149 bool m_additionalContextHasBeenSet =
false;
const Aws::String & GetQueryId() const
const Aws::Utils::DateTime & GetQueryStartTime() const
const Aws::String & GetClusterId() const
void SetQueryStartTime(QueryStartTimeT &&value)
AWS_GLUE_API QuerySessionContext()=default
void SetQueryAuthorizationId(QueryAuthorizationIdT &&value)
QuerySessionContext & WithQueryStartTime(QueryStartTimeT &&value)
QuerySessionContext & WithQueryId(QueryIdT &&value)
void SetAdditionalContext(AdditionalContextT &&value)
void SetClusterId(ClusterIdT &&value)
QuerySessionContext & WithClusterId(ClusterIdT &&value)
AWS_GLUE_API QuerySessionContext & operator=(Aws::Utils::Json::JsonView jsonValue)
bool QueryIdHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAdditionalContext() const
QuerySessionContext & AddAdditionalContext(AdditionalContextKeyT &&key, AdditionalContextValueT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
bool AdditionalContextHasBeenSet() const
bool ClusterIdHasBeenSet() const
bool QueryAuthorizationIdHasBeenSet() const
void SetQueryId(QueryIdT &&value)
const Aws::String & GetQueryAuthorizationId() const
AWS_GLUE_API QuerySessionContext(Aws::Utils::Json::JsonView jsonValue)
QuerySessionContext & WithAdditionalContext(AdditionalContextT &&value)
bool QueryStartTimeHasBeenSet() const
QuerySessionContext & WithQueryAuthorizationId(QueryAuthorizationIdT &&value)
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