AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DisableEbsEncryptionByDefaultRequest.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/ec2/EC2Request.h>
9
10namespace Aws
11{
12namespace EC2
13{
14namespace 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 "DisableEbsEncryptionByDefault"; }
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:
36
38
44 inline bool GetDryRun() const{ return m_dryRun; }
45 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
46 inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
47 inline DisableEbsEncryptionByDefaultRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
49 private:
50
51 bool m_dryRun;
52 bool m_dryRunHasBeenSet = false;
53 };
54
55} // namespace Model
56} // namespace EC2
57} // namespace Aws
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_EC2_API Aws::String SerializePayload() const override
DisableEbsEncryptionByDefaultRequest & WithDryRun(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String