AWS SDK for C++  1.9.14
AWS SDK for C++
GetMonitoringSubscription2020_05_31Result.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Xml
19 {
20  class XmlDocument;
21 } // namespace Xml
22 } // namespace Utils
23 namespace CloudFront
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
40  inline const MonitoringSubscription& GetMonitoringSubscription() const{ return m_monitoringSubscription; }
41 
47  inline void SetMonitoringSubscription(const MonitoringSubscription& value) { m_monitoringSubscription = value; }
48 
54  inline void SetMonitoringSubscription(MonitoringSubscription&& value) { m_monitoringSubscription = std::move(value); }
55 
61  inline GetMonitoringSubscription2020_05_31Result& WithMonitoringSubscription(const MonitoringSubscription& value) { SetMonitoringSubscription(value); return *this;}
62 
68  inline GetMonitoringSubscription2020_05_31Result& WithMonitoringSubscription(MonitoringSubscription&& value) { SetMonitoringSubscription(std::move(value)); return *this;}
69 
70  private:
71 
72  MonitoringSubscription m_monitoringSubscription;
73  };
74 
75 } // namespace Model
76 } // namespace CloudFront
77 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
MonitoringSubscription.h
Aws::CloudFront::Model::GetMonitoringSubscription2020_05_31Result::SetMonitoringSubscription
void SetMonitoringSubscription(MonitoringSubscription &&value)
Definition: GetMonitoringSubscription2020_05_31Result.h:54
Aws::CloudFront::Model::GetMonitoringSubscription2020_05_31Result::WithMonitoringSubscription
GetMonitoringSubscription2020_05_31Result & WithMonitoringSubscription(const MonitoringSubscription &value)
Definition: GetMonitoringSubscription2020_05_31Result.h:61
Aws::CloudFront::Model::MonitoringSubscription
Definition: MonitoringSubscription.h:33
Aws::CloudFront::Model::GetMonitoringSubscription2020_05_31Result::WithMonitoringSubscription
GetMonitoringSubscription2020_05_31Result & WithMonitoringSubscription(MonitoringSubscription &&value)
Definition: GetMonitoringSubscription2020_05_31Result.h:68
Aws::CloudFront::Model::GetMonitoringSubscription2020_05_31Result::SetMonitoringSubscription
void SetMonitoringSubscription(const MonitoringSubscription &value)
Definition: GetMonitoringSubscription2020_05_31Result.h:47
Aws::CloudFront::Model::GetMonitoringSubscription2020_05_31Result::GetMonitoringSubscription2020_05_31Result
GetMonitoringSubscription2020_05_31Result(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::CloudFront::Model::GetMonitoringSubscription2020_05_31Result::operator=
GetMonitoringSubscription2020_05_31Result & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::GetMonitoringSubscription2020_05_31Result
Definition: GetMonitoringSubscription2020_05_31Result.h:28
Aws::CloudFront::Model::GetMonitoringSubscription2020_05_31Result::GetMonitoringSubscription2020_05_31Result
GetMonitoringSubscription2020_05_31Result()
Aws::CloudFront::Model::GetMonitoringSubscription2020_05_31Result::GetMonitoringSubscription
const MonitoringSubscription & GetMonitoringSubscription() const
Definition: GetMonitoringSubscription2020_05_31Result.h:40