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

The Amazon Resource Name (ARN) that identifies the execution.

*/ inline const Aws::String& GetExecutionArn() const{ return m_executionArn; } /** *

The Amazon Resource Name (ARN) that identifies the execution.

*/ inline void SetExecutionArn(const Aws::String& value) { m_executionArn = value; } /** *

The Amazon Resource Name (ARN) that identifies the execution.

*/ inline void SetExecutionArn(Aws::String&& value) { m_executionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) that identifies the execution.

*/ inline void SetExecutionArn(const char* value) { m_executionArn.assign(value); } /** *

The Amazon Resource Name (ARN) that identifies the execution.

*/ inline StartExecutionResult& WithExecutionArn(const Aws::String& value) { SetExecutionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the execution.

*/ inline StartExecutionResult& WithExecutionArn(Aws::String&& value) { SetExecutionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the execution.

*/ inline StartExecutionResult& WithExecutionArn(const char* value) { SetExecutionArn(value); return *this;} /** *

The date the execution is started.

*/ inline const Aws::Utils::DateTime& GetStartDate() const{ return m_startDate; } /** *

The date the execution is started.

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

The date the execution is started.

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

The date the execution is started.

*/ inline StartExecutionResult& WithStartDate(const Aws::Utils::DateTime& value) { SetStartDate(value); return *this;} /** *

The date the execution is started.

*/ inline StartExecutionResult& WithStartDate(Aws::Utils::DateTime&& value) { SetStartDate(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_executionArn; Aws::Utils::DateTime m_startDate; Aws::String m_requestId; }; } // namespace Model } // namespace SFN } // namespace Aws