AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
GetComputeAuthTokenResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace GameLift {
23namespace Model {
25 public:
26 AWS_GAMELIFT_API GetComputeAuthTokenResult() = default;
29
31
34 inline const Aws::String& GetFleetId() const { return m_fleetId; }
35 template <typename FleetIdT = Aws::String>
36 void SetFleetId(FleetIdT&& value) {
37 m_fleetIdHasBeenSet = true;
38 m_fleetId = std::forward<FleetIdT>(value);
39 }
40 template <typename FleetIdT = Aws::String>
42 SetFleetId(std::forward<FleetIdT>(value));
43 return *this;
44 }
46
48
55 inline const Aws::String& GetFleetArn() const { return m_fleetArn; }
56 template <typename FleetArnT = Aws::String>
57 void SetFleetArn(FleetArnT&& value) {
58 m_fleetArnHasBeenSet = true;
59 m_fleetArn = std::forward<FleetArnT>(value);
60 }
61 template <typename FleetArnT = Aws::String>
63 SetFleetArn(std::forward<FleetArnT>(value));
64 return *this;
65 }
67
69
73 inline const Aws::String& GetComputeName() const { return m_computeName; }
74 template <typename ComputeNameT = Aws::String>
75 void SetComputeName(ComputeNameT&& value) {
76 m_computeNameHasBeenSet = true;
77 m_computeName = std::forward<ComputeNameT>(value);
78 }
79 template <typename ComputeNameT = Aws::String>
81 SetComputeName(std::forward<ComputeNameT>(value));
82 return *this;
83 }
85
87
94 inline const Aws::String& GetComputeArn() const { return m_computeArn; }
95 template <typename ComputeArnT = Aws::String>
96 void SetComputeArn(ComputeArnT&& value) {
97 m_computeArnHasBeenSet = true;
98 m_computeArn = std::forward<ComputeArnT>(value);
99 }
100 template <typename ComputeArnT = Aws::String>
102 SetComputeArn(std::forward<ComputeArnT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetAuthToken() const { return m_authToken; }
112 template <typename AuthTokenT = Aws::String>
113 void SetAuthToken(AuthTokenT&& value) {
114 m_authTokenHasBeenSet = true;
115 m_authToken = std::forward<AuthTokenT>(value);
116 }
117 template <typename AuthTokenT = Aws::String>
119 SetAuthToken(std::forward<AuthTokenT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::Utils::DateTime& GetExpirationTimestamp() const { return m_expirationTimestamp; }
129 template <typename ExpirationTimestampT = Aws::Utils::DateTime>
130 void SetExpirationTimestamp(ExpirationTimestampT&& value) {
131 m_expirationTimestampHasBeenSet = true;
132 m_expirationTimestamp = std::forward<ExpirationTimestampT>(value);
133 }
134 template <typename ExpirationTimestampT = Aws::Utils::DateTime>
135 GetComputeAuthTokenResult& WithExpirationTimestamp(ExpirationTimestampT&& value) {
136 SetExpirationTimestamp(std::forward<ExpirationTimestampT>(value));
137 return *this;
138 }
140
142
143 inline const Aws::String& GetRequestId() const { return m_requestId; }
144 template <typename RequestIdT = Aws::String>
145 void SetRequestId(RequestIdT&& value) {
146 m_requestIdHasBeenSet = true;
147 m_requestId = std::forward<RequestIdT>(value);
148 }
149 template <typename RequestIdT = Aws::String>
151 SetRequestId(std::forward<RequestIdT>(value));
152 return *this;
153 }
155 private:
156 Aws::String m_fleetId;
157
158 Aws::String m_fleetArn;
159
160 Aws::String m_computeName;
161
162 Aws::String m_computeArn;
163
164 Aws::String m_authToken;
165
166 Aws::Utils::DateTime m_expirationTimestamp{};
167
168 Aws::String m_requestId;
169 bool m_fleetIdHasBeenSet = false;
170 bool m_fleetArnHasBeenSet = false;
171 bool m_computeNameHasBeenSet = false;
172 bool m_computeArnHasBeenSet = false;
173 bool m_authTokenHasBeenSet = false;
174 bool m_expirationTimestampHasBeenSet = false;
175 bool m_requestIdHasBeenSet = false;
176};
177
178} // namespace Model
179} // namespace GameLift
180} // 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)
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