AWS SDK for C++  1.8.7
AWS SDK for C++
DescribeAggregateIdFormatRequest.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 
20  {
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 "DescribeAggregateIdFormat"; }
29 
30  Aws::String SerializePayload() const override;
31 
32  protected:
33  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
34 
35  public:
36 
43  inline bool GetDryRun() const{ return m_dryRun; }
44 
51  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
52 
59  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
60 
67  inline DescribeAggregateIdFormatRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
68 
69  private:
70 
71  bool m_dryRun;
72  bool m_dryRunHasBeenSet;
73  };
74 
75 } // namespace Model
76 } // namespace EC2
77 } // namespace Aws
DescribeAggregateIdFormatRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28