AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InvokeResponseStreamUpdate.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Lambda
14{
15namespace Model
16{
23 {
24 public:
25 AWS_LAMBDA_API InvokeResponseStreamUpdate() = default;
26 AWS_LAMBDA_API InvokeResponseStreamUpdate(Aws::Vector<unsigned char>&& value) { m_payload = std::move(value); }
27
29
32 inline const Aws::Vector<unsigned char>& GetPayload() const { return m_payload; }
33 inline Aws::Vector<unsigned char>&& GetPayloadWithOwnership() { return std::move(m_payload); }
34 inline void SetPayload(const Aws::Vector<unsigned char>& value) { m_payloadHasBeenSet = true; m_payload = value; }
35 inline void SetPayload(Aws::Vector<unsigned char>&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
36 inline InvokeResponseStreamUpdate& WithPayload(const Aws::Vector<unsigned char>& value) { SetPayload(value); return *this;}
37 inline InvokeResponseStreamUpdate& WithPayload(Aws::Vector<unsigned char>&& value) { SetPayload(std::move(value)); return *this;}
39
40 private:
41
43 bool m_payloadHasBeenSet = false;
44 };
45
46} // namespace Model
47} // namespace Lambda
48} // 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