AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
OnSuccess.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Lambda {
20namespace Model {
21
34class OnSuccess {
35 public:
36 AWS_LAMBDA_API OnSuccess() = default;
37 AWS_LAMBDA_API OnSuccess(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
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) {
55 m_destinationHasBeenSet = true;
56 m_destination = std::forward<DestinationT>(value);
57 }
58 template <typename DestinationT = Aws::String>
59 OnSuccess& WithDestination(DestinationT&& value) {
60 SetDestination(std::forward<DestinationT>(value));
61 return *this;
62 }
64 private:
65 Aws::String m_destination;
66 bool m_destinationHasBeenSet = false;
67};
68
69} // namespace Model
70} // namespace Lambda
71} // 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:59
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