/** * 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 { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Schemas { namespace Model { class SearchSchemaSummary { public: AWS_SCHEMAS_API SearchSchemaSummary(); AWS_SCHEMAS_API SearchSchemaSummary(Aws::Utils::Json::JsonView jsonValue); AWS_SCHEMAS_API SearchSchemaSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SCHEMAS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the registry.

*/ inline const Aws::String& GetRegistryName() const{ return m_registryName; } /** *

The name of the registry.

*/ inline bool RegistryNameHasBeenSet() const { return m_registryNameHasBeenSet; } /** *

The name of the registry.

*/ inline void SetRegistryName(const Aws::String& value) { m_registryNameHasBeenSet = true; m_registryName = value; } /** *

The name of the registry.

*/ inline void SetRegistryName(Aws::String&& value) { m_registryNameHasBeenSet = true; m_registryName = std::move(value); } /** *

The name of the registry.

*/ inline void SetRegistryName(const char* value) { m_registryNameHasBeenSet = true; m_registryName.assign(value); } /** *

The name of the registry.

*/ inline SearchSchemaSummary& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;} /** *

The name of the registry.

*/ inline SearchSchemaSummary& WithRegistryName(Aws::String&& value) { SetRegistryName(std::move(value)); return *this;} /** *

The name of the registry.

*/ inline SearchSchemaSummary& WithRegistryName(const char* value) { SetRegistryName(value); return *this;} /** *

The ARN of the schema.

*/ inline const Aws::String& GetSchemaArn() const{ return m_schemaArn; } /** *

The ARN of the schema.

*/ inline bool SchemaArnHasBeenSet() const { return m_schemaArnHasBeenSet; } /** *

The ARN of the schema.

*/ inline void SetSchemaArn(const Aws::String& value) { m_schemaArnHasBeenSet = true; m_schemaArn = value; } /** *

The ARN of the schema.

*/ inline void SetSchemaArn(Aws::String&& value) { m_schemaArnHasBeenSet = true; m_schemaArn = std::move(value); } /** *

The ARN of the schema.

*/ inline void SetSchemaArn(const char* value) { m_schemaArnHasBeenSet = true; m_schemaArn.assign(value); } /** *

The ARN of the schema.

*/ inline SearchSchemaSummary& WithSchemaArn(const Aws::String& value) { SetSchemaArn(value); return *this;} /** *

The ARN of the schema.

*/ inline SearchSchemaSummary& WithSchemaArn(Aws::String&& value) { SetSchemaArn(std::move(value)); return *this;} /** *

The ARN of the schema.

*/ inline SearchSchemaSummary& WithSchemaArn(const char* value) { SetSchemaArn(value); return *this;} /** *

The name of the schema.

*/ inline const Aws::String& GetSchemaName() const{ return m_schemaName; } /** *

The name of the schema.

*/ inline bool SchemaNameHasBeenSet() const { return m_schemaNameHasBeenSet; } /** *

The name of the schema.

*/ inline void SetSchemaName(const Aws::String& value) { m_schemaNameHasBeenSet = true; m_schemaName = value; } /** *

The name of the schema.

*/ inline void SetSchemaName(Aws::String&& value) { m_schemaNameHasBeenSet = true; m_schemaName = std::move(value); } /** *

The name of the schema.

*/ inline void SetSchemaName(const char* value) { m_schemaNameHasBeenSet = true; m_schemaName.assign(value); } /** *

The name of the schema.

*/ inline SearchSchemaSummary& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} /** *

The name of the schema.

*/ inline SearchSchemaSummary& WithSchemaName(Aws::String&& value) { SetSchemaName(std::move(value)); return *this;} /** *

The name of the schema.

*/ inline SearchSchemaSummary& WithSchemaName(const char* value) { SetSchemaName(value); return *this;} /** *

An array of schema version summaries.

*/ inline const Aws::Vector& GetSchemaVersions() const{ return m_schemaVersions; } /** *

An array of schema version summaries.

*/ inline bool SchemaVersionsHasBeenSet() const { return m_schemaVersionsHasBeenSet; } /** *

An array of schema version summaries.

*/ inline void SetSchemaVersions(const Aws::Vector& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions = value; } /** *

An array of schema version summaries.

*/ inline void SetSchemaVersions(Aws::Vector&& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions = std::move(value); } /** *

An array of schema version summaries.

*/ inline SearchSchemaSummary& WithSchemaVersions(const Aws::Vector& value) { SetSchemaVersions(value); return *this;} /** *

An array of schema version summaries.

*/ inline SearchSchemaSummary& WithSchemaVersions(Aws::Vector&& value) { SetSchemaVersions(std::move(value)); return *this;} /** *

An array of schema version summaries.

*/ inline SearchSchemaSummary& AddSchemaVersions(const SearchSchemaVersionSummary& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions.push_back(value); return *this; } /** *

An array of schema version summaries.

*/ inline SearchSchemaSummary& AddSchemaVersions(SearchSchemaVersionSummary&& value) { m_schemaVersionsHasBeenSet = true; m_schemaVersions.push_back(std::move(value)); return *this; } private: Aws::String m_registryName; bool m_registryNameHasBeenSet = false; Aws::String m_schemaArn; bool m_schemaArnHasBeenSet = false; Aws::String m_schemaName; bool m_schemaNameHasBeenSet = false; Aws::Vector m_schemaVersions; bool m_schemaVersionsHasBeenSet = false; }; } // namespace Model } // namespace Schemas } // namespace Aws