AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DeleteFleetLocationsResult.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/gamelift/model/LocationState.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GameLift
26{
27namespace Model
28{
30 {
31 public:
32 AWS_GAMELIFT_API DeleteFleetLocationsResult() = default;
35
36
38
42 inline const Aws::String& GetFleetId() const { return m_fleetId; }
43 template<typename FleetIdT = Aws::String>
44 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::forward<FleetIdT>(value); }
45 template<typename FleetIdT = Aws::String>
46 DeleteFleetLocationsResult& WithFleetId(FleetIdT&& value) { SetFleetId(std::forward<FleetIdT>(value)); return *this;}
48
50
57 inline const Aws::String& GetFleetArn() const { return m_fleetArn; }
58 template<typename FleetArnT = Aws::String>
59 void SetFleetArn(FleetArnT&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::forward<FleetArnT>(value); }
60 template<typename FleetArnT = Aws::String>
61 DeleteFleetLocationsResult& WithFleetArn(FleetArnT&& value) { SetFleetArn(std::forward<FleetArnT>(value)); return *this;}
63
65
69 inline const Aws::Vector<LocationState>& GetLocationStates() const { return m_locationStates; }
70 template<typename LocationStatesT = Aws::Vector<LocationState>>
71 void SetLocationStates(LocationStatesT&& value) { m_locationStatesHasBeenSet = true; m_locationStates = std::forward<LocationStatesT>(value); }
72 template<typename LocationStatesT = Aws::Vector<LocationState>>
73 DeleteFleetLocationsResult& WithLocationStates(LocationStatesT&& value) { SetLocationStates(std::forward<LocationStatesT>(value)); return *this;}
74 template<typename LocationStatesT = LocationState>
75 DeleteFleetLocationsResult& AddLocationStates(LocationStatesT&& value) { m_locationStatesHasBeenSet = true; m_locationStates.emplace_back(std::forward<LocationStatesT>(value)); return *this; }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template<typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
83 template<typename RequestIdT = Aws::String>
84 DeleteFleetLocationsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
86 private:
87
88 Aws::String m_fleetId;
89 bool m_fleetIdHasBeenSet = false;
90
91 Aws::String m_fleetArn;
92 bool m_fleetArnHasBeenSet = false;
93
94 Aws::Vector<LocationState> m_locationStates;
95 bool m_locationStatesHasBeenSet = false;
96
97 Aws::String m_requestId;
98 bool m_requestIdHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace GameLift
103} // 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