AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeSpotDatafeedSubscriptionRequest.h
1
6#pragma once
7#include <aws/ec2/EC2Request.h>
8#include <aws/ec2/EC2_EXPORTS.h>
9
10namespace Aws {
11namespace EC2 {
12namespace Model {
13
21 public:
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DescribeSpotDatafeedSubscription"; }
29
30 AWS_EC2_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
43 inline bool GetDryRun() const { return m_dryRun; }
44 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
45 inline void SetDryRun(bool value) {
46 m_dryRunHasBeenSet = true;
47 m_dryRun = value;
48 }
50 SetDryRun(value);
51 return *this;
52 }
54 private:
55 bool m_dryRun{false};
56 bool m_dryRunHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace EC2
61} // namespace Aws
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeSpotDatafeedSubscriptionRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String