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

The same solution version ARN as specified in the request.

*/ inline const Aws::String& GetSolutionVersionArn() const{ return m_solutionVersionArn; } /** *

The same solution version ARN as specified in the request.

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

The same solution version ARN as specified in the request.

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

The same solution version ARN as specified in the request.

*/ inline void SetSolutionVersionArn(const char* value) { m_solutionVersionArn.assign(value); } /** *

The same solution version ARN as specified in the request.

*/ inline GetSolutionMetricsResult& WithSolutionVersionArn(const Aws::String& value) { SetSolutionVersionArn(value); return *this;} /** *

The same solution version ARN as specified in the request.

*/ inline GetSolutionMetricsResult& WithSolutionVersionArn(Aws::String&& value) { SetSolutionVersionArn(std::move(value)); return *this;} /** *

The same solution version ARN as specified in the request.

*/ inline GetSolutionMetricsResult& WithSolutionVersionArn(const char* value) { SetSolutionVersionArn(value); return *this;} /** *

The metrics for the solution version.

*/ inline const Aws::Map& GetMetrics() const{ return m_metrics; } /** *

The metrics for the solution version.

*/ inline void SetMetrics(const Aws::Map& value) { m_metrics = value; } /** *

The metrics for the solution version.

*/ inline void SetMetrics(Aws::Map&& value) { m_metrics = std::move(value); } /** *

The metrics for the solution version.

*/ inline GetSolutionMetricsResult& WithMetrics(const Aws::Map& value) { SetMetrics(value); return *this;} /** *

The metrics for the solution version.

*/ inline GetSolutionMetricsResult& WithMetrics(Aws::Map&& value) { SetMetrics(std::move(value)); return *this;} /** *

The metrics for the solution version.

*/ inline GetSolutionMetricsResult& AddMetrics(const Aws::String& key, double value) { m_metrics.emplace(key, value); return *this; } /** *

The metrics for the solution version.

*/ inline GetSolutionMetricsResult& AddMetrics(Aws::String&& key, double value) { m_metrics.emplace(std::move(key), value); return *this; } /** *

The metrics for the solution version.

*/ inline GetSolutionMetricsResult& AddMetrics(const char* key, double value) { m_metrics.emplace(key, value); return *this; } private: Aws::String m_solutionVersionArn; Aws::Map m_metrics; }; } // namespace Model } // namespace Personalize } // namespace Aws