AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
DescribeFleetLocationAttributesResult.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/LocationAttributes.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 DescribeFleetLocationAttributesResult() = 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
75 inline const Aws::Vector<LocationAttributes>& GetLocationAttributes() const { return m_locationAttributes; }
76 template <typename LocationAttributesT = Aws::Vector<LocationAttributes>>
77 void SetLocationAttributes(LocationAttributesT&& value) {
78 m_locationAttributesHasBeenSet = true;
79 m_locationAttributes = std::forward<LocationAttributesT>(value);
80 }
81 template <typename LocationAttributesT = Aws::Vector<LocationAttributes>>
83 SetLocationAttributes(std::forward<LocationAttributesT>(value));
84 return *this;
85 }
86 template <typename LocationAttributesT = LocationAttributes>
88 m_locationAttributesHasBeenSet = true;
89 m_locationAttributes.emplace_back(std::forward<LocationAttributesT>(value));
90 return *this;
91 }
93
95
100 inline const Aws::String& GetNextToken() const { return m_nextToken; }
101 template <typename NextTokenT = Aws::String>
102 void SetNextToken(NextTokenT&& value) {
103 m_nextTokenHasBeenSet = true;
104 m_nextToken = std::forward<NextTokenT>(value);
105 }
106 template <typename NextTokenT = Aws::String>
108 SetNextToken(std::forward<NextTokenT>(value));
109 return *this;
110 }
112
114
115 inline const Aws::String& GetRequestId() const { return m_requestId; }
116 template <typename RequestIdT = Aws::String>
117 void SetRequestId(RequestIdT&& value) {
118 m_requestIdHasBeenSet = true;
119 m_requestId = std::forward<RequestIdT>(value);
120 }
121 template <typename RequestIdT = Aws::String>
123 SetRequestId(std::forward<RequestIdT>(value));
124 return *this;
125 }
127 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
128
129 private:
130 Aws::String m_fleetId;
131
132 Aws::String m_fleetArn;
133
134 Aws::Vector<LocationAttributes> m_locationAttributes;
135
136 Aws::String m_nextToken;
137
138 Aws::String m_requestId;
139 Aws::Http::HttpResponseCode m_HttpResponseCode;
140 bool m_fleetIdHasBeenSet = false;
141 bool m_fleetArnHasBeenSet = false;
142 bool m_locationAttributesHasBeenSet = false;
143 bool m_nextTokenHasBeenSet = false;
144 bool m_requestIdHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace GameLift
149} // namespace Aws
DescribeFleetLocationAttributesResult & AddLocationAttributes(LocationAttributesT &&value)
DescribeFleetLocationAttributesResult & WithFleetId(FleetIdT &&value)
AWS_GAMELIFT_API DescribeFleetLocationAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GAMELIFT_API DescribeFleetLocationAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFleetLocationAttributesResult & WithNextToken(NextTokenT &&value)
DescribeFleetLocationAttributesResult & WithLocationAttributes(LocationAttributesT &&value)
DescribeFleetLocationAttributesResult & WithFleetArn(FleetArnT &&value)
DescribeFleetLocationAttributesResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue