AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
37 AWS_LAMBDA_API InvokeWithResponseStreamResponseEvent() = default;
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 template<typename PayloadChunkT = InvokeResponseStreamUpdate>
50 void SetPayloadChunk(PayloadChunkT&& value) { m_payloadChunkHasBeenSet = true; m_payloadChunk = std::forward<PayloadChunkT>(value); }
51 template<typename PayloadChunkT = InvokeResponseStreamUpdate>
52 InvokeWithResponseStreamResponseEvent& WithPayloadChunk(PayloadChunkT&& value) { SetPayloadChunk(std::forward<PayloadChunkT>(value)); return *this;}
54
56
60 inline const InvokeWithResponseStreamCompleteEvent& GetInvokeComplete() const { return m_invokeComplete; }
61 inline bool InvokeCompleteHasBeenSet() const { return m_invokeCompleteHasBeenSet; }
62 template<typename InvokeCompleteT = InvokeWithResponseStreamCompleteEvent>
63 void SetInvokeComplete(InvokeCompleteT&& value) { m_invokeCompleteHasBeenSet = true; m_invokeComplete = std::forward<InvokeCompleteT>(value); }
64 template<typename InvokeCompleteT = InvokeWithResponseStreamCompleteEvent>
65 InvokeWithResponseStreamResponseEvent& WithInvokeComplete(InvokeCompleteT&& value) { SetInvokeComplete(std::forward<InvokeCompleteT>(value)); return *this;}
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
AWS_LAMBDA_API InvokeWithResponseStreamResponseEvent(Aws::Utils::Json::JsonView jsonValue)
const InvokeWithResponseStreamCompleteEvent & GetInvokeComplete() const
InvokeWithResponseStreamResponseEvent & WithPayloadChunk(PayloadChunkT &&value)
InvokeWithResponseStreamResponseEvent & WithInvokeComplete(InvokeCompleteT &&value)
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDA_API InvokeWithResponseStreamResponseEvent & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue