AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCalculationExecutionResult.h
1
6#pragma once
7#include <aws/athena/Athena_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/athena/model/CalculationStatus.h>
10#include <aws/athena/model/CalculationStatistics.h>
11#include <aws/athena/model/CalculationResult.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 Athena
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::String& GetCalculationExecutionId() const{ return m_calculationExecutionId; }
43 inline void SetCalculationExecutionId(const Aws::String& value) { m_calculationExecutionId = value; }
44 inline void SetCalculationExecutionId(Aws::String&& value) { m_calculationExecutionId = std::move(value); }
45 inline void SetCalculationExecutionId(const char* value) { m_calculationExecutionId.assign(value); }
50
52
55 inline const Aws::String& GetSessionId() const{ return m_sessionId; }
56 inline void SetSessionId(const Aws::String& value) { m_sessionId = value; }
57 inline void SetSessionId(Aws::String&& value) { m_sessionId = std::move(value); }
58 inline void SetSessionId(const char* value) { m_sessionId.assign(value); }
59 inline GetCalculationExecutionResult& WithSessionId(const Aws::String& value) { SetSessionId(value); return *this;}
60 inline GetCalculationExecutionResult& WithSessionId(Aws::String&& value) { SetSessionId(std::move(value)); return *this;}
61 inline GetCalculationExecutionResult& WithSessionId(const char* value) { SetSessionId(value); return *this;}
63
65
68 inline const Aws::String& GetDescription() const{ return m_description; }
69 inline void SetDescription(const Aws::String& value) { m_description = value; }
70 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
71 inline void SetDescription(const char* value) { m_description.assign(value); }
72 inline GetCalculationExecutionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
73 inline GetCalculationExecutionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
74 inline GetCalculationExecutionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
76
78
81 inline const Aws::String& GetWorkingDirectory() const{ return m_workingDirectory; }
82 inline void SetWorkingDirectory(const Aws::String& value) { m_workingDirectory = value; }
83 inline void SetWorkingDirectory(Aws::String&& value) { m_workingDirectory = std::move(value); }
84 inline void SetWorkingDirectory(const char* value) { m_workingDirectory.assign(value); }
86 inline GetCalculationExecutionResult& WithWorkingDirectory(Aws::String&& value) { SetWorkingDirectory(std::move(value)); return *this;}
87 inline GetCalculationExecutionResult& WithWorkingDirectory(const char* value) { SetWorkingDirectory(value); return *this;}
89
91
94 inline const CalculationStatus& GetStatus() const{ return m_status; }
95 inline void SetStatus(const CalculationStatus& value) { m_status = value; }
96 inline void SetStatus(CalculationStatus&& value) { m_status = std::move(value); }
97 inline GetCalculationExecutionResult& WithStatus(const CalculationStatus& value) { SetStatus(value); return *this;}
98 inline GetCalculationExecutionResult& WithStatus(CalculationStatus&& value) { SetStatus(std::move(value)); return *this;}
100
102
106 inline const CalculationStatistics& GetStatistics() const{ return m_statistics; }
107 inline void SetStatistics(const CalculationStatistics& value) { m_statistics = value; }
108 inline void SetStatistics(CalculationStatistics&& value) { m_statistics = std::move(value); }
110 inline GetCalculationExecutionResult& WithStatistics(CalculationStatistics&& value) { SetStatistics(std::move(value)); return *this;}
112
114
118 inline const CalculationResult& GetResult() const{ return m_result; }
119 inline void SetResult(const CalculationResult& value) { m_result = value; }
120 inline void SetResult(CalculationResult&& value) { m_result = std::move(value); }
121 inline GetCalculationExecutionResult& WithResult(const CalculationResult& value) { SetResult(value); return *this;}
122 inline GetCalculationExecutionResult& WithResult(CalculationResult&& value) { SetResult(std::move(value)); return *this;}
124
126
127 inline const Aws::String& GetRequestId() const{ return m_requestId; }
128 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
129 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
130 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
131 inline GetCalculationExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
132 inline GetCalculationExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
133 inline GetCalculationExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
135 private:
136
137 Aws::String m_calculationExecutionId;
138
139 Aws::String m_sessionId;
140
141 Aws::String m_description;
142
143 Aws::String m_workingDirectory;
144
145 CalculationStatus m_status;
146
147 CalculationStatistics m_statistics;
148
149 CalculationResult m_result;
150
151 Aws::String m_requestId;
152 };
153
154} // namespace Model
155} // namespace Athena
156} // namespace Aws
GetCalculationExecutionResult & WithCalculationExecutionId(const char *value)
GetCalculationExecutionResult & WithStatistics(const CalculationStatistics &value)
GetCalculationExecutionResult & WithDescription(Aws::String &&value)
GetCalculationExecutionResult & WithStatistics(CalculationStatistics &&value)
GetCalculationExecutionResult & WithResult(const CalculationResult &value)
GetCalculationExecutionResult & WithResult(CalculationResult &&value)
GetCalculationExecutionResult & WithRequestId(const char *value)
GetCalculationExecutionResult & WithSessionId(const char *value)
GetCalculationExecutionResult & WithDescription(const char *value)
GetCalculationExecutionResult & WithStatus(const CalculationStatus &value)
GetCalculationExecutionResult & WithStatus(CalculationStatus &&value)
GetCalculationExecutionResult & WithRequestId(Aws::String &&value)
AWS_ATHENA_API GetCalculationExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCalculationExecutionResult & WithDescription(const Aws::String &value)
AWS_ATHENA_API GetCalculationExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetCalculationExecutionResult & WithRequestId(const Aws::String &value)
GetCalculationExecutionResult & WithSessionId(Aws::String &&value)
GetCalculationExecutionResult & WithWorkingDirectory(const char *value)
GetCalculationExecutionResult & WithWorkingDirectory(Aws::String &&value)
GetCalculationExecutionResult & WithSessionId(const Aws::String &value)
GetCalculationExecutionResult & WithCalculationExecutionId(const Aws::String &value)
GetCalculationExecutionResult & WithCalculationExecutionId(Aws::String &&value)
GetCalculationExecutionResult & WithWorkingDirectory(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue