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

The system-generated ID for the association.

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

The system-generated ID for the association.

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

The system-generated ID for the association.

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

The system-generated ID for the association.

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

The system-generated ID for the association.

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

The system-generated ID for the association.

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

The system-generated ID for the association.

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

The ARN of the extension defined in the association.

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

The ARN of the extension defined in the association.

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

The ARN of the extension defined in the association.

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

The ARN of the extension defined in the association.

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

The ARN of the extension defined in the association.

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

The ARN of the extension defined in the association.

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

The ARN of the extension defined in the association.

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

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

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

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

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

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

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

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

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

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

*/ inline UpdateExtensionAssociationResult& WithResourceArn(const char* value) { SetResourceArn(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 UpdateExtensionAssociationResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

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

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

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

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

The parameter names and values defined in the association.

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

The parameter names and values defined in the association.

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

The parameter names and values defined in the association.

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

The parameter names and values defined in the association.

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

The parameter names and values defined in the association.

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

The parameter names and values defined in the association.

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

The parameter names and values defined in the association.

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

The parameter names and values defined in the association.

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

The parameter names and values defined in the association.

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

The parameter names and values defined in the association.

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

The parameter names and values defined in the association.

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

The parameter names and values defined in the association.

*/ inline UpdateExtensionAssociationResult& AddParameters(const char* key, const char* value) { m_parameters.emplace(key, value); return *this; } /** *

The version number for the extension defined in the association.

*/ inline int GetExtensionVersionNumber() const{ return m_extensionVersionNumber; } /** *

The version number for the extension defined in the association.

*/ inline void SetExtensionVersionNumber(int value) { m_extensionVersionNumber = value; } /** *

The version number for the extension defined in the association.

*/ inline UpdateExtensionAssociationResult& WithExtensionVersionNumber(int value) { SetExtensionVersionNumber(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 UpdateExtensionAssociationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateExtensionAssociationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateExtensionAssociationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_id; Aws::String m_extensionArn; Aws::String m_resourceArn; Aws::String m_arn; Aws::Map m_parameters; int m_extensionVersionNumber; Aws::String m_requestId; }; } // namespace Model } // namespace AppConfig } // namespace Aws