This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-elasticmapreduce/include/aws/elasticmapreduce/model/GetManagedScalingPolicyResult.h

73 lines
2.1 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/elasticmapreduce/EMR_EXPORTS.h>
#include <aws/elasticmapreduce/model/ManagedScalingPolicy.h>
#include <utility>
namespace Aws
{
template<typename RESULT_TYPE>
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<Aws::Utils::Json::JsonValue>& result);
GetManagedScalingPolicyResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
/**
* <p> Specifies the managed scaling policy that is attached to an Amazon EMR
* cluster. </p>
*/
inline const ManagedScalingPolicy& GetManagedScalingPolicy() const{ return m_managedScalingPolicy; }
/**
* <p> Specifies the managed scaling policy that is attached to an Amazon EMR
* cluster. </p>
*/
inline void SetManagedScalingPolicy(const ManagedScalingPolicy& value) { m_managedScalingPolicy = value; }
/**
* <p> Specifies the managed scaling policy that is attached to an Amazon EMR
* cluster. </p>
*/
inline void SetManagedScalingPolicy(ManagedScalingPolicy&& value) { m_managedScalingPolicy = std::move(value); }
/**
* <p> Specifies the managed scaling policy that is attached to an Amazon EMR
* cluster. </p>
*/
inline GetManagedScalingPolicyResult& WithManagedScalingPolicy(const ManagedScalingPolicy& value) { SetManagedScalingPolicy(value); return *this;}
/**
* <p> Specifies the managed scaling policy that is attached to an Amazon EMR
* cluster. </p>
*/
inline GetManagedScalingPolicyResult& WithManagedScalingPolicy(ManagedScalingPolicy&& value) { SetManagedScalingPolicy(std::move(value)); return *this;}
private:
ManagedScalingPolicy m_managedScalingPolicy;
};
} // namespace Model
} // namespace EMR
} // namespace Aws