7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/snow-device-management/SnowDeviceManagementRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/snow-device-management/model/Command.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/core/utils/UUID.h>
18namespace SnowDeviceManagement
48 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
61 inline void SetCommand(
const Command& value) { m_commandHasBeenSet =
true; m_command = value; }
62 inline void SetCommand(
Command&& value) { m_commandHasBeenSet =
true; m_command = std::move(value); }
75 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
99 inline CreateTaskRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
119 bool m_clientTokenHasBeenSet =
false;
122 bool m_commandHasBeenSet =
false;
125 bool m_descriptionHasBeenSet =
false;
128 bool m_tagsHasBeenSet =
false;
131 bool m_targetsHasBeenSet =
false;
CreateTaskRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateTaskRequest & WithTargets(const Aws::Vector< Aws::String > &value)
CreateTaskRequest & WithClientToken(const char *value)
CreateTaskRequest & AddTargets(Aws::String &&value)
void SetDescription(const Aws::String &value)
CreateTaskRequest & WithClientToken(Aws::String &&value)
CreateTaskRequest & WithDescription(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool ClientTokenHasBeenSet() const
AWS_SNOWDEVICEMANAGEMENT_API CreateTaskRequest()
CreateTaskRequest & AddTags(Aws::String &&key, const char *value)
bool TagsHasBeenSet() const
CreateTaskRequest & AddTags(const char *key, Aws::String &&value)
CreateTaskRequest & AddTags(const char *key, const char *value)
AWS_SNOWDEVICEMANAGEMENT_API Aws::String SerializePayload() const override
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTargets(Aws::Vector< Aws::String > &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateTaskRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateTaskRequest & AddTags(const Aws::String &key, const Aws::String &value)
const Command & GetCommand() const
CreateTaskRequest & WithClientToken(const Aws::String &value)
void SetClientToken(const Aws::String &value)
CreateTaskRequest & WithCommand(const Command &value)
const Aws::String & GetDescription() const
void SetClientToken(const char *value)
CreateTaskRequest & WithDescription(const Aws::String &value)
CreateTaskRequest & WithCommand(Command &&value)
void SetDescription(const char *value)
bool CommandHasBeenSet() const
CreateTaskRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateTaskRequest & WithTargets(Aws::Vector< Aws::String > &&value)
CreateTaskRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetClientToken() const
void SetDescription(Aws::String &&value)
void SetCommand(Command &&value)
CreateTaskRequest & WithDescription(Aws::String &&value)
CreateTaskRequest & AddTargets(const char *value)
bool TargetsHasBeenSet() const
const Aws::Vector< Aws::String > & GetTargets() const
CreateTaskRequest & AddTargets(const Aws::String &value)
bool DescriptionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateTaskRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetCommand(const Command &value)
void SetTargets(const Aws::Vector< Aws::String > &value)
void SetClientToken(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
std::vector< T, Aws::Allocator< T > > Vector