AWS SDK for C++

AWS SDK for C++ Version 1.11.605

Loading...
Searching...
No Matches
InvokeWithResponseStreamCompleteEvent.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 InvokeWithResponseStreamCompleteEvent() = default;
38 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetErrorCode() const { return m_errorCode; }
46 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
47 template<typename ErrorCodeT = Aws::String>
48 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
49 template<typename ErrorCodeT = Aws::String>
50 InvokeWithResponseStreamCompleteEvent& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
52
54
57 inline const Aws::String& GetErrorDetails() const { return m_errorDetails; }
58 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
59 template<typename ErrorDetailsT = Aws::String>
60 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
61 template<typename ErrorDetailsT = Aws::String>
62 InvokeWithResponseStreamCompleteEvent& WithErrorDetails(ErrorDetailsT&& value) { SetErrorDetails(std::forward<ErrorDetailsT>(value)); return *this;}
64
66
69 inline const Aws::String& GetLogResult() const { return m_logResult; }
70 inline bool LogResultHasBeenSet() const { return m_logResultHasBeenSet; }
71 template<typename LogResultT = Aws::String>
72 void SetLogResult(LogResultT&& value) { m_logResultHasBeenSet = true; m_logResult = std::forward<LogResultT>(value); }
73 template<typename LogResultT = Aws::String>
74 InvokeWithResponseStreamCompleteEvent& WithLogResult(LogResultT&& value) { SetLogResult(std::forward<LogResultT>(value)); return *this;}
76 private:
77
78 Aws::String m_errorCode;
79 bool m_errorCodeHasBeenSet = false;
80
81 Aws::String m_errorDetails;
82 bool m_errorDetailsHasBeenSet = false;
83
84 Aws::String m_logResult;
85 bool m_logResultHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace Lambda
90} // namespace Aws
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
InvokeWithResponseStreamCompleteEvent & WithErrorCode(ErrorCodeT &&value)
InvokeWithResponseStreamCompleteEvent & WithErrorDetails(ErrorDetailsT &&value)
InvokeWithResponseStreamCompleteEvent & WithLogResult(LogResultT &&value)
AWS_LAMBDA_API InvokeWithResponseStreamCompleteEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API InvokeWithResponseStreamCompleteEvent(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue