AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
RecordsEvent.h
1
6#pragma once
7#include <aws/core/utils/Array.h>
8#include <aws/s3/S3_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace S3 {
14namespace Model {
21 public:
22 AWS_S3_API RecordsEvent() = default;
23 AWS_S3_API RecordsEvent(Aws::Vector<unsigned char>&& value) { m_payload = std::move(value); }
24
26
36 inline const Aws::Vector<unsigned char>& GetPayload() const { return m_payload; }
37 inline Aws::Vector<unsigned char>&& GetPayloadWithOwnership() { return std::move(m_payload); }
38 inline void SetPayload(const Aws::Vector<unsigned char>& value) {
39 m_payloadHasBeenSet = true;
40 m_payload = value;
41 }
43 m_payloadHasBeenSet = true;
44 m_payload = std::move(value);
45 }
47 SetPayload(value);
48 return *this;
49 }
51 SetPayload(std::move(value));
52 return *this;
53 }
55
56 private:
58 bool m_payloadHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace S3
63} // namespace Aws
Aws::Vector< unsigned char > && GetPayloadWithOwnership()
void SetPayload(const Aws::Vector< unsigned char > &value)
const Aws::Vector< unsigned char > & GetPayload() const
RecordsEvent & WithPayload(Aws::Vector< unsigned char > &&value)
AWS_S3_API RecordsEvent(Aws::Vector< unsigned char > &&value)
RecordsEvent & WithPayload(const Aws::Vector< unsigned char > &value)
void SetPayload(Aws::Vector< unsigned char > &&value)
AWS_S3_API RecordsEvent()=default
std::vector< T, Aws::Allocator< T > > Vector