AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AnalyticsConfiguration.h
1
6#pragma once
7#include <aws/s3-crt/S3Crt_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/s3-crt/model/AnalyticsFilter.h>
10#include <aws/s3-crt/model/StorageClassAnalysis.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace S3Crt
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_S3CRT_API AnalyticsConfiguration();
37 AWS_S3CRT_API AnalyticsConfiguration(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
42
44
47 inline const Aws::String& GetId() const{ return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
50 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
51 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
52 inline AnalyticsConfiguration& WithId(const Aws::String& value) { SetId(value); return *this;}
53 inline AnalyticsConfiguration& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
54 inline AnalyticsConfiguration& WithId(const char* value) { SetId(value); return *this;}
56
58
63 inline const AnalyticsFilter& GetFilter() const{ return m_filter; }
64 inline bool FilterHasBeenSet() const { return m_filterHasBeenSet; }
65 inline void SetFilter(const AnalyticsFilter& value) { m_filterHasBeenSet = true; m_filter = value; }
66 inline void SetFilter(AnalyticsFilter&& value) { m_filterHasBeenSet = true; m_filter = std::move(value); }
67 inline AnalyticsConfiguration& WithFilter(const AnalyticsFilter& value) { SetFilter(value); return *this;}
68 inline AnalyticsConfiguration& WithFilter(AnalyticsFilter&& value) { SetFilter(std::move(value)); return *this;}
70
72
76 inline const StorageClassAnalysis& GetStorageClassAnalysis() const{ return m_storageClassAnalysis; }
77 inline bool StorageClassAnalysisHasBeenSet() const { return m_storageClassAnalysisHasBeenSet; }
78 inline void SetStorageClassAnalysis(const StorageClassAnalysis& value) { m_storageClassAnalysisHasBeenSet = true; m_storageClassAnalysis = value; }
79 inline void SetStorageClassAnalysis(StorageClassAnalysis&& value) { m_storageClassAnalysisHasBeenSet = true; m_storageClassAnalysis = std::move(value); }
83 private:
84
85 Aws::String m_id;
86 bool m_idHasBeenSet = false;
87
88 AnalyticsFilter m_filter;
89 bool m_filterHasBeenSet = false;
90
91 StorageClassAnalysis m_storageClassAnalysis;
92 bool m_storageClassAnalysisHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace S3Crt
97} // namespace Aws
AnalyticsConfiguration & WithId(const char *value)
AnalyticsConfiguration & WithId(Aws::String &&value)
AnalyticsConfiguration & WithId(const Aws::String &value)
const StorageClassAnalysis & GetStorageClassAnalysis() const
void SetFilter(const AnalyticsFilter &value)
AnalyticsConfiguration & WithStorageClassAnalysis(const StorageClassAnalysis &value)
void SetStorageClassAnalysis(const StorageClassAnalysis &value)
AnalyticsConfiguration & WithStorageClassAnalysis(StorageClassAnalysis &&value)
AWS_S3CRT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
void SetStorageClassAnalysis(StorageClassAnalysis &&value)
AnalyticsConfiguration & WithFilter(AnalyticsFilter &&value)
AnalyticsConfiguration & WithFilter(const AnalyticsFilter &value)
AWS_S3CRT_API AnalyticsConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CRT_API AnalyticsConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String