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

Contains information about an application-specific calculation * result.

See Also:

AWS * API Reference

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

The Amazon S3 location of the stdout file for the * calculation.

*/ inline const Aws::String& GetStdOutS3Uri() const{ return m_stdOutS3Uri; } /** *

The Amazon S3 location of the stdout file for the * calculation.

*/ inline bool StdOutS3UriHasBeenSet() const { return m_stdOutS3UriHasBeenSet; } /** *

The Amazon S3 location of the stdout file for the * calculation.

*/ inline void SetStdOutS3Uri(const Aws::String& value) { m_stdOutS3UriHasBeenSet = true; m_stdOutS3Uri = value; } /** *

The Amazon S3 location of the stdout file for the * calculation.

*/ inline void SetStdOutS3Uri(Aws::String&& value) { m_stdOutS3UriHasBeenSet = true; m_stdOutS3Uri = std::move(value); } /** *

The Amazon S3 location of the stdout file for the * calculation.

*/ inline void SetStdOutS3Uri(const char* value) { m_stdOutS3UriHasBeenSet = true; m_stdOutS3Uri.assign(value); } /** *

The Amazon S3 location of the stdout file for the * calculation.

*/ inline CalculationResult& WithStdOutS3Uri(const Aws::String& value) { SetStdOutS3Uri(value); return *this;} /** *

The Amazon S3 location of the stdout file for the * calculation.

*/ inline CalculationResult& WithStdOutS3Uri(Aws::String&& value) { SetStdOutS3Uri(std::move(value)); return *this;} /** *

The Amazon S3 location of the stdout file for the * calculation.

*/ inline CalculationResult& WithStdOutS3Uri(const char* value) { SetStdOutS3Uri(value); return *this;} /** *

The Amazon S3 location of the stderr error messages file for the * calculation.

*/ inline const Aws::String& GetStdErrorS3Uri() const{ return m_stdErrorS3Uri; } /** *

The Amazon S3 location of the stderr error messages file for the * calculation.

*/ inline bool StdErrorS3UriHasBeenSet() const { return m_stdErrorS3UriHasBeenSet; } /** *

The Amazon S3 location of the stderr error messages file for the * calculation.

*/ inline void SetStdErrorS3Uri(const Aws::String& value) { m_stdErrorS3UriHasBeenSet = true; m_stdErrorS3Uri = value; } /** *

The Amazon S3 location of the stderr error messages file for the * calculation.

*/ inline void SetStdErrorS3Uri(Aws::String&& value) { m_stdErrorS3UriHasBeenSet = true; m_stdErrorS3Uri = std::move(value); } /** *

The Amazon S3 location of the stderr error messages file for the * calculation.

*/ inline void SetStdErrorS3Uri(const char* value) { m_stdErrorS3UriHasBeenSet = true; m_stdErrorS3Uri.assign(value); } /** *

The Amazon S3 location of the stderr error messages file for the * calculation.

*/ inline CalculationResult& WithStdErrorS3Uri(const Aws::String& value) { SetStdErrorS3Uri(value); return *this;} /** *

The Amazon S3 location of the stderr error messages file for the * calculation.

*/ inline CalculationResult& WithStdErrorS3Uri(Aws::String&& value) { SetStdErrorS3Uri(std::move(value)); return *this;} /** *

The Amazon S3 location of the stderr error messages file for the * calculation.

*/ inline CalculationResult& WithStdErrorS3Uri(const char* value) { SetStdErrorS3Uri(value); return *this;} /** *

The Amazon S3 location of the folder for the calculation results.

*/ inline const Aws::String& GetResultS3Uri() const{ return m_resultS3Uri; } /** *

The Amazon S3 location of the folder for the calculation results.

*/ inline bool ResultS3UriHasBeenSet() const { return m_resultS3UriHasBeenSet; } /** *

The Amazon S3 location of the folder for the calculation results.

*/ inline void SetResultS3Uri(const Aws::String& value) { m_resultS3UriHasBeenSet = true; m_resultS3Uri = value; } /** *

The Amazon S3 location of the folder for the calculation results.

*/ inline void SetResultS3Uri(Aws::String&& value) { m_resultS3UriHasBeenSet = true; m_resultS3Uri = std::move(value); } /** *

The Amazon S3 location of the folder for the calculation results.

*/ inline void SetResultS3Uri(const char* value) { m_resultS3UriHasBeenSet = true; m_resultS3Uri.assign(value); } /** *

The Amazon S3 location of the folder for the calculation results.

*/ inline CalculationResult& WithResultS3Uri(const Aws::String& value) { SetResultS3Uri(value); return *this;} /** *

The Amazon S3 location of the folder for the calculation results.

*/ inline CalculationResult& WithResultS3Uri(Aws::String&& value) { SetResultS3Uri(std::move(value)); return *this;} /** *

The Amazon S3 location of the folder for the calculation results.

*/ inline CalculationResult& WithResultS3Uri(const char* value) { SetResultS3Uri(value); return *this;} /** *

The data format of the calculation result.

*/ inline const Aws::String& GetResultType() const{ return m_resultType; } /** *

The data format of the calculation result.

*/ inline bool ResultTypeHasBeenSet() const { return m_resultTypeHasBeenSet; } /** *

The data format of the calculation result.

*/ inline void SetResultType(const Aws::String& value) { m_resultTypeHasBeenSet = true; m_resultType = value; } /** *

The data format of the calculation result.

*/ inline void SetResultType(Aws::String&& value) { m_resultTypeHasBeenSet = true; m_resultType = std::move(value); } /** *

The data format of the calculation result.

*/ inline void SetResultType(const char* value) { m_resultTypeHasBeenSet = true; m_resultType.assign(value); } /** *

The data format of the calculation result.

*/ inline CalculationResult& WithResultType(const Aws::String& value) { SetResultType(value); return *this;} /** *

The data format of the calculation result.

*/ inline CalculationResult& WithResultType(Aws::String&& value) { SetResultType(std::move(value)); return *this;} /** *

The data format of the calculation result.

*/ inline CalculationResult& WithResultType(const char* value) { SetResultType(value); return *this;} private: Aws::String m_stdOutS3Uri; bool m_stdOutS3UriHasBeenSet = false; Aws::String m_stdErrorS3Uri; bool m_stdErrorS3UriHasBeenSet = false; Aws::String m_resultS3Uri; bool m_resultS3UriHasBeenSet = false; Aws::String m_resultType; bool m_resultTypeHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws