AWS SDK for C++  1.9.123
AWS SDK for C++
TracingConfigResponse.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 
32  {
33  public:
38 
39 
43  inline const TracingMode& GetMode() const{ return m_mode; }
44 
48  inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
49 
53  inline void SetMode(const TracingMode& value) { m_modeHasBeenSet = true; m_mode = value; }
54 
58  inline void SetMode(TracingMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
59 
63  inline TracingConfigResponse& WithMode(const TracingMode& value) { SetMode(value); return *this;}
64 
68  inline TracingConfigResponse& WithMode(TracingMode&& value) { SetMode(std::move(value)); return *this;}
69 
70  private:
71 
72  TracingMode m_mode;
73  bool m_modeHasBeenSet;
74  };
75 
76 } // namespace Model
77 } // namespace Lambda
78 } // namespace Aws
Aws::Lambda::Model::TracingConfigResponse::SetMode
void SetMode(const TracingMode &value)
Definition: TracingConfigResponse.h:53
Aws::Lambda::Model::TracingConfigResponse::ModeHasBeenSet
bool ModeHasBeenSet() const
Definition: TracingConfigResponse.h:48
Aws::Lambda::Model::TracingConfigResponse::SetMode
void SetMode(TracingMode &&value)
Definition: TracingConfigResponse.h:58
Aws::Lambda::Model::TracingMode
TracingMode
Definition: TracingMode.h:17
Aws::Lambda::Model::TracingConfigResponse::WithMode
TracingConfigResponse & WithMode(const TracingMode &value)
Definition: TracingConfigResponse.h:63
Aws::Lambda::Model::TracingConfigResponse::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::TracingConfigResponse::WithMode
TracingConfigResponse & WithMode(TracingMode &&value)
Definition: TracingConfigResponse.h:68
Aws::Lambda::Model::TracingConfigResponse::GetMode
const TracingMode & GetMode() const
Definition: TracingConfigResponse.h:43
TracingMode.h
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::TracingConfigResponse::TracingConfigResponse
TracingConfigResponse()
Aws::Lambda::Model::TracingConfigResponse
Definition: TracingConfigResponse.h:32
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::TracingConfigResponse::TracingConfigResponse
TracingConfigResponse(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::TracingConfigResponse::operator=
TracingConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
Lambda_EXPORTS.h