AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQueryStatisticsResult.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/lakeformation/model/ExecutionStatistics.h>
9#include <aws/lakeformation/model/PlanningStatistics.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace LakeFormation
27{
28namespace Model
29{
31 {
32 public:
33 AWS_LAKEFORMATION_API GetQueryStatisticsResult();
36
37
39
43 inline const ExecutionStatistics& GetExecutionStatistics() const{ return m_executionStatistics; }
44 inline void SetExecutionStatistics(const ExecutionStatistics& value) { m_executionStatistics = value; }
45 inline void SetExecutionStatistics(ExecutionStatistics&& value) { m_executionStatistics = std::move(value); }
49
51
55 inline const PlanningStatistics& GetPlanningStatistics() const{ return m_planningStatistics; }
56 inline void SetPlanningStatistics(const PlanningStatistics& value) { m_planningStatistics = value; }
57 inline void SetPlanningStatistics(PlanningStatistics&& value) { m_planningStatistics = std::move(value); }
61
63
66 inline const Aws::Utils::DateTime& GetQuerySubmissionTime() const{ return m_querySubmissionTime; }
67 inline void SetQuerySubmissionTime(const Aws::Utils::DateTime& value) { m_querySubmissionTime = value; }
68 inline void SetQuerySubmissionTime(Aws::Utils::DateTime&& value) { m_querySubmissionTime = std::move(value); }
72
74
75 inline const Aws::String& GetRequestId() const{ return m_requestId; }
76 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
77 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
78 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
79 inline GetQueryStatisticsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
80 inline GetQueryStatisticsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
81 inline GetQueryStatisticsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
83 private:
84
85 ExecutionStatistics m_executionStatistics;
86
87 PlanningStatistics m_planningStatistics;
88
89 Aws::Utils::DateTime m_querySubmissionTime;
90
91 Aws::String m_requestId;
92 };
93
94} // namespace Model
95} // namespace LakeFormation
96} // namespace Aws
GetQueryStatisticsResult & WithQuerySubmissionTime(const Aws::Utils::DateTime &value)
GetQueryStatisticsResult & WithQuerySubmissionTime(Aws::Utils::DateTime &&value)
GetQueryStatisticsResult & WithPlanningStatistics(PlanningStatistics &&value)
GetQueryStatisticsResult & WithRequestId(const Aws::String &value)
AWS_LAKEFORMATION_API GetQueryStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueryStatisticsResult & WithRequestId(Aws::String &&value)
GetQueryStatisticsResult & WithPlanningStatistics(const PlanningStatistics &value)
void SetExecutionStatistics(const ExecutionStatistics &value)
AWS_LAKEFORMATION_API GetQueryStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetQuerySubmissionTime(const Aws::Utils::DateTime &value)
GetQueryStatisticsResult & WithRequestId(const char *value)
void SetPlanningStatistics(const PlanningStatistics &value)
GetQueryStatisticsResult & WithExecutionStatistics(const ExecutionStatistics &value)
GetQueryStatisticsResult & WithExecutionStatistics(ExecutionStatistics &&value)
const Aws::Utils::DateTime & GetQuerySubmissionTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue