AWS SDK for C++  1.9.109
AWS SDK for C++
AwsLambdaFunctionDeadLetterConfig.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
45 
49  inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
50 
54  inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
55 
59  inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
60 
64  inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
65 
69  inline AwsLambdaFunctionDeadLetterConfig& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
70 
74  inline AwsLambdaFunctionDeadLetterConfig& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
75 
79  inline AwsLambdaFunctionDeadLetterConfig& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
80 
81  private:
82 
83  Aws::String m_targetArn;
84  bool m_targetArnHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace SecurityHub
89 } // namespace Aws
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::WithTargetArn
AwsLambdaFunctionDeadLetterConfig & WithTargetArn(const char *value)
Definition: AwsLambdaFunctionDeadLetterConfig.h:79
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::GetTargetArn
const Aws::String & GetTargetArn() const
Definition: AwsLambdaFunctionDeadLetterConfig.h:44
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::AwsLambdaFunctionDeadLetterConfig
AwsLambdaFunctionDeadLetterConfig()
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::SetTargetArn
void SetTargetArn(const Aws::String &value)
Definition: AwsLambdaFunctionDeadLetterConfig.h:54
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::SetTargetArn
void SetTargetArn(const char *value)
Definition: AwsLambdaFunctionDeadLetterConfig.h:64
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::SetTargetArn
void SetTargetArn(Aws::String &&value)
Definition: AwsLambdaFunctionDeadLetterConfig.h:59
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::WithTargetArn
AwsLambdaFunctionDeadLetterConfig & WithTargetArn(Aws::String &&value)
Definition: AwsLambdaFunctionDeadLetterConfig.h:74
AWS_SECURITYHUB_API
#define AWS_SECURITYHUB_API
Definition: SecurityHub_EXPORTS.h:28
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::operator=
AwsLambdaFunctionDeadLetterConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::TargetArnHasBeenSet
bool TargetArnHasBeenSet() const
Definition: AwsLambdaFunctionDeadLetterConfig.h:49
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig
Definition: AwsLambdaFunctionDeadLetterConfig.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::AwsLambdaFunctionDeadLetterConfig
AwsLambdaFunctionDeadLetterConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SecurityHub::Model::AwsLambdaFunctionDeadLetterConfig::WithTargetArn
AwsLambdaFunctionDeadLetterConfig & WithTargetArn(const Aws::String &value)
Definition: AwsLambdaFunctionDeadLetterConfig.h:69
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SecurityHub_EXPORTS.h