AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Lambda
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_LAMBDA_API TracingConfig();
38 AWS_LAMBDA_API TracingConfig(Aws::Utils::Json::JsonView jsonValue);
40 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const TracingMode& GetMode() const{ return m_mode; }
48 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
49 inline void SetMode(const TracingMode& value) { m_modeHasBeenSet = true; m_mode = value; }
50 inline void SetMode(TracingMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
51 inline TracingConfig& WithMode(const TracingMode& value) { SetMode(value); return *this;}
52 inline TracingConfig& WithMode(TracingMode&& value) { SetMode(std::move(value)); return *this;}
54 private:
55
56 TracingMode m_mode;
57 bool m_modeHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Lambda
62} // namespace Aws
void SetMode(TracingMode &&value)
AWS_LAMBDA_API TracingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMode(const TracingMode &value)
TracingConfig & WithMode(const TracingMode &value)
const TracingMode & GetMode() const
TracingConfig & WithMode(TracingMode &&value)
AWS_LAMBDA_API TracingConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue