/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The credentials required to access the external Dataview from the S3
* location.See Also:
AWS
* API Reference
The unique identifier for the security credentials.
*/ inline const Aws::String& GetAccessKeyId() const{ return m_accessKeyId; } /** *The unique identifier for the security credentials.
*/ inline bool AccessKeyIdHasBeenSet() const { return m_accessKeyIdHasBeenSet; } /** *The unique identifier for the security credentials.
*/ inline void SetAccessKeyId(const Aws::String& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = value; } /** *The unique identifier for the security credentials.
*/ inline void SetAccessKeyId(Aws::String&& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = std::move(value); } /** *The unique identifier for the security credentials.
*/ inline void SetAccessKeyId(const char* value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId.assign(value); } /** *The unique identifier for the security credentials.
*/ inline AwsCredentials& WithAccessKeyId(const Aws::String& value) { SetAccessKeyId(value); return *this;} /** *The unique identifier for the security credentials.
*/ inline AwsCredentials& WithAccessKeyId(Aws::String&& value) { SetAccessKeyId(std::move(value)); return *this;} /** *The unique identifier for the security credentials.
*/ inline AwsCredentials& WithAccessKeyId(const char* value) { SetAccessKeyId(value); return *this;} /** *The secret access key that can be used to sign requests.
*/ inline const Aws::String& GetSecretAccessKey() const{ return m_secretAccessKey; } /** *The secret access key that can be used to sign requests.
*/ inline bool SecretAccessKeyHasBeenSet() const { return m_secretAccessKeyHasBeenSet; } /** *The secret access key that can be used to sign requests.
*/ inline void SetSecretAccessKey(const Aws::String& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = value; } /** *The secret access key that can be used to sign requests.
*/ inline void SetSecretAccessKey(Aws::String&& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = std::move(value); } /** *The secret access key that can be used to sign requests.
*/ inline void SetSecretAccessKey(const char* value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey.assign(value); } /** *The secret access key that can be used to sign requests.
*/ inline AwsCredentials& WithSecretAccessKey(const Aws::String& value) { SetSecretAccessKey(value); return *this;} /** *The secret access key that can be used to sign requests.
*/ inline AwsCredentials& WithSecretAccessKey(Aws::String&& value) { SetSecretAccessKey(std::move(value)); return *this;} /** *The secret access key that can be used to sign requests.
*/ inline AwsCredentials& WithSecretAccessKey(const char* value) { SetSecretAccessKey(value); return *this;} /** *The token that users must pass to use the credentials.
*/ inline const Aws::String& GetSessionToken() const{ return m_sessionToken; } /** *The token that users must pass to use the credentials.
*/ inline bool SessionTokenHasBeenSet() const { return m_sessionTokenHasBeenSet; } /** *The token that users must pass to use the credentials.
*/ inline void SetSessionToken(const Aws::String& value) { m_sessionTokenHasBeenSet = true; m_sessionToken = value; } /** *The token that users must pass to use the credentials.
*/ inline void SetSessionToken(Aws::String&& value) { m_sessionTokenHasBeenSet = true; m_sessionToken = std::move(value); } /** *The token that users must pass to use the credentials.
*/ inline void SetSessionToken(const char* value) { m_sessionTokenHasBeenSet = true; m_sessionToken.assign(value); } /** *The token that users must pass to use the credentials.
*/ inline AwsCredentials& WithSessionToken(const Aws::String& value) { SetSessionToken(value); return *this;} /** *The token that users must pass to use the credentials.
*/ inline AwsCredentials& WithSessionToken(Aws::String&& value) { SetSessionToken(std::move(value)); return *this;} /** *The token that users must pass to use the credentials.
*/ inline AwsCredentials& WithSessionToken(const char* value) { SetSessionToken(value); return *this;} /** *The Epoch time when the current credentials expire.
*/ inline long long GetExpiration() const{ return m_expiration; } /** *The Epoch time when the current credentials expire.
*/ inline bool ExpirationHasBeenSet() const { return m_expirationHasBeenSet; } /** *The Epoch time when the current credentials expire.
*/ inline void SetExpiration(long long value) { m_expirationHasBeenSet = true; m_expiration = value; } /** *The Epoch time when the current credentials expire.
*/ inline AwsCredentials& WithExpiration(long long value) { SetExpiration(value); return *this;} private: Aws::String m_accessKeyId; bool m_accessKeyIdHasBeenSet = false; Aws::String m_secretAccessKey; bool m_secretAccessKeyHasBeenSet = false; Aws::String m_sessionToken; bool m_sessionTokenHasBeenSet = false; long long m_expiration; bool m_expirationHasBeenSet = false; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws