AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
AdvancedPerformanceMetrics.h
1
6#pragma once
7#include <aws/s3control/S3Control_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Xml {
12class XmlNode;
13} // namespace Xml
14} // namespace Utils
15namespace S3Control {
16namespace Model {
17
35 public:
36 AWS_S3CONTROL_API AdvancedPerformanceMetrics() = default;
37 AWS_S3CONTROL_API AdvancedPerformanceMetrics(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
41
43
47 inline bool GetIsEnabled() const { return m_isEnabled; }
48 inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
49 inline void SetIsEnabled(bool value) {
50 m_isEnabledHasBeenSet = true;
51 m_isEnabled = value;
52 }
54 SetIsEnabled(value);
55 return *this;
56 }
58 private:
59 bool m_isEnabled{false};
60 bool m_isEnabledHasBeenSet = false;
61};
62
63} // namespace Model
64} // namespace S3Control
65} // namespace Aws
AWS_S3CONTROL_API AdvancedPerformanceMetrics & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_S3CONTROL_API AdvancedPerformanceMetrics()=default
AdvancedPerformanceMetrics & WithIsEnabled(bool value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
AWS_S3CONTROL_API AdvancedPerformanceMetrics(const Aws::Utils::Xml::XmlNode &xmlNode)