AWS SDK for C++  1.8.154
AWS SDK for C++
ActivityMetrics.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Xml
14 {
15  class XmlNode;
16 } // namespace Xml
17 } // namespace Utils
18 namespace S3Control
19 {
20 namespace Model
21 {
22 
29  {
30  public:
34 
35  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
36 
37 
41  inline bool GetIsEnabled() const{ return m_isEnabled; }
42 
46  inline bool IsEnabledHasBeenSet() const { return m_isEnabledHasBeenSet; }
47 
51  inline void SetIsEnabled(bool value) { m_isEnabledHasBeenSet = true; m_isEnabled = value; }
52 
56  inline ActivityMetrics& WithIsEnabled(bool value) { SetIsEnabled(value); return *this;}
57 
58  private:
59 
60  bool m_isEnabled;
61  bool m_isEnabledHasBeenSet;
62  };
63 
64 } // namespace Model
65 } // namespace S3Control
66 } // namespace Aws
Aws::S3Control::Model::ActivityMetrics::operator=
ActivityMetrics & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::S3Control::Model::ActivityMetrics::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::S3Control::Model::ActivityMetrics::ActivityMetrics
ActivityMetrics()
Aws::S3Control::Model::ActivityMetrics::ActivityMetrics
ActivityMetrics(const Aws::Utils::Xml::XmlNode &xmlNode)
S3Control_EXPORTS.h
Aws::S3Control::Model::ActivityMetrics
Definition: ActivityMetrics.h:29
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_S3CONTROL_API
#define AWS_S3CONTROL_API
Definition: S3Control_EXPORTS.h:28
Aws::S3Control::Model::ActivityMetrics::IsEnabledHasBeenSet
bool IsEnabledHasBeenSet() const
Definition: ActivityMetrics.h:46
Aws
Definition: AccessManagementClient.h:15
Aws::S3Control::Model::ActivityMetrics::GetIsEnabled
bool GetIsEnabled() const
Definition: ActivityMetrics.h:41
Aws::S3Control::Model::ActivityMetrics::SetIsEnabled
void SetIsEnabled(bool value)
Definition: ActivityMetrics.h:51
Aws::S3Control::Model::ActivityMetrics::WithIsEnabled
ActivityMetrics & WithIsEnabled(bool value)
Definition: ActivityMetrics.h:56