AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ReportDestination.h
1
6#pragma once
7#include <aws/crt/cbor/Cbor.h>
8#include <aws/datasync/DataSync_EXPORTS.h>
9#include <aws/datasync/model/ReportDestinationS3.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Cbor {
16class CborValue;
17} // namespace Cbor
18} // namespace Utils
19namespace DataSync {
20namespace Model {
21
30 public:
31 AWS_DATASYNC_API ReportDestination() = default;
32 AWS_DATASYNC_API ReportDestination(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_DATASYNC_API ReportDestination& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_DATASYNC_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
40 inline const ReportDestinationS3& GetS3() const { return m_s3; }
41 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
42 template <typename S3T = ReportDestinationS3>
43 void SetS3(S3T&& value) {
44 m_s3HasBeenSet = true;
45 m_s3 = std::forward<S3T>(value);
46 }
47 template <typename S3T = ReportDestinationS3>
48 ReportDestination& WithS3(S3T&& value) {
49 SetS3(std::forward<S3T>(value));
50 return *this;
51 }
53 private:
55 bool m_s3HasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace DataSync
60} // namespace Aws
const ReportDestinationS3 & GetS3() const
AWS_DATASYNC_API ReportDestination(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_DATASYNC_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
AWS_DATASYNC_API ReportDestination()=default
AWS_DATASYNC_API ReportDestination & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ReportDestination & WithS3(S3T &&value)