AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvokeWithResponseStreamResponseEvent.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/model/InvokeResponseStreamUpdate.h>
9#include <aws/lambda/model/InvokeWithResponseStreamCompleteEvent.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lambda
23{
24namespace Model
25{
26
35 {
36 public:
40 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const InvokeResponseStreamUpdate& GetPayloadChunk() const{ return m_payloadChunk; }
48 inline bool PayloadChunkHasBeenSet() const { return m_payloadChunkHasBeenSet; }
49 inline void SetPayloadChunk(const InvokeResponseStreamUpdate& value) { m_payloadChunkHasBeenSet = true; m_payloadChunk = value; }
50 inline void SetPayloadChunk(InvokeResponseStreamUpdate&& value) { m_payloadChunkHasBeenSet = true; m_payloadChunk = std::move(value); }
54
56
60 inline const InvokeWithResponseStreamCompleteEvent& GetInvokeComplete() const{ return m_invokeComplete; }
61 inline bool InvokeCompleteHasBeenSet() const { return m_invokeCompleteHasBeenSet; }
62 inline void SetInvokeComplete(const InvokeWithResponseStreamCompleteEvent& value) { m_invokeCompleteHasBeenSet = true; m_invokeComplete = value; }
63 inline void SetInvokeComplete(InvokeWithResponseStreamCompleteEvent&& value) { m_invokeCompleteHasBeenSet = true; m_invokeComplete = std::move(value); }
67 private:
68
69 InvokeResponseStreamUpdate m_payloadChunk;
70 bool m_payloadChunkHasBeenSet = false;
71
73 bool m_invokeCompleteHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Lambda
78} // namespace Aws
InvokeWithResponseStreamResponseEvent & WithInvokeComplete(InvokeWithResponseStreamCompleteEvent &&value)
AWS_LAMBDA_API InvokeWithResponseStreamResponseEvent(Aws::Utils::Json::JsonView jsonValue)
void SetInvokeComplete(InvokeWithResponseStreamCompleteEvent &&value)
const InvokeWithResponseStreamCompleteEvent & GetInvokeComplete() const
void SetInvokeComplete(const InvokeWithResponseStreamCompleteEvent &value)
InvokeWithResponseStreamResponseEvent & WithPayloadChunk(InvokeResponseStreamUpdate &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
InvokeWithResponseStreamResponseEvent & WithInvokeComplete(const InvokeWithResponseStreamCompleteEvent &value)
InvokeWithResponseStreamResponseEvent & WithPayloadChunk(const InvokeResponseStreamUpdate &value)
AWS_LAMBDA_API InvokeWithResponseStreamResponseEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue