AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CodeBuild
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_CODEBUILD_API ReportExportConfig() = default;
37 AWS_CODEBUILD_API ReportExportConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline ReportExportConfigType GetExportConfigType() const { return m_exportConfigType; }
50 inline bool ExportConfigTypeHasBeenSet() const { return m_exportConfigTypeHasBeenSet; }
51 inline void SetExportConfigType(ReportExportConfigType value) { m_exportConfigTypeHasBeenSet = true; m_exportConfigType = value; }
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) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::forward<S3DestinationT>(value); }
64 template<typename S3DestinationT = S3ReportExportConfig>
65 ReportExportConfig& WithS3Destination(S3DestinationT&& value) { SetS3Destination(std::forward<S3DestinationT>(value)); return *this;}
67 private:
68
70 bool m_exportConfigTypeHasBeenSet = false;
71
72 S3ReportExportConfig m_s3Destination;
73 bool m_s3DestinationHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace CodeBuild
78} // namespace Aws
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
const S3ReportExportConfig & GetS3Destination() const
ReportExportConfigType GetExportConfigType() const
AWS_CODEBUILD_API ReportExportConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEBUILD_API ReportExportConfig()=default
ReportExportConfig & WithS3Destination(S3DestinationT &&value)
void SetExportConfigType(ReportExportConfigType value)
void SetS3Destination(S3DestinationT &&value)
AWS_CODEBUILD_API ReportExportConfig(Aws::Utils::Json::JsonView jsonValue)
ReportExportConfig & WithExportConfigType(ReportExportConfigType value)
Aws::Utils::Json::JsonValue JsonValue