/** * 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 AppConfig { namespace Model { /** *

Information about an extension. Call GetExtension to get more * information about an extension.

See Also:

AWS * API Reference

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

The system-generated ID of the extension.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The system-generated ID of the extension.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The system-generated ID of the extension.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The system-generated ID of the extension.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The system-generated ID of the extension.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The system-generated ID of the extension.

*/ inline ExtensionSummary& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The system-generated ID of the extension.

*/ inline ExtensionSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The system-generated ID of the extension.

*/ inline ExtensionSummary& WithId(const char* value) { SetId(value); return *this;} /** *

The extension name.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The extension name.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The extension name.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The extension name.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The extension name.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The extension name.

*/ inline ExtensionSummary& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The extension name.

*/ inline ExtensionSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The extension name.

*/ inline ExtensionSummary& WithName(const char* value) { SetName(value); return *this;} /** *

The extension version number.

*/ inline int GetVersionNumber() const{ return m_versionNumber; } /** *

The extension version number.

*/ inline bool VersionNumberHasBeenSet() const { return m_versionNumberHasBeenSet; } /** *

The extension version number.

*/ inline void SetVersionNumber(int value) { m_versionNumberHasBeenSet = true; m_versionNumber = value; } /** *

The extension version number.

*/ inline ExtensionSummary& WithVersionNumber(int value) { SetVersionNumber(value); return *this;} /** *

The system-generated Amazon Resource Name (ARN) for the extension.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The system-generated Amazon Resource Name (ARN) for the extension.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The system-generated Amazon Resource Name (ARN) for the extension.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The system-generated Amazon Resource Name (ARN) for the extension.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The system-generated Amazon Resource Name (ARN) for the extension.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The system-generated Amazon Resource Name (ARN) for the extension.

*/ inline ExtensionSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The system-generated Amazon Resource Name (ARN) for the extension.

*/ inline ExtensionSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The system-generated Amazon Resource Name (ARN) for the extension.

*/ inline ExtensionSummary& WithArn(const char* value) { SetArn(value); return *this;} /** *

Information about the extension.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

Information about the extension.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

Information about the extension.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

Information about the extension.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

Information about the extension.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

Information about the extension.

*/ inline ExtensionSummary& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

Information about the extension.

*/ inline ExtensionSummary& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

Information about the extension.

*/ inline ExtensionSummary& WithDescription(const char* value) { SetDescription(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; int m_versionNumber; bool m_versionNumberHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws