AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
ContextOptions.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace Lambda {
17namespace Model {
18
26 public:
27 AWS_LAMBDA_API ContextOptions() = default;
28 AWS_LAMBDA_API ContextOptions(Aws::Utils::Json::JsonView jsonValue);
30 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
38 inline bool GetReplayChildren() const { return m_replayChildren; }
39 inline bool ReplayChildrenHasBeenSet() const { return m_replayChildrenHasBeenSet; }
40 inline void SetReplayChildren(bool value) {
41 m_replayChildrenHasBeenSet = true;
42 m_replayChildren = value;
43 }
44 inline ContextOptions& WithReplayChildren(bool value) {
45 SetReplayChildren(value);
46 return *this;
47 }
49 private:
50 bool m_replayChildren{false};
51 bool m_replayChildrenHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace Lambda
56} // namespace Aws
ContextOptions & WithReplayChildren(bool value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API ContextOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API ContextOptions()=default
AWS_LAMBDA_API ContextOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue