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

Export errors data.

See Also:

AWS * API Reference

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

Export errors data raw error.

*/ inline const Aws::String& GetRawError() const{ return m_rawError; } /** *

Export errors data raw error.

*/ inline bool RawErrorHasBeenSet() const { return m_rawErrorHasBeenSet; } /** *

Export errors data raw error.

*/ inline void SetRawError(const Aws::String& value) { m_rawErrorHasBeenSet = true; m_rawError = value; } /** *

Export errors data raw error.

*/ inline void SetRawError(Aws::String&& value) { m_rawErrorHasBeenSet = true; m_rawError = std::move(value); } /** *

Export errors data raw error.

*/ inline void SetRawError(const char* value) { m_rawErrorHasBeenSet = true; m_rawError.assign(value); } /** *

Export errors data raw error.

*/ inline ExportErrorData& WithRawError(const Aws::String& value) { SetRawError(value); return *this;} /** *

Export errors data raw error.

*/ inline ExportErrorData& WithRawError(Aws::String&& value) { SetRawError(std::move(value)); return *this;} /** *

Export errors data raw error.

*/ inline ExportErrorData& WithRawError(const char* value) { SetRawError(value); return *this;} private: Aws::String m_rawError; bool m_rawErrorHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws