1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h> 8 9 namespace Aws 10 { 11 template<typename RESULT_TYPE> 12 class AmazonWebServiceResult; 13 14 namespace Utils 15 { 16 namespace Json 17 { 18 class JsonValue; 19 } // namespace Json 20 } // namespace Utils 21 namespace AutoScalingPlans 22 { 23 namespace Model 24 { 25 class AWS_AUTOSCALINGPLANS_API CreateScalingPlanResult 26 { 27 public: 28 CreateScalingPlanResult(); 29 CreateScalingPlanResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 30 CreateScalingPlanResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); 31 32 33 /** 34 * <p>The version number of the scaling plan. This value is always <code>1</code>. 35 * Currently, you cannot have multiple scaling plan versions.</p> 36 */ GetScalingPlanVersion()37 inline long long GetScalingPlanVersion() const{ return m_scalingPlanVersion; } 38 39 /** 40 * <p>The version number of the scaling plan. This value is always <code>1</code>. 41 * Currently, you cannot have multiple scaling plan versions.</p> 42 */ SetScalingPlanVersion(long long value)43 inline void SetScalingPlanVersion(long long value) { m_scalingPlanVersion = value; } 44 45 /** 46 * <p>The version number of the scaling plan. This value is always <code>1</code>. 47 * Currently, you cannot have multiple scaling plan versions.</p> 48 */ WithScalingPlanVersion(long long value)49 inline CreateScalingPlanResult& WithScalingPlanVersion(long long value) { SetScalingPlanVersion(value); return *this;} 50 51 private: 52 53 long long m_scalingPlanVersion; 54 }; 55 56 } // namespace Model 57 } // namespace AutoScalingPlans 58 } // namespace Aws 59