/** * 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 CodePipeline { namespace Model { /** *

Represents the output of a PutApprovalResult * action.

See Also:

AWS * API Reference

*/ class AWS_CODEPIPELINE_API PutApprovalResultResult { public: PutApprovalResultResult(); PutApprovalResultResult(const Aws::AmazonWebServiceResult& result); PutApprovalResultResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The timestamp showing when the approval or rejection was submitted.

*/ inline const Aws::Utils::DateTime& GetApprovedAt() const{ return m_approvedAt; } /** *

The timestamp showing when the approval or rejection was submitted.

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

The timestamp showing when the approval or rejection was submitted.

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

The timestamp showing when the approval or rejection was submitted.

*/ inline PutApprovalResultResult& WithApprovedAt(const Aws::Utils::DateTime& value) { SetApprovedAt(value); return *this;} /** *

The timestamp showing when the approval or rejection was submitted.

*/ inline PutApprovalResultResult& WithApprovedAt(Aws::Utils::DateTime&& value) { SetApprovedAt(std::move(value)); return *this;} private: Aws::Utils::DateTime m_approvedAt; }; } // namespace Model } // namespace CodePipeline } // namespace Aws