/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

The details of a blueprint.

See Also:

AWS API * Reference

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

The name of the blueprint.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the blueprint.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the blueprint.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the blueprint.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the blueprint.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the blueprint.

*/ inline Blueprint& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the blueprint.

*/ inline Blueprint& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the blueprint.

*/ inline Blueprint& WithName(const char* value) { SetName(value); return *this;} /** *

The description of the blueprint.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the blueprint.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

The description of the blueprint.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

The description of the blueprint.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

The description of the blueprint.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

The description of the blueprint.

*/ inline Blueprint& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the blueprint.

*/ inline Blueprint& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the blueprint.

*/ inline Blueprint& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The date and time the blueprint was registered.

*/ inline const Aws::Utils::DateTime& GetCreatedOn() const{ return m_createdOn; } /** *

The date and time the blueprint was registered.

*/ inline bool CreatedOnHasBeenSet() const { return m_createdOnHasBeenSet; } /** *

The date and time the blueprint was registered.

*/ inline void SetCreatedOn(const Aws::Utils::DateTime& value) { m_createdOnHasBeenSet = true; m_createdOn = value; } /** *

The date and time the blueprint was registered.

*/ inline void SetCreatedOn(Aws::Utils::DateTime&& value) { m_createdOnHasBeenSet = true; m_createdOn = std::move(value); } /** *

The date and time the blueprint was registered.

*/ inline Blueprint& WithCreatedOn(const Aws::Utils::DateTime& value) { SetCreatedOn(value); return *this;} /** *

The date and time the blueprint was registered.

*/ inline Blueprint& WithCreatedOn(Aws::Utils::DateTime&& value) { SetCreatedOn(std::move(value)); return *this;} /** *

The date and time the blueprint was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedOn() const{ return m_lastModifiedOn; } /** *

The date and time the blueprint was last modified.

*/ inline bool LastModifiedOnHasBeenSet() const { return m_lastModifiedOnHasBeenSet; } /** *

The date and time the blueprint was last modified.

*/ inline void SetLastModifiedOn(const Aws::Utils::DateTime& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = value; } /** *

The date and time the blueprint was last modified.

*/ inline void SetLastModifiedOn(Aws::Utils::DateTime&& value) { m_lastModifiedOnHasBeenSet = true; m_lastModifiedOn = std::move(value); } /** *

The date and time the blueprint was last modified.

*/ inline Blueprint& WithLastModifiedOn(const Aws::Utils::DateTime& value) { SetLastModifiedOn(value); return *this;} /** *

The date and time the blueprint was last modified.

*/ inline Blueprint& WithLastModifiedOn(Aws::Utils::DateTime&& value) { SetLastModifiedOn(std::move(value)); return *this;} /** *

A JSON string that indicates the list of parameter specifications for the * blueprint.

*/ inline const Aws::String& GetParameterSpec() const{ return m_parameterSpec; } /** *

A JSON string that indicates the list of parameter specifications for the * blueprint.

*/ inline bool ParameterSpecHasBeenSet() const { return m_parameterSpecHasBeenSet; } /** *

A JSON string that indicates the list of parameter specifications for the * blueprint.

*/ inline void SetParameterSpec(const Aws::String& value) { m_parameterSpecHasBeenSet = true; m_parameterSpec = value; } /** *

A JSON string that indicates the list of parameter specifications for the * blueprint.

*/ inline void SetParameterSpec(Aws::String&& value) { m_parameterSpecHasBeenSet = true; m_parameterSpec = std::move(value); } /** *

A JSON string that indicates the list of parameter specifications for the * blueprint.

*/ inline void SetParameterSpec(const char* value) { m_parameterSpecHasBeenSet = true; m_parameterSpec.assign(value); } /** *

A JSON string that indicates the list of parameter specifications for the * blueprint.

*/ inline Blueprint& WithParameterSpec(const Aws::String& value) { SetParameterSpec(value); return *this;} /** *

A JSON string that indicates the list of parameter specifications for the * blueprint.

*/ inline Blueprint& WithParameterSpec(Aws::String&& value) { SetParameterSpec(std::move(value)); return *this;} /** *

A JSON string that indicates the list of parameter specifications for the * blueprint.

*/ inline Blueprint& WithParameterSpec(const char* value) { SetParameterSpec(value); return *this;} /** *

Specifies the path in Amazon S3 where the blueprint is published.

*/ inline const Aws::String& GetBlueprintLocation() const{ return m_blueprintLocation; } /** *

Specifies the path in Amazon S3 where the blueprint is published.

*/ inline bool BlueprintLocationHasBeenSet() const { return m_blueprintLocationHasBeenSet; } /** *

Specifies the path in Amazon S3 where the blueprint is published.

*/ inline void SetBlueprintLocation(const Aws::String& value) { m_blueprintLocationHasBeenSet = true; m_blueprintLocation = value; } /** *

Specifies the path in Amazon S3 where the blueprint is published.

*/ inline void SetBlueprintLocation(Aws::String&& value) { m_blueprintLocationHasBeenSet = true; m_blueprintLocation = std::move(value); } /** *

Specifies the path in Amazon S3 where the blueprint is published.

*/ inline void SetBlueprintLocation(const char* value) { m_blueprintLocationHasBeenSet = true; m_blueprintLocation.assign(value); } /** *

Specifies the path in Amazon S3 where the blueprint is published.

*/ inline Blueprint& WithBlueprintLocation(const Aws::String& value) { SetBlueprintLocation(value); return *this;} /** *

Specifies the path in Amazon S3 where the blueprint is published.

*/ inline Blueprint& WithBlueprintLocation(Aws::String&& value) { SetBlueprintLocation(std::move(value)); return *this;} /** *

Specifies the path in Amazon S3 where the blueprint is published.

*/ inline Blueprint& WithBlueprintLocation(const char* value) { SetBlueprintLocation(value); return *this;} /** *

Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in * Glue.

*/ inline const Aws::String& GetBlueprintServiceLocation() const{ return m_blueprintServiceLocation; } /** *

Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in * Glue.

*/ inline bool BlueprintServiceLocationHasBeenSet() const { return m_blueprintServiceLocationHasBeenSet; } /** *

Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in * Glue.

*/ inline void SetBlueprintServiceLocation(const Aws::String& value) { m_blueprintServiceLocationHasBeenSet = true; m_blueprintServiceLocation = value; } /** *

Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in * Glue.

*/ inline void SetBlueprintServiceLocation(Aws::String&& value) { m_blueprintServiceLocationHasBeenSet = true; m_blueprintServiceLocation = std::move(value); } /** *

Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in * Glue.

*/ inline void SetBlueprintServiceLocation(const char* value) { m_blueprintServiceLocationHasBeenSet = true; m_blueprintServiceLocation.assign(value); } /** *

Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in * Glue.

*/ inline Blueprint& WithBlueprintServiceLocation(const Aws::String& value) { SetBlueprintServiceLocation(value); return *this;} /** *

Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in * Glue.

*/ inline Blueprint& WithBlueprintServiceLocation(Aws::String&& value) { SetBlueprintServiceLocation(std::move(value)); return *this;} /** *

Specifies a path in Amazon S3 where the blueprint is copied when you call * CreateBlueprint/UpdateBlueprint to register the blueprint in * Glue.

*/ inline Blueprint& WithBlueprintServiceLocation(const char* value) { SetBlueprintServiceLocation(value); return *this;} /** *

The status of the blueprint registration.

  • Creating — The * blueprint registration is in progress.

  • Active — The blueprint * has been successfully registered.

  • Updating — An update to the * blueprint registration is in progress.

  • Failed — The blueprint * registration failed.

*/ inline const BlueprintStatus& GetStatus() const{ return m_status; } /** *

The status of the blueprint registration.

  • Creating — The * blueprint registration is in progress.

  • Active — The blueprint * has been successfully registered.

  • Updating — An update to the * blueprint registration is in progress.

  • Failed — The blueprint * registration failed.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the blueprint registration.

  • Creating — The * blueprint registration is in progress.

  • Active — The blueprint * has been successfully registered.

  • Updating — An update to the * blueprint registration is in progress.

  • Failed — The blueprint * registration failed.

*/ inline void SetStatus(const BlueprintStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the blueprint registration.

  • Creating — The * blueprint registration is in progress.

  • Active — The blueprint * has been successfully registered.

  • Updating — An update to the * blueprint registration is in progress.

  • Failed — The blueprint * registration failed.

*/ inline void SetStatus(BlueprintStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the blueprint registration.

  • Creating — The * blueprint registration is in progress.

  • Active — The blueprint * has been successfully registered.

  • Updating — An update to the * blueprint registration is in progress.

  • Failed — The blueprint * registration failed.

*/ inline Blueprint& WithStatus(const BlueprintStatus& value) { SetStatus(value); return *this;} /** *

The status of the blueprint registration.

  • Creating — The * blueprint registration is in progress.

  • Active — The blueprint * has been successfully registered.

  • Updating — An update to the * blueprint registration is in progress.

  • Failed — The blueprint * registration failed.

*/ inline Blueprint& WithStatus(BlueprintStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

An error message.

*/ inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; } /** *

An error message.

*/ inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; } /** *

An error message.

*/ inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; } /** *

An error message.

*/ inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); } /** *

An error message.

*/ inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); } /** *

An error message.

*/ inline Blueprint& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;} /** *

An error message.

*/ inline Blueprint& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;} /** *

An error message.

*/ inline Blueprint& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;} /** *

When there are multiple versions of a blueprint and the latest version has * some errors, this attribute indicates the last successful blueprint definition * that is available with the service.

*/ inline const LastActiveDefinition& GetLastActiveDefinition() const{ return m_lastActiveDefinition; } /** *

When there are multiple versions of a blueprint and the latest version has * some errors, this attribute indicates the last successful blueprint definition * that is available with the service.

*/ inline bool LastActiveDefinitionHasBeenSet() const { return m_lastActiveDefinitionHasBeenSet; } /** *

When there are multiple versions of a blueprint and the latest version has * some errors, this attribute indicates the last successful blueprint definition * that is available with the service.

*/ inline void SetLastActiveDefinition(const LastActiveDefinition& value) { m_lastActiveDefinitionHasBeenSet = true; m_lastActiveDefinition = value; } /** *

When there are multiple versions of a blueprint and the latest version has * some errors, this attribute indicates the last successful blueprint definition * that is available with the service.

*/ inline void SetLastActiveDefinition(LastActiveDefinition&& value) { m_lastActiveDefinitionHasBeenSet = true; m_lastActiveDefinition = std::move(value); } /** *

When there are multiple versions of a blueprint and the latest version has * some errors, this attribute indicates the last successful blueprint definition * that is available with the service.

*/ inline Blueprint& WithLastActiveDefinition(const LastActiveDefinition& value) { SetLastActiveDefinition(value); return *this;} /** *

When there are multiple versions of a blueprint and the latest version has * some errors, this attribute indicates the last successful blueprint definition * that is available with the service.

*/ inline Blueprint& WithLastActiveDefinition(LastActiveDefinition&& value) { SetLastActiveDefinition(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Utils::DateTime m_createdOn; bool m_createdOnHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedOn; bool m_lastModifiedOnHasBeenSet = false; Aws::String m_parameterSpec; bool m_parameterSpecHasBeenSet = false; Aws::String m_blueprintLocation; bool m_blueprintLocationHasBeenSet = false; Aws::String m_blueprintServiceLocation; bool m_blueprintServiceLocationHasBeenSet = false; BlueprintStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_errorMessage; bool m_errorMessageHasBeenSet = false; LastActiveDefinition m_lastActiveDefinition; bool m_lastActiveDefinitionHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws