7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/snow-device-management/model/TaskState.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
23namespace SnowDeviceManagement
50 inline void SetState(
TaskState&& value) { m_stateHasBeenSet =
true; m_state = std::move(value); }
73 inline TaskSummary&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
84 inline void SetTaskArn(
const char* value) { m_taskArnHasBeenSet =
true; m_taskArn.assign(value); }
98 inline void SetTaskId(
const char* value) { m_taskIdHasBeenSet =
true; m_taskId.assign(value); }
106 bool m_stateHasBeenSet =
false;
109 bool m_tagsHasBeenSet =
false;
112 bool m_taskArnHasBeenSet =
false;
115 bool m_taskIdHasBeenSet =
false;
void SetTaskArn(Aws::String &&value)
void SetTaskId(const char *value)
TaskSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
TaskSummary & WithTaskId(const char *value)
bool TagsHasBeenSet() const
bool TaskIdHasBeenSet() const
TaskSummary & WithState(TaskState &&value)
void SetTaskArn(const Aws::String &value)
bool StateHasBeenSet() const
TaskSummary & AddTags(Aws::String &&key, const char *value)
const TaskState & GetState() const
TaskSummary & AddTags(const Aws::String &key, const Aws::String &value)
TaskSummary & WithTaskId(const Aws::String &value)
void SetTaskId(const Aws::String &value)
const Aws::String & GetTaskArn() const
void SetTaskId(Aws::String &&value)
AWS_SNOWDEVICEMANAGEMENT_API TaskSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
TaskSummary & AddTags(const char *key, Aws::String &&value)
AWS_SNOWDEVICEMANAGEMENT_API TaskSummary(Aws::Utils::Json::JsonView jsonValue)
AWS_SNOWDEVICEMANAGEMENT_API TaskSummary()
TaskSummary & WithTaskArn(const char *value)
TaskSummary & WithTaskArn(Aws::String &&value)
TaskSummary & WithState(const TaskState &value)
const Aws::String & GetTaskId() const
void SetState(TaskState &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
TaskSummary & AddTags(Aws::String &&key, Aws::String &&value)
bool TaskArnHasBeenSet() const
TaskSummary & AddTags(const Aws::String &key, Aws::String &&value)
TaskSummary & AddTags(Aws::String &&key, const Aws::String &value)
TaskSummary & AddTags(const char *key, const char *value)
void SetState(const TaskState &value)
TaskSummary & WithTaskArn(const Aws::String &value)
void SetTaskArn(const char *value)
TaskSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_SNOWDEVICEMANAGEMENT_API Aws::Utils::Json::JsonValue Jsonize() const
TaskSummary & WithTaskId(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue