AWS SDK for C++  1.9.130
AWS SDK for C++
DescribeSpotDatafeedSubscriptionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
8 #include <aws/ec2/EC2Request.h>
9 
10 namespace Aws
11 {
12 namespace EC2
13 {
14 namespace Model
15 {
16 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "DescribeSpotDatafeedSubscription"; }
33 
34  Aws::String SerializePayload() const override;
35 
36  protected:
37  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38 
39  public:
40 
47  inline bool GetDryRun() const{ return m_dryRun; }
48 
55  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
56 
63  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
64 
71  inline DescribeSpotDatafeedSubscriptionRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
72 
73  private:
74 
75  bool m_dryRun;
76  bool m_dryRunHasBeenSet;
77  };
78 
79 } // namespace Model
80 } // namespace EC2
81 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DescribeSpotDatafeedSubscriptionRequest::SetDryRun
void SetDryRun(bool value)
Definition: DescribeSpotDatafeedSubscriptionRequest.h:63
Aws::EC2::Model::DescribeSpotDatafeedSubscriptionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DescribeSpotDatafeedSubscriptionRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DescribeSpotDatafeedSubscriptionRequest.h:55
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DescribeSpotDatafeedSubscriptionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeSpotDatafeedSubscriptionRequest.h:32
Aws::EC2::Model::DescribeSpotDatafeedSubscriptionRequest::WithDryRun
DescribeSpotDatafeedSubscriptionRequest & WithDryRun(bool value)
Definition: DescribeSpotDatafeedSubscriptionRequest.h:71
EC2Request.h
Aws::EC2::Model::DescribeSpotDatafeedSubscriptionRequest::DescribeSpotDatafeedSubscriptionRequest
DescribeSpotDatafeedSubscriptionRequest()
Aws::EC2::Model::DescribeSpotDatafeedSubscriptionRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DescribeSpotDatafeedSubscriptionRequest
Definition: DescribeSpotDatafeedSubscriptionRequest.h:24
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
Aws::EC2::Model::DescribeSpotDatafeedSubscriptionRequest::GetDryRun
bool GetDryRun() const
Definition: DescribeSpotDatafeedSubscriptionRequest.h:47
EC2_EXPORTS.h