AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
S3ReportExportConfig.h
1
6#pragma once
7#include <aws/codebuild/CodeBuild_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codebuild/model/ReportPackagingType.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 S3ReportExportConfig() = default;
39 AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBucket() const { return m_bucket; }
47 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
48 template<typename BucketT = Aws::String>
49 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
50 template<typename BucketT = Aws::String>
51 S3ReportExportConfig& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
53
55
60 inline const Aws::String& GetBucketOwner() const { return m_bucketOwner; }
61 inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; }
62 template<typename BucketOwnerT = Aws::String>
63 void SetBucketOwner(BucketOwnerT&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::forward<BucketOwnerT>(value); }
64 template<typename BucketOwnerT = Aws::String>
65 S3ReportExportConfig& WithBucketOwner(BucketOwnerT&& value) { SetBucketOwner(std::forward<BucketOwnerT>(value)); return *this;}
67
69
72 inline const Aws::String& GetPath() const { return m_path; }
73 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
74 template<typename PathT = Aws::String>
75 void SetPath(PathT&& value) { m_pathHasBeenSet = true; m_path = std::forward<PathT>(value); }
76 template<typename PathT = Aws::String>
77 S3ReportExportConfig& WithPath(PathT&& value) { SetPath(std::forward<PathT>(value)); return *this;}
79
81
88 inline ReportPackagingType GetPackaging() const { return m_packaging; }
89 inline bool PackagingHasBeenSet() const { return m_packagingHasBeenSet; }
90 inline void SetPackaging(ReportPackagingType value) { m_packagingHasBeenSet = true; m_packaging = value; }
93
95
98 inline const Aws::String& GetEncryptionKey() const { return m_encryptionKey; }
99 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
100 template<typename EncryptionKeyT = Aws::String>
101 void SetEncryptionKey(EncryptionKeyT&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::forward<EncryptionKeyT>(value); }
102 template<typename EncryptionKeyT = Aws::String>
103 S3ReportExportConfig& WithEncryptionKey(EncryptionKeyT&& value) { SetEncryptionKey(std::forward<EncryptionKeyT>(value)); return *this;}
105
107
111 inline bool GetEncryptionDisabled() const { return m_encryptionDisabled; }
112 inline bool EncryptionDisabledHasBeenSet() const { return m_encryptionDisabledHasBeenSet; }
113 inline void SetEncryptionDisabled(bool value) { m_encryptionDisabledHasBeenSet = true; m_encryptionDisabled = value; }
114 inline S3ReportExportConfig& WithEncryptionDisabled(bool value) { SetEncryptionDisabled(value); return *this;}
116 private:
117
118 Aws::String m_bucket;
119 bool m_bucketHasBeenSet = false;
120
121 Aws::String m_bucketOwner;
122 bool m_bucketOwnerHasBeenSet = false;
123
124 Aws::String m_path;
125 bool m_pathHasBeenSet = false;
126
128 bool m_packagingHasBeenSet = false;
129
130 Aws::String m_encryptionKey;
131 bool m_encryptionKeyHasBeenSet = false;
132
133 bool m_encryptionDisabled{false};
134 bool m_encryptionDisabledHasBeenSet = false;
135 };
136
137} // namespace Model
138} // namespace CodeBuild
139} // namespace Aws
AWS_CODEBUILD_API S3ReportExportConfig(Aws::Utils::Json::JsonView jsonValue)
S3ReportExportConfig & WithPackaging(ReportPackagingType value)
S3ReportExportConfig & WithPath(PathT &&value)
S3ReportExportConfig & WithBucketOwner(BucketOwnerT &&value)
AWS_CODEBUILD_API S3ReportExportConfig()=default
AWS_CODEBUILD_API S3ReportExportConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ReportExportConfig & WithEncryptionDisabled(bool value)
S3ReportExportConfig & WithEncryptionKey(EncryptionKeyT &&value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPackaging(ReportPackagingType value)
S3ReportExportConfig & WithBucket(BucketT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue