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>
48 template <
typename QueryIdT = Aws::String>
50 m_queryIdHasBeenSet =
true;
51 m_queryId = std::forward<QueryIdT>(value);
53 template <
typename QueryIdT = Aws::String>
66 template <
typename QueryStartTimeT = Aws::Utils::DateTime>
68 m_queryStartTimeHasBeenSet =
true;
69 m_queryStartTime = std::forward<QueryStartTimeT>(value);
71 template <
typename QueryStartTimeT = Aws::Utils::DateTime>
84 template <
typename ClusterIdT = Aws::String>
86 m_clusterIdHasBeenSet =
true;
87 m_clusterId = std::forward<ClusterIdT>(value);
89 template <
typename ClusterIdT = Aws::String>
103 template <
typename QueryAuthorizationIdT = Aws::String>
105 m_queryAuthorizationIdHasBeenSet =
true;
106 m_queryAuthorizationId = std::forward<QueryAuthorizationIdT>(value);
108 template <
typename QueryAuthorizationIdT = Aws::String>
121 template <
typename AdditionalContextT = Aws::Map<Aws::String, Aws::String>>
123 m_additionalContextHasBeenSet =
true;
124 m_additionalContext = std::forward<AdditionalContextT>(value);
126 template <
typename AdditionalContextT = Aws::Map<Aws::String, Aws::String>>
131 template <
typename AdditionalContextKeyT = Aws::String,
typename AdditionalContextValueT = Aws::String>
133 m_additionalContextHasBeenSet =
true;
134 m_additionalContext.emplace(std::forward<AdditionalContextKeyT>(key), std::forward<AdditionalContextValueT>(value));
148 bool m_queryIdHasBeenSet =
false;
149 bool m_queryStartTimeHasBeenSet =
false;
150 bool m_clusterIdHasBeenSet =
false;
151 bool m_queryAuthorizationIdHasBeenSet =
false;
152 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