AWS SDK for C++  1.9.125
AWS SDK for C++
TracingConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Lambda
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
46  inline const TracingMode& GetMode() const{ return m_mode; }
47 
51  inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
52 
56  inline void SetMode(const TracingMode& value) { m_modeHasBeenSet = true; m_mode = value; }
57 
61  inline void SetMode(TracingMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
62 
66  inline TracingConfig& WithMode(const TracingMode& value) { SetMode(value); return *this;}
67 
71  inline TracingConfig& WithMode(TracingMode&& value) { SetMode(std::move(value)); return *this;}
72 
73  private:
74 
75  TracingMode m_mode;
76  bool m_modeHasBeenSet;
77  };
78 
79 } // namespace Model
80 } // namespace Lambda
81 } // namespace Aws
Aws::Lambda::Model::TracingConfig
Definition: TracingConfig.h:35
Aws::Lambda::Model::TracingConfig::operator=
TracingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::TracingMode
TracingMode
Definition: TracingMode.h:17
Aws::Lambda::Model::TracingConfig::ModeHasBeenSet
bool ModeHasBeenSet() const
Definition: TracingConfig.h:51
Aws::Lambda::Model::TracingConfig::TracingConfig
TracingConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::TracingConfig::SetMode
void SetMode(TracingMode &&value)
Definition: TracingConfig.h:61
TracingMode.h
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::TracingConfig::TracingConfig
TracingConfig()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::TracingConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::TracingConfig::WithMode
TracingConfig & WithMode(TracingMode &&value)
Definition: TracingConfig.h:71
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::TracingConfig::SetMode
void SetMode(const TracingMode &value)
Definition: TracingConfig.h:56
Aws::Lambda::Model::TracingConfig::WithMode
TracingConfig & WithMode(const TracingMode &value)
Definition: TracingConfig.h:66
Lambda_EXPORTS.h
Aws::Lambda::Model::TracingConfig::GetMode
const TracingMode & GetMode() const
Definition: TracingConfig.h:46