AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RecordsEvent.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <utility>
10
11namespace Aws
12{
13namespace S3Crt
14{
15namespace Model
16{
23 {
24 public:
25 AWS_S3CRT_API RecordsEvent() = default;
26 AWS_S3CRT_API RecordsEvent(Aws::Vector<unsigned char>&& value) { m_payload = std::move(value); }
27
29
39 inline const Aws::Vector<unsigned char>& GetPayload() const { return m_payload; }
40 inline Aws::Vector<unsigned char>&& GetPayloadWithOwnership() { return std::move(m_payload); }
41 inline void SetPayload(const Aws::Vector<unsigned char>& value) { m_payloadHasBeenSet = true; m_payload = value; }
42 inline void SetPayload(Aws::Vector<unsigned char>&& value) { m_payloadHasBeenSet = true; m_payload = std::move(value); }
43 inline RecordsEvent& WithPayload(const Aws::Vector<unsigned char>& value) { SetPayload(value); return *this;}
44 inline RecordsEvent& WithPayload(Aws::Vector<unsigned char>&& value) { SetPayload(std::move(value)); return *this;}
46
47 private:
48
50 bool m_payloadHasBeenSet = false;
51 };
52
53} // namespace Model
54} // namespace S3Crt
55} // namespace Aws
const Aws::Vector< unsigned char > & GetPayload() const
void SetPayload(const Aws::Vector< unsigned char > &value)
void SetPayload(Aws::Vector< unsigned char > &&value)
Aws::Vector< unsigned char > && GetPayloadWithOwnership()
RecordsEvent & WithPayload(Aws::Vector< unsigned char > &&value)
RecordsEvent & WithPayload(const Aws::Vector< unsigned char > &value)
AWS_S3CRT_API RecordsEvent(Aws::Vector< unsigned char > &&value)
AWS_S3CRT_API RecordsEvent()=default
std::vector< T, Aws::Allocator< T > > Vector