AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
GetComputeAuthTokenResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/gamelift/GameLift_EXPORTS.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 GetComputeAuthTokenResult() = default;
30
32
35 inline const Aws::String& GetFleetId() const { return m_fleetId; }
36 template <typename FleetIdT = Aws::String>
37 void SetFleetId(FleetIdT&& value) {
38 m_fleetIdHasBeenSet = true;
39 m_fleetId = std::forward<FleetIdT>(value);
40 }
41 template <typename FleetIdT = Aws::String>
43 SetFleetId(std::forward<FleetIdT>(value));
44 return *this;
45 }
47
49
56 inline const Aws::String& GetFleetArn() const { return m_fleetArn; }
57 template <typename FleetArnT = Aws::String>
58 void SetFleetArn(FleetArnT&& value) {
59 m_fleetArnHasBeenSet = true;
60 m_fleetArn = std::forward<FleetArnT>(value);
61 }
62 template <typename FleetArnT = Aws::String>
64 SetFleetArn(std::forward<FleetArnT>(value));
65 return *this;
66 }
68
70
74 inline const Aws::String& GetComputeName() const { return m_computeName; }
75 template <typename ComputeNameT = Aws::String>
76 void SetComputeName(ComputeNameT&& value) {
77 m_computeNameHasBeenSet = true;
78 m_computeName = std::forward<ComputeNameT>(value);
79 }
80 template <typename ComputeNameT = Aws::String>
82 SetComputeName(std::forward<ComputeNameT>(value));
83 return *this;
84 }
86
88
95 inline const Aws::String& GetComputeArn() const { return m_computeArn; }
96 template <typename ComputeArnT = Aws::String>
97 void SetComputeArn(ComputeArnT&& value) {
98 m_computeArnHasBeenSet = true;
99 m_computeArn = std::forward<ComputeArnT>(value);
100 }
101 template <typename ComputeArnT = Aws::String>
103 SetComputeArn(std::forward<ComputeArnT>(value));
104 return *this;
105 }
107
109
112 inline const Aws::String& GetAuthToken() const { return m_authToken; }
113 template <typename AuthTokenT = Aws::String>
114 void SetAuthToken(AuthTokenT&& value) {
115 m_authTokenHasBeenSet = true;
116 m_authToken = std::forward<AuthTokenT>(value);
117 }
118 template <typename AuthTokenT = Aws::String>
120 SetAuthToken(std::forward<AuthTokenT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::Utils::DateTime& GetExpirationTimestamp() const { return m_expirationTimestamp; }
130 template <typename ExpirationTimestampT = Aws::Utils::DateTime>
131 void SetExpirationTimestamp(ExpirationTimestampT&& value) {
132 m_expirationTimestampHasBeenSet = true;
133 m_expirationTimestamp = std::forward<ExpirationTimestampT>(value);
134 }
135 template <typename ExpirationTimestampT = Aws::Utils::DateTime>
136 GetComputeAuthTokenResult& WithExpirationTimestamp(ExpirationTimestampT&& value) {
137 SetExpirationTimestamp(std::forward<ExpirationTimestampT>(value));
138 return *this;
139 }
141
143
144 inline const Aws::String& GetRequestId() const { return m_requestId; }
145 template <typename RequestIdT = Aws::String>
146 void SetRequestId(RequestIdT&& value) {
147 m_requestIdHasBeenSet = true;
148 m_requestId = std::forward<RequestIdT>(value);
149 }
150 template <typename RequestIdT = Aws::String>
152 SetRequestId(std::forward<RequestIdT>(value));
153 return *this;
154 }
156 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
157
158 private:
159 Aws::String m_fleetId;
160
161 Aws::String m_fleetArn;
162
163 Aws::String m_computeName;
164
165 Aws::String m_computeArn;
166
167 Aws::String m_authToken;
168
169 Aws::Utils::DateTime m_expirationTimestamp{};
170
171 Aws::String m_requestId;
172 Aws::Http::HttpResponseCode m_HttpResponseCode;
173 bool m_fleetIdHasBeenSet = false;
174 bool m_fleetArnHasBeenSet = false;
175 bool m_computeNameHasBeenSet = false;
176 bool m_computeArnHasBeenSet = false;
177 bool m_authTokenHasBeenSet = false;
178 bool m_expirationTimestampHasBeenSet = false;
179 bool m_requestIdHasBeenSet = false;
180};
181
182} // namespace Model
183} // namespace GameLift
184} // namespace Aws
GetComputeAuthTokenResult & WithAuthToken(AuthTokenT &&value)
AWS_GAMELIFT_API GetComputeAuthTokenResult()=default
GetComputeAuthTokenResult & WithFleetArn(FleetArnT &&value)
AWS_GAMELIFT_API GetComputeAuthTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetExpirationTimestamp(ExpirationTimestampT &&value)
GetComputeAuthTokenResult & WithComputeArn(ComputeArnT &&value)
GetComputeAuthTokenResult & WithRequestId(RequestIdT &&value)
GetComputeAuthTokenResult & WithExpirationTimestamp(ExpirationTimestampT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetComputeAuthTokenResult & WithComputeName(ComputeNameT &&value)
AWS_GAMELIFT_API GetComputeAuthTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetComputeAuthTokenResult & WithFleetId(FleetIdT &&value)
const Aws::Utils::DateTime & GetExpirationTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue