AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DeleteFleetLocationsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/GameLift_EXPORTS.h>
11#include <aws/gamelift/model/LocationState.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace GameLift {
25namespace Model {
27 public:
28 AWS_GAMELIFT_API DeleteFleetLocationsResult() = default;
31
33
37 inline const Aws::String& GetFleetId() const { return m_fleetId; }
38 template <typename FleetIdT = Aws::String>
39 void SetFleetId(FleetIdT&& value) {
40 m_fleetIdHasBeenSet = true;
41 m_fleetId = std::forward<FleetIdT>(value);
42 }
43 template <typename FleetIdT = Aws::String>
45 SetFleetId(std::forward<FleetIdT>(value));
46 return *this;
47 }
49
51
58 inline const Aws::String& GetFleetArn() const { return m_fleetArn; }
59 template <typename FleetArnT = Aws::String>
60 void SetFleetArn(FleetArnT&& value) {
61 m_fleetArnHasBeenSet = true;
62 m_fleetArn = std::forward<FleetArnT>(value);
63 }
64 template <typename FleetArnT = Aws::String>
66 SetFleetArn(std::forward<FleetArnT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::Vector<LocationState>& GetLocationStates() const { return m_locationStates; }
77 template <typename LocationStatesT = Aws::Vector<LocationState>>
78 void SetLocationStates(LocationStatesT&& value) {
79 m_locationStatesHasBeenSet = true;
80 m_locationStates = std::forward<LocationStatesT>(value);
81 }
82 template <typename LocationStatesT = Aws::Vector<LocationState>>
84 SetLocationStates(std::forward<LocationStatesT>(value));
85 return *this;
86 }
87 template <typename LocationStatesT = LocationState>
89 m_locationStatesHasBeenSet = true;
90 m_locationStates.emplace_back(std::forward<LocationStatesT>(value));
91 return *this;
92 }
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template <typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) {
100 m_requestIdHasBeenSet = true;
101 m_requestId = std::forward<RequestIdT>(value);
102 }
103 template <typename RequestIdT = Aws::String>
105 SetRequestId(std::forward<RequestIdT>(value));
106 return *this;
107 }
109 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
110
111 private:
112 Aws::String m_fleetId;
113
114 Aws::String m_fleetArn;
115
116 Aws::Vector<LocationState> m_locationStates;
117
118 Aws::String m_requestId;
119 Aws::Http::HttpResponseCode m_HttpResponseCode;
120 bool m_fleetIdHasBeenSet = false;
121 bool m_fleetArnHasBeenSet = false;
122 bool m_locationStatesHasBeenSet = false;
123 bool m_requestIdHasBeenSet = false;
124};
125
126} // namespace Model
127} // namespace GameLift
128} // namespace Aws
const Aws::Vector< LocationState > & GetLocationStates() const
DeleteFleetLocationsResult & WithFleetId(FleetIdT &&value)
DeleteFleetLocationsResult & WithLocationStates(LocationStatesT &&value)
DeleteFleetLocationsResult & AddLocationStates(LocationStatesT &&value)
AWS_GAMELIFT_API DeleteFleetLocationsResult()=default
AWS_GAMELIFT_API DeleteFleetLocationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteFleetLocationsResult & WithRequestId(RequestIdT &&value)
DeleteFleetLocationsResult & WithFleetArn(FleetArnT &&value)
AWS_GAMELIFT_API DeleteFleetLocationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue