AWS SDK for C++

AWS SDK for C++ Version 1.11.812

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