7#include <aws/glue/Glue_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>
51 template<
typename QueryIdT = Aws::String>
52 void SetQueryId(QueryIdT&& value) { m_queryIdHasBeenSet =
true; m_queryId = std::forward<QueryIdT>(value); }
53 template<
typename QueryIdT = Aws::String>
63 template<
typename QueryStartTimeT = Aws::Utils::DateTime>
64 void SetQueryStartTime(QueryStartTimeT&& value) { m_queryStartTimeHasBeenSet =
true; m_queryStartTime = std::forward<QueryStartTimeT>(value); }
65 template<
typename QueryStartTimeT = Aws::Utils::DateTime>
75 template<
typename ClusterIdT = Aws::String>
76 void SetClusterId(ClusterIdT&& value) { m_clusterIdHasBeenSet =
true; m_clusterId = std::forward<ClusterIdT>(value); }
77 template<
typename ClusterIdT = Aws::String>
88 template<
typename QueryAuthorizationIdT = Aws::String>
89 void SetQueryAuthorizationId(QueryAuthorizationIdT&& value) { m_queryAuthorizationIdHasBeenSet =
true; m_queryAuthorizationId = std::forward<QueryAuthorizationIdT>(value); }
90 template<
typename QueryAuthorizationIdT = Aws::String>
100 template<
typename AdditionalContextT = Aws::Map<Aws::String, Aws::String>>
101 void SetAdditionalContext(AdditionalContextT&& value) { m_additionalContextHasBeenSet =
true; m_additionalContext = std::forward<AdditionalContextT>(value); }
102 template<
typename AdditionalContextT = Aws::Map<Aws::String, Aws::String>>
104 template<
typename AdditionalContextKeyT = Aws::String,
typename AdditionalContextValueT = Aws::String>
106 m_additionalContextHasBeenSet =
true; m_additionalContext.emplace(std::forward<AdditionalContextKeyT>(key), std::forward<AdditionalContextValueT>(value));
return *
this;
112 bool m_queryIdHasBeenSet =
false;
115 bool m_queryStartTimeHasBeenSet =
false;
118 bool m_clusterIdHasBeenSet =
false;
121 bool m_queryAuthorizationIdHasBeenSet =
false;
124 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