/** * 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 Athena { namespace Model { /** *

Summary information for a notebook calculation.

See Also:

AWS * API Reference

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

The calculation execution UUID.

*/ inline const Aws::String& GetCalculationExecutionId() const{ return m_calculationExecutionId; } /** *

The calculation execution UUID.

*/ inline bool CalculationExecutionIdHasBeenSet() const { return m_calculationExecutionIdHasBeenSet; } /** *

The calculation execution UUID.

*/ inline void SetCalculationExecutionId(const Aws::String& value) { m_calculationExecutionIdHasBeenSet = true; m_calculationExecutionId = value; } /** *

The calculation execution UUID.

*/ inline void SetCalculationExecutionId(Aws::String&& value) { m_calculationExecutionIdHasBeenSet = true; m_calculationExecutionId = std::move(value); } /** *

The calculation execution UUID.

*/ inline void SetCalculationExecutionId(const char* value) { m_calculationExecutionIdHasBeenSet = true; m_calculationExecutionId.assign(value); } /** *

The calculation execution UUID.

*/ inline CalculationSummary& WithCalculationExecutionId(const Aws::String& value) { SetCalculationExecutionId(value); return *this;} /** *

The calculation execution UUID.

*/ inline CalculationSummary& WithCalculationExecutionId(Aws::String&& value) { SetCalculationExecutionId(std::move(value)); return *this;} /** *

The calculation execution UUID.

*/ inline CalculationSummary& WithCalculationExecutionId(const char* value) { SetCalculationExecutionId(value); return *this;} /** *

A description of the calculation.

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

A description of the calculation.

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

A description of the calculation.

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

A description of the calculation.

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

A description of the calculation.

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

A description of the calculation.

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

A description of the calculation.

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

A description of the calculation.

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

Contains information about the status of the calculation.

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

Contains information about the status of the calculation.

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

Contains information about the status of the calculation.

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

Contains information about the status of the calculation.

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

Contains information about the status of the calculation.

*/ inline CalculationSummary& WithStatus(const CalculationStatus& value) { SetStatus(value); return *this;} /** *

Contains information about the status of the calculation.

*/ inline CalculationSummary& WithStatus(CalculationStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_calculationExecutionId; bool m_calculationExecutionIdHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; CalculationStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws