/** * 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 AddAssociationResult { public: AWS_SAGEMAKER_API AddAssociationResult(); AWS_SAGEMAKER_API AddAssociationResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API AddAssociationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ARN of the source.

*/ inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } /** *

The ARN of the source.

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

The ARN of the source.

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

The ARN of the source.

*/ inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); } /** *

The ARN of the source.

*/ inline AddAssociationResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} /** *

The ARN of the source.

*/ inline AddAssociationResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} /** *

The ARN of the source.

*/ inline AddAssociationResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the destination.

*/ inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; } /** *

The Amazon Resource Name (ARN) of the destination.

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

The Amazon Resource Name (ARN) of the destination.

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

The Amazon Resource Name (ARN) of the destination.

*/ inline void SetDestinationArn(const char* value) { m_destinationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the destination.

*/ inline AddAssociationResult& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the destination.

*/ inline AddAssociationResult& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the destination.

*/ inline AddAssociationResult& WithDestinationArn(const char* value) { SetDestinationArn(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 AddAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AddAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AddAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_sourceArn; Aws::String m_destinationArn; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws