7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/FleetAction.h>
11#include <aws/gamelift/model/LocationState.h>
12#include <aws/gamelift/model/LocationUpdateStatus.h>
34 AWS_GAMELIFT_API
LocationAttributes(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
44 template <
typename LocationStateT = LocationState>
46 m_locationStateHasBeenSet =
true;
47 m_locationState = std::forward<LocationStateT>(value);
49 template <
typename LocationStateT = LocationState>
62 template <
typename StoppedActionsT = Aws::Vector<FleetAction>>
64 m_stoppedActionsHasBeenSet =
true;
65 m_stoppedActions = std::forward<StoppedActionsT>(value);
67 template <
typename StoppedActionsT = Aws::Vector<FleetAction>>
73 m_stoppedActionsHasBeenSet =
true;
74 m_stoppedActions.push_back(value);
89 m_updateStatusHasBeenSet =
true;
90 m_updateStatus = value;
103 bool m_locationStateHasBeenSet =
false;
104 bool m_stoppedActionsHasBeenSet =
false;
105 bool m_updateStatusHasBeenSet =
false;
bool UpdateStatusHasBeenSet() const
LocationAttributes & WithLocationState(LocationStateT &&value)
const LocationState & GetLocationState() const
AWS_GAMELIFT_API LocationAttributes(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_GAMELIFT_API LocationAttributes()=default
const Aws::Vector< FleetAction > & GetStoppedActions() const
LocationAttributes & WithStoppedActions(StoppedActionsT &&value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetLocationState(LocationStateT &&value)
bool LocationStateHasBeenSet() const
LocationAttributes & WithUpdateStatus(LocationUpdateStatus value)
LocationAttributes & AddStoppedActions(FleetAction value)
void SetStoppedActions(StoppedActionsT &&value)
bool StoppedActionsHasBeenSet() const
void SetUpdateStatus(LocationUpdateStatus value)
LocationUpdateStatus GetUpdateStatus() const
AWS_GAMELIFT_API LocationAttributes & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::vector< T, Aws::Allocator< T > > Vector