AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
InvokeResponseStreamUpdate.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Lambda {
14namespace Model {
21 public:
22 AWS_LAMBDA_API InvokeResponseStreamUpdate() = default;
23 AWS_LAMBDA_API InvokeResponseStreamUpdate(Aws::Vector<unsigned char>&& value) { m_payload = std::move(value); }
24
26
29 inline const Aws::Vector<unsigned char>& GetPayload() const { return m_payload; }
30 inline Aws::Vector<unsigned char>&& GetPayloadWithOwnership() { return std::move(m_payload); }
31 inline void SetPayload(const Aws::Vector<unsigned char>& value) {
32 m_payloadHasBeenSet = true;
33 m_payload = value;
34 }
36 m_payloadHasBeenSet = true;
37 m_payload = std::move(value);
38 }
40 SetPayload(value);
41 return *this;
42 }
44 SetPayload(std::move(value));
45 return *this;
46 }
48
49 private:
51 bool m_payloadHasBeenSet = false;
52};
53
54} // namespace Model
55} // namespace Lambda
56} // namespace Aws
AWS_LAMBDA_API InvokeResponseStreamUpdate(Aws::Vector< unsigned char > &&value)
Aws::Vector< unsigned char > && GetPayloadWithOwnership()
void SetPayload(const Aws::Vector< unsigned char > &value)
void SetPayload(Aws::Vector< unsigned char > &&value)
const Aws::Vector< unsigned char > & GetPayload() const
InvokeResponseStreamUpdate & WithPayload(Aws::Vector< unsigned char > &&value)
InvokeResponseStreamUpdate & WithPayload(const Aws::Vector< unsigned char > &value)
AWS_LAMBDA_API InvokeResponseStreamUpdate()=default
std::vector< T, Aws::Allocator< T > > Vector