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

The metric policy that is associated with the specific container.

*/ inline const MetricPolicy& GetMetricPolicy() const{ return m_metricPolicy; } /** *

The metric policy that is associated with the specific container.

*/ inline void SetMetricPolicy(const MetricPolicy& value) { m_metricPolicy = value; } /** *

The metric policy that is associated with the specific container.

*/ inline void SetMetricPolicy(MetricPolicy&& value) { m_metricPolicy = std::move(value); } /** *

The metric policy that is associated with the specific container.

*/ inline GetMetricPolicyResult& WithMetricPolicy(const MetricPolicy& value) { SetMetricPolicy(value); return *this;} /** *

The metric policy that is associated with the specific container.

*/ inline GetMetricPolicyResult& WithMetricPolicy(MetricPolicy&& value) { SetMetricPolicy(std::move(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 GetMetricPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetMetricPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetMetricPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: MetricPolicy m_metricPolicy; Aws::String m_requestId; }; } // namespace Model } // namespace MediaStore } // namespace Aws