/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains summary information about an executor.See Also:
AWS
* API Reference
The UUID of the executor.
*/ inline const Aws::String& GetExecutorId() const{ return m_executorId; } /** *The UUID of the executor.
*/ inline bool ExecutorIdHasBeenSet() const { return m_executorIdHasBeenSet; } /** *The UUID of the executor.
*/ inline void SetExecutorId(const Aws::String& value) { m_executorIdHasBeenSet = true; m_executorId = value; } /** *The UUID of the executor.
*/ inline void SetExecutorId(Aws::String&& value) { m_executorIdHasBeenSet = true; m_executorId = std::move(value); } /** *The UUID of the executor.
*/ inline void SetExecutorId(const char* value) { m_executorIdHasBeenSet = true; m_executorId.assign(value); } /** *The UUID of the executor.
*/ inline ExecutorsSummary& WithExecutorId(const Aws::String& value) { SetExecutorId(value); return *this;} /** *The UUID of the executor.
*/ inline ExecutorsSummary& WithExecutorId(Aws::String&& value) { SetExecutorId(std::move(value)); return *this;} /** *The UUID of the executor.
*/ inline ExecutorsSummary& WithExecutorId(const char* value) { SetExecutorId(value); return *this;} /** *The type of executor used for the application (COORDINATOR
,
* GATEWAY
, or WORKER
).
The type of executor used for the application (COORDINATOR
,
* GATEWAY
, or WORKER
).
The type of executor used for the application (COORDINATOR
,
* GATEWAY
, or WORKER
).
The type of executor used for the application (COORDINATOR
,
* GATEWAY
, or WORKER
).
The type of executor used for the application (COORDINATOR
,
* GATEWAY
, or WORKER
).
The type of executor used for the application (COORDINATOR
,
* GATEWAY
, or WORKER
).
The date and time that the executor started.
*/ inline long long GetStartDateTime() const{ return m_startDateTime; } /** *The date and time that the executor started.
*/ inline bool StartDateTimeHasBeenSet() const { return m_startDateTimeHasBeenSet; } /** *The date and time that the executor started.
*/ inline void SetStartDateTime(long long value) { m_startDateTimeHasBeenSet = true; m_startDateTime = value; } /** *The date and time that the executor started.
*/ inline ExecutorsSummary& WithStartDateTime(long long value) { SetStartDateTime(value); return *this;} /** *The date and time that the executor was terminated.
*/ inline long long GetTerminationDateTime() const{ return m_terminationDateTime; } /** *The date and time that the executor was terminated.
*/ inline bool TerminationDateTimeHasBeenSet() const { return m_terminationDateTimeHasBeenSet; } /** *The date and time that the executor was terminated.
*/ inline void SetTerminationDateTime(long long value) { m_terminationDateTimeHasBeenSet = true; m_terminationDateTime = value; } /** *The date and time that the executor was terminated.
*/ inline ExecutorsSummary& WithTerminationDateTime(long long value) { SetTerminationDateTime(value); return *this;} /** *The processing state of the executor. A description of each state * follows.
CREATING
- The executor is being started,
* including acquiring resources.
CREATED
- The executor has
* been started.
REGISTERED
- The executor has been
* registered.
TERMINATING
- The executor is in the process of
* shutting down.
TERMINATED
- The executor is no longer
* running.
FAILED
- Due to a failure, the executor is no
* longer running.
The processing state of the executor. A description of each state * follows.
CREATING
- The executor is being started,
* including acquiring resources.
CREATED
- The executor has
* been started.
REGISTERED
- The executor has been
* registered.
TERMINATING
- The executor is in the process of
* shutting down.
TERMINATED
- The executor is no longer
* running.
FAILED
- Due to a failure, the executor is no
* longer running.
The processing state of the executor. A description of each state * follows.
CREATING
- The executor is being started,
* including acquiring resources.
CREATED
- The executor has
* been started.
REGISTERED
- The executor has been
* registered.
TERMINATING
- The executor is in the process of
* shutting down.
TERMINATED
- The executor is no longer
* running.
FAILED
- Due to a failure, the executor is no
* longer running.
The processing state of the executor. A description of each state * follows.
CREATING
- The executor is being started,
* including acquiring resources.
CREATED
- The executor has
* been started.
REGISTERED
- The executor has been
* registered.
TERMINATING
- The executor is in the process of
* shutting down.
TERMINATED
- The executor is no longer
* running.
FAILED
- Due to a failure, the executor is no
* longer running.
The processing state of the executor. A description of each state * follows.
CREATING
- The executor is being started,
* including acquiring resources.
CREATED
- The executor has
* been started.
REGISTERED
- The executor has been
* registered.
TERMINATING
- The executor is in the process of
* shutting down.
TERMINATED
- The executor is no longer
* running.
FAILED
- Due to a failure, the executor is no
* longer running.
The processing state of the executor. A description of each state * follows.
CREATING
- The executor is being started,
* including acquiring resources.
CREATED
- The executor has
* been started.
REGISTERED
- The executor has been
* registered.
TERMINATING
- The executor is in the process of
* shutting down.
TERMINATED
- The executor is no longer
* running.
FAILED
- Due to a failure, the executor is no
* longer running.
The smallest unit of compute that a session can request from Athena. Size is * measured in data processing unit (DPU) values, a relative measure of processing * power.
*/ inline long long GetExecutorSize() const{ return m_executorSize; } /** *The smallest unit of compute that a session can request from Athena. Size is * measured in data processing unit (DPU) values, a relative measure of processing * power.
*/ inline bool ExecutorSizeHasBeenSet() const { return m_executorSizeHasBeenSet; } /** *The smallest unit of compute that a session can request from Athena. Size is * measured in data processing unit (DPU) values, a relative measure of processing * power.
*/ inline void SetExecutorSize(long long value) { m_executorSizeHasBeenSet = true; m_executorSize = value; } /** *The smallest unit of compute that a session can request from Athena. Size is * measured in data processing unit (DPU) values, a relative measure of processing * power.
*/ inline ExecutorsSummary& WithExecutorSize(long long value) { SetExecutorSize(value); return *this;} private: Aws::String m_executorId; bool m_executorIdHasBeenSet = false; ExecutorType m_executorType; bool m_executorTypeHasBeenSet = false; long long m_startDateTime; bool m_startDateTimeHasBeenSet = false; long long m_terminationDateTime; bool m_terminationDateTimeHasBeenSet = false; ExecutorState m_executorState; bool m_executorStateHasBeenSet = false; long long m_executorSize; bool m_executorSizeHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws