68 lines
1.6 KiB
C++
68 lines
1.6 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/states/SFN_EXPORTS.h>
|
|
#include <aws/core/utils/DateTime.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
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<Aws::Utils::Json::JsonValue>& result);
|
|
StopExecutionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The date the execution is stopped.</p>
|
|
*/
|
|
inline const Aws::Utils::DateTime& GetStopDate() const{ return m_stopDate; }
|
|
|
|
/**
|
|
* <p>The date the execution is stopped.</p>
|
|
*/
|
|
inline void SetStopDate(const Aws::Utils::DateTime& value) { m_stopDate = value; }
|
|
|
|
/**
|
|
* <p>The date the execution is stopped.</p>
|
|
*/
|
|
inline void SetStopDate(Aws::Utils::DateTime&& value) { m_stopDate = std::move(value); }
|
|
|
|
/**
|
|
* <p>The date the execution is stopped.</p>
|
|
*/
|
|
inline StopExecutionResult& WithStopDate(const Aws::Utils::DateTime& value) { SetStopDate(value); return *this;}
|
|
|
|
/**
|
|
* <p>The date the execution is stopped.</p>
|
|
*/
|
|
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
|