AWS SDK for C++

AWS SDK for C++ Version 1.11.943

Loading...
Searching...
No Matches
ReportExportConfig.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/codebuild/model/ReportExportConfigType.h>
9#include <aws/codebuild/model/S3ReportExportConfig.h>
10#include <aws/crt/cbor/Cbor.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Cbor {
17class CborValue;
18} // namespace Cbor
19} // namespace Utils
20namespace CodeBuild {
21namespace Model {
22
30 public:
31 AWS_CODEBUILD_API ReportExportConfig() = default;
32 AWS_CODEBUILD_API ReportExportConfig(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_CODEBUILD_API ReportExportConfig& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_CODEBUILD_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
35
37
43 inline ReportExportConfigType GetExportConfigType() const { return m_exportConfigType; }
44 inline bool ExportConfigTypeHasBeenSet() const { return m_exportConfigTypeHasBeenSet; }
46 m_exportConfigTypeHasBeenSet = true;
47 m_exportConfigType = value;
48 }
51 return *this;
52 }
54
56
60 inline const S3ReportExportConfig& GetS3Destination() const { return m_s3Destination; }
61 inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; }
62 template <typename S3DestinationT = S3ReportExportConfig>
63 void SetS3Destination(S3DestinationT&& value) {
64 m_s3DestinationHasBeenSet = true;
65 m_s3Destination = std::forward<S3DestinationT>(value);
66 }
67 template <typename S3DestinationT = S3ReportExportConfig>
68 ReportExportConfig& WithS3Destination(S3DestinationT&& value) {
69 SetS3Destination(std::forward<S3DestinationT>(value));
70 return *this;
71 }
73 private:
75
76 S3ReportExportConfig m_s3Destination;
77 bool m_exportConfigTypeHasBeenSet = false;
78 bool m_s3DestinationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CodeBuild
83} // namespace Aws
const S3ReportExportConfig & GetS3Destination() const
ReportExportConfigType GetExportConfigType() const
AWS_CODEBUILD_API ReportExportConfig(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_CODEBUILD_API ReportExportConfig()=default
ReportExportConfig & WithS3Destination(S3DestinationT &&value)
void SetExportConfigType(ReportExportConfigType value)
AWS_CODEBUILD_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetS3Destination(S3DestinationT &&value)
ReportExportConfig & WithExportConfigType(ReportExportConfigType value)
AWS_CODEBUILD_API ReportExportConfig & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)