/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The summary of a task execution on a specified device.See
* Also:
AWS
* API Reference
The ID of the execution.
*/ inline const Aws::String& GetExecutionId() const{ return m_executionId; } /** *The ID of the execution.
*/ inline bool ExecutionIdHasBeenSet() const { return m_executionIdHasBeenSet; } /** *The ID of the execution.
*/ inline void SetExecutionId(const Aws::String& value) { m_executionIdHasBeenSet = true; m_executionId = value; } /** *The ID of the execution.
*/ inline void SetExecutionId(Aws::String&& value) { m_executionIdHasBeenSet = true; m_executionId = std::move(value); } /** *The ID of the execution.
*/ inline void SetExecutionId(const char* value) { m_executionIdHasBeenSet = true; m_executionId.assign(value); } /** *The ID of the execution.
*/ inline ExecutionSummary& WithExecutionId(const Aws::String& value) { SetExecutionId(value); return *this;} /** *The ID of the execution.
*/ inline ExecutionSummary& WithExecutionId(Aws::String&& value) { SetExecutionId(std::move(value)); return *this;} /** *The ID of the execution.
*/ inline ExecutionSummary& WithExecutionId(const char* value) { SetExecutionId(value); return *this;} /** *The ID of the managed device that the task is being executed on.
*/ inline const Aws::String& GetManagedDeviceId() const{ return m_managedDeviceId; } /** *The ID of the managed device that the task is being executed on.
*/ inline bool ManagedDeviceIdHasBeenSet() const { return m_managedDeviceIdHasBeenSet; } /** *The ID of the managed device that the task is being executed on.
*/ inline void SetManagedDeviceId(const Aws::String& value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId = value; } /** *The ID of the managed device that the task is being executed on.
*/ inline void SetManagedDeviceId(Aws::String&& value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId = std::move(value); } /** *The ID of the managed device that the task is being executed on.
*/ inline void SetManagedDeviceId(const char* value) { m_managedDeviceIdHasBeenSet = true; m_managedDeviceId.assign(value); } /** *The ID of the managed device that the task is being executed on.
*/ inline ExecutionSummary& WithManagedDeviceId(const Aws::String& value) { SetManagedDeviceId(value); return *this;} /** *The ID of the managed device that the task is being executed on.
*/ inline ExecutionSummary& WithManagedDeviceId(Aws::String&& value) { SetManagedDeviceId(std::move(value)); return *this;} /** *The ID of the managed device that the task is being executed on.
*/ inline ExecutionSummary& WithManagedDeviceId(const char* value) { SetManagedDeviceId(value); return *this;} /** *The state of the execution.
*/ inline const ExecutionState& GetState() const{ return m_state; } /** *The state of the execution.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the execution.
*/ inline void SetState(const ExecutionState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the execution.
*/ inline void SetState(ExecutionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the execution.
*/ inline ExecutionSummary& WithState(const ExecutionState& value) { SetState(value); return *this;} /** *The state of the execution.
*/ inline ExecutionSummary& WithState(ExecutionState&& value) { SetState(std::move(value)); return *this;} /** *The ID of the task.
*/ inline const Aws::String& GetTaskId() const{ return m_taskId; } /** *The ID of the task.
*/ inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } /** *The ID of the task.
*/ inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } /** *The ID of the task.
*/ inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } /** *The ID of the task.
*/ inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } /** *The ID of the task.
*/ inline ExecutionSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} /** *The ID of the task.
*/ inline ExecutionSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} /** *The ID of the task.
*/ inline ExecutionSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} private: Aws::String m_executionId; bool m_executionIdHasBeenSet = false; Aws::String m_managedDeviceId; bool m_managedDeviceIdHasBeenSet = false; ExecutionState m_state; bool m_stateHasBeenSet = false; Aws::String m_taskId; bool m_taskIdHasBeenSet = false; }; } // namespace Model } // namespace SnowDeviceManagement } // namespace Aws