AWS SDK for C++  1.9.108
AWS SDK for C++
OnFailure.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 Aws::String& GetDestination() const{ return m_destination; }
44 
48  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
49 
53  inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
54 
58  inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
59 
63  inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
64 
68  inline OnFailure& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
69 
73  inline OnFailure& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
74 
78  inline OnFailure& WithDestination(const char* value) { SetDestination(value); return *this;}
79 
80  private:
81 
82  Aws::String m_destination;
83  bool m_destinationHasBeenSet;
84  };
85 
86 } // namespace Model
87 } // namespace Lambda
88 } // namespace Aws
Aws::Lambda::Model::OnFailure::WithDestination
OnFailure & WithDestination(Aws::String &&value)
Definition: OnFailure.h:73
Aws::Lambda::Model::OnFailure::WithDestination
OnFailure & WithDestination(const char *value)
Definition: OnFailure.h:78
Aws::Lambda::Model::OnFailure::OnFailure
OnFailure(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::OnFailure::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::OnFailure::operator=
OnFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::OnFailure::SetDestination
void SetDestination(Aws::String &&value)
Definition: OnFailure.h:58
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::OnFailure
Definition: OnFailure.h:32
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::OnFailure::WithDestination
OnFailure & WithDestination(const Aws::String &value)
Definition: OnFailure.h:68
Aws::Lambda::Model::OnFailure::GetDestination
const Aws::String & GetDestination() const
Definition: OnFailure.h:43
Aws::Lambda::Model::OnFailure::OnFailure
OnFailure()
Aws::Lambda::Model::OnFailure::SetDestination
void SetDestination(const Aws::String &value)
Definition: OnFailure.h:53
Aws::Lambda::Model::OnFailure::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: OnFailure.h:48
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws::Lambda::Model::OnFailure::SetDestination
void SetDestination(const char *value)
Definition: OnFailure.h:63
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Lambda_EXPORTS.h