AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
AnalyticsS3BucketDestination.h
Go to the documentation of this file.
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3
22{
23namespace Model
24{
25
33 {
34 public:
38
40
41
45 inline const AnalyticsS3ExportFileFormat& GetFormat() const{ return m_format; }
46
50 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
51
55 inline void SetFormat(const AnalyticsS3ExportFileFormat& value) { m_formatHasBeenSet = true; m_format = value; }
56
60 inline void SetFormat(AnalyticsS3ExportFileFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
61
66
70 inline AnalyticsS3BucketDestination& WithFormat(AnalyticsS3ExportFileFormat&& value) { SetFormat(std::move(value)); return *this;}
71
72
79 inline const Aws::String& GetBucketAccountId() const{ return m_bucketAccountId; }
80
87 inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; }
88
95 inline void SetBucketAccountId(const Aws::String& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = value; }
96
103 inline void SetBucketAccountId(Aws::String&& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = std::move(value); }
104
111 inline void SetBucketAccountId(const char* value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId.assign(value); }
112
120
127 inline AnalyticsS3BucketDestination& WithBucketAccountId(Aws::String&& value) { SetBucketAccountId(std::move(value)); return *this;}
128
135 inline AnalyticsS3BucketDestination& WithBucketAccountId(const char* value) { SetBucketAccountId(value); return *this;}
136
137
141 inline const Aws::String& GetBucket() const{ return m_bucket; }
142
146 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
147
151 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
152
156 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
157
161 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
162
166 inline AnalyticsS3BucketDestination& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
167
171 inline AnalyticsS3BucketDestination& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
172
176 inline AnalyticsS3BucketDestination& WithBucket(const char* value) { SetBucket(value); return *this;}
177
178
183 inline const Aws::String& GetPrefix() const{ return m_prefix; }
184
189 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
190
195 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
196
201 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
202
207 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
208
213 inline AnalyticsS3BucketDestination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
214
219 inline AnalyticsS3BucketDestination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
220
225 inline AnalyticsS3BucketDestination& WithPrefix(const char* value) { SetPrefix(value); return *this;}
226
227 private:
228
230 bool m_formatHasBeenSet = false;
231
232 Aws::String m_bucketAccountId;
233 bool m_bucketAccountIdHasBeenSet = false;
234
235 Aws::String m_bucket;
236 bool m_bucketHasBeenSet = false;
237
238 Aws::String m_prefix;
239 bool m_prefixHasBeenSet = false;
240 };
241
242} // namespace Model
243} // namespace S3
244} // namespace Aws
#define AWS_S3_API
Definition: S3_EXPORTS.h:28
AWS_S3_API AnalyticsS3BucketDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalyticsS3BucketDestination & WithFormat(AnalyticsS3ExportFileFormat &&value)
AnalyticsS3BucketDestination & WithBucket(Aws::String &&value)
void SetFormat(const AnalyticsS3ExportFileFormat &value)
AnalyticsS3BucketDestination & WithPrefix(Aws::String &&value)
AnalyticsS3BucketDestination & WithBucket(const Aws::String &value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AnalyticsS3BucketDestination & WithBucketAccountId(const char *value)
AnalyticsS3BucketDestination & WithFormat(const AnalyticsS3ExportFileFormat &value)
AnalyticsS3BucketDestination & WithPrefix(const Aws::String &value)
AWS_S3_API AnalyticsS3BucketDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalyticsS3BucketDestination & WithPrefix(const char *value)
AnalyticsS3BucketDestination & WithBucket(const char *value)
AnalyticsS3BucketDestination & WithBucketAccountId(const Aws::String &value)
AnalyticsS3BucketDestination & WithBucketAccountId(Aws::String &&value)
void SetFormat(AnalyticsS3ExportFileFormat &&value)
const AnalyticsS3ExportFileFormat & GetFormat() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String