/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace AppRunner { namespace Model { /** *

Provides summary information about an App Runner automatic scaling * configuration resource.

This type contains limited information about an * auto scaling configuration. It includes only identification information, without * configuration details. It's returned by the ListAutoScalingConfigurations * action. Complete configuration information is returned by the * CreateAutoScalingConfiguration, DescribeAutoScalingConfiguration, * and DeleteAutoScalingConfiguration actions using the * AutoScalingConfiguration type.

See Also:

AWS * API Reference

*/ class AutoScalingConfigurationSummary { public: AWS_APPRUNNER_API AutoScalingConfigurationSummary(); AWS_APPRUNNER_API AutoScalingConfigurationSummary(Aws::Utils::Json::JsonView jsonValue); AWS_APPRUNNER_API AutoScalingConfigurationSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_APPRUNNER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The Amazon Resource Name (ARN) of this auto scaling configuration.

*/ inline const Aws::String& GetAutoScalingConfigurationArn() const{ return m_autoScalingConfigurationArn; } /** *

The Amazon Resource Name (ARN) of this auto scaling configuration.

*/ inline bool AutoScalingConfigurationArnHasBeenSet() const { return m_autoScalingConfigurationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of this auto scaling configuration.

*/ inline void SetAutoScalingConfigurationArn(const Aws::String& value) { m_autoScalingConfigurationArnHasBeenSet = true; m_autoScalingConfigurationArn = value; } /** *

The Amazon Resource Name (ARN) of this auto scaling configuration.

*/ inline void SetAutoScalingConfigurationArn(Aws::String&& value) { m_autoScalingConfigurationArnHasBeenSet = true; m_autoScalingConfigurationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of this auto scaling configuration.

*/ inline void SetAutoScalingConfigurationArn(const char* value) { m_autoScalingConfigurationArnHasBeenSet = true; m_autoScalingConfigurationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of this auto scaling configuration.

*/ inline AutoScalingConfigurationSummary& WithAutoScalingConfigurationArn(const Aws::String& value) { SetAutoScalingConfigurationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of this auto scaling configuration.

*/ inline AutoScalingConfigurationSummary& WithAutoScalingConfigurationArn(Aws::String&& value) { SetAutoScalingConfigurationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of this auto scaling configuration.

*/ inline AutoScalingConfigurationSummary& WithAutoScalingConfigurationArn(const char* value) { SetAutoScalingConfigurationArn(value); return *this;} /** *

The customer-provided auto scaling configuration name. It can be used in * multiple revisions of a configuration.

*/ inline const Aws::String& GetAutoScalingConfigurationName() const{ return m_autoScalingConfigurationName; } /** *

The customer-provided auto scaling configuration name. It can be used in * multiple revisions of a configuration.

*/ inline bool AutoScalingConfigurationNameHasBeenSet() const { return m_autoScalingConfigurationNameHasBeenSet; } /** *

The customer-provided auto scaling configuration name. It can be used in * multiple revisions of a configuration.

*/ inline void SetAutoScalingConfigurationName(const Aws::String& value) { m_autoScalingConfigurationNameHasBeenSet = true; m_autoScalingConfigurationName = value; } /** *

The customer-provided auto scaling configuration name. It can be used in * multiple revisions of a configuration.

*/ inline void SetAutoScalingConfigurationName(Aws::String&& value) { m_autoScalingConfigurationNameHasBeenSet = true; m_autoScalingConfigurationName = std::move(value); } /** *

The customer-provided auto scaling configuration name. It can be used in * multiple revisions of a configuration.

*/ inline void SetAutoScalingConfigurationName(const char* value) { m_autoScalingConfigurationNameHasBeenSet = true; m_autoScalingConfigurationName.assign(value); } /** *

The customer-provided auto scaling configuration name. It can be used in * multiple revisions of a configuration.

*/ inline AutoScalingConfigurationSummary& WithAutoScalingConfigurationName(const Aws::String& value) { SetAutoScalingConfigurationName(value); return *this;} /** *

The customer-provided auto scaling configuration name. It can be used in * multiple revisions of a configuration.

*/ inline AutoScalingConfigurationSummary& WithAutoScalingConfigurationName(Aws::String&& value) { SetAutoScalingConfigurationName(std::move(value)); return *this;} /** *

The customer-provided auto scaling configuration name. It can be used in * multiple revisions of a configuration.

*/ inline AutoScalingConfigurationSummary& WithAutoScalingConfigurationName(const char* value) { SetAutoScalingConfigurationName(value); return *this;} /** *

The revision of this auto scaling configuration. It's unique among all the * active configurations ("Status": "ACTIVE") with the same * AutoScalingConfigurationName.

*/ inline int GetAutoScalingConfigurationRevision() const{ return m_autoScalingConfigurationRevision; } /** *

The revision of this auto scaling configuration. It's unique among all the * active configurations ("Status": "ACTIVE") with the same * AutoScalingConfigurationName.

*/ inline bool AutoScalingConfigurationRevisionHasBeenSet() const { return m_autoScalingConfigurationRevisionHasBeenSet; } /** *

The revision of this auto scaling configuration. It's unique among all the * active configurations ("Status": "ACTIVE") with the same * AutoScalingConfigurationName.

*/ inline void SetAutoScalingConfigurationRevision(int value) { m_autoScalingConfigurationRevisionHasBeenSet = true; m_autoScalingConfigurationRevision = value; } /** *

The revision of this auto scaling configuration. It's unique among all the * active configurations ("Status": "ACTIVE") with the same * AutoScalingConfigurationName.

*/ inline AutoScalingConfigurationSummary& WithAutoScalingConfigurationRevision(int value) { SetAutoScalingConfigurationRevision(value); return *this;} private: Aws::String m_autoScalingConfigurationArn; bool m_autoScalingConfigurationArnHasBeenSet = false; Aws::String m_autoScalingConfigurationName; bool m_autoScalingConfigurationNameHasBeenSet = false; int m_autoScalingConfigurationRevision; bool m_autoScalingConfigurationRevisionHasBeenSet = false; }; } // namespace Model } // namespace AppRunner } // namespace Aws