/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace AppConfig { namespace Model { class CreateExtensionResult { public: AWS_APPCONFIG_API CreateExtensionResult(); AWS_APPCONFIG_API CreateExtensionResult(const Aws::AmazonWebServiceResult& result); AWS_APPCONFIG_API CreateExtensionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The system-generated ID of the extension.

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

The system-generated ID of the extension.

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

The system-generated ID of the extension.

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

The system-generated ID of the extension.

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

The system-generated ID of the extension.

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

The system-generated ID of the extension.

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

The system-generated ID of the extension.

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

The extension name.

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

The extension name.

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

The extension name.

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

The extension name.

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

The extension name.

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

The extension name.

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

The extension name.

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

The extension version number.

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

The extension version number.

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

The extension version number.

*/ inline CreateExtensionResult& 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 void SetArn(const Aws::String& value) { m_arn = value; } /** *

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

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

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

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

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

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

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

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

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

*/ inline CreateExtensionResult& 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 void SetDescription(const Aws::String& value) { m_description = value; } /** *

Information about the extension.

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

Information about the extension.

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

Information about the extension.

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

Information about the extension.

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

Information about the extension.

*/ inline CreateExtensionResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The actions defined in the extension.

*/ inline const Aws::Map>& GetActions() const{ return m_actions; } /** *

The actions defined in the extension.

*/ inline void SetActions(const Aws::Map>& value) { m_actions = value; } /** *

The actions defined in the extension.

*/ inline void SetActions(Aws::Map>&& value) { m_actions = std::move(value); } /** *

The actions defined in the extension.

*/ inline CreateExtensionResult& WithActions(const Aws::Map>& value) { SetActions(value); return *this;} /** *

The actions defined in the extension.

*/ inline CreateExtensionResult& WithActions(Aws::Map>&& value) { SetActions(std::move(value)); return *this;} /** *

The actions defined in the extension.

*/ inline CreateExtensionResult& AddActions(const ActionPoint& key, const Aws::Vector& value) { m_actions.emplace(key, value); return *this; } /** *

The actions defined in the extension.

*/ inline CreateExtensionResult& AddActions(ActionPoint&& key, const Aws::Vector& value) { m_actions.emplace(std::move(key), value); return *this; } /** *

The actions defined in the extension.

*/ inline CreateExtensionResult& AddActions(const ActionPoint& key, Aws::Vector&& value) { m_actions.emplace(key, std::move(value)); return *this; } /** *

The actions defined in the extension.

*/ inline CreateExtensionResult& AddActions(ActionPoint&& key, Aws::Vector&& value) { m_actions.emplace(std::move(key), std::move(value)); return *this; } /** *

The parameters accepted by the extension. You specify parameter values when * you associate the extension to an AppConfig resource by using the * CreateExtensionAssociation API action. For Lambda extension * actions, these parameters are included in the Lambda request object.

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

The parameters accepted by the extension. You specify parameter values when * you associate the extension to an AppConfig resource by using the * CreateExtensionAssociation API action. For Lambda extension * actions, these parameters are included in the Lambda request object.

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

The parameters accepted by the extension. You specify parameter values when * you associate the extension to an AppConfig resource by using the * CreateExtensionAssociation API action. For Lambda extension * actions, these parameters are included in the Lambda request object.

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

The parameters accepted by the extension. You specify parameter values when * you associate the extension to an AppConfig resource by using the * CreateExtensionAssociation API action. For Lambda extension * actions, these parameters are included in the Lambda request object.

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

The parameters accepted by the extension. You specify parameter values when * you associate the extension to an AppConfig resource by using the * CreateExtensionAssociation API action. For Lambda extension * actions, these parameters are included in the Lambda request object.

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

The parameters accepted by the extension. You specify parameter values when * you associate the extension to an AppConfig resource by using the * CreateExtensionAssociation API action. For Lambda extension * actions, these parameters are included in the Lambda request object.

*/ inline CreateExtensionResult& AddParameters(const Aws::String& key, const Parameter& value) { m_parameters.emplace(key, value); return *this; } /** *

The parameters accepted by the extension. You specify parameter values when * you associate the extension to an AppConfig resource by using the * CreateExtensionAssociation API action. For Lambda extension * actions, these parameters are included in the Lambda request object.

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

The parameters accepted by the extension. You specify parameter values when * you associate the extension to an AppConfig resource by using the * CreateExtensionAssociation API action. For Lambda extension * actions, these parameters are included in the Lambda request object.

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

The parameters accepted by the extension. You specify parameter values when * you associate the extension to an AppConfig resource by using the * CreateExtensionAssociation API action. For Lambda extension * actions, these parameters are included in the Lambda request object.

*/ inline CreateExtensionResult& AddParameters(Aws::String&& key, Parameter&& value) { m_parameters.emplace(std::move(key), std::move(value)); return *this; } /** *

The parameters accepted by the extension. You specify parameter values when * you associate the extension to an AppConfig resource by using the * CreateExtensionAssociation API action. For Lambda extension * actions, these parameters are included in the Lambda request object.

*/ inline CreateExtensionResult& AddParameters(const char* key, Parameter&& value) { m_parameters.emplace(key, std::move(value)); return *this; } /** *

The parameters accepted by the extension. You specify parameter values when * you associate the extension to an AppConfig resource by using the * CreateExtensionAssociation API action. For Lambda extension * actions, these parameters are included in the Lambda request object.

*/ inline CreateExtensionResult& AddParameters(const char* key, const Parameter& value) { m_parameters.emplace(key, 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 CreateExtensionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CreateExtensionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CreateExtensionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_name; int m_versionNumber; Aws::String m_arn; Aws::String m_description; Aws::Map> m_actions; Aws::Map m_parameters; Aws::String m_requestId; }; } // namespace Model } // namespace AppConfig } // namespace Aws