AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetComputeAuthTokenResult.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/DateTime.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace GameLift
25{
26namespace Model
27{
29 {
30 public:
31 AWS_GAMELIFT_API GetComputeAuthTokenResult() = default;
34
35
37
40 inline const Aws::String& GetFleetId() const { return m_fleetId; }
41 template<typename FleetIdT = Aws::String>
42 void SetFleetId(FleetIdT&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::forward<FleetIdT>(value); }
43 template<typename FleetIdT = Aws::String>
44 GetComputeAuthTokenResult& WithFleetId(FleetIdT&& value) { SetFleetId(std::forward<FleetIdT>(value)); return *this;}
46
48
55 inline const Aws::String& GetFleetArn() const { return m_fleetArn; }
56 template<typename FleetArnT = Aws::String>
57 void SetFleetArn(FleetArnT&& value) { m_fleetArnHasBeenSet = true; m_fleetArn = std::forward<FleetArnT>(value); }
58 template<typename FleetArnT = Aws::String>
59 GetComputeAuthTokenResult& WithFleetArn(FleetArnT&& value) { SetFleetArn(std::forward<FleetArnT>(value)); return *this;}
61
63
67 inline const Aws::String& GetComputeName() const { return m_computeName; }
68 template<typename ComputeNameT = Aws::String>
69 void SetComputeName(ComputeNameT&& value) { m_computeNameHasBeenSet = true; m_computeName = std::forward<ComputeNameT>(value); }
70 template<typename ComputeNameT = Aws::String>
71 GetComputeAuthTokenResult& WithComputeName(ComputeNameT&& value) { SetComputeName(std::forward<ComputeNameT>(value)); return *this;}
73
75
82 inline const Aws::String& GetComputeArn() const { return m_computeArn; }
83 template<typename ComputeArnT = Aws::String>
84 void SetComputeArn(ComputeArnT&& value) { m_computeArnHasBeenSet = true; m_computeArn = std::forward<ComputeArnT>(value); }
85 template<typename ComputeArnT = Aws::String>
86 GetComputeAuthTokenResult& WithComputeArn(ComputeArnT&& value) { SetComputeArn(std::forward<ComputeArnT>(value)); return *this;}
88
90
93 inline const Aws::String& GetAuthToken() const { return m_authToken; }
94 template<typename AuthTokenT = Aws::String>
95 void SetAuthToken(AuthTokenT&& value) { m_authTokenHasBeenSet = true; m_authToken = std::forward<AuthTokenT>(value); }
96 template<typename AuthTokenT = Aws::String>
97 GetComputeAuthTokenResult& WithAuthToken(AuthTokenT&& value) { SetAuthToken(std::forward<AuthTokenT>(value)); return *this;}
99
101
104 inline const Aws::Utils::DateTime& GetExpirationTimestamp() const { return m_expirationTimestamp; }
105 template<typename ExpirationTimestampT = Aws::Utils::DateTime>
106 void SetExpirationTimestamp(ExpirationTimestampT&& value) { m_expirationTimestampHasBeenSet = true; m_expirationTimestamp = std::forward<ExpirationTimestampT>(value); }
107 template<typename ExpirationTimestampT = Aws::Utils::DateTime>
108 GetComputeAuthTokenResult& WithExpirationTimestamp(ExpirationTimestampT&& value) { SetExpirationTimestamp(std::forward<ExpirationTimestampT>(value)); return *this;}
110
112
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 template<typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
116 template<typename RequestIdT = Aws::String>
117 GetComputeAuthTokenResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
119 private:
120
121 Aws::String m_fleetId;
122 bool m_fleetIdHasBeenSet = false;
123
124 Aws::String m_fleetArn;
125 bool m_fleetArnHasBeenSet = false;
126
127 Aws::String m_computeName;
128 bool m_computeNameHasBeenSet = false;
129
130 Aws::String m_computeArn;
131 bool m_computeArnHasBeenSet = false;
132
133 Aws::String m_authToken;
134 bool m_authTokenHasBeenSet = false;
135
136 Aws::Utils::DateTime m_expirationTimestamp{};
137 bool m_expirationTimestampHasBeenSet = false;
138
139 Aws::String m_requestId;
140 bool m_requestIdHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace GameLift
145} // 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