AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
41 inline void SetFleetId(const Aws::String& value) { m_fleetId = value; }
42 inline void SetFleetId(Aws::String&& value) { m_fleetId = std::move(value); }
43 inline void SetFleetId(const char* value) { m_fleetId.assign(value); }
44 inline GetComputeAuthTokenResult& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
45 inline GetComputeAuthTokenResult& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
46 inline GetComputeAuthTokenResult& WithFleetId(const char* value) { SetFleetId(value); return *this;}
48
50
57 inline const Aws::String& GetFleetArn() const{ return m_fleetArn; }
58 inline void SetFleetArn(const Aws::String& value) { m_fleetArn = value; }
59 inline void SetFleetArn(Aws::String&& value) { m_fleetArn = std::move(value); }
60 inline void SetFleetArn(const char* value) { m_fleetArn.assign(value); }
61 inline GetComputeAuthTokenResult& WithFleetArn(const Aws::String& value) { SetFleetArn(value); return *this;}
62 inline GetComputeAuthTokenResult& WithFleetArn(Aws::String&& value) { SetFleetArn(std::move(value)); return *this;}
63 inline GetComputeAuthTokenResult& WithFleetArn(const char* value) { SetFleetArn(value); return *this;}
65
67
71 inline const Aws::String& GetComputeName() const{ return m_computeName; }
72 inline void SetComputeName(const Aws::String& value) { m_computeName = value; }
73 inline void SetComputeName(Aws::String&& value) { m_computeName = std::move(value); }
74 inline void SetComputeName(const char* value) { m_computeName.assign(value); }
75 inline GetComputeAuthTokenResult& WithComputeName(const Aws::String& value) { SetComputeName(value); return *this;}
76 inline GetComputeAuthTokenResult& WithComputeName(Aws::String&& value) { SetComputeName(std::move(value)); return *this;}
77 inline GetComputeAuthTokenResult& WithComputeName(const char* value) { SetComputeName(value); return *this;}
79
81
88 inline const Aws::String& GetComputeArn() const{ return m_computeArn; }
89 inline void SetComputeArn(const Aws::String& value) { m_computeArn = value; }
90 inline void SetComputeArn(Aws::String&& value) { m_computeArn = std::move(value); }
91 inline void SetComputeArn(const char* value) { m_computeArn.assign(value); }
92 inline GetComputeAuthTokenResult& WithComputeArn(const Aws::String& value) { SetComputeArn(value); return *this;}
93 inline GetComputeAuthTokenResult& WithComputeArn(Aws::String&& value) { SetComputeArn(std::move(value)); return *this;}
94 inline GetComputeAuthTokenResult& WithComputeArn(const char* value) { SetComputeArn(value); return *this;}
96
98
101 inline const Aws::String& GetAuthToken() const{ return m_authToken; }
102 inline void SetAuthToken(const Aws::String& value) { m_authToken = value; }
103 inline void SetAuthToken(Aws::String&& value) { m_authToken = std::move(value); }
104 inline void SetAuthToken(const char* value) { m_authToken.assign(value); }
105 inline GetComputeAuthTokenResult& WithAuthToken(const Aws::String& value) { SetAuthToken(value); return *this;}
106 inline GetComputeAuthTokenResult& WithAuthToken(Aws::String&& value) { SetAuthToken(std::move(value)); return *this;}
107 inline GetComputeAuthTokenResult& WithAuthToken(const char* value) { SetAuthToken(value); return *this;}
109
111
114 inline const Aws::Utils::DateTime& GetExpirationTimestamp() const{ return m_expirationTimestamp; }
115 inline void SetExpirationTimestamp(const Aws::Utils::DateTime& value) { m_expirationTimestamp = value; }
116 inline void SetExpirationTimestamp(Aws::Utils::DateTime&& value) { m_expirationTimestamp = std::move(value); }
120
122
123 inline const Aws::String& GetRequestId() const{ return m_requestId; }
124 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
125 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
126 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
127 inline GetComputeAuthTokenResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
128 inline GetComputeAuthTokenResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
129 inline GetComputeAuthTokenResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
131 private:
132
133 Aws::String m_fleetId;
134
135 Aws::String m_fleetArn;
136
137 Aws::String m_computeName;
138
139 Aws::String m_computeArn;
140
141 Aws::String m_authToken;
142
143 Aws::Utils::DateTime m_expirationTimestamp;
144
145 Aws::String m_requestId;
146 };
147
148} // namespace Model
149} // namespace GameLift
150} // namespace Aws
GetComputeAuthTokenResult & WithComputeArn(const Aws::String &value)
GetComputeAuthTokenResult & WithRequestId(const Aws::String &value)
void SetExpirationTimestamp(const Aws::Utils::DateTime &value)
GetComputeAuthTokenResult & WithAuthToken(const char *value)
GetComputeAuthTokenResult & WithFleetArn(const char *value)
GetComputeAuthTokenResult & WithComputeName(const char *value)
AWS_GAMELIFT_API GetComputeAuthTokenResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetComputeAuthTokenResult & WithFleetId(const char *value)
GetComputeAuthTokenResult & WithComputeArn(Aws::String &&value)
GetComputeAuthTokenResult & WithComputeArn(const char *value)
GetComputeAuthTokenResult & WithAuthToken(Aws::String &&value)
GetComputeAuthTokenResult & WithFleetId(const Aws::String &value)
GetComputeAuthTokenResult & WithRequestId(Aws::String &&value)
GetComputeAuthTokenResult & WithExpirationTimestamp(const Aws::Utils::DateTime &value)
GetComputeAuthTokenResult & WithFleetId(Aws::String &&value)
GetComputeAuthTokenResult & WithFleetArn(Aws::String &&value)
GetComputeAuthTokenResult & WithAuthToken(const Aws::String &value)
GetComputeAuthTokenResult & WithComputeName(const Aws::String &value)
AWS_GAMELIFT_API GetComputeAuthTokenResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetComputeAuthTokenResult & WithComputeName(Aws::String &&value)
void SetExpirationTimestamp(Aws::Utils::DateTime &&value)
GetComputeAuthTokenResult & WithExpirationTimestamp(Aws::Utils::DateTime &&value)
GetComputeAuthTokenResult & WithFleetArn(const Aws::String &value)
GetComputeAuthTokenResult & WithRequestId(const char *value)
const Aws::Utils::DateTime & GetExpirationTimestamp() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue