/** * 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 KendraRanking { namespace Model { class CreateRescoreExecutionPlanResult { public: AWS_KENDRARANKING_API CreateRescoreExecutionPlanResult(); AWS_KENDRARANKING_API CreateRescoreExecutionPlanResult(const Aws::AmazonWebServiceResult& result); AWS_KENDRARANKING_API CreateRescoreExecutionPlanResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identifier of the rescore execution plan.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The identifier of the rescore execution plan.

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

The identifier of the rescore execution plan.

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

The identifier of the rescore execution plan.

*/ inline void SetId(const char* value) { m_id.assign(value); } /** *

The identifier of the rescore execution plan.

*/ inline CreateRescoreExecutionPlanResult& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The identifier of the rescore execution plan.

*/ inline CreateRescoreExecutionPlanResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The identifier of the rescore execution plan.

*/ inline CreateRescoreExecutionPlanResult& WithId(const char* value) { SetId(value); return *this;} /** *

The Amazon Resource Name (ARN) of the rescore execution plan.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The Amazon Resource Name (ARN) of the rescore execution plan.

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

The Amazon Resource Name (ARN) of the rescore execution plan.

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

The Amazon Resource Name (ARN) of the rescore execution plan.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The Amazon Resource Name (ARN) of the rescore execution plan.

*/ inline CreateRescoreExecutionPlanResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the rescore execution plan.

*/ inline CreateRescoreExecutionPlanResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the rescore execution plan.

*/ inline CreateRescoreExecutionPlanResult& WithArn(const char* value) { SetArn(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 CreateRescoreExecutionPlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateRescoreExecutionPlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateRescoreExecutionPlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_arn; Aws::String m_requestId; }; } // namespace Model } // namespace KendraRanking } // namespace Aws