7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/deadline/DeadlineRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/UUID.h>
48 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
64 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
80 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
94 inline void SetKmsKeyArn(
const char* value) { m_kmsKeyArnHasBeenSet =
true; m_kmsKeyArn.assign(value); }
117 inline CreateFarmRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
122 bool m_clientTokenHasBeenSet =
false;
125 bool m_displayNameHasBeenSet =
false;
128 bool m_descriptionHasBeenSet =
false;
131 bool m_kmsKeyArnHasBeenSet =
false;
134 bool m_tagsHasBeenSet =
false;
bool DescriptionHasBeenSet() const
void SetClientToken(const char *value)
CreateFarmRequest & WithDisplayName(Aws::String &&value)
const Aws::String & GetDisplayName() const
void SetKmsKeyArn(const Aws::String &value)
CreateFarmRequest & AddTags(const char *key, const char *value)
CreateFarmRequest & WithClientToken(Aws::String &&value)
void SetDisplayName(const Aws::String &value)
CreateFarmRequest & WithClientToken(const char *value)
CreateFarmRequest & WithClientToken(const Aws::String &value)
void SetDescription(Aws::String &&value)
CreateFarmRequest & WithDescription(Aws::String &&value)
CreateFarmRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool DisplayNameHasBeenSet() const
CreateFarmRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateFarmRequest & WithDescription(const Aws::String &value)
bool ClientTokenHasBeenSet() const
AWS_DEADLINE_API CreateFarmRequest()
const Aws::String & GetClientToken() const
CreateFarmRequest & WithKmsKeyArn(Aws::String &&value)
bool TagsHasBeenSet() const
void SetDescription(const Aws::String &value)
CreateFarmRequest & AddTags(const char *key, Aws::String &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
bool KmsKeyArnHasBeenSet() const
CreateFarmRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetDisplayName(Aws::String &&value)
CreateFarmRequest & WithDisplayName(const char *value)
CreateFarmRequest & WithDescription(const char *value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateFarmRequest & WithDisplayName(const Aws::String &value)
void SetKmsKeyArn(Aws::String &&value)
CreateFarmRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateFarmRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateFarmRequest & WithKmsKeyArn(const Aws::String &value)
void SetKmsKeyArn(const char *value)
const Aws::String & GetKmsKeyArn() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetClientToken(Aws::String &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
CreateFarmRequest & AddTags(Aws::String &&key, const char *value)
void SetDescription(const char *value)
virtual const char * GetServiceRequestName() const override
CreateFarmRequest & WithKmsKeyArn(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetClientToken(const Aws::String &value)
CreateFarmRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetDisplayName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
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