AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DisableSerialConsoleAccessRequest.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
17 public:
18 AWS_EC2_API DisableSerialConsoleAccessRequest() = default;
19
20 // Service request name is the Operation name which will send this request out,
21 // each operation should has unique request name, so that we can get operation's name from this request.
22 // Note: this is not true for response, multiple operations may have the same response name,
23 // so we can not get operation's name from response.
24 inline virtual const char* GetServiceRequestName() const override { return "DisableSerialConsoleAccess"; }
25
26 AWS_EC2_API Aws::String SerializePayload() const override;
27
28 protected:
29 AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
30
31 public:
33
39 inline bool GetDryRun() const { return m_dryRun; }
40 inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
41 inline void SetDryRun(bool value) {
42 m_dryRunHasBeenSet = true;
43 m_dryRun = value;
44 }
46 SetDryRun(value);
47 return *this;
48 }
50 private:
51 bool m_dryRun{false};
52 bool m_dryRunHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace EC2
57} // namespace Aws
DisableSerialConsoleAccessRequest & WithDryRun(bool value)
AWS_EC2_API Aws::String SerializePayload() const override
AWS_EC2_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String