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

The supported properties for a PS type data set.

See Also:

* AWS * API Reference

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

The character set encoding of the data set.

*/ inline const Aws::String& GetEncoding() const{ return m_encoding; } /** *

The character set encoding of the data set.

*/ inline bool EncodingHasBeenSet() const { return m_encodingHasBeenSet; } /** *

The character set encoding of the data set.

*/ inline void SetEncoding(const Aws::String& value) { m_encodingHasBeenSet = true; m_encoding = value; } /** *

The character set encoding of the data set.

*/ inline void SetEncoding(Aws::String&& value) { m_encodingHasBeenSet = true; m_encoding = std::move(value); } /** *

The character set encoding of the data set.

*/ inline void SetEncoding(const char* value) { m_encodingHasBeenSet = true; m_encoding.assign(value); } /** *

The character set encoding of the data set.

*/ inline PsAttributes& WithEncoding(const Aws::String& value) { SetEncoding(value); return *this;} /** *

The character set encoding of the data set.

*/ inline PsAttributes& WithEncoding(Aws::String&& value) { SetEncoding(std::move(value)); return *this;} /** *

The character set encoding of the data set.

*/ inline PsAttributes& WithEncoding(const char* value) { SetEncoding(value); return *this;} /** *

The format of the data set records.

*/ inline const Aws::String& GetFormat() const{ return m_format; } /** *

The format of the data set records.

*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *

The format of the data set records.

*/ inline void SetFormat(const Aws::String& value) { m_formatHasBeenSet = true; m_format = value; } /** *

The format of the data set records.

*/ inline void SetFormat(Aws::String&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *

The format of the data set records.

*/ inline void SetFormat(const char* value) { m_formatHasBeenSet = true; m_format.assign(value); } /** *

The format of the data set records.

*/ inline PsAttributes& WithFormat(const Aws::String& value) { SetFormat(value); return *this;} /** *

The format of the data set records.

*/ inline PsAttributes& WithFormat(Aws::String&& value) { SetFormat(std::move(value)); return *this;} /** *

The format of the data set records.

*/ inline PsAttributes& WithFormat(const char* value) { SetFormat(value); return *this;} private: Aws::String m_encoding; bool m_encodingHasBeenSet = false; Aws::String m_format; bool m_formatHasBeenSet = false; }; } // namespace Model } // namespace MainframeModernization } // namespace Aws