AWS SDK for C++  1.9.20
AWS SDK for C++
DestinationConfig.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Lambda
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const OnSuccess& GetOnSuccess() const{ return m_onSuccess; }
46 
50  inline bool OnSuccessHasBeenSet() const { return m_onSuccessHasBeenSet; }
51 
55  inline void SetOnSuccess(const OnSuccess& value) { m_onSuccessHasBeenSet = true; m_onSuccess = value; }
56 
60  inline void SetOnSuccess(OnSuccess&& value) { m_onSuccessHasBeenSet = true; m_onSuccess = std::move(value); }
61 
65  inline DestinationConfig& WithOnSuccess(const OnSuccess& value) { SetOnSuccess(value); return *this;}
66 
70  inline DestinationConfig& WithOnSuccess(OnSuccess&& value) { SetOnSuccess(std::move(value)); return *this;}
71 
72 
76  inline const OnFailure& GetOnFailure() const{ return m_onFailure; }
77 
81  inline bool OnFailureHasBeenSet() const { return m_onFailureHasBeenSet; }
82 
86  inline void SetOnFailure(const OnFailure& value) { m_onFailureHasBeenSet = true; m_onFailure = value; }
87 
91  inline void SetOnFailure(OnFailure&& value) { m_onFailureHasBeenSet = true; m_onFailure = std::move(value); }
92 
96  inline DestinationConfig& WithOnFailure(const OnFailure& value) { SetOnFailure(value); return *this;}
97 
101  inline DestinationConfig& WithOnFailure(OnFailure&& value) { SetOnFailure(std::move(value)); return *this;}
102 
103  private:
104 
105  OnSuccess m_onSuccess;
106  bool m_onSuccessHasBeenSet;
107 
108  OnFailure m_onFailure;
109  bool m_onFailureHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace Lambda
114 } // namespace Aws
OnFailure.h
Aws::Lambda::Model::DestinationConfig::operator=
DestinationConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::DestinationConfig::OnFailureHasBeenSet
bool OnFailureHasBeenSet() const
Definition: DestinationConfig.h:81
Aws::Lambda::Model::DestinationConfig::GetOnFailure
const OnFailure & GetOnFailure() const
Definition: DestinationConfig.h:76
Aws::Lambda::Model::DestinationConfig::SetOnSuccess
void SetOnSuccess(const OnSuccess &value)
Definition: DestinationConfig.h:55
Aws::Lambda::Model::DestinationConfig::SetOnFailure
void SetOnFailure(OnFailure &&value)
Definition: DestinationConfig.h:91
Aws::Lambda::Model::DestinationConfig::WithOnFailure
DestinationConfig & WithOnFailure(OnFailure &&value)
Definition: DestinationConfig.h:101
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::DestinationConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::DestinationConfig::WithOnSuccess
DestinationConfig & WithOnSuccess(OnSuccess &&value)
Definition: DestinationConfig.h:70
Aws::Lambda::Model::OnFailure
Definition: OnFailure.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Lambda::Model::DestinationConfig::SetOnFailure
void SetOnFailure(const OnFailure &value)
Definition: DestinationConfig.h:86
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::DestinationConfig::DestinationConfig
DestinationConfig()
Aws::Lambda::Model::DestinationConfig::DestinationConfig
DestinationConfig(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::DestinationConfig::OnSuccessHasBeenSet
bool OnSuccessHasBeenSet() const
Definition: DestinationConfig.h:50
OnSuccess.h
Aws::Lambda::Model::DestinationConfig::GetOnSuccess
const OnSuccess & GetOnSuccess() const
Definition: DestinationConfig.h:45
Aws::Lambda::Model::DestinationConfig::SetOnSuccess
void SetOnSuccess(OnSuccess &&value)
Definition: DestinationConfig.h:60
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::DestinationConfig
Definition: DestinationConfig.h:34
Aws::Lambda::Model::DestinationConfig::WithOnSuccess
DestinationConfig & WithOnSuccess(const OnSuccess &value)
Definition: DestinationConfig.h:65
Lambda_EXPORTS.h
Aws::Lambda::Model::OnSuccess
Definition: OnSuccess.h:33
Aws::Lambda::Model::DestinationConfig::WithOnFailure
DestinationConfig & WithOnFailure(const OnFailure &value)
Definition: DestinationConfig.h:96