AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
49 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
50 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
51 inline S3ReportExportConfig& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
52 inline S3ReportExportConfig& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
53 inline S3ReportExportConfig& WithBucket(const char* value) { SetBucket(value); return *this;}
55
57
62 inline const Aws::String& GetBucketOwner() const{ return m_bucketOwner; }
63 inline bool BucketOwnerHasBeenSet() const { return m_bucketOwnerHasBeenSet; }
64 inline void SetBucketOwner(const Aws::String& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = value; }
65 inline void SetBucketOwner(Aws::String&& value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner = std::move(value); }
66 inline void SetBucketOwner(const char* value) { m_bucketOwnerHasBeenSet = true; m_bucketOwner.assign(value); }
67 inline S3ReportExportConfig& WithBucketOwner(const Aws::String& value) { SetBucketOwner(value); return *this;}
68 inline S3ReportExportConfig& WithBucketOwner(Aws::String&& value) { SetBucketOwner(std::move(value)); return *this;}
69 inline S3ReportExportConfig& WithBucketOwner(const char* value) { SetBucketOwner(value); return *this;}
71
73
76 inline const Aws::String& GetPath() const{ return m_path; }
77 inline bool PathHasBeenSet() const { return m_pathHasBeenSet; }
78 inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; }
79 inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); }
80 inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); }
81 inline S3ReportExportConfig& WithPath(const Aws::String& value) { SetPath(value); return *this;}
82 inline S3ReportExportConfig& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;}
83 inline S3ReportExportConfig& WithPath(const char* value) { SetPath(value); return *this;}
85
87
94 inline const ReportPackagingType& GetPackaging() const{ return m_packaging; }
95 inline bool PackagingHasBeenSet() const { return m_packagingHasBeenSet; }
96 inline void SetPackaging(const ReportPackagingType& value) { m_packagingHasBeenSet = true; m_packaging = value; }
97 inline void SetPackaging(ReportPackagingType&& value) { m_packagingHasBeenSet = true; m_packaging = std::move(value); }
98 inline S3ReportExportConfig& WithPackaging(const ReportPackagingType& value) { SetPackaging(value); return *this;}
99 inline S3ReportExportConfig& WithPackaging(ReportPackagingType&& value) { SetPackaging(std::move(value)); return *this;}
101
103
106 inline const Aws::String& GetEncryptionKey() const{ return m_encryptionKey; }
107 inline bool EncryptionKeyHasBeenSet() const { return m_encryptionKeyHasBeenSet; }
108 inline void SetEncryptionKey(const Aws::String& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = value; }
109 inline void SetEncryptionKey(Aws::String&& value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey = std::move(value); }
110 inline void SetEncryptionKey(const char* value) { m_encryptionKeyHasBeenSet = true; m_encryptionKey.assign(value); }
111 inline S3ReportExportConfig& WithEncryptionKey(const Aws::String& value) { SetEncryptionKey(value); return *this;}
112 inline S3ReportExportConfig& WithEncryptionKey(Aws::String&& value) { SetEncryptionKey(std::move(value)); return *this;}
113 inline S3ReportExportConfig& WithEncryptionKey(const char* value) { SetEncryptionKey(value); return *this;}
115
117
121 inline bool GetEncryptionDisabled() const{ return m_encryptionDisabled; }
122 inline bool EncryptionDisabledHasBeenSet() const { return m_encryptionDisabledHasBeenSet; }
123 inline void SetEncryptionDisabled(bool value) { m_encryptionDisabledHasBeenSet = true; m_encryptionDisabled = value; }
124 inline S3ReportExportConfig& WithEncryptionDisabled(bool value) { SetEncryptionDisabled(value); return *this;}
126 private:
127
128 Aws::String m_bucket;
129 bool m_bucketHasBeenSet = false;
130
131 Aws::String m_bucketOwner;
132 bool m_bucketOwnerHasBeenSet = false;
133
134 Aws::String m_path;
135 bool m_pathHasBeenSet = false;
136
137 ReportPackagingType m_packaging;
138 bool m_packagingHasBeenSet = false;
139
140 Aws::String m_encryptionKey;
141 bool m_encryptionKeyHasBeenSet = false;
142
143 bool m_encryptionDisabled;
144 bool m_encryptionDisabledHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace CodeBuild
149} // namespace Aws
AWS_CODEBUILD_API S3ReportExportConfig(Aws::Utils::Json::JsonView jsonValue)
S3ReportExportConfig & WithBucket(const char *value)
S3ReportExportConfig & WithBucket(Aws::String &&value)
S3ReportExportConfig & WithBucketOwner(const Aws::String &value)
S3ReportExportConfig & WithPath(const char *value)
S3ReportExportConfig & WithPackaging(ReportPackagingType &&value)
void SetBucketOwner(const Aws::String &value)
S3ReportExportConfig & WithPackaging(const ReportPackagingType &value)
S3ReportExportConfig & WithBucketOwner(const char *value)
S3ReportExportConfig & WithPath(Aws::String &&value)
S3ReportExportConfig & WithPath(const Aws::String &value)
S3ReportExportConfig & WithEncryptionKey(Aws::String &&value)
AWS_CODEBUILD_API S3ReportExportConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
S3ReportExportConfig & WithEncryptionKey(const char *value)
void SetEncryptionKey(const Aws::String &value)
void SetPackaging(ReportPackagingType &&value)
S3ReportExportConfig & WithEncryptionKey(const Aws::String &value)
S3ReportExportConfig & WithEncryptionDisabled(bool value)
AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const
void SetPackaging(const ReportPackagingType &value)
S3ReportExportConfig & WithBucket(const Aws::String &value)
const ReportPackagingType & GetPackaging() const
S3ReportExportConfig & WithBucketOwner(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue