/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DatabaseMigrationService { namespace Model { /** *

Describes a schema object in a Fleet Advisor collector * inventory.

See Also:

AWS * API Reference

*/ class FleetAdvisorSchemaObjectResponse { public: AWS_DATABASEMIGRATIONSERVICE_API FleetAdvisorSchemaObjectResponse(); AWS_DATABASEMIGRATIONSERVICE_API FleetAdvisorSchemaObjectResponse(Aws::Utils::Json::JsonView jsonValue); AWS_DATABASEMIGRATIONSERVICE_API FleetAdvisorSchemaObjectResponse& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of a schema object in a Fleet Advisor collector inventory.

*/ inline const Aws::String& GetSchemaId() const{ return m_schemaId; } /** *

The ID of a schema object in a Fleet Advisor collector inventory.

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

The ID of a schema object in a Fleet Advisor collector inventory.

*/ inline void SetSchemaId(const Aws::String& value) { m_schemaIdHasBeenSet = true; m_schemaId = value; } /** *

The ID of a schema object in a Fleet Advisor collector inventory.

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

The ID of a schema object in a Fleet Advisor collector inventory.

*/ inline void SetSchemaId(const char* value) { m_schemaIdHasBeenSet = true; m_schemaId.assign(value); } /** *

The ID of a schema object in a Fleet Advisor collector inventory.

*/ inline FleetAdvisorSchemaObjectResponse& WithSchemaId(const Aws::String& value) { SetSchemaId(value); return *this;} /** *

The ID of a schema object in a Fleet Advisor collector inventory.

*/ inline FleetAdvisorSchemaObjectResponse& WithSchemaId(Aws::String&& value) { SetSchemaId(std::move(value)); return *this;} /** *

The ID of a schema object in a Fleet Advisor collector inventory.

*/ inline FleetAdvisorSchemaObjectResponse& WithSchemaId(const char* value) { SetSchemaId(value); return *this;} /** *

The type of the schema object, as reported by the database engine. Examples * include the following:

  • function

  • *

    trigger

  • SYSTEM_TABLE

    *
  • QUEUE

*/ inline const Aws::String& GetObjectType() const{ return m_objectType; } /** *

The type of the schema object, as reported by the database engine. Examples * include the following:

  • function

  • *

    trigger

  • SYSTEM_TABLE

    *
  • QUEUE

*/ inline bool ObjectTypeHasBeenSet() const { return m_objectTypeHasBeenSet; } /** *

The type of the schema object, as reported by the database engine. Examples * include the following:

  • function

  • *

    trigger

  • SYSTEM_TABLE

    *
  • QUEUE

*/ inline void SetObjectType(const Aws::String& value) { m_objectTypeHasBeenSet = true; m_objectType = value; } /** *

The type of the schema object, as reported by the database engine. Examples * include the following:

  • function

  • *

    trigger

  • SYSTEM_TABLE

    *
  • QUEUE

*/ inline void SetObjectType(Aws::String&& value) { m_objectTypeHasBeenSet = true; m_objectType = std::move(value); } /** *

The type of the schema object, as reported by the database engine. Examples * include the following:

  • function

  • *

    trigger

  • SYSTEM_TABLE

    *
  • QUEUE

*/ inline void SetObjectType(const char* value) { m_objectTypeHasBeenSet = true; m_objectType.assign(value); } /** *

The type of the schema object, as reported by the database engine. Examples * include the following:

  • function

  • *

    trigger

  • SYSTEM_TABLE

    *
  • QUEUE

*/ inline FleetAdvisorSchemaObjectResponse& WithObjectType(const Aws::String& value) { SetObjectType(value); return *this;} /** *

The type of the schema object, as reported by the database engine. Examples * include the following:

  • function

  • *

    trigger

  • SYSTEM_TABLE

    *
  • QUEUE

*/ inline FleetAdvisorSchemaObjectResponse& WithObjectType(Aws::String&& value) { SetObjectType(std::move(value)); return *this;} /** *

The type of the schema object, as reported by the database engine. Examples * include the following:

  • function

  • *

    trigger

  • SYSTEM_TABLE

    *
  • QUEUE

*/ inline FleetAdvisorSchemaObjectResponse& WithObjectType(const char* value) { SetObjectType(value); return *this;} /** *

The number of objects in a schema object in a Fleet Advisor collector * inventory.

*/ inline long long GetNumberOfObjects() const{ return m_numberOfObjects; } /** *

The number of objects in a schema object in a Fleet Advisor collector * inventory.

*/ inline bool NumberOfObjectsHasBeenSet() const { return m_numberOfObjectsHasBeenSet; } /** *

The number of objects in a schema object in a Fleet Advisor collector * inventory.

*/ inline void SetNumberOfObjects(long long value) { m_numberOfObjectsHasBeenSet = true; m_numberOfObjects = value; } /** *

The number of objects in a schema object in a Fleet Advisor collector * inventory.

*/ inline FleetAdvisorSchemaObjectResponse& WithNumberOfObjects(long long value) { SetNumberOfObjects(value); return *this;} /** *

The number of lines of code in a schema object in a Fleet Advisor collector * inventory.

*/ inline long long GetCodeLineCount() const{ return m_codeLineCount; } /** *

The number of lines of code in a schema object in a Fleet Advisor collector * inventory.

*/ inline bool CodeLineCountHasBeenSet() const { return m_codeLineCountHasBeenSet; } /** *

The number of lines of code in a schema object in a Fleet Advisor collector * inventory.

*/ inline void SetCodeLineCount(long long value) { m_codeLineCountHasBeenSet = true; m_codeLineCount = value; } /** *

The number of lines of code in a schema object in a Fleet Advisor collector * inventory.

*/ inline FleetAdvisorSchemaObjectResponse& WithCodeLineCount(long long value) { SetCodeLineCount(value); return *this;} /** *

The size level of the code in a schema object in a Fleet Advisor collector * inventory.

*/ inline long long GetCodeSize() const{ return m_codeSize; } /** *

The size level of the code in a schema object in a Fleet Advisor collector * inventory.

*/ inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; } /** *

The size level of the code in a schema object in a Fleet Advisor collector * inventory.

*/ inline void SetCodeSize(long long value) { m_codeSizeHasBeenSet = true; m_codeSize = value; } /** *

The size level of the code in a schema object in a Fleet Advisor collector * inventory.

*/ inline FleetAdvisorSchemaObjectResponse& WithCodeSize(long long value) { SetCodeSize(value); return *this;} private: Aws::String m_schemaId; bool m_schemaIdHasBeenSet = false; Aws::String m_objectType; bool m_objectTypeHasBeenSet = false; long long m_numberOfObjects; bool m_numberOfObjectsHasBeenSet = false; long long m_codeLineCount; bool m_codeLineCountHasBeenSet = false; long long m_codeSize; bool m_codeSizeHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws