AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
48 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
49 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
50 inline InvokeWithResponseStreamCompleteEvent& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
51 inline InvokeWithResponseStreamCompleteEvent& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
52 inline InvokeWithResponseStreamCompleteEvent& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
54
56
59 inline const Aws::String& GetErrorDetails() const{ return m_errorDetails; }
60 inline bool ErrorDetailsHasBeenSet() const { return m_errorDetailsHasBeenSet; }
61 inline void SetErrorDetails(const Aws::String& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = value; }
62 inline void SetErrorDetails(Aws::String&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::move(value); }
63 inline void SetErrorDetails(const char* value) { m_errorDetailsHasBeenSet = true; m_errorDetails.assign(value); }
65 inline InvokeWithResponseStreamCompleteEvent& WithErrorDetails(Aws::String&& value) { SetErrorDetails(std::move(value)); return *this;}
66 inline InvokeWithResponseStreamCompleteEvent& WithErrorDetails(const char* value) { SetErrorDetails(value); return *this;}
68
70
73 inline const Aws::String& GetLogResult() const{ return m_logResult; }
74 inline bool LogResultHasBeenSet() const { return m_logResultHasBeenSet; }
75 inline void SetLogResult(const Aws::String& value) { m_logResultHasBeenSet = true; m_logResult = value; }
76 inline void SetLogResult(Aws::String&& value) { m_logResultHasBeenSet = true; m_logResult = std::move(value); }
77 inline void SetLogResult(const char* value) { m_logResultHasBeenSet = true; m_logResult.assign(value); }
78 inline InvokeWithResponseStreamCompleteEvent& WithLogResult(const Aws::String& value) { SetLogResult(value); return *this;}
79 inline InvokeWithResponseStreamCompleteEvent& WithLogResult(Aws::String&& value) { SetLogResult(std::move(value)); return *this;}
80 inline InvokeWithResponseStreamCompleteEvent& WithLogResult(const char* value) { SetLogResult(value); return *this;}
82 private:
83
84 Aws::String m_errorCode;
85 bool m_errorCodeHasBeenSet = false;
86
87 Aws::String m_errorDetails;
88 bool m_errorDetailsHasBeenSet = false;
89
90 Aws::String m_logResult;
91 bool m_logResultHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace Lambda
96} // namespace Aws
InvokeWithResponseStreamCompleteEvent & WithErrorCode(const Aws::String &value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
InvokeWithResponseStreamCompleteEvent & WithErrorCode(const char *value)
InvokeWithResponseStreamCompleteEvent & WithLogResult(const Aws::String &value)
InvokeWithResponseStreamCompleteEvent & WithErrorCode(Aws::String &&value)
InvokeWithResponseStreamCompleteEvent & WithLogResult(const char *value)
InvokeWithResponseStreamCompleteEvent & WithErrorDetails(Aws::String &&value)
AWS_LAMBDA_API InvokeWithResponseStreamCompleteEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
InvokeWithResponseStreamCompleteEvent & WithErrorDetails(const char *value)
InvokeWithResponseStreamCompleteEvent & WithErrorDetails(const Aws::String &value)
AWS_LAMBDA_API InvokeWithResponseStreamCompleteEvent(Aws::Utils::Json::JsonView jsonValue)
InvokeWithResponseStreamCompleteEvent & WithLogResult(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue