AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCalculationExecutionStatusResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/athena/model/CalculationStatus.h>
9#include <aws/athena/model/CalculationStatistics.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Athena
26{
27namespace Model
28{
30 {
31 public:
35
36
38
41 inline const CalculationStatus& GetStatus() const{ return m_status; }
42 inline void SetStatus(const CalculationStatus& value) { m_status = value; }
43 inline void SetStatus(CalculationStatus&& value) { m_status = std::move(value); }
44 inline GetCalculationExecutionStatusResult& WithStatus(const CalculationStatus& value) { SetStatus(value); return *this;}
45 inline GetCalculationExecutionStatusResult& WithStatus(CalculationStatus&& value) { SetStatus(std::move(value)); return *this;}
47
49
52 inline const CalculationStatistics& GetStatistics() const{ return m_statistics; }
53 inline void SetStatistics(const CalculationStatistics& value) { m_statistics = value; }
54 inline void SetStatistics(CalculationStatistics&& value) { m_statistics = std::move(value); }
58
60
61 inline const Aws::String& GetRequestId() const{ return m_requestId; }
62 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
63 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
64 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
65 inline GetCalculationExecutionStatusResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
66 inline GetCalculationExecutionStatusResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
67 inline GetCalculationExecutionStatusResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
69 private:
70
71 CalculationStatus m_status;
72
73 CalculationStatistics m_statistics;
74
75 Aws::String m_requestId;
76 };
77
78} // namespace Model
79} // namespace Athena
80} // namespace Aws
GetCalculationExecutionStatusResult & WithRequestId(const char *value)
GetCalculationExecutionStatusResult & WithRequestId(const Aws::String &value)
GetCalculationExecutionStatusResult & WithStatus(const CalculationStatus &value)
GetCalculationExecutionStatusResult & WithStatistics(CalculationStatistics &&value)
AWS_ATHENA_API GetCalculationExecutionStatusResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCalculationExecutionStatusResult & WithStatus(CalculationStatus &&value)
GetCalculationExecutionStatusResult & WithStatistics(const CalculationStatistics &value)
GetCalculationExecutionStatusResult & WithRequestId(Aws::String &&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