107 lines
3.0 KiB
C
107 lines
3.0 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/memory/stl/AWSString.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 StartExecutionResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
StartExecutionResult();
|
|||
|
|
StartExecutionResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
StartExecutionResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that id entifies the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetExecutionArn() const{ return m_executionArn; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that id entifies the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetExecutionArn(const Aws::String& value) { m_executionArn = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that id entifies the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetExecutionArn(Aws::String&& value) { m_executionArn = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that id entifies the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetExecutionArn(const char* value) { m_executionArn.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that id entifies the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartExecutionResult& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that id entifies the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartExecutionResult& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The Amazon Resource Name (ARN) that id entifies the execution.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartExecutionResult& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the execution is started.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the execution is started.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetStartDate(const Aws::Utils::DateTime& value) { m_startDate = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the execution is started.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetStartDate(Aws::Utils::DateTime&& value) { m_startDate = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the execution is started.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartExecutionResult& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The date the execution is started.</p>
|
|||
|
|
*/
|
|||
|
|
inline StartExecutionResult& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_executionArn;
|
|||
|
|
|
|||
|
|
Aws::Utils::DateTime m_startDate;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace SFN
|
|||
|
|
} // namespace Aws
|