/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace LakeFormation { namespace Model { class GetTemporaryGluePartitionCredentialsResult { public: AWS_LAKEFORMATION_API GetTemporaryGluePartitionCredentialsResult(); AWS_LAKEFORMATION_API GetTemporaryGluePartitionCredentialsResult(const Aws::AmazonWebServiceResult& result); AWS_LAKEFORMATION_API GetTemporaryGluePartitionCredentialsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The access key ID for the temporary credentials.

*/ inline const Aws::String& GetAccessKeyId() const{ return m_accessKeyId; } /** *

The access key ID for the temporary credentials.

*/ inline void SetAccessKeyId(const Aws::String& value) { m_accessKeyId = value; } /** *

The access key ID for the temporary credentials.

*/ inline void SetAccessKeyId(Aws::String&& value) { m_accessKeyId = std::move(value); } /** *

The access key ID for the temporary credentials.

*/ inline void SetAccessKeyId(const char* value) { m_accessKeyId.assign(value); } /** *

The access key ID for the temporary credentials.

*/ inline GetTemporaryGluePartitionCredentialsResult& WithAccessKeyId(const Aws::String& value) { SetAccessKeyId(value); return *this;} /** *

The access key ID for the temporary credentials.

*/ inline GetTemporaryGluePartitionCredentialsResult& WithAccessKeyId(Aws::String&& value) { SetAccessKeyId(std::move(value)); return *this;} /** *

The access key ID for the temporary credentials.

*/ inline GetTemporaryGluePartitionCredentialsResult& WithAccessKeyId(const char* value) { SetAccessKeyId(value); return *this;} /** *

The secret key for the temporary credentials.

*/ inline const Aws::String& GetSecretAccessKey() const{ return m_secretAccessKey; } /** *

The secret key for the temporary credentials.

*/ inline void SetSecretAccessKey(const Aws::String& value) { m_secretAccessKey = value; } /** *

The secret key for the temporary credentials.

*/ inline void SetSecretAccessKey(Aws::String&& value) { m_secretAccessKey = std::move(value); } /** *

The secret key for the temporary credentials.

*/ inline void SetSecretAccessKey(const char* value) { m_secretAccessKey.assign(value); } /** *

The secret key for the temporary credentials.

*/ inline GetTemporaryGluePartitionCredentialsResult& WithSecretAccessKey(const Aws::String& value) { SetSecretAccessKey(value); return *this;} /** *

The secret key for the temporary credentials.

*/ inline GetTemporaryGluePartitionCredentialsResult& WithSecretAccessKey(Aws::String&& value) { SetSecretAccessKey(std::move(value)); return *this;} /** *

The secret key for the temporary credentials.

*/ inline GetTemporaryGluePartitionCredentialsResult& WithSecretAccessKey(const char* value) { SetSecretAccessKey(value); return *this;} /** *

The session token for the temporary credentials.

*/ inline const Aws::String& GetSessionToken() const{ return m_sessionToken; } /** *

The session token for the temporary credentials.

*/ inline void SetSessionToken(const Aws::String& value) { m_sessionToken = value; } /** *

The session token for the temporary credentials.

*/ inline void SetSessionToken(Aws::String&& value) { m_sessionToken = std::move(value); } /** *

The session token for the temporary credentials.

*/ inline void SetSessionToken(const char* value) { m_sessionToken.assign(value); } /** *

The session token for the temporary credentials.

*/ inline GetTemporaryGluePartitionCredentialsResult& WithSessionToken(const Aws::String& value) { SetSessionToken(value); return *this;} /** *

The session token for the temporary credentials.

*/ inline GetTemporaryGluePartitionCredentialsResult& WithSessionToken(Aws::String&& value) { SetSessionToken(std::move(value)); return *this;} /** *

The session token for the temporary credentials.

*/ inline GetTemporaryGluePartitionCredentialsResult& WithSessionToken(const char* value) { SetSessionToken(value); return *this;} /** *

The date and time when the temporary credentials expire.

*/ inline const Aws::Utils::DateTime& GetExpiration() const{ return m_expiration; } /** *

The date and time when the temporary credentials expire.

*/ inline void SetExpiration(const Aws::Utils::DateTime& value) { m_expiration = value; } /** *

The date and time when the temporary credentials expire.

*/ inline void SetExpiration(Aws::Utils::DateTime&& value) { m_expiration = std::move(value); } /** *

The date and time when the temporary credentials expire.

*/ inline GetTemporaryGluePartitionCredentialsResult& WithExpiration(const Aws::Utils::DateTime& value) { SetExpiration(value); return *this;} /** *

The date and time when the temporary credentials expire.

*/ inline GetTemporaryGluePartitionCredentialsResult& WithExpiration(Aws::Utils::DateTime&& value) { SetExpiration(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetTemporaryGluePartitionCredentialsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetTemporaryGluePartitionCredentialsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetTemporaryGluePartitionCredentialsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_accessKeyId; Aws::String m_secretAccessKey; Aws::String m_sessionToken; Aws::Utils::DateTime m_expiration; Aws::String m_requestId; }; } // namespace Model } // namespace LakeFormation } // namespace Aws