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

The credentials required to access the external Dataview from the S3 * location.

*/ inline const AwsCredentials& GetCredentials() const{ return m_credentials; } /** *

The credentials required to access the external Dataview from the S3 * location.

*/ inline void SetCredentials(const AwsCredentials& value) { m_credentials = value; } /** *

The credentials required to access the external Dataview from the S3 * location.

*/ inline void SetCredentials(AwsCredentials&& value) { m_credentials = std::move(value); } /** *

The credentials required to access the external Dataview from the S3 * location.

*/ inline GetExternalDataViewAccessDetailsResult& WithCredentials(const AwsCredentials& value) { SetCredentials(value); return *this;} /** *

The credentials required to access the external Dataview from the S3 * location.

*/ inline GetExternalDataViewAccessDetailsResult& WithCredentials(AwsCredentials&& value) { SetCredentials(std::move(value)); return *this;} /** *

The location where the external Dataview is stored.

*/ inline const S3Location& GetS3Location() const{ return m_s3Location; } /** *

The location where the external Dataview is stored.

*/ inline void SetS3Location(const S3Location& value) { m_s3Location = value; } /** *

The location where the external Dataview is stored.

*/ inline void SetS3Location(S3Location&& value) { m_s3Location = std::move(value); } /** *

The location where the external Dataview is stored.

*/ inline GetExternalDataViewAccessDetailsResult& WithS3Location(const S3Location& value) { SetS3Location(value); return *this;} /** *

The location where the external Dataview is stored.

*/ inline GetExternalDataViewAccessDetailsResult& WithS3Location(S3Location&& value) { SetS3Location(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 GetExternalDataViewAccessDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetExternalDataViewAccessDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetExternalDataViewAccessDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: AwsCredentials m_credentials; S3Location m_s3Location; Aws::String m_requestId; }; } // namespace Model } // namespace FinSpaceData } // namespace Aws