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

The Amazon Resource Name (ARN) of the trial that is being deleted.

*/ inline const Aws::String& GetTrialArn() const{ return m_trialArn; } /** *

The Amazon Resource Name (ARN) of the trial that is being deleted.

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

The Amazon Resource Name (ARN) of the trial that is being deleted.

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

The Amazon Resource Name (ARN) of the trial that is being deleted.

*/ inline void SetTrialArn(const char* value) { m_trialArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the trial that is being deleted.

*/ inline DeleteTrialResult& WithTrialArn(const Aws::String& value) { SetTrialArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the trial that is being deleted.

*/ inline DeleteTrialResult& WithTrialArn(Aws::String&& value) { SetTrialArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the trial that is being deleted.

*/ inline DeleteTrialResult& WithTrialArn(const char* value) { SetTrialArn(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 DeleteTrialResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DeleteTrialResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DeleteTrialResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_trialArn; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws