AWS SDK for C++  1.9.133
AWS SDK for C++
RealtimeMetricsSubscriptionConfig.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Xml
16 {
17  class XmlNode;
18 } // namespace Xml
19 } // namespace Utils
20 namespace CloudFront
21 {
22 namespace Model
23 {
24 
32  {
33  public:
37 
38  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
39 
40 
45  inline const RealtimeMetricsSubscriptionStatus& GetRealtimeMetricsSubscriptionStatus() const{ return m_realtimeMetricsSubscriptionStatus; }
46 
51  inline bool RealtimeMetricsSubscriptionStatusHasBeenSet() const { return m_realtimeMetricsSubscriptionStatusHasBeenSet; }
52 
57  inline void SetRealtimeMetricsSubscriptionStatus(const RealtimeMetricsSubscriptionStatus& value) { m_realtimeMetricsSubscriptionStatusHasBeenSet = true; m_realtimeMetricsSubscriptionStatus = value; }
58 
63  inline void SetRealtimeMetricsSubscriptionStatus(RealtimeMetricsSubscriptionStatus&& value) { m_realtimeMetricsSubscriptionStatusHasBeenSet = true; m_realtimeMetricsSubscriptionStatus = std::move(value); }
64 
69  inline RealtimeMetricsSubscriptionConfig& WithRealtimeMetricsSubscriptionStatus(const RealtimeMetricsSubscriptionStatus& value) { SetRealtimeMetricsSubscriptionStatus(value); return *this;}
70 
75  inline RealtimeMetricsSubscriptionConfig& WithRealtimeMetricsSubscriptionStatus(RealtimeMetricsSubscriptionStatus&& value) { SetRealtimeMetricsSubscriptionStatus(std::move(value)); return *this;}
76 
77  private:
78 
79  RealtimeMetricsSubscriptionStatus m_realtimeMetricsSubscriptionStatus;
80  bool m_realtimeMetricsSubscriptionStatusHasBeenSet;
81  };
82 
83 } // namespace Model
84 } // namespace CloudFront
85 } // namespace Aws
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig::RealtimeMetricsSubscriptionStatusHasBeenSet
bool RealtimeMetricsSubscriptionStatusHasBeenSet() const
Definition: RealtimeMetricsSubscriptionConfig.h:51
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig::SetRealtimeMetricsSubscriptionStatus
void SetRealtimeMetricsSubscriptionStatus(const RealtimeMetricsSubscriptionStatus &value)
Definition: RealtimeMetricsSubscriptionConfig.h:57
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig::GetRealtimeMetricsSubscriptionStatus
const RealtimeMetricsSubscriptionStatus & GetRealtimeMetricsSubscriptionStatus() const
Definition: RealtimeMetricsSubscriptionConfig.h:45
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig::SetRealtimeMetricsSubscriptionStatus
void SetRealtimeMetricsSubscriptionStatus(RealtimeMetricsSubscriptionStatus &&value)
Definition: RealtimeMetricsSubscriptionConfig.h:63
Aws::CloudFront::Model::RealtimeMetricsSubscriptionStatus
RealtimeMetricsSubscriptionStatus
Definition: RealtimeMetricsSubscriptionStatus.h:17
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig::WithRealtimeMetricsSubscriptionStatus
RealtimeMetricsSubscriptionConfig & WithRealtimeMetricsSubscriptionStatus(RealtimeMetricsSubscriptionStatus &&value)
Definition: RealtimeMetricsSubscriptionConfig.h:75
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig::operator=
RealtimeMetricsSubscriptionConfig & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
RealtimeMetricsSubscriptionStatus.h
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig::RealtimeMetricsSubscriptionConfig
RealtimeMetricsSubscriptionConfig(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig
Definition: RealtimeMetricsSubscriptionConfig.h:32
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig::WithRealtimeMetricsSubscriptionStatus
RealtimeMetricsSubscriptionConfig & WithRealtimeMetricsSubscriptionStatus(const RealtimeMetricsSubscriptionStatus &value)
Definition: RealtimeMetricsSubscriptionConfig.h:69
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig::RealtimeMetricsSubscriptionConfig
RealtimeMetricsSubscriptionConfig()