AWS SDK for C++

AWS SDK for C++ Version 1.11.695

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace CodeBuild {
21namespace Model {
22
30 public:
31 AWS_CODEBUILD_API ReportExportConfig() = default;
32 AWS_CODEBUILD_API ReportExportConfig(Aws::Utils::Json::JsonView jsonValue);
34 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() 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 bool m_exportConfigTypeHasBeenSet = false;
76
77 S3ReportExportConfig m_s3Destination;
78 bool m_s3DestinationHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace CodeBuild
83} // 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