AWS SDK for C++  1.9.109
AWS SDK for C++
PutApprovalResultResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace CodePipeline
24 {
25 namespace Model
26 {
34  {
35  public:
39 
40 
44  inline const Aws::Utils::DateTime& GetApprovedAt() const{ return m_approvedAt; }
45 
49  inline void SetApprovedAt(const Aws::Utils::DateTime& value) { m_approvedAt = value; }
50 
54  inline void SetApprovedAt(Aws::Utils::DateTime&& value) { m_approvedAt = std::move(value); }
55 
59  inline PutApprovalResultResult& WithApprovedAt(const Aws::Utils::DateTime& value) { SetApprovedAt(value); return *this;}
60 
64  inline PutApprovalResultResult& WithApprovedAt(Aws::Utils::DateTime&& value) { SetApprovedAt(std::move(value)); return *this;}
65 
66  private:
67 
68  Aws::Utils::DateTime m_approvedAt;
69  };
70 
71 } // namespace Model
72 } // namespace CodePipeline
73 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_CODEPIPELINE_API
#define AWS_CODEPIPELINE_API
Definition: CodePipeline_EXPORTS.h:28
DateTime.h
Aws::CodePipeline::Model::PutApprovalResultResult::operator=
PutApprovalResultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodePipeline::Model::PutApprovalResultResult::PutApprovalResultResult
PutApprovalResultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::CodePipeline::Model::PutApprovalResultResult::SetApprovedAt
void SetApprovedAt(Aws::Utils::DateTime &&value)
Definition: PutApprovalResultResult.h:54
Aws::CodePipeline::Model::PutApprovalResultResult::WithApprovedAt
PutApprovalResultResult & WithApprovedAt(Aws::Utils::DateTime &&value)
Definition: PutApprovalResultResult.h:64
CodePipeline_EXPORTS.h
Aws::CodePipeline::Model::PutApprovalResultResult
Definition: PutApprovalResultResult.h:34
Aws::CodePipeline::Model::PutApprovalResultResult::WithApprovedAt
PutApprovalResultResult & WithApprovedAt(const Aws::Utils::DateTime &value)
Definition: PutApprovalResultResult.h:59
Aws
Definition: AccessManagementClient.h:15
Aws::CodePipeline::Model::PutApprovalResultResult::GetApprovedAt
const Aws::Utils::DateTime & GetApprovedAt() const
Definition: PutApprovalResultResult.h:44
Aws::CodePipeline::Model::PutApprovalResultResult::SetApprovedAt
void SetApprovedAt(const Aws::Utils::DateTime &value)
Definition: PutApprovalResultResult.h:49
Aws::CodePipeline::Model::PutApprovalResultResult::PutApprovalResultResult
PutApprovalResultResult()