/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SFN { namespace Model { class AWS_SFN_API StopExecutionResult { public: StopExecutionResult(); StopExecutionResult(const Aws::AmazonWebServiceResult& result); StopExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The date the execution is stopped.

*/ inline const Aws::Utils::DateTime& GetStopDate() const{ return m_stopDate; } /** *

The date the execution is stopped.

*/ inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDate = value; } /** *

The date the execution is stopped.

*/ inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDate = std::move(value); } /** *

The date the execution is stopped.

*/ inline StopExecutionResult& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;} /** *

The date the execution is stopped.

*/ inline StopExecutionResult& WithStopDate(Aws::Utils::DateTime&& value) { SetStopDate(std::move(value)); return *this;} private: Aws::Utils::DateTime m_stopDate; }; } // namespace Model } // namespace SFN } // namespace Aws