7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/deadline/DeadlineRequest.h>
11#include <aws/deadline/Deadline_EXPORTS.h>
12#include <aws/deadline/model/HostPropertiesRequest.h>
42 template <
typename FarmIdT = Aws::String>
44 m_farmIdHasBeenSet =
true;
45 m_farmId = std::forward<FarmIdT>(value);
47 template <
typename FarmIdT = Aws::String>
60 template <
typename FleetIdT = Aws::String>
62 m_fleetIdHasBeenSet =
true;
63 m_fleetId = std::forward<FleetIdT>(value);
65 template <
typename FleetIdT = Aws::String>
78 template <
typename HostPropertiesT = HostPropertiesRequest>
80 m_hostPropertiesHasBeenSet =
true;
81 m_hostProperties = std::forward<HostPropertiesT>(value);
83 template <
typename HostPropertiesT = HostPropertiesRequest>
97 template <
typename ClientTokenT = Aws::String>
99 m_clientTokenHasBeenSet =
true;
100 m_clientToken = std::forward<ClientTokenT>(value);
102 template <
typename ClientTokenT = Aws::String>
116 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
118 m_tagsHasBeenSet =
true;
119 m_tags = std::forward<TagsT>(value);
121 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
123 SetTags(std::forward<TagsT>(value));
126 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
128 m_tagsHasBeenSet =
true;
129 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
143 bool m_farmIdHasBeenSet =
false;
144 bool m_fleetIdHasBeenSet =
false;
145 bool m_hostPropertiesHasBeenSet =
false;
146 bool m_clientTokenHasBeenSet =
true;
147 bool m_tagsHasBeenSet =
false;
static Aws::Utils::UUID PseudoRandomUUID()
const HostPropertiesRequest & GetHostProperties() const
bool FarmIdHasBeenSet() const
const Aws::String & GetFleetId() const
void SetClientToken(ClientTokenT &&value)
AWS_DEADLINE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
bool HostPropertiesHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateWorkerRequest & WithClientToken(ClientTokenT &&value)
const Aws::String & GetFarmId() const
const Aws::String & GetClientToken() const
void SetFarmId(FarmIdT &&value)
CreateWorkerRequest & WithFleetId(FleetIdT &&value)
CreateWorkerRequest & WithTags(TagsT &&value)
bool FleetIdHasBeenSet() const
void SetFleetId(FleetIdT &&value)
AWS_DEADLINE_API Aws::String SerializePayload() const override
CreateWorkerRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateWorkerRequest & WithHostProperties(HostPropertiesT &&value)
void SetTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TagsHasBeenSet() const
AWS_DEADLINE_API CreateWorkerRequest()=default
CreateWorkerRequest & WithFarmId(FarmIdT &&value)
void SetHostProperties(HostPropertiesT &&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