AWS SDK for C++  1.9.21
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 
34  {
35  public:
40 
41 
45  inline const TracingMode& GetMode() const{ return m_mode; }
46 
50  inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
51 
55  inline void SetMode(const TracingMode& value) { m_modeHasBeenSet = true; m_mode = value; }
56 
60  inline void SetMode(TracingMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
61 
65  inline TracingConfig& WithMode(const TracingMode& value) { SetMode(value); return *this;}
66 
70  inline TracingConfig& WithMode(TracingMode&& value) { SetMode(std::move(value)); return *this;}
71 
72  private:
73 
74  TracingMode m_mode;
75  bool m_modeHasBeenSet;
76  };
77 
78 } // namespace Model
79 } // namespace Lambda
80 } // namespace Aws
Aws::Lambda::Model::TracingConfig
Definition: TracingConfig.h:34
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:50
Aws::Lambda::Model::TracingConfig::TracingConfig
TracingConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::TracingConfig::SetMode
void SetMode(TracingMode &&value)
Definition: TracingConfig.h:60
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:222
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::TracingConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::TracingConfig::WithMode
TracingConfig & WithMode(TracingMode &&value)
Definition: TracingConfig.h:70
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:55
Aws::Lambda::Model::TracingConfig::WithMode
TracingConfig & WithMode(const TracingMode &value)
Definition: TracingConfig.h:65
Lambda_EXPORTS.h
Aws::Lambda::Model::TracingConfig::GetMode
const TracingMode & GetMode() const
Definition: TracingConfig.h:45