AWS SDK for C++  1.9.16
AWS SDK for C++
DeregisterInstanceEventNotificationAttributesRequest.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>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace EC2
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeregisterInstanceEventNotificationAttributes"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
45  inline bool GetDryRun() const{ return m_dryRun; }
46 
53  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
54 
61  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
62 
69  inline DeregisterInstanceEventNotificationAttributesRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
70 
71 
75  inline const DeregisterInstanceTagAttributeRequest& GetInstanceTagAttribute() const{ return m_instanceTagAttribute; }
76 
80  inline bool InstanceTagAttributeHasBeenSet() const { return m_instanceTagAttributeHasBeenSet; }
81 
85  inline void SetInstanceTagAttribute(const DeregisterInstanceTagAttributeRequest& value) { m_instanceTagAttributeHasBeenSet = true; m_instanceTagAttribute = value; }
86 
90  inline void SetInstanceTagAttribute(DeregisterInstanceTagAttributeRequest&& value) { m_instanceTagAttributeHasBeenSet = true; m_instanceTagAttribute = std::move(value); }
91 
96 
100  inline DeregisterInstanceEventNotificationAttributesRequest& WithInstanceTagAttribute(DeregisterInstanceTagAttributeRequest&& value) { SetInstanceTagAttribute(std::move(value)); return *this;}
101 
102  private:
103 
104  bool m_dryRun;
105  bool m_dryRunHasBeenSet;
106 
107  DeregisterInstanceTagAttributeRequest m_instanceTagAttribute;
108  bool m_instanceTagAttributeHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace EC2
113 } // namespace Aws
Aws::EC2::Model::DeregisterInstanceTagAttributeRequest
Definition: DeregisterInstanceTagAttributeRequest.h:36
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:30
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::DeregisterInstanceEventNotificationAttributesRequest
DeregisterInstanceEventNotificationAttributesRequest()
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::WithDryRun
DeregisterInstanceEventNotificationAttributesRequest & WithDryRun(bool value)
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:69
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::GetInstanceTagAttribute
const DeregisterInstanceTagAttributeRequest & GetInstanceTagAttribute() const
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:75
EC2Request.h
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::WithInstanceTagAttribute
DeregisterInstanceEventNotificationAttributesRequest & WithInstanceTagAttribute(const DeregisterInstanceTagAttributeRequest &value)
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:95
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:53
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::WithInstanceTagAttribute
DeregisterInstanceEventNotificationAttributesRequest & WithInstanceTagAttribute(DeregisterInstanceTagAttributeRequest &&value)
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:100
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::SetInstanceTagAttribute
void SetInstanceTagAttribute(const DeregisterInstanceTagAttributeRequest &value)
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:85
DeregisterInstanceTagAttributeRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::InstanceTagAttributeHasBeenSet
bool InstanceTagAttributeHasBeenSet() const
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:22
Aws::EC2::EC2Request
Definition: EC2Request.h:17
EC2_EXPORTS.h
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::SetInstanceTagAttribute
void SetInstanceTagAttribute(DeregisterInstanceTagAttributeRequest &&value)
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:90
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::SetDryRun
void SetDryRun(bool value)
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:61
Aws::EC2::Model::DeregisterInstanceEventNotificationAttributesRequest::GetDryRun
bool GetDryRun() const
Definition: DeregisterInstanceEventNotificationAttributesRequest.h:45