AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
OnFailure.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
34 {
35 public:
36 AWS_LAMBDA_API OnFailure() = default;
37 AWS_LAMBDA_API OnFailure(Aws::Utils::Json::JsonView jsonValue);
39 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
60 inline const Aws::String& GetDestination() const { return m_destination; }
61 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
62 template<typename DestinationT = Aws::String>
63 void SetDestination(DestinationT&& value) { m_destinationHasBeenSet = true; m_destination = std::forward<DestinationT>(value); }
64 template<typename DestinationT = Aws::String>
65 OnFailure& WithDestination(DestinationT&& value) { SetDestination(std::forward<DestinationT>(value)); return *this;}
67 private:
68
69 Aws::String m_destination;
70 bool m_destinationHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Lambda
75} // namespace Aws
void SetDestination(DestinationT &&value)
Definition OnFailure.h:63
AWS_LAMBDA_API OnFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API OnFailure(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API OnFailure()=default
bool DestinationHasBeenSet() const
Definition OnFailure.h:61
const Aws::String & GetDestination() const
Definition OnFailure.h:60
OnFailure & WithDestination(DestinationT &&value)
Definition OnFailure.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue