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

Specifies the managed scaling policy that is attached to an Amazon EMR * cluster.

*/ inline const ManagedScalingPolicy& GetManagedScalingPolicy() const{ return m_managedScalingPolicy; } /** *

Specifies the managed scaling policy that is attached to an Amazon EMR * cluster.

*/ inline void SetManagedScalingPolicy(const ManagedScalingPolicy& value) { m_managedScalingPolicy = value; } /** *

Specifies the managed scaling policy that is attached to an Amazon EMR * cluster.

*/ inline void SetManagedScalingPolicy(ManagedScalingPolicy&& value) { m_managedScalingPolicy = std::move(value); } /** *

Specifies the managed scaling policy that is attached to an Amazon EMR * cluster.

*/ inline GetManagedScalingPolicyResult& WithManagedScalingPolicy(const ManagedScalingPolicy& value) { SetManagedScalingPolicy(value); return *this;} /** *

Specifies the managed scaling policy that is attached to an Amazon EMR * cluster.

*/ inline GetManagedScalingPolicyResult& WithManagedScalingPolicy(ManagedScalingPolicy&& value) { SetManagedScalingPolicy(std::move(value)); return *this;} private: ManagedScalingPolicy m_managedScalingPolicy; }; } // namespace Model } // namespace EMR } // namespace Aws