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/deadline/model/FleetConfiguration.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/UUID.h>
49 inline void SetClientToken(
const char* value) { m_clientTokenHasBeenSet =
true; m_clientToken.assign(value); }
63 inline void SetFarmId(
const char* value) { m_farmIdHasBeenSet =
true; m_farmId.assign(value); }
79 inline void SetDisplayName(
const char* value) { m_displayNameHasBeenSet =
true; m_displayName.assign(value); }
95 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
109 inline void SetRoleArn(
const char* value) { m_roleArnHasBeenSet =
true; m_roleArn.assign(value); }
121 inline void SetMinWorkerCount(
int value) { m_minWorkerCountHasBeenSet =
true; m_minWorkerCount = value; }
131 inline void SetMaxWorkerCount(
int value) { m_maxWorkerCountHasBeenSet =
true; m_maxWorkerCount = value; }
166 inline CreateFleetRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
171 bool m_clientTokenHasBeenSet =
false;
174 bool m_farmIdHasBeenSet =
false;
177 bool m_displayNameHasBeenSet =
false;
180 bool m_descriptionHasBeenSet =
false;
183 bool m_roleArnHasBeenSet =
false;
185 int m_minWorkerCount;
186 bool m_minWorkerCountHasBeenSet =
false;
188 int m_maxWorkerCount;
189 bool m_maxWorkerCountHasBeenSet =
false;
192 bool m_configurationHasBeenSet =
false;
195 bool m_tagsHasBeenSet =
false;
CreateFleetRequest & AddTags(const Aws::String &key, const Aws::String &value)
CreateFleetRequest & AddTags(const char *key, const char *value)
CreateFleetRequest & WithDescription(Aws::String &&value)
CreateFleetRequest & WithDisplayName(const Aws::String &value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetRoleArn(const Aws::String &value)
void SetRoleArn(Aws::String &&value)
const Aws::String & GetDescription() const
int GetMinWorkerCount() const
void SetFarmId(const char *value)
bool MinWorkerCountHasBeenSet() const
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateFleetRequest & WithDisplayName(Aws::String &&value)
const Aws::String & GetFarmId() const
AWS_DEADLINE_API CreateFleetRequest()
bool RoleArnHasBeenSet() const
CreateFleetRequest & WithClientToken(const Aws::String &value)
void SetRoleArn(const char *value)
void SetFarmId(Aws::String &&value)
CreateFleetRequest & AddTags(Aws::String &&key, const char *value)
CreateFleetRequest & WithMinWorkerCount(int value)
CreateFleetRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateFleetRequest & WithRoleArn(const char *value)
CreateFleetRequest & AddTags(Aws::String &&key, Aws::String &&value)
CreateFleetRequest & WithMaxWorkerCount(int value)
CreateFleetRequest & WithFarmId(const char *value)
void SetDisplayName(Aws::String &&value)
bool DescriptionHasBeenSet() const
void SetDisplayName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetClientToken(Aws::String &&value)
bool MaxWorkerCountHasBeenSet() const
AWS_DEADLINE_API Aws::String SerializePayload() const override
CreateFleetRequest & WithConfiguration(FleetConfiguration &&value)
CreateFleetRequest & WithClientToken(Aws::String &&value)
void SetConfiguration(FleetConfiguration &&value)
const Aws::String & GetDisplayName() const
CreateFleetRequest & WithDescription(const char *value)
void SetDescription(const Aws::String &value)
void SetConfiguration(const FleetConfiguration &value)
CreateFleetRequest & WithFarmId(Aws::String &&value)
CreateFleetRequest & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetClientToken() const
CreateFleetRequest & WithClientToken(const char *value)
void SetMaxWorkerCount(int value)
CreateFleetRequest & WithFarmId(const Aws::String &value)
bool TagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetClientToken(const Aws::String &value)
CreateFleetRequest & WithRoleArn(const Aws::String &value)
CreateFleetRequest & WithDescription(const Aws::String &value)
CreateFleetRequest & AddTags(Aws::String &&key, const Aws::String &value)
const FleetConfiguration & GetConfiguration() const
void SetDescription(Aws::String &&value)
void SetFarmId(const Aws::String &value)
bool DisplayNameHasBeenSet() const
CreateFleetRequest & WithRoleArn(Aws::String &&value)
bool ClientTokenHasBeenSet() const
CreateFleetRequest & WithDisplayName(const char *value)
CreateFleetRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateFleetRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
bool FarmIdHasBeenSet() const
void SetDescription(const char *value)
int GetMaxWorkerCount() const
bool ConfigurationHasBeenSet() const
void SetMinWorkerCount(int value)
const Aws::String & GetRoleArn() const
CreateFleetRequest & WithConfiguration(const FleetConfiguration &value)
void SetClientToken(const char *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