AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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:
35 AWS_S3_API AnalyticsS3BucketDestination() = default;
38
39 AWS_S3_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
46 inline AnalyticsS3ExportFileFormat GetFormat() const { return m_format; }
47 inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; }
48 inline void SetFormat(AnalyticsS3ExportFileFormat value) { m_formatHasBeenSet = true; m_format = value; }
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) { m_bucketAccountIdHasBeenSet = true; m_bucketAccountId = std::forward<BucketAccountIdT>(value); }
63 template<typename BucketAccountIdT = Aws::String>
64 AnalyticsS3BucketDestination& WithBucketAccountId(BucketAccountIdT&& value) { SetBucketAccountId(std::forward<BucketAccountIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetBucket() const { return m_bucket; }
72 inline bool BucketHasBeenSet() const { return m_bucketHasBeenSet; }
73 template<typename BucketT = Aws::String>
74 void SetBucket(BucketT&& value) { m_bucketHasBeenSet = true; m_bucket = std::forward<BucketT>(value); }
75 template<typename BucketT = Aws::String>
76 AnalyticsS3BucketDestination& WithBucket(BucketT&& value) { SetBucket(std::forward<BucketT>(value)); return *this;}
78
80
84 inline const Aws::String& GetPrefix() const { return m_prefix; }
85 inline bool PrefixHasBeenSet() const { return m_prefixHasBeenSet; }
86 template<typename PrefixT = Aws::String>
87 void SetPrefix(PrefixT&& value) { m_prefixHasBeenSet = true; m_prefix = std::forward<PrefixT>(value); }
88 template<typename PrefixT = Aws::String>
89 AnalyticsS3BucketDestination& WithPrefix(PrefixT&& value) { SetPrefix(std::forward<PrefixT>(value)); return *this;}
91 private:
92
94 bool m_formatHasBeenSet = false;
95
96 Aws::String m_bucketAccountId;
97 bool m_bucketAccountIdHasBeenSet = false;
98
99 Aws::String m_bucket;
100 bool m_bucketHasBeenSet = false;
101
102 Aws::String m_prefix;
103 bool m_prefixHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace S3
108} // 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