AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CalculationSummary.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Athena
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ATHENA_API CalculationSummary();
38 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetCalculationExecutionId() const{ return m_calculationExecutionId; }
46 inline bool CalculationExecutionIdHasBeenSet() const { return m_calculationExecutionIdHasBeenSet; }
47 inline void SetCalculationExecutionId(const Aws::String& value) { m_calculationExecutionIdHasBeenSet = true; m_calculationExecutionId = value; }
48 inline void SetCalculationExecutionId(Aws::String&& value) { m_calculationExecutionIdHasBeenSet = true; m_calculationExecutionId = std::move(value); }
49 inline void SetCalculationExecutionId(const char* value) { m_calculationExecutionIdHasBeenSet = true; m_calculationExecutionId.assign(value); }
51 inline CalculationSummary& WithCalculationExecutionId(Aws::String&& value) { SetCalculationExecutionId(std::move(value)); return *this;}
52 inline CalculationSummary& WithCalculationExecutionId(const char* value) { SetCalculationExecutionId(value); return *this;}
54
56
59 inline const Aws::String& GetDescription() const{ return m_description; }
60 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
61 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
62 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
63 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
64 inline CalculationSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
65 inline CalculationSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
66 inline CalculationSummary& WithDescription(const char* value) { SetDescription(value); return *this;}
68
70
73 inline const CalculationStatus& GetStatus() const{ return m_status; }
74 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
75 inline void SetStatus(const CalculationStatus& value) { m_statusHasBeenSet = true; m_status = value; }
76 inline void SetStatus(CalculationStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
77 inline CalculationSummary& WithStatus(const CalculationStatus& value) { SetStatus(value); return *this;}
78 inline CalculationSummary& WithStatus(CalculationStatus&& value) { SetStatus(std::move(value)); return *this;}
80 private:
81
82 Aws::String m_calculationExecutionId;
83 bool m_calculationExecutionIdHasBeenSet = false;
84
85 Aws::String m_description;
86 bool m_descriptionHasBeenSet = false;
87
88 CalculationStatus m_status;
89 bool m_statusHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace Athena
94} // namespace Aws
const CalculationStatus & GetStatus() const
CalculationSummary & WithCalculationExecutionId(const Aws::String &value)
CalculationSummary & WithStatus(const CalculationStatus &value)
const Aws::String & GetDescription() const
void SetStatus(const CalculationStatus &value)
AWS_ATHENA_API CalculationSummary(Aws::Utils::Json::JsonView jsonValue)
CalculationSummary & WithStatus(CalculationStatus &&value)
CalculationSummary & WithCalculationExecutionId(Aws::String &&value)
void SetCalculationExecutionId(const char *value)
void SetDescription(const Aws::String &value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ATHENA_API CalculationSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CalculationSummary & WithDescription(const char *value)
const Aws::String & GetCalculationExecutionId() const
CalculationSummary & WithCalculationExecutionId(const char *value)
void SetCalculationExecutionId(Aws::String &&value)
CalculationSummary & WithDescription(const Aws::String &value)
void SetStatus(CalculationStatus &&value)
CalculationSummary & WithDescription(Aws::String &&value)
void SetCalculationExecutionId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue