AWS SDK for C++  1.9.129
AWS SDK for C++
DeleteMonitoringSubscription2020_05_31Request.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace CloudFront
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteMonitoringSubscription"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetDistributionId() const{ return m_distributionId; }
39 
43  inline bool DistributionIdHasBeenSet() const { return m_distributionIdHasBeenSet; }
44 
48  inline void SetDistributionId(const Aws::String& value) { m_distributionIdHasBeenSet = true; m_distributionId = value; }
49 
53  inline void SetDistributionId(Aws::String&& value) { m_distributionIdHasBeenSet = true; m_distributionId = std::move(value); }
54 
58  inline void SetDistributionId(const char* value) { m_distributionIdHasBeenSet = true; m_distributionId.assign(value); }
59 
63  inline DeleteMonitoringSubscription2020_05_31Request& WithDistributionId(const Aws::String& value) { SetDistributionId(value); return *this;}
64 
68  inline DeleteMonitoringSubscription2020_05_31Request& WithDistributionId(Aws::String&& value) { SetDistributionId(std::move(value)); return *this;}
69 
73  inline DeleteMonitoringSubscription2020_05_31Request& WithDistributionId(const char* value) { SetDistributionId(value); return *this;}
74 
75  private:
76 
77  Aws::String m_distributionId;
78  bool m_distributionIdHasBeenSet;
79  };
80 
81 } // namespace Model
82 } // namespace CloudFront
83 } // namespace Aws
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request::SetDistributionId
void SetDistributionId(const Aws::String &value)
Definition: DeleteMonitoringSubscription2020_05_31Request.h:48
CloudFrontRequest.h
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request::DistributionIdHasBeenSet
bool DistributionIdHasBeenSet() const
Definition: DeleteMonitoringSubscription2020_05_31Request.h:43
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request::GetDistributionId
const Aws::String & GetDistributionId() const
Definition: DeleteMonitoringSubscription2020_05_31Request.h:38
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request
Definition: DeleteMonitoringSubscription2020_05_31Request.h:22
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request::SerializePayload
Aws::String SerializePayload() const override
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request::SetDistributionId
void SetDistributionId(Aws::String &&value)
Definition: DeleteMonitoringSubscription2020_05_31Request.h:53
AWSString.h
Aws::CloudFront::CloudFrontRequest
Definition: CloudFrontRequest.h:17
AWS_CLOUDFRONT_API
#define AWS_CLOUDFRONT_API
Definition: CloudFront_EXPORTS.h:28
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request::WithDistributionId
DeleteMonitoringSubscription2020_05_31Request & WithDistributionId(const Aws::String &value)
Definition: DeleteMonitoringSubscription2020_05_31Request.h:63
CloudFront_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request::SetDistributionId
void SetDistributionId(const char *value)
Definition: DeleteMonitoringSubscription2020_05_31Request.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteMonitoringSubscription2020_05_31Request.h:30
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request::DeleteMonitoringSubscription2020_05_31Request
DeleteMonitoringSubscription2020_05_31Request()
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request::WithDistributionId
DeleteMonitoringSubscription2020_05_31Request & WithDistributionId(const char *value)
Definition: DeleteMonitoringSubscription2020_05_31Request.h:73
Aws::CloudFront::Model::DeleteMonitoringSubscription2020_05_31Request::WithDistributionId
DeleteMonitoringSubscription2020_05_31Request & WithDistributionId(Aws::String &&value)
Definition: DeleteMonitoringSubscription2020_05_31Request.h:68