/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Appflow { namespace Model { /** *

Describes the details of the flow run, including the timestamp, status, and * message.

See Also:

AWS * API Reference

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

Describes the details of the most recent flow run.

*/ inline const Aws::String& GetMostRecentExecutionMessage() const{ return m_mostRecentExecutionMessage; } /** *

Describes the details of the most recent flow run.

*/ inline bool MostRecentExecutionMessageHasBeenSet() const { return m_mostRecentExecutionMessageHasBeenSet; } /** *

Describes the details of the most recent flow run.

*/ inline void SetMostRecentExecutionMessage(const Aws::String& value) { m_mostRecentExecutionMessageHasBeenSet = true; m_mostRecentExecutionMessage = value; } /** *

Describes the details of the most recent flow run.

*/ inline void SetMostRecentExecutionMessage(Aws::String&& value) { m_mostRecentExecutionMessageHasBeenSet = true; m_mostRecentExecutionMessage = std::move(value); } /** *

Describes the details of the most recent flow run.

*/ inline void SetMostRecentExecutionMessage(const char* value) { m_mostRecentExecutionMessageHasBeenSet = true; m_mostRecentExecutionMessage.assign(value); } /** *

Describes the details of the most recent flow run.

*/ inline ExecutionDetails& WithMostRecentExecutionMessage(const Aws::String& value) { SetMostRecentExecutionMessage(value); return *this;} /** *

Describes the details of the most recent flow run.

*/ inline ExecutionDetails& WithMostRecentExecutionMessage(Aws::String&& value) { SetMostRecentExecutionMessage(std::move(value)); return *this;} /** *

Describes the details of the most recent flow run.

*/ inline ExecutionDetails& WithMostRecentExecutionMessage(const char* value) { SetMostRecentExecutionMessage(value); return *this;} /** *

Specifies the time of the most recent flow run.

*/ inline const Aws::Utils::DateTime& GetMostRecentExecutionTime() const{ return m_mostRecentExecutionTime; } /** *

Specifies the time of the most recent flow run.

*/ inline bool MostRecentExecutionTimeHasBeenSet() const { return m_mostRecentExecutionTimeHasBeenSet; } /** *

Specifies the time of the most recent flow run.

*/ inline void SetMostRecentExecutionTime(const Aws::Utils::DateTime& value) { m_mostRecentExecutionTimeHasBeenSet = true; m_mostRecentExecutionTime = value; } /** *

Specifies the time of the most recent flow run.

*/ inline void SetMostRecentExecutionTime(Aws::Utils::DateTime&& value) { m_mostRecentExecutionTimeHasBeenSet = true; m_mostRecentExecutionTime = std::move(value); } /** *

Specifies the time of the most recent flow run.

*/ inline ExecutionDetails& WithMostRecentExecutionTime(const Aws::Utils::DateTime& value) { SetMostRecentExecutionTime(value); return *this;} /** *

Specifies the time of the most recent flow run.

*/ inline ExecutionDetails& WithMostRecentExecutionTime(Aws::Utils::DateTime&& value) { SetMostRecentExecutionTime(std::move(value)); return *this;} /** *

Specifies the status of the most recent flow run.

*/ inline const ExecutionStatus& GetMostRecentExecutionStatus() const{ return m_mostRecentExecutionStatus; } /** *

Specifies the status of the most recent flow run.

*/ inline bool MostRecentExecutionStatusHasBeenSet() const { return m_mostRecentExecutionStatusHasBeenSet; } /** *

Specifies the status of the most recent flow run.

*/ inline void SetMostRecentExecutionStatus(const ExecutionStatus& value) { m_mostRecentExecutionStatusHasBeenSet = true; m_mostRecentExecutionStatus = value; } /** *

Specifies the status of the most recent flow run.

*/ inline void SetMostRecentExecutionStatus(ExecutionStatus&& value) { m_mostRecentExecutionStatusHasBeenSet = true; m_mostRecentExecutionStatus = std::move(value); } /** *

Specifies the status of the most recent flow run.

*/ inline ExecutionDetails& WithMostRecentExecutionStatus(const ExecutionStatus& value) { SetMostRecentExecutionStatus(value); return *this;} /** *

Specifies the status of the most recent flow run.

*/ inline ExecutionDetails& WithMostRecentExecutionStatus(ExecutionStatus&& value) { SetMostRecentExecutionStatus(std::move(value)); return *this;} private: Aws::String m_mostRecentExecutionMessage; bool m_mostRecentExecutionMessageHasBeenSet = false; Aws::Utils::DateTime m_mostRecentExecutionTime; bool m_mostRecentExecutionTimeHasBeenSet = false; ExecutionStatus m_mostRecentExecutionStatus; bool m_mostRecentExecutionStatusHasBeenSet = false; }; } // namespace Model } // namespace Appflow } // namespace Aws