/** * 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 Schemas { namespace Model { class DescribeDiscovererResult { public: AWS_SCHEMAS_API DescribeDiscovererResult(); AWS_SCHEMAS_API DescribeDiscovererResult(const Aws::AmazonWebServiceResult& result); AWS_SCHEMAS_API DescribeDiscovererResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The description of the discoverer.

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

The description of the discoverer.

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

The description of the discoverer.

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

The description of the discoverer.

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

The description of the discoverer.

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

The description of the discoverer.

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

The description of the discoverer.

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

The ARN of the discoverer.

*/ inline const Aws::String& GetDiscovererArn() const{ return m_discovererArn; } /** *

The ARN of the discoverer.

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

The ARN of the discoverer.

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

The ARN of the discoverer.

*/ inline void SetDiscovererArn(const char* value) { m_discovererArn.assign(value); } /** *

The ARN of the discoverer.

*/ inline DescribeDiscovererResult& WithDiscovererArn(const Aws::String& value) { SetDiscovererArn(value); return *this;} /** *

The ARN of the discoverer.

*/ inline DescribeDiscovererResult& WithDiscovererArn(Aws::String&& value) { SetDiscovererArn(std::move(value)); return *this;} /** *

The ARN of the discoverer.

*/ inline DescribeDiscovererResult& WithDiscovererArn(const char* value) { SetDiscovererArn(value); return *this;} /** *

The ID of the discoverer.

*/ inline const Aws::String& GetDiscovererId() const{ return m_discovererId; } /** *

The ID of the discoverer.

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

The ID of the discoverer.

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

The ID of the discoverer.

*/ inline void SetDiscovererId(const char* value) { m_discovererId.assign(value); } /** *

The ID of the discoverer.

*/ inline DescribeDiscovererResult& WithDiscovererId(const Aws::String& value) { SetDiscovererId(value); return *this;} /** *

The ID of the discoverer.

*/ inline DescribeDiscovererResult& WithDiscovererId(Aws::String&& value) { SetDiscovererId(std::move(value)); return *this;} /** *

The ID of the discoverer.

*/ inline DescribeDiscovererResult& WithDiscovererId(const char* value) { SetDiscovererId(value); return *this;} /** *

The ARN of the event bus.

*/ inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } /** *

The ARN of the event bus.

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

The ARN of the event bus.

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

The ARN of the event bus.

*/ inline void SetSourceArn(const char* value) { m_sourceArn.assign(value); } /** *

The ARN of the event bus.

*/ inline DescribeDiscovererResult& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} /** *

The ARN of the event bus.

*/ inline DescribeDiscovererResult& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} /** *

The ARN of the event bus.

*/ inline DescribeDiscovererResult& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} /** *

The state of the discoverer.

*/ inline const DiscovererState& GetState() const{ return m_state; } /** *

The state of the discoverer.

*/ inline void SetState(const DiscovererState& value) { m_state = value; } /** *

The state of the discoverer.

*/ inline void SetState(DiscovererState&& value) { m_state = std::move(value); } /** *

The state of the discoverer.

*/ inline DescribeDiscovererResult& WithState(const DiscovererState& value) { SetState(value); return *this;} /** *

The state of the discoverer.

*/ inline DescribeDiscovererResult& WithState(DiscovererState&& value) { SetState(std::move(value)); return *this;} /** *

The Status if the discoverer will discover schemas from events sent from * another account.

*/ inline bool GetCrossAccount() const{ return m_crossAccount; } /** *

The Status if the discoverer will discover schemas from events sent from * another account.

*/ inline void SetCrossAccount(bool value) { m_crossAccount = value; } /** *

The Status if the discoverer will discover schemas from events sent from * another account.

*/ inline DescribeDiscovererResult& WithCrossAccount(bool value) { SetCrossAccount(value); return *this;} /** *

Tags associated with the resource.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags associated with the resource.

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

Tags associated with the resource.

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

Tags associated with the resource.

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

Tags associated with the resource.

*/ inline DescribeDiscovererResult& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags associated with the resource.

*/ inline DescribeDiscovererResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeDiscovererResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeDiscovererResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeDiscovererResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeDiscovererResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeDiscovererResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; } /** *

Tags associated with the resource.

*/ inline DescribeDiscovererResult& 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 DescribeDiscovererResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeDiscovererResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeDiscovererResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_description; Aws::String m_discovererArn; Aws::String m_discovererId; Aws::String m_sourceArn; DiscovererState m_state; bool m_crossAccount; Aws::Map m_tags; Aws::String m_requestId; }; } // namespace Model } // namespace Schemas } // namespace Aws