AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ExecutionResumedDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9#include <aws/lambda/model/EventResumeReason.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Lambda {
21namespace Model {
22
32 public:
33 AWS_LAMBDA_API ExecutionResumedDetails() = default;
36 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline const Aws::Utils::DateTime& GetResumeRequestTimestamp() const { return m_resumeRequestTimestamp; }
45 inline bool ResumeRequestTimestampHasBeenSet() const { return m_resumeRequestTimestampHasBeenSet; }
46 template <typename ResumeRequestTimestampT = Aws::Utils::DateTime>
47 void SetResumeRequestTimestamp(ResumeRequestTimestampT&& value) {
48 m_resumeRequestTimestampHasBeenSet = true;
49 m_resumeRequestTimestamp = std::forward<ResumeRequestTimestampT>(value);
50 }
51 template <typename ResumeRequestTimestampT = Aws::Utils::DateTime>
52 ExecutionResumedDetails& WithResumeRequestTimestamp(ResumeRequestTimestampT&& value) {
53 SetResumeRequestTimestamp(std::forward<ResumeRequestTimestampT>(value));
54 return *this;
55 }
57
59
62 inline const EventResumeReason& GetReason() const { return m_reason; }
63 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
64 template <typename ReasonT = EventResumeReason>
65 void SetReason(ReasonT&& value) {
66 m_reasonHasBeenSet = true;
67 m_reason = std::forward<ReasonT>(value);
68 }
69 template <typename ReasonT = EventResumeReason>
71 SetReason(std::forward<ReasonT>(value));
72 return *this;
73 }
75 private:
76 Aws::Utils::DateTime m_resumeRequestTimestamp{};
77
78 EventResumeReason m_reason;
79 bool m_resumeRequestTimestampHasBeenSet = false;
80 bool m_reasonHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace Lambda
85} // namespace Aws
AWS_LAMBDA_API ExecutionResumedDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ExecutionResumedDetails & WithReason(ReasonT &&value)
AWS_LAMBDA_API ExecutionResumedDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API ExecutionResumedDetails()=default
void SetResumeRequestTimestamp(ResumeRequestTimestampT &&value)
const Aws::Utils::DateTime & GetResumeRequestTimestamp() const
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
ExecutionResumedDetails & WithResumeRequestTimestamp(ResumeRequestTimestampT &&value)
Aws::Utils::Json::JsonValue JsonValue