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

The Amazon Resource Name (ARN) for the metric attribution that you * updated.

*/ inline const Aws::String& GetMetricAttributionArn() const{ return m_metricAttributionArn; } /** *

The Amazon Resource Name (ARN) for the metric attribution that you * updated.

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

The Amazon Resource Name (ARN) for the metric attribution that you * updated.

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

The Amazon Resource Name (ARN) for the metric attribution that you * updated.

*/ inline void SetMetricAttributionArn(const char* value) { m_metricAttributionArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the metric attribution that you * updated.

*/ inline UpdateMetricAttributionResult& WithMetricAttributionArn(const Aws::String& value) { SetMetricAttributionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the metric attribution that you * updated.

*/ inline UpdateMetricAttributionResult& WithMetricAttributionArn(Aws::String&& value) { SetMetricAttributionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the metric attribution that you * updated.

*/ inline UpdateMetricAttributionResult& WithMetricAttributionArn(const char* value) { SetMetricAttributionArn(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 UpdateMetricAttributionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateMetricAttributionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateMetricAttributionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_metricAttributionArn; Aws::String m_requestId; }; } // namespace Model } // namespace Personalize } // namespace Aws