AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
TracingConfig.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/model/TracingMode.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
31 public:
32 AWS_LAMBDA_API TracingConfig() = default;
33 AWS_LAMBDA_API TracingConfig(Aws::Utils::Json::JsonView jsonValue);
35 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline TracingMode GetMode() const { return m_mode; }
42 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
43 inline void SetMode(TracingMode value) {
44 m_modeHasBeenSet = true;
45 m_mode = value;
46 }
48 SetMode(value);
49 return *this;
50 }
52 private:
54 bool m_modeHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace Lambda
59} // namespace Aws
AWS_LAMBDA_API TracingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetMode(TracingMode value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
TracingConfig & WithMode(TracingMode value)
AWS_LAMBDA_API TracingConfig()=default
AWS_LAMBDA_API TracingConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue