7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/model/FleetAttributes.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/gamelift/model/LocationState.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
44 template<
typename FleetAttributesT = FleetAttributes>
45 void SetFleetAttributes(FleetAttributesT&& value) { m_fleetAttributesHasBeenSet =
true; m_fleetAttributes = std::forward<FleetAttributesT>(value); }
46 template<
typename FleetAttributesT = FleetAttributes>
60 template<
typename LocationStatesT = Aws::Vector<LocationState>>
61 void SetLocationStates(LocationStatesT&& value) { m_locationStatesHasBeenSet =
true; m_locationStates = std::forward<LocationStatesT>(value); }
62 template<
typename LocationStatesT = Aws::Vector<LocationState>>
64 template<
typename LocationStatesT = LocationState>
65 CreateFleetResult&
AddLocationStates(LocationStatesT&& value) { m_locationStatesHasBeenSet =
true; m_locationStates.emplace_back(std::forward<LocationStatesT>(value));
return *
this; }
71 template<
typename RequestIdT = Aws::String>
72 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
73 template<
typename RequestIdT = Aws::String>
79 bool m_fleetAttributesHasBeenSet =
false;
82 bool m_locationStatesHasBeenSet =
false;
85 bool m_requestIdHasBeenSet =
false;
AWS_GAMELIFT_API CreateFleetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFleetResult & AddLocationStates(LocationStatesT &&value)
AWS_GAMELIFT_API CreateFleetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< LocationState > & GetLocationStates() const
const FleetAttributes & GetFleetAttributes() const
void SetRequestId(RequestIdT &&value)
CreateFleetResult & WithLocationStates(LocationStatesT &&value)
CreateFleetResult & WithFleetAttributes(FleetAttributesT &&value)
CreateFleetResult & WithRequestId(RequestIdT &&value)
void SetFleetAttributes(FleetAttributesT &&value)
AWS_GAMELIFT_API CreateFleetResult()=default
const Aws::String & GetRequestId() const
void SetLocationStates(LocationStatesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue