/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
A description for the discoverer.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description for the discoverer.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description for the discoverer.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description for the discoverer.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description for the discoverer.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description for the discoverer.
*/ inline CreateDiscovererRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description for the discoverer.
*/ inline CreateDiscovererRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description for the discoverer.
*/ inline CreateDiscovererRequest& WithDescription(const char* value) { SetDescription(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 bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } /** *The ARN of the event bus.
*/ inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } /** *The ARN of the event bus.
*/ inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } /** *The ARN of the event bus.
*/ inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } /** *The ARN of the event bus.
*/ inline CreateDiscovererRequest& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} /** *The ARN of the event bus.
*/ inline CreateDiscovererRequest& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} /** *The ARN of the event bus.
*/ inline CreateDiscovererRequest& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} /** *Support discovery of schemas in events sent to the bus from another account. * (default: true).
*/ inline bool GetCrossAccount() const{ return m_crossAccount; } /** *Support discovery of schemas in events sent to the bus from another account. * (default: true).
*/ inline bool CrossAccountHasBeenSet() const { return m_crossAccountHasBeenSet; } /** *Support discovery of schemas in events sent to the bus from another account. * (default: true).
*/ inline void SetCrossAccount(bool value) { m_crossAccountHasBeenSet = true; m_crossAccount = value; } /** *Support discovery of schemas in events sent to the bus from another account. * (default: true).
*/ inline CreateDiscovererRequest& WithCrossAccount(bool value) { SetCrossAccount(value); return *this;} /** *Tags associated with the resource.
*/ inline const Aws::MapTags associated with the resource.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Tags associated with the resource.
*/ inline void SetTags(const Aws::MapTags associated with the resource.
*/ inline void SetTags(Aws::MapTags associated with the resource.
*/ inline CreateDiscovererRequest& WithTags(const Aws::MapTags associated with the resource.
*/ inline CreateDiscovererRequest& WithTags(Aws::MapTags associated with the resource.
*/ inline CreateDiscovererRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *Tags associated with the resource.
*/ inline CreateDiscovererRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *Tags associated with the resource.
*/ inline CreateDiscovererRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *Tags associated with the resource.
*/ inline CreateDiscovererRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *Tags associated with the resource.
*/ inline CreateDiscovererRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *Tags associated with the resource.
*/ inline CreateDiscovererRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *Tags associated with the resource.
*/ inline CreateDiscovererRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_sourceArn; bool m_sourceArnHasBeenSet = false; bool m_crossAccount; bool m_crossAccountHasBeenSet = false; Aws::Map