AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CallbackStartedDetails.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.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 CallbackStartedDetails() = default;
33 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
41 inline const Aws::String& GetCallbackId() const { return m_callbackId; }
42 inline bool CallbackIdHasBeenSet() const { return m_callbackIdHasBeenSet; }
43 template <typename CallbackIdT = Aws::String>
44 void SetCallbackId(CallbackIdT&& value) {
45 m_callbackIdHasBeenSet = true;
46 m_callbackId = std::forward<CallbackIdT>(value);
47 }
48 template <typename CallbackIdT = Aws::String>
49 CallbackStartedDetails& WithCallbackId(CallbackIdT&& value) {
50 SetCallbackId(std::forward<CallbackIdT>(value));
51 return *this;
52 }
54
56
59 inline int GetHeartbeatTimeout() const { return m_heartbeatTimeout; }
60 inline bool HeartbeatTimeoutHasBeenSet() const { return m_heartbeatTimeoutHasBeenSet; }
61 inline void SetHeartbeatTimeout(int value) {
62 m_heartbeatTimeoutHasBeenSet = true;
63 m_heartbeatTimeout = value;
64 }
67 return *this;
68 }
70
72
75 inline int GetTimeout() const { return m_timeout; }
76 inline bool TimeoutHasBeenSet() const { return m_timeoutHasBeenSet; }
77 inline void SetTimeout(int value) {
78 m_timeoutHasBeenSet = true;
79 m_timeout = value;
80 }
82 SetTimeout(value);
83 return *this;
84 }
86 private:
87 Aws::String m_callbackId;
88
89 int m_heartbeatTimeout{0};
90
91 int m_timeout{0};
92 bool m_callbackIdHasBeenSet = false;
93 bool m_heartbeatTimeoutHasBeenSet = false;
94 bool m_timeoutHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace Lambda
99} // namespace Aws
AWS_LAMBDA_API CallbackStartedDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API CallbackStartedDetails()=default
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
CallbackStartedDetails & WithCallbackId(CallbackIdT &&value)
CallbackStartedDetails & WithHeartbeatTimeout(int value)
AWS_LAMBDA_API CallbackStartedDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
CallbackStartedDetails & WithTimeout(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue