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

The event integration association.

See Also:

AWS * API Reference

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

The Amazon Resource Name (ARN) for the event integration association.

*/ inline const Aws::String& GetEventIntegrationAssociationArn() const{ return m_eventIntegrationAssociationArn; } /** *

The Amazon Resource Name (ARN) for the event integration association.

*/ inline bool EventIntegrationAssociationArnHasBeenSet() const { return m_eventIntegrationAssociationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the event integration association.

*/ inline void SetEventIntegrationAssociationArn(const Aws::String& value) { m_eventIntegrationAssociationArnHasBeenSet = true; m_eventIntegrationAssociationArn = value; } /** *

The Amazon Resource Name (ARN) for the event integration association.

*/ inline void SetEventIntegrationAssociationArn(Aws::String&& value) { m_eventIntegrationAssociationArnHasBeenSet = true; m_eventIntegrationAssociationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the event integration association.

*/ inline void SetEventIntegrationAssociationArn(const char* value) { m_eventIntegrationAssociationArnHasBeenSet = true; m_eventIntegrationAssociationArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the event integration association.

*/ inline EventIntegrationAssociation& WithEventIntegrationAssociationArn(const Aws::String& value) { SetEventIntegrationAssociationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the event integration association.

*/ inline EventIntegrationAssociation& WithEventIntegrationAssociationArn(Aws::String&& value) { SetEventIntegrationAssociationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the event integration association.

*/ inline EventIntegrationAssociation& WithEventIntegrationAssociationArn(const char* value) { SetEventIntegrationAssociationArn(value); return *this;} /** *

The identifier for the event integration association.

*/ inline const Aws::String& GetEventIntegrationAssociationId() const{ return m_eventIntegrationAssociationId; } /** *

The identifier for the event integration association.

*/ inline bool EventIntegrationAssociationIdHasBeenSet() const { return m_eventIntegrationAssociationIdHasBeenSet; } /** *

The identifier for the event integration association.

*/ inline void SetEventIntegrationAssociationId(const Aws::String& value) { m_eventIntegrationAssociationIdHasBeenSet = true; m_eventIntegrationAssociationId = value; } /** *

The identifier for the event integration association.

*/ inline void SetEventIntegrationAssociationId(Aws::String&& value) { m_eventIntegrationAssociationIdHasBeenSet = true; m_eventIntegrationAssociationId = std::move(value); } /** *

The identifier for the event integration association.

*/ inline void SetEventIntegrationAssociationId(const char* value) { m_eventIntegrationAssociationIdHasBeenSet = true; m_eventIntegrationAssociationId.assign(value); } /** *

The identifier for the event integration association.

*/ inline EventIntegrationAssociation& WithEventIntegrationAssociationId(const Aws::String& value) { SetEventIntegrationAssociationId(value); return *this;} /** *

The identifier for the event integration association.

*/ inline EventIntegrationAssociation& WithEventIntegrationAssociationId(Aws::String&& value) { SetEventIntegrationAssociationId(std::move(value)); return *this;} /** *

The identifier for the event integration association.

*/ inline EventIntegrationAssociation& WithEventIntegrationAssociationId(const char* value) { SetEventIntegrationAssociationId(value); return *this;} /** *

The name of the event integration.

*/ inline const Aws::String& GetEventIntegrationName() const{ return m_eventIntegrationName; } /** *

The name of the event integration.

*/ inline bool EventIntegrationNameHasBeenSet() const { return m_eventIntegrationNameHasBeenSet; } /** *

The name of the event integration.

*/ inline void SetEventIntegrationName(const Aws::String& value) { m_eventIntegrationNameHasBeenSet = true; m_eventIntegrationName = value; } /** *

The name of the event integration.

*/ inline void SetEventIntegrationName(Aws::String&& value) { m_eventIntegrationNameHasBeenSet = true; m_eventIntegrationName = std::move(value); } /** *

The name of the event integration.

*/ inline void SetEventIntegrationName(const char* value) { m_eventIntegrationNameHasBeenSet = true; m_eventIntegrationName.assign(value); } /** *

The name of the event integration.

*/ inline EventIntegrationAssociation& WithEventIntegrationName(const Aws::String& value) { SetEventIntegrationName(value); return *this;} /** *

The name of the event integration.

*/ inline EventIntegrationAssociation& WithEventIntegrationName(Aws::String&& value) { SetEventIntegrationName(std::move(value)); return *this;} /** *

The name of the event integration.

*/ inline EventIntegrationAssociation& WithEventIntegrationName(const char* value) { SetEventIntegrationName(value); return *this;} /** *

The identifier for the client that is associated with the event * integration.

*/ inline const Aws::String& GetClientId() const{ return m_clientId; } /** *

The identifier for the client that is associated with the event * integration.

*/ inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; } /** *

The identifier for the client that is associated with the event * integration.

*/ inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; } /** *

The identifier for the client that is associated with the event * integration.

*/ inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); } /** *

The identifier for the client that is associated with the event * integration.

*/ inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); } /** *

The identifier for the client that is associated with the event * integration.

*/ inline EventIntegrationAssociation& WithClientId(const Aws::String& value) { SetClientId(value); return *this;} /** *

The identifier for the client that is associated with the event * integration.

*/ inline EventIntegrationAssociation& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;} /** *

The identifier for the client that is associated with the event * integration.

*/ inline EventIntegrationAssociation& WithClientId(const char* value) { SetClientId(value); return *this;} /** *

The name of the EventBridge rule.

*/ inline const Aws::String& GetEventBridgeRuleName() const{ return m_eventBridgeRuleName; } /** *

The name of the EventBridge rule.

*/ inline bool EventBridgeRuleNameHasBeenSet() const { return m_eventBridgeRuleNameHasBeenSet; } /** *

The name of the EventBridge rule.

*/ inline void SetEventBridgeRuleName(const Aws::String& value) { m_eventBridgeRuleNameHasBeenSet = true; m_eventBridgeRuleName = value; } /** *

The name of the EventBridge rule.

*/ inline void SetEventBridgeRuleName(Aws::String&& value) { m_eventBridgeRuleNameHasBeenSet = true; m_eventBridgeRuleName = std::move(value); } /** *

The name of the EventBridge rule.

*/ inline void SetEventBridgeRuleName(const char* value) { m_eventBridgeRuleNameHasBeenSet = true; m_eventBridgeRuleName.assign(value); } /** *

The name of the EventBridge rule.

*/ inline EventIntegrationAssociation& WithEventBridgeRuleName(const Aws::String& value) { SetEventBridgeRuleName(value); return *this;} /** *

The name of the EventBridge rule.

*/ inline EventIntegrationAssociation& WithEventBridgeRuleName(Aws::String&& value) { SetEventBridgeRuleName(std::move(value)); return *this;} /** *

The name of the EventBridge rule.

*/ inline EventIntegrationAssociation& WithEventBridgeRuleName(const char* value) { SetEventBridgeRuleName(value); return *this;} /** *

The metadata associated with the client.

*/ inline const Aws::Map& GetClientAssociationMetadata() const{ return m_clientAssociationMetadata; } /** *

The metadata associated with the client.

*/ inline bool ClientAssociationMetadataHasBeenSet() const { return m_clientAssociationMetadataHasBeenSet; } /** *

The metadata associated with the client.

*/ inline void SetClientAssociationMetadata(const Aws::Map& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata = value; } /** *

The metadata associated with the client.

*/ inline void SetClientAssociationMetadata(Aws::Map&& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata = std::move(value); } /** *

The metadata associated with the client.

*/ inline EventIntegrationAssociation& WithClientAssociationMetadata(const Aws::Map& value) { SetClientAssociationMetadata(value); return *this;} /** *

The metadata associated with the client.

*/ inline EventIntegrationAssociation& WithClientAssociationMetadata(Aws::Map&& value) { SetClientAssociationMetadata(std::move(value)); return *this;} /** *

The metadata associated with the client.

*/ inline EventIntegrationAssociation& AddClientAssociationMetadata(const Aws::String& key, const Aws::String& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(key, value); return *this; } /** *

The metadata associated with the client.

*/ inline EventIntegrationAssociation& AddClientAssociationMetadata(Aws::String&& key, const Aws::String& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(std::move(key), value); return *this; } /** *

The metadata associated with the client.

*/ inline EventIntegrationAssociation& AddClientAssociationMetadata(const Aws::String& key, Aws::String&& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(key, std::move(value)); return *this; } /** *

The metadata associated with the client.

*/ inline EventIntegrationAssociation& AddClientAssociationMetadata(Aws::String&& key, Aws::String&& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(std::move(key), std::move(value)); return *this; } /** *

The metadata associated with the client.

*/ inline EventIntegrationAssociation& AddClientAssociationMetadata(const char* key, Aws::String&& value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(key, std::move(value)); return *this; } /** *

The metadata associated with the client.

*/ inline EventIntegrationAssociation& AddClientAssociationMetadata(Aws::String&& key, const char* value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(std::move(key), value); return *this; } /** *

The metadata associated with the client.

*/ inline EventIntegrationAssociation& AddClientAssociationMetadata(const char* key, const char* value) { m_clientAssociationMetadataHasBeenSet = true; m_clientAssociationMetadata.emplace(key, value); return *this; } private: Aws::String m_eventIntegrationAssociationArn; bool m_eventIntegrationAssociationArnHasBeenSet = false; Aws::String m_eventIntegrationAssociationId; bool m_eventIntegrationAssociationIdHasBeenSet = false; Aws::String m_eventIntegrationName; bool m_eventIntegrationNameHasBeenSet = false; Aws::String m_clientId; bool m_clientIdHasBeenSet = false; Aws::String m_eventBridgeRuleName; bool m_eventBridgeRuleNameHasBeenSet = false; Aws::Map m_clientAssociationMetadata; bool m_clientAssociationMetadataHasBeenSet = false; }; } // namespace Model } // namespace AppIntegrationsService } // namespace Aws