/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the output of PutScalingPolicy.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the policy.
*/ inline const Aws::String& GetPolicyARN() const{ return m_policyARN; } /** *The Amazon Resource Name (ARN) of the policy.
*/ inline void SetPolicyARN(const Aws::String& value) { m_policyARN = value; } /** *The Amazon Resource Name (ARN) of the policy.
*/ inline void SetPolicyARN(Aws::String&& value) { m_policyARN = std::move(value); } /** *The Amazon Resource Name (ARN) of the policy.
*/ inline void SetPolicyARN(const char* value) { m_policyARN.assign(value); } /** *The Amazon Resource Name (ARN) of the policy.
*/ inline PutScalingPolicyResult& WithPolicyARN(const Aws::String& value) { SetPolicyARN(value); return *this;} /** *The Amazon Resource Name (ARN) of the policy.
*/ inline PutScalingPolicyResult& WithPolicyARN(Aws::String&& value) { SetPolicyARN(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the policy.
*/ inline PutScalingPolicyResult& WithPolicyARN(const char* value) { SetPolicyARN(value); return *this;} /** *The CloudWatch alarms created for the target tracking scaling policy.
*/ inline const Aws::VectorThe CloudWatch alarms created for the target tracking scaling policy.
*/ inline void SetAlarms(const Aws::VectorThe CloudWatch alarms created for the target tracking scaling policy.
*/ inline void SetAlarms(Aws::VectorThe CloudWatch alarms created for the target tracking scaling policy.
*/ inline PutScalingPolicyResult& WithAlarms(const Aws::VectorThe CloudWatch alarms created for the target tracking scaling policy.
*/ inline PutScalingPolicyResult& WithAlarms(Aws::VectorThe CloudWatch alarms created for the target tracking scaling policy.
*/ inline PutScalingPolicyResult& AddAlarms(const Alarm& value) { m_alarms.push_back(value); return *this; } /** *The CloudWatch alarms created for the target tracking scaling policy.
*/ inline PutScalingPolicyResult& AddAlarms(Alarm&& value) { m_alarms.push_back(std::move(value)); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline PutScalingPolicyResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline PutScalingPolicyResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_policyARN; Aws::Vector