AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StorageLensDataExport.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8#include <aws/s3control/model/S3BucketDestination.h>
9#include <aws/s3control/model/CloudWatchMetrics.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace S3Control
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_S3CONTROL_API StorageLensDataExport();
36 AWS_S3CONTROL_API StorageLensDataExport(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_S3CONTROL_API StorageLensDataExport& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40
41
43
48 inline const S3BucketDestination& GetS3BucketDestination() const{ return m_s3BucketDestination; }
49 inline bool S3BucketDestinationHasBeenSet() const { return m_s3BucketDestinationHasBeenSet; }
50 inline void SetS3BucketDestination(const S3BucketDestination& value) { m_s3BucketDestinationHasBeenSet = true; m_s3BucketDestination = value; }
51 inline void SetS3BucketDestination(S3BucketDestination&& value) { m_s3BucketDestinationHasBeenSet = true; m_s3BucketDestination = std::move(value); }
55
57
61 inline const CloudWatchMetrics& GetCloudWatchMetrics() const{ return m_cloudWatchMetrics; }
62 inline bool CloudWatchMetricsHasBeenSet() const { return m_cloudWatchMetricsHasBeenSet; }
63 inline void SetCloudWatchMetrics(const CloudWatchMetrics& value) { m_cloudWatchMetricsHasBeenSet = true; m_cloudWatchMetrics = value; }
64 inline void SetCloudWatchMetrics(CloudWatchMetrics&& value) { m_cloudWatchMetricsHasBeenSet = true; m_cloudWatchMetrics = std::move(value); }
66 inline StorageLensDataExport& WithCloudWatchMetrics(CloudWatchMetrics&& value) { SetCloudWatchMetrics(std::move(value)); return *this;}
68 private:
69
70 S3BucketDestination m_s3BucketDestination;
71 bool m_s3BucketDestinationHasBeenSet = false;
72
73 CloudWatchMetrics m_cloudWatchMetrics;
74 bool m_cloudWatchMetricsHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace S3Control
79} // namespace Aws
StorageLensDataExport & WithS3BucketDestination(S3BucketDestination &&value)
StorageLensDataExport & WithCloudWatchMetrics(const CloudWatchMetrics &value)
const CloudWatchMetrics & GetCloudWatchMetrics() const
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
const S3BucketDestination & GetS3BucketDestination() const
void SetCloudWatchMetrics(const CloudWatchMetrics &value)
void SetCloudWatchMetrics(CloudWatchMetrics &&value)
AWS_S3CONTROL_API StorageLensDataExport(const Aws::Utils::Xml::XmlNode &xmlNode)
StorageLensDataExport & WithCloudWatchMetrics(CloudWatchMetrics &&value)
StorageLensDataExport & WithS3BucketDestination(const S3BucketDestination &value)
void SetS3BucketDestination(const S3BucketDestination &value)
void SetS3BucketDestination(S3BucketDestination &&value)
AWS_S3CONTROL_API StorageLensDataExport & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)