AWS SDK for C++  1.9.15
AWS SDK for C++
MonitoringSubscription.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 
33  {
34  public:
38 
39  void AddToNode(Aws::Utils::Xml::XmlNode& parentNode) const;
40 
41 
45  inline const RealtimeMetricsSubscriptionConfig& GetRealtimeMetricsSubscriptionConfig() const{ return m_realtimeMetricsSubscriptionConfig; }
46 
50  inline bool RealtimeMetricsSubscriptionConfigHasBeenSet() const { return m_realtimeMetricsSubscriptionConfigHasBeenSet; }
51 
55  inline void SetRealtimeMetricsSubscriptionConfig(const RealtimeMetricsSubscriptionConfig& value) { m_realtimeMetricsSubscriptionConfigHasBeenSet = true; m_realtimeMetricsSubscriptionConfig = value; }
56 
60  inline void SetRealtimeMetricsSubscriptionConfig(RealtimeMetricsSubscriptionConfig&& value) { m_realtimeMetricsSubscriptionConfigHasBeenSet = true; m_realtimeMetricsSubscriptionConfig = std::move(value); }
61 
65  inline MonitoringSubscription& WithRealtimeMetricsSubscriptionConfig(const RealtimeMetricsSubscriptionConfig& value) { SetRealtimeMetricsSubscriptionConfig(value); return *this;}
66 
70  inline MonitoringSubscription& WithRealtimeMetricsSubscriptionConfig(RealtimeMetricsSubscriptionConfig&& value) { SetRealtimeMetricsSubscriptionConfig(std::move(value)); return *this;}
71 
72  private:
73 
74  RealtimeMetricsSubscriptionConfig m_realtimeMetricsSubscriptionConfig;
75  bool m_realtimeMetricsSubscriptionConfigHasBeenSet;
76  };
77 
78 } // namespace Model
79 } // namespace CloudFront
80 } // namespace Aws
Aws::CloudFront::Model::MonitoringSubscription::RealtimeMetricsSubscriptionConfigHasBeenSet
bool RealtimeMetricsSubscriptionConfigHasBeenSet() const
Definition: MonitoringSubscription.h:50
Aws::CloudFront::Model::MonitoringSubscription::AddToNode
void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
Aws::CloudFront::Model::MonitoringSubscription::SetRealtimeMetricsSubscriptionConfig
void SetRealtimeMetricsSubscriptionConfig(const RealtimeMetricsSubscriptionConfig &value)
Definition: MonitoringSubscription.h:55
Aws::CloudFront::Model::MonitoringSubscription::WithRealtimeMetricsSubscriptionConfig
MonitoringSubscription & WithRealtimeMetricsSubscriptionConfig(RealtimeMetricsSubscriptionConfig &&value)
Definition: MonitoringSubscription.h:70
Aws::CloudFront::Model::MonitoringSubscription
Definition: MonitoringSubscription.h:33
Aws::CloudFront::Model::MonitoringSubscription::MonitoringSubscription
MonitoringSubscription(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::CloudFront::Model::MonitoringSubscription::operator=
MonitoringSubscription & 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
Aws::CloudFront::Model::MonitoringSubscription::SetRealtimeMetricsSubscriptionConfig
void SetRealtimeMetricsSubscriptionConfig(RealtimeMetricsSubscriptionConfig &&value)
Definition: MonitoringSubscription.h:60
CloudFront_EXPORTS.h
Aws::CloudFront::Model::MonitoringSubscription::WithRealtimeMetricsSubscriptionConfig
MonitoringSubscription & WithRealtimeMetricsSubscriptionConfig(const RealtimeMetricsSubscriptionConfig &value)
Definition: MonitoringSubscription.h:65
RealtimeMetricsSubscriptionConfig.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::MonitoringSubscription::MonitoringSubscription
MonitoringSubscription()
Aws::CloudFront::Model::MonitoringSubscription::GetRealtimeMetricsSubscriptionConfig
const RealtimeMetricsSubscriptionConfig & GetRealtimeMetricsSubscriptionConfig() const
Definition: MonitoringSubscription.h:45
Aws::CloudFront::Model::RealtimeMetricsSubscriptionConfig
Definition: RealtimeMetricsSubscriptionConfig.h:32