AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
AnalyticsS3BucketDestination.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/s3/S3_EXPORTS.h>
9#include <aws/s3/model/AnalyticsS3ExportFileFormat.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace S3 {
20namespace Model {
21
29 public:
30 AWS_S3_API AnalyticsS3BucketDestination() = default;
33
34 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
35
37
40 inline AnalyticsS3ExportFileFormat GetFormat() const { return m_format; }
41 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
43 m_formatHasBeenSet = true;
44 m_format = value;
45 }
47 SetFormat(value);
48 return *this;
49 }
51
53
59 inline const Aws::String& GetBucketAccountId() const { return m_bucketAccountId; }
60 inline bool BucketAccountIdHasBeenSet() const { return m_bucketAccountIdHasBeenSet; }
61 template <typename BucketAccountIdT = Aws::String>
62 void SetBucketAccountId(BucketAccountIdT&& value) {
63 m_bucketAccountIdHasBeenSet = true;
64 m_bucketAccountId = std::forward<BucketAccountIdT>(value);
65 }
66 template <typename BucketAccountIdT = Aws::String>
68 SetBucketAccountId(std::forward<BucketAccountIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetBucket() const { return m_bucket; }
78 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
79 template <typename BucketT = Aws::String>
80 void SetBucket(BucketT&& value) {
81 m_bucketHasBeenSet = true;
82 m_bucket = std::forward<BucketT>(value);
83 }
84 template <typename BucketT = Aws::String>
86 SetBucket(std::forward<BucketT>(value));
87 return *this;
88 }
90
92
96 inline const Aws::String& GetPrefix() const { return m_prefix; }
97 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
98 template <typename PrefixT = Aws::String>
99 void SetPrefix(PrefixT&& value) {
100 m_prefixHasBeenSet = true;
101 m_prefix = std::forward<PrefixT>(value);
102 }
103 template <typename PrefixT = Aws::String>
105 SetPrefix(std::forward<PrefixT>(value));
106 return *this;
107 }
109 private:
111
112 Aws::String m_bucketAccountId;
113
114 Aws::String m_bucket;
115
116 Aws::String m_prefix;
117 bool m_formatHasBeenSet = false;
118 bool m_bucketAccountIdHasBeenSet = false;
119 bool m_bucketHasBeenSet = false;
120 bool m_prefixHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace S3
125} // namespace Aws
AWS_S3_API AnalyticsS3BucketDestination(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalyticsS3BucketDestination & WithFormat(AnalyticsS3ExportFileFormat value)
void SetFormat(AnalyticsS3ExportFileFormat value)
AnalyticsS3BucketDestination & WithPrefix(PrefixT &&value)
AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3_API AnalyticsS3BucketDestination & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AnalyticsS3BucketDestination & WithBucket(BucketT &&value)
AnalyticsS3BucketDestination & WithBucketAccountId(BucketAccountIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String