AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyticsS3BucketDestination.h
1
6#pragma once
7#include <aws/s3/S3_EXPORTS.h>
8#include <aws/s3/model/AnalyticsS3ExportFileFormat.h>
9#include <aws/core/utils/memory/stl/AWSString.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
39 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline const AnalyticsS3ExportFileFormat& GetFormat() const{ return m_format; }
47 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
48 inline void SetFormat(const AnalyticsS3ExportFileFormat& value) { m_formatHasBeenSet = true; m_format = value; }
49 inline void SetFormat(AnalyticsS3ExportFileFormat&& value) { m_formatHasBeenSet = true; m_format = std::move(value); }
51 inline AnalyticsS3BucketDestination& WithFormat(AnalyticsS3ExportFileFormat&& value) { SetFormat(std::move(value)); return *this;}
53
55
61 inline const Aws::String& GetBucketAccountId() const{ return m_bucketAccountId; }
62 inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; }
63 inline void SetBucketAccountId(const Aws::String& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = value; }
64 inline void SetBucketAccountId(Aws::String&& value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = std::move(value); }
65 inline void SetBucketAccountId(const char* value) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId.assign(value); }
67 inline AnalyticsS3BucketDestination& WithBucketAccountId(Aws::String&& value) { SetBucketAccountId(std::move(value)); return *this;}
68 inline AnalyticsS3BucketDestination& WithBucketAccountId(const char* value) { SetBucketAccountId(value); return *this;}
70
72
75 inline const Aws::String& GetBucket() const{ return m_bucket; }
76 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
77 inline void SetBucket(const Aws::String& value) { m_bucketHasBeenSet = true; m_bucket = value; }
78 inline void SetBucket(Aws::String&& value) { m_bucketHasBeenSet = true; m_bucket = std::move(value); }
79 inline void SetBucket(const char* value) { m_bucketHasBeenSet = true; m_bucket.assign(value); }
80 inline AnalyticsS3BucketDestination& WithBucket(const Aws::String& value) { SetBucket(value); return *this;}
81 inline AnalyticsS3BucketDestination& WithBucket(Aws::String&& value) { SetBucket(std::move(value)); return *this;}
82 inline AnalyticsS3BucketDestination& WithBucket(const char* value) { SetBucket(value); return *this;}
84
86
90 inline const Aws::String& GetPrefix() const{ return m_prefix; }
91 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
92 inline void SetPrefix(const Aws::String& value) { m_prefixHasBeenSet = true; m_prefix = value; }
93 inline void SetPrefix(Aws::String&& value) { m_prefixHasBeenSet = true; m_prefix = std::move(value); }
94 inline void SetPrefix(const char* value) { m_prefixHasBeenSet = true; m_prefix.assign(value); }
95 inline AnalyticsS3BucketDestination& WithPrefix(const Aws::String& value) { SetPrefix(value); return *this;}
96 inline AnalyticsS3BucketDestination& WithPrefix(Aws::String&& value) { SetPrefix(std::move(value)); return *this;}
97 inline AnalyticsS3BucketDestination& WithPrefix(const char* value) { SetPrefix(value); return *this;}
99 private:
100
102 bool m_formatHasBeenSet = false;
103
104 Aws::String m_bucketAccountId;
105 bool m_bucketAccountIdHasBeenSet = false;
106
107 Aws::String m_bucket;
108 bool m_bucketHasBeenSet = false;
109
110 Aws::String m_prefix;
111 bool m_prefixHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace S3
116} // namespace Aws
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