AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OnSuccess.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Lambda
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_LAMBDA_API OnSuccess();
36 AWS_LAMBDA_API OnSuccess(Aws::Utils::Json::JsonView jsonValue);
38 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetDestination() const{ return m_destination; }
46 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
47 inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
48 inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
49 inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
50 inline OnSuccess& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
51 inline OnSuccess& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
52 inline OnSuccess& WithDestination(const char* value) { SetDestination(value); return *this;}
54 private:
55
56 Aws::String m_destination;
57 bool m_destinationHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace Lambda
62} // namespace Aws
void SetDestination(Aws::String &&value)
Definition OnSuccess.h:48
bool DestinationHasBeenSet() const
Definition OnSuccess.h:46
void SetDestination(const char *value)
Definition OnSuccess.h:49
AWS_LAMBDA_API OnSuccess(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API OnSuccess & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
OnSuccess & WithDestination(const char *value)
Definition OnSuccess.h:52
void SetDestination(const Aws::String &value)
Definition OnSuccess.h:47
const Aws::String & GetDestination() const
Definition OnSuccess.h:45
OnSuccess & WithDestination(const Aws::String &value)
Definition OnSuccess.h:50
OnSuccess & WithDestination(Aws::String &&value)
Definition OnSuccess.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue