/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Http { class URI; } //namespace Http namespace Schemas { namespace Model { /** */ class ExportSchemaRequest : public SchemasRequest { public: AWS_SCHEMAS_API ExportSchemaRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ExportSchema"; } AWS_SCHEMAS_API Aws::String SerializePayload() const override; AWS_SCHEMAS_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

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 ExportSchemaRequest& WithRegistryName(const Aws::String& value) { SetRegistryName(value); return *this;} /** *

The name of the registry.

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

The name of the registry.

*/ inline ExportSchemaRequest& WithRegistryName(const char* value) { SetRegistryName(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 ExportSchemaRequest& WithSchemaName(const Aws::String& value) { SetSchemaName(value); return *this;} /** *

The name of the schema.

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

The name of the schema.

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

Specifying this limits the results to only this schema version.

*/ inline const Aws::String& GetSchemaVersion() const{ return m_schemaVersion; } /** *

Specifying this limits the results to only this schema version.

*/ inline bool SchemaVersionHasBeenSet() const { return m_schemaVersionHasBeenSet; } /** *

Specifying this limits the results to only this schema version.

*/ inline void SetSchemaVersion(const Aws::String& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = value; } /** *

Specifying this limits the results to only this schema version.

*/ inline void SetSchemaVersion(Aws::String&& value) { m_schemaVersionHasBeenSet = true; m_schemaVersion = std::move(value); } /** *

Specifying this limits the results to only this schema version.

*/ inline void SetSchemaVersion(const char* value) { m_schemaVersionHasBeenSet = true; m_schemaVersion.assign(value); } /** *

Specifying this limits the results to only this schema version.

*/ inline ExportSchemaRequest& WithSchemaVersion(const Aws::String& value) { SetSchemaVersion(value); return *this;} /** *

Specifying this limits the results to only this schema version.

*/ inline ExportSchemaRequest& WithSchemaVersion(Aws::String&& value) { SetSchemaVersion(std::move(value)); return *this;} /** *

Specifying this limits the results to only this schema version.

*/ inline ExportSchemaRequest& WithSchemaVersion(const char* value) { SetSchemaVersion(value); return *this;} inline const Aws::String& GetType() const{ return m_type; } inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } inline ExportSchemaRequest& WithType(const Aws::String& value) { SetType(value); return *this;} inline ExportSchemaRequest& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} inline ExportSchemaRequest& WithType(const char* value) { SetType(value); return *this;} private: Aws::String m_registryName; bool m_registryNameHasBeenSet = false; Aws::String m_schemaName; bool m_schemaNameHasBeenSet = false; Aws::String m_schemaVersion; bool m_schemaVersionHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace Schemas } // namespace Aws