/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the status of an export task.See Also:
AWS
* API Reference
The status code of the export task.
*/ inline const ExportTaskStatusCode& GetCode() const{ return m_code; } /** *The status code of the export task.
*/ inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; } /** *The status code of the export task.
*/ inline void SetCode(const ExportTaskStatusCode& value) { m_codeHasBeenSet = true; m_code = value; } /** *The status code of the export task.
*/ inline void SetCode(ExportTaskStatusCode&& value) { m_codeHasBeenSet = true; m_code = std::move(value); } /** *The status code of the export task.
*/ inline ExportTaskStatus& WithCode(const ExportTaskStatusCode& value) { SetCode(value); return *this;} /** *The status code of the export task.
*/ inline ExportTaskStatus& WithCode(ExportTaskStatusCode&& value) { SetCode(std::move(value)); return *this;} /** *The status message related to the status code.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *The status message related to the status code.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *The status message related to the status code.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *The status message related to the status code.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *The status message related to the status code.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *The status message related to the status code.
*/ inline ExportTaskStatus& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *The status message related to the status code.
*/ inline ExportTaskStatus& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *The status message related to the status code.
*/ inline ExportTaskStatus& WithMessage(const char* value) { SetMessage(value); return *this;} private: ExportTaskStatusCode m_code; bool m_codeHasBeenSet = false; Aws::String m_message; bool m_messageHasBeenSet = false; }; } // namespace Model } // namespace CloudWatchLogs } // namespace Aws