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

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.

See Also:

AWS * API Reference

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

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 LastActiveDefinition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the blueprint.

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

The description of the blueprint.

*/ inline LastActiveDefinition& WithDescription(const char* value) { SetDescription(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 LastActiveDefinition& WithLastModifiedOn(const Aws::Utils::DateTime& value) { SetLastModifiedOn(value); return *this;} /** *

The date and time the blueprint was last modified.

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

A JSON string specifying the parameters for the blueprint.

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

A JSON string specifying the parameters for the blueprint.

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

A JSON string specifying the parameters for the blueprint.

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

A JSON string specifying the parameters for the blueprint.

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

A JSON string specifying the parameters for the blueprint.

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

A JSON string specifying the parameters for the blueprint.

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

A JSON string specifying the parameters for the blueprint.

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

A JSON string specifying the parameters for the blueprint.

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

Specifies a path in Amazon S3 where the blueprint is published by the Glue * developer.

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

Specifies a path in Amazon S3 where the blueprint is published by the Glue * developer.

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

Specifies a path in Amazon S3 where the blueprint is published by the Glue * developer.

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

Specifies a path in Amazon S3 where the blueprint is published by the Glue * developer.

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

Specifies a path in Amazon S3 where the blueprint is published by the Glue * developer.

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

Specifies a path in Amazon S3 where the blueprint is published by the Glue * developer.

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

Specifies a path in Amazon S3 where the blueprint is published by the Glue * developer.

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

Specifies a path in Amazon S3 where the blueprint is published by the Glue * developer.

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

Specifies a path in Amazon S3 where the blueprint is copied when you create * or update the blueprint.

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

Specifies a path in Amazon S3 where the blueprint is copied when you create * or update the blueprint.

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

Specifies a path in Amazon S3 where the blueprint is copied when you create * or update the blueprint.

*/ 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 create * or update the blueprint.

*/ 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 create * or update the blueprint.

*/ 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 create * or update the blueprint.

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

Specifies a path in Amazon S3 where the blueprint is copied when you create * or update the blueprint.

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

Specifies a path in Amazon S3 where the blueprint is copied when you create * or update the blueprint.

*/ inline LastActiveDefinition& WithBlueprintServiceLocation(const char* value) { SetBlueprintServiceLocation(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = 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; }; } // namespace Model } // namespace Glue } // namespace Aws