/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace GameLift { namespace Model { class DescribeFleetDeploymentResult { public: AWS_GAMELIFT_API DescribeFleetDeploymentResult(); AWS_GAMELIFT_API DescribeFleetDeploymentResult(const Aws::AmazonWebServiceResult& result); AWS_GAMELIFT_API DescribeFleetDeploymentResult& operator=(const Aws::AmazonWebServiceResult& result); ///@{ /** *

The requested deployment information.

*/ inline const FleetDeployment& GetFleetDeployment() const{ return m_fleetDeployment; } inline void SetFleetDeployment(const FleetDeployment& value) { m_fleetDeployment = value; } inline void SetFleetDeployment(FleetDeployment&& value) { m_fleetDeployment = std::move(value); } inline DescribeFleetDeploymentResult& WithFleetDeployment(const FleetDeployment& value) { SetFleetDeployment(value); return *this;} inline DescribeFleetDeploymentResult& WithFleetDeployment(FleetDeployment&& value) { SetFleetDeployment(std::move(value)); return *this;} ///@} ///@{ /** *

If the deployment is for a multi-location fleet, the requests returns the * deployment status in each fleet location.

*/ inline const Aws::Map& GetLocationalDeployments() const{ return m_locationalDeployments; } inline void SetLocationalDeployments(const Aws::Map& value) { m_locationalDeployments = value; } inline void SetLocationalDeployments(Aws::Map&& value) { m_locationalDeployments = std::move(value); } inline DescribeFleetDeploymentResult& WithLocationalDeployments(const Aws::Map& value) { SetLocationalDeployments(value); return *this;} inline DescribeFleetDeploymentResult& WithLocationalDeployments(Aws::Map&& value) { SetLocationalDeployments(std::move(value)); return *this;} inline DescribeFleetDeploymentResult& AddLocationalDeployments(const Aws::String& key, const LocationalDeployment& value) { m_locationalDeployments.emplace(key, value); return *this; } inline DescribeFleetDeploymentResult& AddLocationalDeployments(Aws::String&& key, const LocationalDeployment& value) { m_locationalDeployments.emplace(std::move(key), value); return *this; } inline DescribeFleetDeploymentResult& AddLocationalDeployments(const Aws::String& key, LocationalDeployment&& value) { m_locationalDeployments.emplace(key, std::move(value)); return *this; } inline DescribeFleetDeploymentResult& AddLocationalDeployments(Aws::String&& key, LocationalDeployment&& value) { m_locationalDeployments.emplace(std::move(key), std::move(value)); return *this; } inline DescribeFleetDeploymentResult& AddLocationalDeployments(const char* key, LocationalDeployment&& value) { m_locationalDeployments.emplace(key, std::move(value)); return *this; } inline DescribeFleetDeploymentResult& AddLocationalDeployments(const char* key, const LocationalDeployment& value) { m_locationalDeployments.emplace(key, value); return *this; } ///@} ///@{ inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeFleetDeploymentResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeFleetDeploymentResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeFleetDeploymentResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} ///@} private: FleetDeployment m_fleetDeployment; Aws::Map m_locationalDeployments; Aws::String m_requestId; }; } // namespace Model } // namespace GameLift } // namespace Aws