AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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
39 {
40 public:
41 AWS_LAMBDA_API OnSuccess() = default;
42 AWS_LAMBDA_API OnSuccess(Aws::Utils::Json::JsonView jsonValue);
44 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetDestination() const { return m_destination; }
52 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
53 template<typename DestinationT = Aws::String>
54 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
55 template<typename DestinationT = Aws::String>
56 OnSuccess& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
58 private:
59
60 Aws::String m_destination;
61 bool m_destinationHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace Lambda
66} // namespace Aws
bool DestinationHasBeenSet() const
Definition OnSuccess.h:52
void SetDestination(DestinationT &&value)
Definition OnSuccess.h:54
AWS_LAMBDA_API OnSuccess()=default
AWS_LAMBDA_API OnSuccess(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API OnSuccess & operator=(Aws::Utils::Json::JsonView jsonValue)
OnSuccess & WithDestination(DestinationT &&value)
Definition OnSuccess.h:56
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDestination() const
Definition OnSuccess.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue