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

The code execution output in JSON format.

See Also:

AWS * API Reference

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

The code execution output in text format.

*/ inline const Aws::String& GetTextPlain() const{ return m_textPlain; } /** *

The code execution output in text format.

*/ inline bool TextPlainHasBeenSet() const { return m_textPlainHasBeenSet; } /** *

The code execution output in text format.

*/ inline void SetTextPlain(const Aws::String& value) { m_textPlainHasBeenSet = true; m_textPlain = value; } /** *

The code execution output in text format.

*/ inline void SetTextPlain(Aws::String&& value) { m_textPlainHasBeenSet = true; m_textPlain = std::move(value); } /** *

The code execution output in text format.

*/ inline void SetTextPlain(const char* value) { m_textPlainHasBeenSet = true; m_textPlain.assign(value); } /** *

The code execution output in text format.

*/ inline StatementOutputData& WithTextPlain(const Aws::String& value) { SetTextPlain(value); return *this;} /** *

The code execution output in text format.

*/ inline StatementOutputData& WithTextPlain(Aws::String&& value) { SetTextPlain(std::move(value)); return *this;} /** *

The code execution output in text format.

*/ inline StatementOutputData& WithTextPlain(const char* value) { SetTextPlain(value); return *this;} private: Aws::String m_textPlain; bool m_textPlainHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws