AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
DeleteFleetLocationsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10#include <aws/gamelift/model/LocationState.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace GameLift {
24namespace Model {
26 public:
27 AWS_GAMELIFT_API DeleteFleetLocationsResult() = default;
30
32
36 inline const Aws::String& GetFleetId() const { return m_fleetId; }
37 template <typename FleetIdT = Aws::String>
38 void SetFleetId(FleetIdT&& value) {
39 m_fleetIdHasBeenSet = true;
40 m_fleetId = std::forward<FleetIdT>(value);
41 }
42 template <typename FleetIdT = Aws::String>
44 SetFleetId(std::forward<FleetIdT>(value));
45 return *this;
46 }
48
50
57 inline const Aws::String& GetFleetArn() const { return m_fleetArn; }
58 template <typename FleetArnT = Aws::String>
59 void SetFleetArn(FleetArnT&& value) {
60 m_fleetArnHasBeenSet = true;
61 m_fleetArn = std::forward<FleetArnT>(value);
62 }
63 template <typename FleetArnT = Aws::String>
65 SetFleetArn(std::forward<FleetArnT>(value));
66 return *this;
67 }
69
71
75 inline const Aws::Vector<LocationState>& GetLocationStates() const { return m_locationStates; }
76 template <typename LocationStatesT = Aws::Vector<LocationState>>
77 void SetLocationStates(LocationStatesT&& value) {
78 m_locationStatesHasBeenSet = true;
79 m_locationStates = std::forward<LocationStatesT>(value);
80 }
81 template <typename LocationStatesT = Aws::Vector<LocationState>>
83 SetLocationStates(std::forward<LocationStatesT>(value));
84 return *this;
85 }
86 template <typename LocationStatesT = LocationState>
88 m_locationStatesHasBeenSet = true;
89 m_locationStates.emplace_back(std::forward<LocationStatesT>(value));
90 return *this;
91 }
93
95
96 inline const Aws::String& GetRequestId() const { return m_requestId; }
97 template <typename RequestIdT = Aws::String>
98 void SetRequestId(RequestIdT&& value) {
99 m_requestIdHasBeenSet = true;
100 m_requestId = std::forward<RequestIdT>(value);
101 }
102 template <typename RequestIdT = Aws::String>
104 SetRequestId(std::forward<RequestIdT>(value));
105 return *this;
106 }
108 private:
109 Aws::String m_fleetId;
110 bool m_fleetIdHasBeenSet = false;
111
112 Aws::String m_fleetArn;
113 bool m_fleetArnHasBeenSet = false;
114
115 Aws::Vector<LocationState> m_locationStates;
116 bool m_locationStatesHasBeenSet = false;
117
118 Aws::String m_requestId;
119 bool m_requestIdHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace GameLift
124} // 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