AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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
32 {
33 public:
34 AWS_LAMBDA_API OnFailure();
35 AWS_LAMBDA_API OnFailure(Aws::Utils::Json::JsonView jsonValue);
37 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
58 inline const Aws::String& GetDestination() const{ return m_destination; }
59 inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; }
60 inline void SetDestination(const Aws::String& value) { m_destinationHasBeenSet = true; m_destination = value; }
61 inline void SetDestination(Aws::String&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); }
62 inline void SetDestination(const char* value) { m_destinationHasBeenSet = true; m_destination.assign(value); }
63 inline OnFailure& WithDestination(const Aws::String& value) { SetDestination(value); return *this;}
64 inline OnFailure& WithDestination(Aws::String&& value) { SetDestination(std::move(value)); return *this;}
65 inline OnFailure& WithDestination(const char* value) { SetDestination(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(Aws::String &&value)
Definition OnFailure.h:61
AWS_LAMBDA_API OnFailure & operator=(Aws::Utils::Json::JsonView jsonValue)
OnFailure & WithDestination(Aws::String &&value)
Definition OnFailure.h:64
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API OnFailure(Aws::Utils::Json::JsonView jsonValue)
void SetDestination(const char *value)
Definition OnFailure.h:62
OnFailure & WithDestination(const char *value)
Definition OnFailure.h:65
void SetDestination(const Aws::String &value)
Definition OnFailure.h:60
bool DestinationHasBeenSet() const
Definition OnFailure.h:59
const Aws::String & GetDestination() const
Definition OnFailure.h:58
OnFailure & WithDestination(const Aws::String &value)
Definition OnFailure.h:63
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue