/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
* AWS
* API Reference
Returns the programmatic credentials.
*/ inline const Credentials& GetCredentials() const{ return m_credentials; } /** *Returns the programmatic credentials.
*/ inline void SetCredentials(const Credentials& value) { m_credentials = value; } /** *Returns the programmatic credentials.
*/ inline void SetCredentials(Credentials&& value) { m_credentials = std::move(value); } /** *Returns the programmatic credentials.
*/ inline GetProgrammaticAccessCredentialsResult& WithCredentials(const Credentials& value) { SetCredentials(value); return *this;} /** *Returns the programmatic credentials.
*/ inline GetProgrammaticAccessCredentialsResult& WithCredentials(Credentials&& value) { SetCredentials(std::move(value)); return *this;} /** *Returns the duration in which the credentials will remain valid.
*/ inline long long GetDurationInMinutes() const{ return m_durationInMinutes; } /** *Returns the duration in which the credentials will remain valid.
*/ inline void SetDurationInMinutes(long long value) { m_durationInMinutes = value; } /** *Returns the duration in which the credentials will remain valid.
*/ inline GetProgrammaticAccessCredentialsResult& WithDurationInMinutes(long long value) { SetDurationInMinutes(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 GetProgrammaticAccessCredentialsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetProgrammaticAccessCredentialsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetProgrammaticAccessCredentialsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Credentials m_credentials; long long m_durationInMinutes; Aws::String m_requestId; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws