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

The Amazon Resource Name (ARN) of the lineage group.

*/ inline const Aws::String& GetLineageGroupArn() const{ return m_lineageGroupArn; } /** *

The Amazon Resource Name (ARN) of the lineage group.

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

The Amazon Resource Name (ARN) of the lineage group.

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

The Amazon Resource Name (ARN) of the lineage group.

*/ inline void SetLineageGroupArn(const char* value) { m_lineageGroupArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the lineage group.

*/ inline GetLineageGroupPolicyResult& WithLineageGroupArn(const Aws::String& value) { SetLineageGroupArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the lineage group.

*/ inline GetLineageGroupPolicyResult& WithLineageGroupArn(Aws::String&& value) { SetLineageGroupArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the lineage group.

*/ inline GetLineageGroupPolicyResult& WithLineageGroupArn(const char* value) { SetLineageGroupArn(value); return *this;} /** *

The resource policy that gives access to the lineage group in another * account.

*/ inline const Aws::String& GetResourcePolicy() const{ return m_resourcePolicy; } /** *

The resource policy that gives access to the lineage group in another * account.

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

The resource policy that gives access to the lineage group in another * account.

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

The resource policy that gives access to the lineage group in another * account.

*/ inline void SetResourcePolicy(const char* value) { m_resourcePolicy.assign(value); } /** *

The resource policy that gives access to the lineage group in another * account.

*/ inline GetLineageGroupPolicyResult& WithResourcePolicy(const Aws::String& value) { SetResourcePolicy(value); return *this;} /** *

The resource policy that gives access to the lineage group in another * account.

*/ inline GetLineageGroupPolicyResult& WithResourcePolicy(Aws::String&& value) { SetResourcePolicy(std::move(value)); return *this;} /** *

The resource policy that gives access to the lineage group in another * account.

*/ inline GetLineageGroupPolicyResult& WithResourcePolicy(const char* value) { SetResourcePolicy(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 GetLineageGroupPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetLineageGroupPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetLineageGroupPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_lineageGroupArn; Aws::String m_resourcePolicy; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws