AWS SDK for C++  1.9.20
AWS SDK for C++
DeadLetterConfig.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 
46  inline const Aws::String& GetTargetArn() const{ return m_targetArn; }
47 
52  inline bool TargetArnHasBeenSet() const { return m_targetArnHasBeenSet; }
53 
58  inline void SetTargetArn(const Aws::String& value) { m_targetArnHasBeenSet = true; m_targetArn = value; }
59 
64  inline void SetTargetArn(Aws::String&& value) { m_targetArnHasBeenSet = true; m_targetArn = std::move(value); }
65 
70  inline void SetTargetArn(const char* value) { m_targetArnHasBeenSet = true; m_targetArn.assign(value); }
71 
76  inline DeadLetterConfig& WithTargetArn(const Aws::String& value) { SetTargetArn(value); return *this;}
77 
82  inline DeadLetterConfig& WithTargetArn(Aws::String&& value) { SetTargetArn(std::move(value)); return *this;}
83 
88  inline DeadLetterConfig& WithTargetArn(const char* value) { SetTargetArn(value); return *this;}
89 
90  private:
91 
92  Aws::String m_targetArn;
93  bool m_targetArnHasBeenSet;
94  };
95 
96 } // namespace Model
97 } // namespace Lambda
98 } // namespace Aws
Aws::Lambda::Model::DeadLetterConfig::WithTargetArn
DeadLetterConfig & WithTargetArn(const char *value)
Definition: DeadLetterConfig.h:88
Aws::Lambda::Model::DeadLetterConfig::DeadLetterConfig
DeadLetterConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::DeadLetterConfig::WithTargetArn
DeadLetterConfig & WithTargetArn(Aws::String &&value)
Definition: DeadLetterConfig.h:82
Aws::Lambda::Model::DeadLetterConfig
Definition: DeadLetterConfig.h:34
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::DeadLetterConfig::GetTargetArn
const Aws::String & GetTargetArn() const
Definition: DeadLetterConfig.h:46
Aws::Lambda::Model::DeadLetterConfig::DeadLetterConfig
DeadLetterConfig()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::DeadLetterConfig::SetTargetArn
void SetTargetArn(Aws::String &&value)
Definition: DeadLetterConfig.h:64
Aws::Lambda::Model::DeadLetterConfig::WithTargetArn
DeadLetterConfig & WithTargetArn(const Aws::String &value)
Definition: DeadLetterConfig.h:76
Aws::Lambda::Model::DeadLetterConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::DeadLetterConfig::SetTargetArn
void SetTargetArn(const Aws::String &value)
Definition: DeadLetterConfig.h:58
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::DeadLetterConfig::operator=
DeadLetterConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::DeadLetterConfig::SetTargetArn
void SetTargetArn(const char *value)
Definition: DeadLetterConfig.h:70
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::DeadLetterConfig::TargetArnHasBeenSet
bool TargetArnHasBeenSet() const
Definition: DeadLetterConfig.h:52
Lambda_EXPORTS.h