/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Glue { namespace Model { /** */ class GetSchemaVersionsDiffRequest : public GlueRequest { public: AWS_GLUE_API GetSchemaVersionsDiffRequest(); // 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 "GetSchemaVersionsDiff"; } AWS_GLUE_API Aws::String SerializePayload() const override; AWS_GLUE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. One of SchemaArn or SchemaName has to be * provided.

  • SchemaId$SchemaName: The name of the schema. One of * SchemaArn or SchemaName has to be provided.

  • *
*/ inline const SchemaId& GetSchemaId() const{ return m_schemaId; } /** *

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. One of SchemaArn or SchemaName has to be * provided.

  • SchemaId$SchemaName: The name of the schema. One of * SchemaArn or SchemaName has to be provided.

  • *
*/ inline bool SchemaIdHasBeenSet() const { return m_schemaIdHasBeenSet; } /** *

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. One of SchemaArn or SchemaName has to be * provided.

  • SchemaId$SchemaName: The name of the schema. One of * SchemaArn or SchemaName has to be provided.

  • *
*/ inline void SetSchemaId(const SchemaId& value) { m_schemaIdHasBeenSet = true; m_schemaId = value; } /** *

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. One of SchemaArn or SchemaName has to be * provided.

  • SchemaId$SchemaName: The name of the schema. One of * SchemaArn or SchemaName has to be provided.

  • *
*/ inline void SetSchemaId(SchemaId&& value) { m_schemaIdHasBeenSet = true; m_schemaId = std::move(value); } /** *

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. One of SchemaArn or SchemaName has to be * provided.

  • SchemaId$SchemaName: The name of the schema. One of * SchemaArn or SchemaName has to be provided.

  • *
*/ inline GetSchemaVersionsDiffRequest& WithSchemaId(const SchemaId& value) { SetSchemaId(value); return *this;} /** *

This is a wrapper structure to contain schema identity fields. The structure * contains:

  • SchemaId$SchemaArn: The Amazon Resource Name (ARN) of * the schema. One of SchemaArn or SchemaName has to be * provided.

  • SchemaId$SchemaName: The name of the schema. One of * SchemaArn or SchemaName has to be provided.

  • *
*/ inline GetSchemaVersionsDiffRequest& WithSchemaId(SchemaId&& value) { SetSchemaId(std::move(value)); return *this;} /** *

The first of the two schema versions to be compared.

*/ inline const SchemaVersionNumber& GetFirstSchemaVersionNumber() const{ return m_firstSchemaVersionNumber; } /** *

The first of the two schema versions to be compared.

*/ inline bool FirstSchemaVersionNumberHasBeenSet() const { return m_firstSchemaVersionNumberHasBeenSet; } /** *

The first of the two schema versions to be compared.

*/ inline void SetFirstSchemaVersionNumber(const SchemaVersionNumber& value) { m_firstSchemaVersionNumberHasBeenSet = true; m_firstSchemaVersionNumber = value; } /** *

The first of the two schema versions to be compared.

*/ inline void SetFirstSchemaVersionNumber(SchemaVersionNumber&& value) { m_firstSchemaVersionNumberHasBeenSet = true; m_firstSchemaVersionNumber = std::move(value); } /** *

The first of the two schema versions to be compared.

*/ inline GetSchemaVersionsDiffRequest& WithFirstSchemaVersionNumber(const SchemaVersionNumber& value) { SetFirstSchemaVersionNumber(value); return *this;} /** *

The first of the two schema versions to be compared.

*/ inline GetSchemaVersionsDiffRequest& WithFirstSchemaVersionNumber(SchemaVersionNumber&& value) { SetFirstSchemaVersionNumber(std::move(value)); return *this;} /** *

The second of the two schema versions to be compared.

*/ inline const SchemaVersionNumber& GetSecondSchemaVersionNumber() const{ return m_secondSchemaVersionNumber; } /** *

The second of the two schema versions to be compared.

*/ inline bool SecondSchemaVersionNumberHasBeenSet() const { return m_secondSchemaVersionNumberHasBeenSet; } /** *

The second of the two schema versions to be compared.

*/ inline void SetSecondSchemaVersionNumber(const SchemaVersionNumber& value) { m_secondSchemaVersionNumberHasBeenSet = true; m_secondSchemaVersionNumber = value; } /** *

The second of the two schema versions to be compared.

*/ inline void SetSecondSchemaVersionNumber(SchemaVersionNumber&& value) { m_secondSchemaVersionNumberHasBeenSet = true; m_secondSchemaVersionNumber = std::move(value); } /** *

The second of the two schema versions to be compared.

*/ inline GetSchemaVersionsDiffRequest& WithSecondSchemaVersionNumber(const SchemaVersionNumber& value) { SetSecondSchemaVersionNumber(value); return *this;} /** *

The second of the two schema versions to be compared.

*/ inline GetSchemaVersionsDiffRequest& WithSecondSchemaVersionNumber(SchemaVersionNumber&& value) { SetSecondSchemaVersionNumber(std::move(value)); return *this;} /** *

Refers to SYNTAX_DIFF, which is the currently supported diff * type.

*/ inline const SchemaDiffType& GetSchemaDiffType() const{ return m_schemaDiffType; } /** *

Refers to SYNTAX_DIFF, which is the currently supported diff * type.

*/ inline bool SchemaDiffTypeHasBeenSet() const { return m_schemaDiffTypeHasBeenSet; } /** *

Refers to SYNTAX_DIFF, which is the currently supported diff * type.

*/ inline void SetSchemaDiffType(const SchemaDiffType& value) { m_schemaDiffTypeHasBeenSet = true; m_schemaDiffType = value; } /** *

Refers to SYNTAX_DIFF, which is the currently supported diff * type.

*/ inline void SetSchemaDiffType(SchemaDiffType&& value) { m_schemaDiffTypeHasBeenSet = true; m_schemaDiffType = std::move(value); } /** *

Refers to SYNTAX_DIFF, which is the currently supported diff * type.

*/ inline GetSchemaVersionsDiffRequest& WithSchemaDiffType(const SchemaDiffType& value) { SetSchemaDiffType(value); return *this;} /** *

Refers to SYNTAX_DIFF, which is the currently supported diff * type.

*/ inline GetSchemaVersionsDiffRequest& WithSchemaDiffType(SchemaDiffType&& value) { SetSchemaDiffType(std::move(value)); return *this;} private: SchemaId m_schemaId; bool m_schemaIdHasBeenSet = false; SchemaVersionNumber m_firstSchemaVersionNumber; bool m_firstSchemaVersionNumberHasBeenSet = false; SchemaVersionNumber m_secondSchemaVersionNumber; bool m_secondSchemaVersionNumberHasBeenSet = false; SchemaDiffType m_schemaDiffType; bool m_schemaDiffTypeHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws