/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Short term API credentials.See Also:
AWS
* API Reference
The access key identifier.
*/ inline const Aws::String& GetAccessKeyId() const{ return m_accessKeyId; } /** *The access key identifier.
*/ inline bool AccessKeyIdHasBeenSet() const { return m_accessKeyIdHasBeenSet; } /** *The access key identifier.
*/ inline void SetAccessKeyId(const Aws::String& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = value; } /** *The access key identifier.
*/ inline void SetAccessKeyId(Aws::String&& value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId = std::move(value); } /** *The access key identifier.
*/ inline void SetAccessKeyId(const char* value) { m_accessKeyIdHasBeenSet = true; m_accessKeyId.assign(value); } /** *The access key identifier.
*/ inline Credentials& WithAccessKeyId(const Aws::String& value) { SetAccessKeyId(value); return *this;} /** *The access key identifier.
*/ inline Credentials& WithAccessKeyId(Aws::String&& value) { SetAccessKeyId(std::move(value)); return *this;} /** *The access key identifier.
*/ inline Credentials& WithAccessKeyId(const char* value) { SetAccessKeyId(value); return *this;} /** *The access key.
*/ inline const Aws::String& GetSecretAccessKey() const{ return m_secretAccessKey; } /** *The access key.
*/ inline bool SecretAccessKeyHasBeenSet() const { return m_secretAccessKeyHasBeenSet; } /** *The access key.
*/ inline void SetSecretAccessKey(const Aws::String& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = value; } /** *The access key.
*/ inline void SetSecretAccessKey(Aws::String&& value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey = std::move(value); } /** *The access key.
*/ inline void SetSecretAccessKey(const char* value) { m_secretAccessKeyHasBeenSet = true; m_secretAccessKey.assign(value); } /** *The access key.
*/ inline Credentials& WithSecretAccessKey(const Aws::String& value) { SetSecretAccessKey(value); return *this;} /** *The access key.
*/ inline Credentials& WithSecretAccessKey(Aws::String&& value) { SetSecretAccessKey(std::move(value)); return *this;} /** *The access key.
*/ inline Credentials& WithSecretAccessKey(const char* value) { SetSecretAccessKey(value); return *this;} /** *The session token.
*/ inline const Aws::String& GetSessionToken() const{ return m_sessionToken; } /** *The session token.
*/ inline bool SessionTokenHasBeenSet() const { return m_sessionTokenHasBeenSet; } /** *The session token.
*/ inline void SetSessionToken(const Aws::String& value) { m_sessionTokenHasBeenSet = true; m_sessionToken = value; } /** *The session token.
*/ inline void SetSessionToken(Aws::String&& value) { m_sessionTokenHasBeenSet = true; m_sessionToken = std::move(value); } /** *The session token.
*/ inline void SetSessionToken(const char* value) { m_sessionTokenHasBeenSet = true; m_sessionToken.assign(value); } /** *The session token.
*/ inline Credentials& WithSessionToken(const Aws::String& value) { SetSessionToken(value); return *this;} /** *The session token.
*/ inline Credentials& WithSessionToken(Aws::String&& value) { SetSessionToken(std::move(value)); return *this;} /** *The session token.
*/ inline Credentials& WithSessionToken(const char* value) { SetSessionToken(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; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws