AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
WaitStartedDetails.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lambda {
20namespace Model {
21
29 public:
30 AWS_LAMBDA_API WaitStartedDetails() = default;
33 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline int GetDuration() const { return m_duration; }
40 inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
41 inline void SetDuration(int value) {
42 m_durationHasBeenSet = true;
43 m_duration = value;
44 }
45 inline WaitStartedDetails& WithDuration(int value) {
46 SetDuration(value);
47 return *this;
48 }
50
52
57 inline const Aws::Utils::DateTime& GetScheduledEndTimestamp() const { return m_scheduledEndTimestamp; }
58 inline bool ScheduledEndTimestampHasBeenSet() const { return m_scheduledEndTimestampHasBeenSet; }
59 template <typename ScheduledEndTimestampT = Aws::Utils::DateTime>
60 void SetScheduledEndTimestamp(ScheduledEndTimestampT&& value) {
61 m_scheduledEndTimestampHasBeenSet = true;
62 m_scheduledEndTimestamp = std::forward<ScheduledEndTimestampT>(value);
63 }
64 template <typename ScheduledEndTimestampT = Aws::Utils::DateTime>
65 WaitStartedDetails& WithScheduledEndTimestamp(ScheduledEndTimestampT&& value) {
66 SetScheduledEndTimestamp(std::forward<ScheduledEndTimestampT>(value));
67 return *this;
68 }
70 private:
71 int m_duration{0};
72
73 Aws::Utils::DateTime m_scheduledEndTimestamp{};
74 bool m_durationHasBeenSet = false;
75 bool m_scheduledEndTimestampHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Lambda
80} // namespace Aws
void SetScheduledEndTimestamp(ScheduledEndTimestampT &&value)
WaitStartedDetails & WithScheduledEndTimestamp(ScheduledEndTimestampT &&value)
AWS_LAMBDA_API WaitStartedDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API WaitStartedDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API WaitStartedDetails()=default
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Utils::DateTime & GetScheduledEndTimestamp() const
WaitStartedDetails & WithDuration(int value)
Aws::Utils::Json::JsonValue JsonValue