7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/gamelift/GameLift_EXPORTS.h>
43 AWS_GAMELIFT_API
AwsCredentials(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
45 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
53 template <
typename AccessKeyIdT = Aws::String>
55 m_accessKeyIdHasBeenSet =
true;
56 m_accessKeyId = std::forward<AccessKeyIdT>(value);
58 template <
typename AccessKeyIdT = Aws::String>
71 template <
typename SecretAccessKeyT = Aws::String>
73 m_secretAccessKeyHasBeenSet =
true;
74 m_secretAccessKey = std::forward<SecretAccessKeyT>(value);
76 template <
typename SecretAccessKeyT = Aws::String>
90 template <
typename SessionTokenT = Aws::String>
92 m_sessionTokenHasBeenSet =
true;
93 m_sessionToken = std::forward<SessionTokenT>(value);
95 template <
typename SessionTokenT = Aws::String>
107 bool m_accessKeyIdHasBeenSet =
false;
108 bool m_secretAccessKeyHasBeenSet =
false;
109 bool m_sessionTokenHasBeenSet =
false;
bool SecretAccessKeyHasBeenSet() const
AWS_GAMELIFT_API AwsCredentials()=default
const Aws::String & GetSessionToken() const
AwsCredentials & WithSessionToken(SessionTokenT &&value)
bool AccessKeyIdHasBeenSet() const
void SetSessionToken(SessionTokenT &&value)
void SetAccessKeyId(AccessKeyIdT &&value)
AwsCredentials & WithAccessKeyId(AccessKeyIdT &&value)
AWS_GAMELIFT_API AwsCredentials & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AwsCredentials & WithSecretAccessKey(SecretAccessKeyT &&value)
const Aws::String & GetSecretAccessKey() const
void SetSecretAccessKey(SecretAccessKeyT &&value)
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
bool SessionTokenHasBeenSet() const
const Aws::String & GetAccessKeyId() const
AWS_GAMELIFT_API AwsCredentials(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String