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

The version number of the scaling plan. This value is always 1. * Currently, you cannot have multiple scaling plan versions.

*/ inline long long GetScalingPlanVersion() const{ return m_scalingPlanVersion; } /** *

The version number of the scaling plan. This value is always 1. * Currently, you cannot have multiple scaling plan versions.

*/ inline void SetScalingPlanVersion(long long value) { m_scalingPlanVersion = value; } /** *

The version number of the scaling plan. This value is always 1. * Currently, you cannot have multiple scaling plan versions.

*/ inline CreateScalingPlanResult& WithScalingPlanVersion(long long value) { SetScalingPlanVersion(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 CreateScalingPlanResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateScalingPlanResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateScalingPlanResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: long long m_scalingPlanVersion; Aws::String m_requestId; }; } // namespace Model } // namespace AutoScalingPlans } // namespace Aws