AWS SDK for C++  1.9.19
AWS SDK for C++
OnSuccess.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetDestination() const{ return m_destination; }
45 
49  inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
50 
54  inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
55 
59  inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
60 
64  inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
65 
69  inline OnSuccess& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
70 
74  inline OnSuccess& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
75 
79  inline OnSuccess& WithDestination(const char* value) { SetDestination(value); return *this;}
80 
81  private:
82 
83  Aws::String m_destination;
84  bool m_destinationHasBeenSet;
85  };
86 
87 } // namespace Model
88 } // namespace Lambda
89 } // namespace Aws
Aws::Lambda::Model::OnSuccess::operator=
OnSuccess & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::OnSuccess::OnSuccess
OnSuccess(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::OnSuccess::SetDestination
void SetDestination(const char *value)
Definition: OnSuccess.h:64
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::OnSuccess::SetDestination
void SetDestination(Aws::String &&value)
Definition: OnSuccess.h:59
Aws::Lambda::Model::OnSuccess::SetDestination
void SetDestination(const Aws::String &value)
Definition: OnSuccess.h:54
Aws::Lambda::Model::OnSuccess::WithDestination
OnSuccess & WithDestination(const char *value)
Definition: OnSuccess.h:79
Aws::Lambda::Model::OnSuccess::OnSuccess
OnSuccess()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::OnSuccess::WithDestination
OnSuccess & WithDestination(Aws::String &&value)
Definition: OnSuccess.h:74
Aws::Lambda::Model::OnSuccess::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::OnSuccess::GetDestination
const Aws::String & GetDestination() const
Definition: OnSuccess.h:44
Aws::Lambda::Model::OnSuccess::WithDestination
OnSuccess & WithDestination(const Aws::String &value)
Definition: OnSuccess.h:69
Lambda_EXPORTS.h
Aws::Lambda::Model::OnSuccess::DestinationHasBeenSet
bool DestinationHasBeenSet() const
Definition: OnSuccess.h:49
Aws::Lambda::Model::OnSuccess
Definition: OnSuccess.h:33