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

The name of the event integration.

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

The name of the event integration.

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

The name of the event integration.

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

The name of the event integration.

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

The name of the event integration.

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

The name of the event integration.

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

The name of the event integration.

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

The description of the event integration.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the event integration.

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

The description of the event integration.

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

The description of the event integration.

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

The description of the event integration.

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

The description of the event integration.

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

The description of the event integration.

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

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

*/ inline const Aws::String& GetEventIntegrationArn() const{ return m_eventIntegrationArn; } /** *

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

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

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

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

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

*/ inline void SetEventIntegrationArn(const char* value) { m_eventIntegrationArn.assign(value); } /** *

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

*/ inline GetEventIntegrationResult& WithEventIntegrationArn(const Aws::String& value) { SetEventIntegrationArn(value); return *this;} /** *

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

*/ inline GetEventIntegrationResult& WithEventIntegrationArn(Aws::String&& value) { SetEventIntegrationArn(std::move(value)); return *this;} /** *

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

*/ inline GetEventIntegrationResult& WithEventIntegrationArn(const char* value) { SetEventIntegrationArn(value); return *this;} /** *

The EventBridge bus.

*/ inline const Aws::String& GetEventBridgeBus() const{ return m_eventBridgeBus; } /** *

The EventBridge bus.

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

The EventBridge bus.

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

The EventBridge bus.

*/ inline void SetEventBridgeBus(const char* value) { m_eventBridgeBus.assign(value); } /** *

The EventBridge bus.

*/ inline GetEventIntegrationResult& WithEventBridgeBus(const Aws::String& value) { SetEventBridgeBus(value); return *this;} /** *

The EventBridge bus.

*/ inline GetEventIntegrationResult& WithEventBridgeBus(Aws::String&& value) { SetEventBridgeBus(std::move(value)); return *this;} /** *

The EventBridge bus.

*/ inline GetEventIntegrationResult& WithEventBridgeBus(const char* value) { SetEventBridgeBus(value); return *this;} /** *

The event filter.

*/ inline const EventFilter& GetEventFilter() const{ return m_eventFilter; } /** *

The event filter.

*/ inline void SetEventFilter(const EventFilter& value) { m_eventFilter = value; } /** *

The event filter.

*/ inline void SetEventFilter(EventFilter&& value) { m_eventFilter = std::move(value); } /** *

The event filter.

*/ inline GetEventIntegrationResult& WithEventFilter(const EventFilter& value) { SetEventFilter(value); return *this;} /** *

The event filter.

*/ inline GetEventIntegrationResult& WithEventFilter(EventFilter&& value) { SetEventFilter(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 const Aws::Map& GetTags() const{ return m_tags; } /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

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

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline GetEventIntegrationResult& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

The tags used to organize, track, or control access for this resource. For * example, { "tags": {"key1":"value1", "key2":"value2"} }.

*/ inline GetEventIntegrationResult& WithTags(Aws::Map&& value) { SetTags(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 GetEventIntegrationResult& AddTags(const Aws::String& key, const Aws::String& value) { 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 GetEventIntegrationResult& AddTags(Aws::String&& key, const Aws::String& value) { 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 GetEventIntegrationResult& AddTags(const Aws::String& key, Aws::String&& value) { 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 GetEventIntegrationResult& AddTags(Aws::String&& key, Aws::String&& value) { 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 GetEventIntegrationResult& AddTags(const char* key, Aws::String&& value) { 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 GetEventIntegrationResult& AddTags(Aws::String&& key, const char* value) { 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 GetEventIntegrationResult& AddTags(const char* key, const char* value) { m_tags.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 GetEventIntegrationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetEventIntegrationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetEventIntegrationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_name; Aws::String m_description; Aws::String m_eventIntegrationArn; Aws::String m_eventBridgeBus; EventFilter m_eventFilter; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace AppIntegrationsService } // namespace Aws