AWS SDK for C++  1.9.104
AWS SDK for C++
AwsLambdaFunctionTracingConfig.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 SecurityHub
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetMode() const{ return m_mode; }
44 
48  inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
49 
53  inline void SetMode(const Aws::String& value) { m_modeHasBeenSet = true; m_mode = value; }
54 
58  inline void SetMode(Aws::String&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
59 
63  inline void SetMode(const char* value) { m_modeHasBeenSet = true; m_mode.assign(value); }
64 
68  inline AwsLambdaFunctionTracingConfig& WithMode(const Aws::String& value) { SetMode(value); return *this;}
69 
73  inline AwsLambdaFunctionTracingConfig& WithMode(Aws::String&& value) { SetMode(std::move(value)); return *this;}
74 
78  inline AwsLambdaFunctionTracingConfig& WithMode(const char* value) { SetMode(value); return *this;}
79 
80  private:
81 
82  Aws::String m_mode;
83  bool m_modeHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace SecurityHub
88 } // namespace Aws
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::SetMode
void SetMode(const char *value)
Definition: AwsLambdaFunctionTracingConfig.h:63
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::WithMode
AwsLambdaFunctionTracingConfig & WithMode(const Aws::String &value)
Definition: AwsLambdaFunctionTracingConfig.h:68
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::ModeHasBeenSet
bool ModeHasBeenSet() const
Definition: AwsLambdaFunctionTracingConfig.h:48
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::AwsLambdaFunctionTracingConfig
AwsLambdaFunctionTracingConfig()
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::WithMode
AwsLambdaFunctionTracingConfig & WithMode(Aws::String &&value)
Definition: AwsLambdaFunctionTracingConfig.h:73
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::WithMode
AwsLambdaFunctionTracingConfig & WithMode(const char *value)
Definition: AwsLambdaFunctionTracingConfig.h:78
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::SetMode
void SetMode(const Aws::String &value)
Definition: AwsLambdaFunctionTracingConfig.h:53
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::AwsLambdaFunctionTracingConfig
AwsLambdaFunctionTracingConfig(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::GetMode
const Aws::String & GetMode() const
Definition: AwsLambdaFunctionTracingConfig.h:43
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::SetMode
void SetMode(Aws::String &&value)
Definition: AwsLambdaFunctionTracingConfig.h:58
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig::operator=
AwsLambdaFunctionTracingConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SecurityHub::Model::AwsLambdaFunctionTracingConfig
Definition: AwsLambdaFunctionTracingConfig.h:32
SecurityHub_EXPORTS.h