AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StartCalculationExecutionResult.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/CalculationExecutionState.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Athena
25{
26namespace Model
27{
29 {
30 public:
34
35
37
40 inline const Aws::String& GetCalculationExecutionId() const{ return m_calculationExecutionId; }
41 inline void SetCalculationExecutionId(const Aws::String& value) { m_calculationExecutionId = value; }
42 inline void SetCalculationExecutionId(Aws::String&& value) { m_calculationExecutionId = std::move(value); }
43 inline void SetCalculationExecutionId(const char* value) { m_calculationExecutionId.assign(value); }
48
50
61 inline const CalculationExecutionState& GetState() const{ return m_state; }
62 inline void SetState(const CalculationExecutionState& value) { m_state = value; }
63 inline void SetState(CalculationExecutionState&& value) { m_state = std::move(value); }
64 inline StartCalculationExecutionResult& WithState(const CalculationExecutionState& value) { SetState(value); return *this;}
65 inline StartCalculationExecutionResult& WithState(CalculationExecutionState&& value) { SetState(std::move(value)); return *this;}
67
69
70 inline const Aws::String& GetRequestId() const{ return m_requestId; }
71 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
72 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
73 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
74 inline StartCalculationExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
75 inline StartCalculationExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
76 inline StartCalculationExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
78 private:
79
80 Aws::String m_calculationExecutionId;
81
83
84 Aws::String m_requestId;
85 };
86
87} // namespace Model
88} // namespace Athena
89} // namespace Aws
StartCalculationExecutionResult & WithRequestId(const char *value)
AWS_ATHENA_API StartCalculationExecutionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ATHENA_API StartCalculationExecutionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartCalculationExecutionResult & WithState(const CalculationExecutionState &value)
StartCalculationExecutionResult & WithRequestId(Aws::String &&value)
StartCalculationExecutionResult & WithState(CalculationExecutionState &&value)
StartCalculationExecutionResult & WithCalculationExecutionId(const Aws::String &value)
StartCalculationExecutionResult & WithCalculationExecutionId(const char *value)
StartCalculationExecutionResult & WithRequestId(const Aws::String &value)
StartCalculationExecutionResult & WithCalculationExecutionId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue