AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeFleetDeploymentResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/FleetDeployment.h>
12#include <aws/gamelift/model/LocationalDeployment.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GameLift {
26namespace Model {
28 public:
29 AWS_GAMELIFT_API DescribeFleetDeploymentResult() = default;
32
34
37 inline const FleetDeployment& GetFleetDeployment() const { return m_fleetDeployment; }
38 template <typename FleetDeploymentT = FleetDeployment>
39 void SetFleetDeployment(FleetDeploymentT&& value) {
40 m_fleetDeploymentHasBeenSet = true;
41 m_fleetDeployment = std::forward<FleetDeploymentT>(value);
42 }
43 template <typename FleetDeploymentT = FleetDeployment>
45 SetFleetDeployment(std::forward<FleetDeploymentT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::Map<Aws::String, LocationalDeployment>& GetLocationalDeployments() const { return m_locationalDeployments; }
56 template <typename LocationalDeploymentsT = Aws::Map<Aws::String, LocationalDeployment>>
57 void SetLocationalDeployments(LocationalDeploymentsT&& value) {
58 m_locationalDeploymentsHasBeenSet = true;
59 m_locationalDeployments = std::forward<LocationalDeploymentsT>(value);
60 }
61 template <typename LocationalDeploymentsT = Aws::Map<Aws::String, LocationalDeployment>>
63 SetLocationalDeployments(std::forward<LocationalDeploymentsT>(value));
64 return *this;
65 }
66 template <typename LocationalDeploymentsKeyT = Aws::String, typename LocationalDeploymentsValueT = LocationalDeployment>
67 DescribeFleetDeploymentResult& AddLocationalDeployments(LocationalDeploymentsKeyT&& key, LocationalDeploymentsValueT&& value) {
68 m_locationalDeploymentsHasBeenSet = true;
69 m_locationalDeployments.emplace(std::forward<LocationalDeploymentsKeyT>(key), std::forward<LocationalDeploymentsValueT>(value));
70 return *this;
71 }
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template <typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) {
79 m_requestIdHasBeenSet = true;
80 m_requestId = std::forward<RequestIdT>(value);
81 }
82 template <typename RequestIdT = Aws::String>
84 SetRequestId(std::forward<RequestIdT>(value));
85 return *this;
86 }
88 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
89
90 private:
91 FleetDeployment m_fleetDeployment;
92
93 Aws::Map<Aws::String, LocationalDeployment> m_locationalDeployments;
94
95 Aws::String m_requestId;
96 Aws::Http::HttpResponseCode m_HttpResponseCode;
97 bool m_fleetDeploymentHasBeenSet = false;
98 bool m_locationalDeploymentsHasBeenSet = false;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace GameLift
104} // 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