/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A schema defines the structure of events that are sent to Amazon
* EventBridge. Schema registries are containers for schemas. They collect and
* organize schemas so that your schemas are in logical groups. See
* Also:
AWS
* API Reference
A description of the registry to be created.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the registry to be created.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the registry to be created.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the registry to be created.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the registry to be created.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the registry to be created.
*/ inline AwsEventSchemasRegistryDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the registry to be created.
*/ inline AwsEventSchemasRegistryDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the registry to be created.
*/ inline AwsEventSchemasRegistryDetails& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The Amazon Resource Name (ARN) of the registry.
*/ inline const Aws::String& GetRegistryArn() const{ return m_registryArn; } /** *The Amazon Resource Name (ARN) of the registry.
*/ inline bool RegistryArnHasBeenSet() const { return m_registryArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the registry.
*/ inline void SetRegistryArn(const Aws::String& value) { m_registryArnHasBeenSet = true; m_registryArn = value; } /** *The Amazon Resource Name (ARN) of the registry.
*/ inline void SetRegistryArn(Aws::String&& value) { m_registryArnHasBeenSet = true; m_registryArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the registry.
*/ inline void SetRegistryArn(const char* value) { m_registryArnHasBeenSet = true; m_registryArn.assign(value); } /** *The Amazon Resource Name (ARN) of the registry.
*/ inline AwsEventSchemasRegistryDetails& WithRegistryArn(const Aws::String& value) { SetRegistryArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the registry.
*/ inline AwsEventSchemasRegistryDetails& WithRegistryArn(Aws::String&& value) { SetRegistryArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the registry.
*/ inline AwsEventSchemasRegistryDetails& WithRegistryArn(const char* value) { SetRegistryArn(value); return *this;} /** *The name of the schema registry.
*/ inline const Aws::String& GetRegistryName() const{ return m_registryName; } /** *The name of the schema registry.
*/ inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; } /** *The name of the schema registry.
*/ inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; } /** *The name of the schema registry.
*/ inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); } /** *The name of the schema registry.
*/ inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); } /** *The name of the schema registry.
*/ inline AwsEventSchemasRegistryDetails& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;} /** *The name of the schema registry.
*/ inline AwsEventSchemasRegistryDetails& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;} /** *The name of the schema registry.
*/ inline AwsEventSchemasRegistryDetails& WithRegistryName(const char* value) { SetRegistryName(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_registryArn; bool m_registryArnHasBeenSet = false; Aws::String m_registryName; bool m_registryNameHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws