AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetCalculationExecutionStatusResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/CalculationStatistics.h>
9#include <aws/athena/model/CalculationStatus.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Athena {
24namespace Model {
26 public:
27 AWS_ATHENA_API GetCalculationExecutionStatusResult() = default;
30
32
35 inline const CalculationStatus& GetStatus() const { return m_status; }
36 template <typename StatusT = CalculationStatus>
37 void SetStatus(StatusT&& value) {
38 m_statusHasBeenSet = true;
39 m_status = std::forward<StatusT>(value);
40 }
41 template <typename StatusT = CalculationStatus>
43 SetStatus(std::forward<StatusT>(value));
44 return *this;
45 }
47
49
52 inline const CalculationStatistics& GetStatistics() const { return m_statistics; }
53 template <typename StatisticsT = CalculationStatistics>
54 void SetStatistics(StatisticsT&& value) {
55 m_statisticsHasBeenSet = true;
56 m_statistics = std::forward<StatisticsT>(value);
57 }
58 template <typename StatisticsT = CalculationStatistics>
60 SetStatistics(std::forward<StatisticsT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 private:
80 CalculationStatus m_status;
81
82 CalculationStatistics m_statistics;
83
84 Aws::String m_requestId;
85 bool m_statusHasBeenSet = false;
86 bool m_statisticsHasBeenSet = false;
87 bool m_requestIdHasBeenSet = false;
88};
89
90} // namespace Model
91} // namespace Athena
92} // namespace Aws
AWS_ATHENA_API GetCalculationExecutionStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCalculationExecutionStatusResult & WithStatus(StatusT &&value)
GetCalculationExecutionStatusResult & WithRequestId(RequestIdT &&value)
GetCalculationExecutionStatusResult & WithStatistics(StatisticsT &&value)
AWS_ATHENA_API GetCalculationExecutionStatusResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue