AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetExecutorId(const Aws::String& value) { m_executorIdHasBeenSet = true; m_executorId = value; }
49 inline void SetExecutorId(Aws::String&& value) { m_executorIdHasBeenSet = true; m_executorId = std::move(value); }
50 inline void SetExecutorId(const char* value) { m_executorIdHasBeenSet = true; m_executorId.assign(value); }
51 inline ExecutorsSummary& WithExecutorId(const Aws::String& value) { SetExecutorId(value); return *this;}
52 inline ExecutorsSummary& WithExecutorId(Aws::String&& value) { SetExecutorId(std::move(value)); return *this;}
53 inline ExecutorsSummary& WithExecutorId(const char* value) { SetExecutorId(value); return *this;}
55
57
61 inline const ExecutorType& GetExecutorType() const{ return m_executorType; }
62 inline bool ExecutorTypeHasBeenSet() const { return m_executorTypeHasBeenSet; }
63 inline void SetExecutorType(const ExecutorType& value) { m_executorTypeHasBeenSet = true; m_executorType = value; }
64 inline void SetExecutorType(ExecutorType&& value) { m_executorTypeHasBeenSet = true; m_executorType = std::move(value); }
65 inline ExecutorsSummary& WithExecutorType(const ExecutorType& value) { SetExecutorType(value); return *this;}
66 inline ExecutorsSummary& WithExecutorType(ExecutorType&& value) { SetExecutorType(std::move(value)); return *this;}
68
70
73 inline long long GetStartDateTime() const{ return m_startDateTime; }
74 inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; }
75 inline void SetStartDateTime(long long value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; }
76 inline ExecutorsSummary& WithStartDateTime(long long value) { SetStartDateTime(value); return *this;}
78
80
83 inline long long GetTerminationDateTime() const{ return m_terminationDateTime; }
84 inline bool TerminationDateTimeHasBeenSet() const { return m_terminationDateTimeHasBeenSet; }
85 inline void SetTerminationDateTime(long long value) { m_terminationDateTimeHasBeenSet = true; m_terminationDateTime = value; }
86 inline ExecutorsSummary& WithTerminationDateTime(long long value) { SetTerminationDateTime(value); return *this;}
88
90
100 inline const ExecutorState& GetExecutorState() const{ return m_executorState; }
101 inline bool ExecutorStateHasBeenSet() const { return m_executorStateHasBeenSet; }
102 inline void SetExecutorState(const ExecutorState& value) { m_executorStateHasBeenSet = true; m_executorState = value; }
103 inline void SetExecutorState(ExecutorState&& value) { m_executorStateHasBeenSet = true; m_executorState = std::move(value); }
104 inline ExecutorsSummary& WithExecutorState(const ExecutorState& value) { SetExecutorState(value); return *this;}
105 inline ExecutorsSummary& WithExecutorState(ExecutorState&& value) { SetExecutorState(std::move(value)); return *this;}
107
109
114 inline long long GetExecutorSize() const{ return m_executorSize; }
115 inline bool ExecutorSizeHasBeenSet() const { return m_executorSizeHasBeenSet; }
116 inline void SetExecutorSize(long long value) { m_executorSizeHasBeenSet = true; m_executorSize = value; }
117 inline ExecutorsSummary& WithExecutorSize(long long value) { SetExecutorSize(value); return *this;}
119 private:
120
121 Aws::String m_executorId;
122 bool m_executorIdHasBeenSet = false;
123
124 ExecutorType m_executorType;
125 bool m_executorTypeHasBeenSet = false;
126
127 long long m_startDateTime;
128 bool m_startDateTimeHasBeenSet = false;
129
130 long long m_terminationDateTime;
131 bool m_terminationDateTimeHasBeenSet = false;
132
133 ExecutorState m_executorState;
134 bool m_executorStateHasBeenSet = false;
135
136 long long m_executorSize;
137 bool m_executorSizeHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace Athena
142} // namespace Aws
ExecutorsSummary & WithExecutorType(ExecutorType &&value)
ExecutorsSummary & WithExecutorSize(long long value)
void SetExecutorState(const ExecutorState &value)
void SetExecutorState(ExecutorState &&value)
ExecutorsSummary & WithExecutorId(const char *value)
AWS_ATHENA_API ExecutorsSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutorsSummary & WithStartDateTime(long long value)
ExecutorsSummary & WithTerminationDateTime(long long value)
ExecutorsSummary & WithExecutorType(const ExecutorType &value)
void SetExecutorId(Aws::String &&value)
const Aws::String & GetExecutorId() const
const ExecutorType & GetExecutorType() const
const ExecutorState & GetExecutorState() const
void SetExecutorId(const char *value)
ExecutorsSummary & WithExecutorId(const Aws::String &value)
AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const
ExecutorsSummary & WithExecutorState(const ExecutorState &value)
void SetTerminationDateTime(long long value)
ExecutorsSummary & WithExecutorState(ExecutorState &&value)
void SetExecutorType(ExecutorType &&value)
void SetExecutorId(const Aws::String &value)
ExecutorsSummary & WithExecutorId(Aws::String &&value)
AWS_ATHENA_API ExecutorsSummary(Aws::Utils::Json::JsonView jsonValue)
void SetExecutorType(const ExecutorType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue