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

An extension that was invoked during a deployment.

See Also:

* AWS * API Reference

*/ class AppliedExtension { public: AWS_APPCONFIG_API AppliedExtension(); AWS_APPCONFIG_API AppliedExtension(Aws::Utils::Json::JsonView jsonValue); AWS_APPCONFIG_API AppliedExtension& 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& GetExtensionId() const{ return m_extensionId; } /** *

The system-generated ID of the extension.

*/ inline bool ExtensionIdHasBeenSet() const { return m_extensionIdHasBeenSet; } /** *

The system-generated ID of the extension.

*/ inline void SetExtensionId(const Aws::String& value) { m_extensionIdHasBeenSet = true; m_extensionId = value; } /** *

The system-generated ID of the extension.

*/ inline void SetExtensionId(Aws::String&& value) { m_extensionIdHasBeenSet = true; m_extensionId = std::move(value); } /** *

The system-generated ID of the extension.

*/ inline void SetExtensionId(const char* value) { m_extensionIdHasBeenSet = true; m_extensionId.assign(value); } /** *

The system-generated ID of the extension.

*/ inline AppliedExtension& WithExtensionId(const Aws::String& value) { SetExtensionId(value); return *this;} /** *

The system-generated ID of the extension.

*/ inline AppliedExtension& WithExtensionId(Aws::String&& value) { SetExtensionId(std::move(value)); return *this;} /** *

The system-generated ID of the extension.

*/ inline AppliedExtension& WithExtensionId(const char* value) { SetExtensionId(value); return *this;} /** *

The system-generated ID for the association.

*/ inline const Aws::String& GetExtensionAssociationId() const{ return m_extensionAssociationId; } /** *

The system-generated ID for the association.

*/ inline bool ExtensionAssociationIdHasBeenSet() const { return m_extensionAssociationIdHasBeenSet; } /** *

The system-generated ID for the association.

*/ inline void SetExtensionAssociationId(const Aws::String& value) { m_extensionAssociationIdHasBeenSet = true; m_extensionAssociationId = value; } /** *

The system-generated ID for the association.

*/ inline void SetExtensionAssociationId(Aws::String&& value) { m_extensionAssociationIdHasBeenSet = true; m_extensionAssociationId = std::move(value); } /** *

The system-generated ID for the association.

*/ inline void SetExtensionAssociationId(const char* value) { m_extensionAssociationIdHasBeenSet = true; m_extensionAssociationId.assign(value); } /** *

The system-generated ID for the association.

*/ inline AppliedExtension& WithExtensionAssociationId(const Aws::String& value) { SetExtensionAssociationId(value); return *this;} /** *

The system-generated ID for the association.

*/ inline AppliedExtension& WithExtensionAssociationId(Aws::String&& value) { SetExtensionAssociationId(std::move(value)); return *this;} /** *

The system-generated ID for the association.

*/ inline AppliedExtension& WithExtensionAssociationId(const char* value) { SetExtensionAssociationId(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 AppliedExtension& WithVersionNumber(int value) { SetVersionNumber(value); return *this;} /** *

One or more parameters for the actions called by the extension.

*/ inline const Aws::Map& GetParameters() const{ return m_parameters; } /** *

One or more parameters for the actions called by the extension.

*/ inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; } /** *

One or more parameters for the actions called by the extension.

*/ inline void SetParameters(const Aws::Map& value) { m_parametersHasBeenSet = true; m_parameters = value; } /** *

One or more parameters for the actions called by the extension.

*/ inline void SetParameters(Aws::Map&& value) { m_parametersHasBeenSet = true; m_parameters = std::move(value); } /** *

One or more parameters for the actions called by the extension.

*/ inline AppliedExtension& WithParameters(const Aws::Map& value) { SetParameters(value); return *this;} /** *

One or more parameters for the actions called by the extension.

*/ inline AppliedExtension& WithParameters(Aws::Map&& value) { SetParameters(std::move(value)); return *this;} /** *

One or more parameters for the actions called by the extension.

*/ inline AppliedExtension& AddParameters(const Aws::String& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } /** *

One or more parameters for the actions called by the extension.

*/ inline AppliedExtension& AddParameters(Aws::String&& key, const Aws::String& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *

One or more parameters for the actions called by the extension.

*/ inline AppliedExtension& AddParameters(const Aws::String& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *

One or more parameters for the actions called by the extension.

*/ inline AppliedExtension& AddParameters(Aws::String&& key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), std::move(value)); return *this; } /** *

One or more parameters for the actions called by the extension.

*/ inline AppliedExtension& AddParameters(const char* key, Aws::String&& value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, std::move(value)); return *this; } /** *

One or more parameters for the actions called by the extension.

*/ inline AppliedExtension& AddParameters(Aws::String&& key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(std::move(key), value); return *this; } /** *

One or more parameters for the actions called by the extension.

*/ inline AppliedExtension& AddParameters(const char* key, const char* value) { m_parametersHasBeenSet = true; m_parameters.emplace(key, value); return *this; } private: Aws::String m_extensionId; bool m_extensionIdHasBeenSet = false; Aws::String m_extensionAssociationId; bool m_extensionAssociationIdHasBeenSet = false; int m_versionNumber; bool m_versionNumberHasBeenSet = false; Aws::Map m_parameters; bool m_parametersHasBeenSet = false; }; } // namespace Model } // namespace AppConfig } // namespace Aws