/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The event integration.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the event integration.
*/ inline const Aws::String& GetEventIntegrationArn() const{ return m_eventIntegrationArn; } /** *The Amazon Resource Name (ARN) of the event integration.
*/ inline bool EventIntegrationArnHasBeenSet() const { return m_eventIntegrationArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the event integration.
*/ inline void SetEventIntegrationArn(const Aws::String& value) { m_eventIntegrationArnHasBeenSet = true; m_eventIntegrationArn = value; } /** *The Amazon Resource Name (ARN) of the event integration.
*/ inline void SetEventIntegrationArn(Aws::String&& value) { m_eventIntegrationArnHasBeenSet = true; m_eventIntegrationArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the event integration.
*/ inline void SetEventIntegrationArn(const char* value) { m_eventIntegrationArnHasBeenSet = true; m_eventIntegrationArn.assign(value); } /** *The Amazon Resource Name (ARN) of the event integration.
*/ inline EventIntegration& WithEventIntegrationArn(const Aws::String& value) { SetEventIntegrationArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the event integration.
*/ inline EventIntegration& WithEventIntegrationArn(Aws::String&& value) { SetEventIntegrationArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the event integration.
*/ inline EventIntegration& WithEventIntegrationArn(const char* value) { SetEventIntegrationArn(value); return *this;} /** *The name of the event integration.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the event integration.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the event integration.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the event integration.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the event integration.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the event integration.
*/ inline EventIntegration& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the event integration.
*/ inline EventIntegration& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the event integration.
*/ inline EventIntegration& WithName(const char* value) { SetName(value); return *this;} /** *The event integration description.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The event integration description.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The event integration description.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The event integration description.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The event integration description.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The event integration description.
*/ inline EventIntegration& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The event integration description.
*/ inline EventIntegration& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The event integration description.
*/ inline EventIntegration& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The event integration filter.
*/ inline const EventFilter& GetEventFilter() const{ return m_eventFilter; } /** *The event integration filter.
*/ inline bool EventFilterHasBeenSet() const { return m_eventFilterHasBeenSet; } /** *The event integration filter.
*/ inline void SetEventFilter(const EventFilter& value) { m_eventFilterHasBeenSet = true; m_eventFilter = value; } /** *The event integration filter.
*/ inline void SetEventFilter(EventFilter&& value) { m_eventFilterHasBeenSet = true; m_eventFilter = std::move(value); } /** *The event integration filter.
*/ inline EventIntegration& WithEventFilter(const EventFilter& value) { SetEventFilter(value); return *this;} /** *The event integration filter.
*/ inline EventIntegration& WithEventFilter(EventFilter&& value) { SetEventFilter(std::move(value)); return *this;} /** *The Amazon EventBridge bus for the event integration.
*/ inline const Aws::String& GetEventBridgeBus() const{ return m_eventBridgeBus; } /** *The Amazon EventBridge bus for the event integration.
*/ inline bool EventBridgeBusHasBeenSet() const { return m_eventBridgeBusHasBeenSet; } /** *The Amazon EventBridge bus for the event integration.
*/ inline void SetEventBridgeBus(const Aws::String& value) { m_eventBridgeBusHasBeenSet = true; m_eventBridgeBus = value; } /** *The Amazon EventBridge bus for the event integration.
*/ inline void SetEventBridgeBus(Aws::String&& value) { m_eventBridgeBusHasBeenSet = true; m_eventBridgeBus = std::move(value); } /** *The Amazon EventBridge bus for the event integration.
*/ inline void SetEventBridgeBus(const char* value) { m_eventBridgeBusHasBeenSet = true; m_eventBridgeBus.assign(value); } /** *The Amazon EventBridge bus for the event integration.
*/ inline EventIntegration& WithEventBridgeBus(const Aws::String& value) { SetEventBridgeBus(value); return *this;} /** *The Amazon EventBridge bus for the event integration.
*/ inline EventIntegration& WithEventBridgeBus(Aws::String&& value) { SetEventBridgeBus(std::move(value)); return *this;} /** *The Amazon EventBridge bus for the event integration.
*/ inline EventIntegration& WithEventBridgeBus(const char* value) { SetEventBridgeBus(value); return *this;} /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline const Aws::MapThe tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline void SetTags(const Aws::MapThe tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline void SetTags(Aws::MapThe tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline EventIntegration& WithTags(const Aws::MapThe tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline EventIntegration& WithTags(Aws::MapThe tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline EventIntegration& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline EventIntegration& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline EventIntegration& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline EventIntegration& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline EventIntegration& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline EventIntegration& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.
*/ inline EventIntegration& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_eventIntegrationArn; bool m_eventIntegrationArnHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; EventFilter m_eventFilter; bool m_eventFilterHasBeenSet = false; Aws::String m_eventBridgeBus; bool m_eventBridgeBusHasBeenSet = false; Aws::Map