AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeFleetDeploymentResult.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/model/FleetDeployment.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/gamelift/model/LocationalDeployment.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace GameLift
27{
28namespace Model
29{
31 {
32 public:
33 AWS_GAMELIFT_API DescribeFleetDeploymentResult() = default;
36
37
39
42 inline const FleetDeployment& GetFleetDeployment() const { return m_fleetDeployment; }
43 template<typename FleetDeploymentT = FleetDeployment>
44 void SetFleetDeployment(FleetDeploymentT&& value) { m_fleetDeploymentHasBeenSet = true; m_fleetDeployment = std::forward<FleetDeploymentT>(value); }
45 template<typename FleetDeploymentT = FleetDeployment>
46 DescribeFleetDeploymentResult& WithFleetDeployment(FleetDeploymentT&& value) { SetFleetDeployment(std::forward<FleetDeploymentT>(value)); return *this;}
48
50
54 inline const Aws::Map<Aws::String, LocationalDeployment>& GetLocationalDeployments() const { return m_locationalDeployments; }
55 template<typename LocationalDeploymentsT = Aws::Map<Aws::String, LocationalDeployment>>
56 void SetLocationalDeployments(LocationalDeploymentsT&& value) { m_locationalDeploymentsHasBeenSet = true; m_locationalDeployments = std::forward<LocationalDeploymentsT>(value); }
57 template<typename LocationalDeploymentsT = Aws::Map<Aws::String, LocationalDeployment>>
58 DescribeFleetDeploymentResult& WithLocationalDeployments(LocationalDeploymentsT&& value) { SetLocationalDeployments(std::forward<LocationalDeploymentsT>(value)); return *this;}
59 template<typename LocationalDeploymentsKeyT = Aws::String, typename LocationalDeploymentsValueT = LocationalDeployment>
60 DescribeFleetDeploymentResult& AddLocationalDeployments(LocationalDeploymentsKeyT&& key, LocationalDeploymentsValueT&& value) {
61 m_locationalDeploymentsHasBeenSet = true; m_locationalDeployments.emplace(std::forward<LocationalDeploymentsKeyT>(key), std::forward<LocationalDeploymentsValueT>(value)); return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template<typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
70 template<typename RequestIdT = Aws::String>
71 DescribeFleetDeploymentResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
73 private:
74
75 FleetDeployment m_fleetDeployment;
76 bool m_fleetDeploymentHasBeenSet = false;
77
78 Aws::Map<Aws::String, LocationalDeployment> m_locationalDeployments;
79 bool m_locationalDeploymentsHasBeenSet = false;
80
81 Aws::String m_requestId;
82 bool m_requestIdHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace GameLift
87} // namespace Aws
AWS_GAMELIFT_API DescribeFleetDeploymentResult()=default
DescribeFleetDeploymentResult & WithLocationalDeployments(LocationalDeploymentsT &&value)
DescribeFleetDeploymentResult & WithRequestId(RequestIdT &&value)
DescribeFleetDeploymentResult & AddLocationalDeployments(LocationalDeploymentsKeyT &&key, LocationalDeploymentsValueT &&value)
AWS_GAMELIFT_API DescribeFleetDeploymentResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, LocationalDeployment > & GetLocationalDeployments() const
AWS_GAMELIFT_API DescribeFleetDeploymentResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFleetDeploymentResult & WithFleetDeployment(FleetDeploymentT &&value)
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
Aws::Utils::Json::JsonValue JsonValue