/** * 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 association between an extension and an AppConfig * resource such as an application, environment, or configuration profile. Call * GetExtensionAssociation to get more information about an * association.

See Also:

AWS * API Reference

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

The extension association ID. This ID is used to call other * ExtensionAssociation API actions such as * GetExtensionAssociation or * DeleteExtensionAssociation.

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

The extension association ID. This ID is used to call other * ExtensionAssociation API actions such as * GetExtensionAssociation or * DeleteExtensionAssociation.

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

The extension association ID. This ID is used to call other * ExtensionAssociation API actions such as * GetExtensionAssociation or * DeleteExtensionAssociation.

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

The extension association ID. This ID is used to call other * ExtensionAssociation API actions such as * GetExtensionAssociation or * DeleteExtensionAssociation.

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

The extension association ID. This ID is used to call other * ExtensionAssociation API actions such as * GetExtensionAssociation or * DeleteExtensionAssociation.

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

The extension association ID. This ID is used to call other * ExtensionAssociation API actions such as * GetExtensionAssociation or * DeleteExtensionAssociation.

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

The extension association ID. This ID is used to call other * ExtensionAssociation API actions such as * GetExtensionAssociation or * DeleteExtensionAssociation.

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

The extension association ID. This ID is used to call other * ExtensionAssociation API actions such as * GetExtensionAssociation or * DeleteExtensionAssociation.

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

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

*/ inline const Aws::String& GetExtensionArn() const{ return m_extensionArn; } /** *

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

*/ inline bool ExtensionArnHasBeenSet() const { return m_extensionArnHasBeenSet; } /** *

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

*/ inline void SetExtensionArn(const Aws::String& value) { m_extensionArnHasBeenSet = true; m_extensionArn = value; } /** *

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

*/ inline void SetExtensionArn(Aws::String&& value) { m_extensionArnHasBeenSet = true; m_extensionArn = std::move(value); } /** *

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

*/ inline void SetExtensionArn(const char* value) { m_extensionArnHasBeenSet = true; m_extensionArn.assign(value); } /** *

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

*/ inline ExtensionAssociationSummary& WithExtensionArn(const Aws::String& value) { SetExtensionArn(value); return *this;} /** *

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

*/ inline ExtensionAssociationSummary& WithExtensionArn(Aws::String&& value) { SetExtensionArn(std::move(value)); return *this;} /** *

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

*/ inline ExtensionAssociationSummary& WithExtensionArn(const char* value) { SetExtensionArn(value); return *this;} /** *

The ARNs of applications, configuration profiles, or environments defined in * the association.

*/ inline const Aws::String& GetResourceArn() const{ return m_resourceArn; } /** *

The ARNs of applications, configuration profiles, or environments defined in * the association.

*/ inline bool ResourceArnHasBeenSet() const { return m_resourceArnHasBeenSet; } /** *

The ARNs of applications, configuration profiles, or environments defined in * the association.

*/ inline void SetResourceArn(const Aws::String& value) { m_resourceArnHasBeenSet = true; m_resourceArn = value; } /** *

The ARNs of applications, configuration profiles, or environments defined in * the association.

*/ inline void SetResourceArn(Aws::String&& value) { m_resourceArnHasBeenSet = true; m_resourceArn = std::move(value); } /** *

The ARNs of applications, configuration profiles, or environments defined in * the association.

*/ inline void SetResourceArn(const char* value) { m_resourceArnHasBeenSet = true; m_resourceArn.assign(value); } /** *

The ARNs of applications, configuration profiles, or environments defined in * the association.

*/ inline ExtensionAssociationSummary& WithResourceArn(const Aws::String& value) { SetResourceArn(value); return *this;} /** *

The ARNs of applications, configuration profiles, or environments defined in * the association.

*/ inline ExtensionAssociationSummary& WithResourceArn(Aws::String&& value) { SetResourceArn(std::move(value)); return *this;} /** *

The ARNs of applications, configuration profiles, or environments defined in * the association.

*/ inline ExtensionAssociationSummary& WithResourceArn(const char* value) { SetResourceArn(value); return *this;} private: Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_extensionArn; bool m_extensionArnHasBeenSet = false; Aws::String m_resourceArn; bool m_resourceArnHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws