AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ExecutorsSummary.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/ExecutorType.h>
10#include <aws/athena/model/ExecutorState.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Athena
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_ATHENA_API ExecutorsSummary() = default;
39 AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetExecutorId() const { return m_executorId; }
47 inline bool ExecutorIdHasBeenSet() const { return m_executorIdHasBeenSet; }
48 template<typename ExecutorIdT = Aws::String>
49 void SetExecutorId(ExecutorIdT&& value) { m_executorIdHasBeenSet = true; m_executorId = std::forward<ExecutorIdT>(value); }
50 template<typename ExecutorIdT = Aws::String>
51 ExecutorsSummary& WithExecutorId(ExecutorIdT&& value) { SetExecutorId(std::forward<ExecutorIdT>(value)); return *this;}
53
55
59 inline ExecutorType GetExecutorType() const { return m_executorType; }
60 inline bool ExecutorTypeHasBeenSet() const { return m_executorTypeHasBeenSet; }
61 inline void SetExecutorType(ExecutorType value) { m_executorTypeHasBeenSet = true; m_executorType = value; }
62 inline ExecutorsSummary& WithExecutorType(ExecutorType value) { SetExecutorType(value); return *this;}
64
66
69 inline long long GetStartDateTime() const { return m_startDateTime; }
70 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
71 inline void SetStartDateTime(long long value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; }
72 inline ExecutorsSummary& WithStartDateTime(long long value) { SetStartDateTime(value); return *this;}
74
76
79 inline long long GetTerminationDateTime() const { return m_terminationDateTime; }
80 inline bool TerminationDateTimeHasBeenSet() const { return m_terminationDateTimeHasBeenSet; }
81 inline void SetTerminationDateTime(long long value) { m_terminationDateTimeHasBeenSet = true; m_terminationDateTime = value; }
82 inline ExecutorsSummary& WithTerminationDateTime(long long value) { SetTerminationDateTime(value); return *this;}
84
86
96 inline ExecutorState GetExecutorState() const { return m_executorState; }
97 inline bool ExecutorStateHasBeenSet() const { return m_executorStateHasBeenSet; }
98 inline void SetExecutorState(ExecutorState value) { m_executorStateHasBeenSet = true; m_executorState = value; }
99 inline ExecutorsSummary& WithExecutorState(ExecutorState value) { SetExecutorState(value); return *this;}
101
103
108 inline long long GetExecutorSize() const { return m_executorSize; }
109 inline bool ExecutorSizeHasBeenSet() const { return m_executorSizeHasBeenSet; }
110 inline void SetExecutorSize(long long value) { m_executorSizeHasBeenSet = true; m_executorSize = value; }
111 inline ExecutorsSummary& WithExecutorSize(long long value) { SetExecutorSize(value); return *this;}
113 private:
114
115 Aws::String m_executorId;
116 bool m_executorIdHasBeenSet = false;
117
118 ExecutorType m_executorType{ExecutorType::NOT_SET};
119 bool m_executorTypeHasBeenSet = false;
120
121 long long m_startDateTime{0};
122 bool m_startDateTimeHasBeenSet = false;
123
124 long long m_terminationDateTime{0};
125 bool m_terminationDateTimeHasBeenSet = false;
126
127 ExecutorState m_executorState{ExecutorState::NOT_SET};
128 bool m_executorStateHasBeenSet = false;
129
130 long long m_executorSize{0};
131 bool m_executorSizeHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace Athena
136} // namespace Aws
ExecutorsSummary & WithExecutorSize(long long value)
AWS_ATHENA_API ExecutorsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutorsSummary & WithStartDateTime(long long value)
AWS_ATHENA_API ExecutorsSummary()=default
ExecutorsSummary & WithTerminationDateTime(long long value)
ExecutorsSummary & WithExecutorState(ExecutorState value)
const Aws::String & GetExecutorId() const
ExecutorsSummary & WithExecutorType(ExecutorType value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTerminationDateTime(long long value)
void SetExecutorState(ExecutorState value)
void SetExecutorType(ExecutorType value)
ExecutorsSummary & WithExecutorId(ExecutorIdT &&value)
void SetExecutorId(ExecutorIdT &&value)
AWS_ATHENA_API ExecutorsSummary(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue