/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the task assigned to one or many devices.See
* Also:
AWS
* API Reference
The state of the task assigned to one or many devices.
*/ inline const TaskState& GetState() const{ return m_state; } /** *The state of the task assigned to one or many devices.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the task assigned to one or many devices.
*/ inline void SetState(const TaskState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the task assigned to one or many devices.
*/ inline void SetState(TaskState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the task assigned to one or many devices.
*/ inline TaskSummary& WithState(const TaskState& value) { SetState(value); return *this;} /** *The state of the task assigned to one or many devices.
*/ inline TaskSummary& WithState(TaskState&& value) { SetState(std::move(value)); return *this;} /** *Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline const Aws::MapOptional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline void SetTags(const Aws::MapOptional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline void SetTags(Aws::MapOptional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline TaskSummary& WithTags(const Aws::MapOptional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline TaskSummary& WithTags(Aws::MapOptional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline TaskSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline TaskSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline TaskSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline TaskSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline TaskSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline TaskSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *Optional metadata that you assign to a resource. You can use tags to * categorize a resource in different ways, such as by purpose, owner, or * environment.
*/ inline TaskSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The Amazon Resource Name (ARN) of the task.
*/ inline const Aws::String& GetTaskArn() const{ return m_taskArn; } /** *The Amazon Resource Name (ARN) of the task.
*/ inline bool TaskArnHasBeenSet() const { return m_taskArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the task.
*/ inline void SetTaskArn(const Aws::String& value) { m_taskArnHasBeenSet = true; m_taskArn = value; } /** *The Amazon Resource Name (ARN) of the task.
*/ inline void SetTaskArn(Aws::String&& value) { m_taskArnHasBeenSet = true; m_taskArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the task.
*/ inline void SetTaskArn(const char* value) { m_taskArnHasBeenSet = true; m_taskArn.assign(value); } /** *The Amazon Resource Name (ARN) of the task.
*/ inline TaskSummary& WithTaskArn(const Aws::String& value) { SetTaskArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the task.
*/ inline TaskSummary& WithTaskArn(Aws::String&& value) { SetTaskArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the task.
*/ inline TaskSummary& WithTaskArn(const char* value) { SetTaskArn(value); return *this;} /** *The task ID.
*/ inline const Aws::String& GetTaskId() const{ return m_taskId; } /** *The task ID.
*/ inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } /** *The task ID.
*/ inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } /** *The task ID.
*/ inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } /** *The task ID.
*/ inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } /** *The task ID.
*/ inline TaskSummary& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} /** *The task ID.
*/ inline TaskSummary& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} /** *The task ID.
*/ inline TaskSummary& WithTaskId(const char* value) { SetTaskId(value); return *this;} private: TaskState m_state; bool m_stateHasBeenSet = false; Aws::Map