AWS SDK for C++  1.9.16
AWS SDK for C++
DeleteTrafficMirrorFilterRequest.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 "DeleteTrafficMirrorFilter"; }
31 
32  Aws::String SerializePayload() const override;
33 
34  protected:
35  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36 
37  public:
38 
42  inline const Aws::String& GetTrafficMirrorFilterId() const{ return m_trafficMirrorFilterId; }
43 
47  inline bool TrafficMirrorFilterIdHasBeenSet() const { return m_trafficMirrorFilterIdHasBeenSet; }
48 
52  inline void SetTrafficMirrorFilterId(const Aws::String& value) { m_trafficMirrorFilterIdHasBeenSet = true; m_trafficMirrorFilterId = value; }
53 
57  inline void SetTrafficMirrorFilterId(Aws::String&& value) { m_trafficMirrorFilterIdHasBeenSet = true; m_trafficMirrorFilterId = std::move(value); }
58 
62  inline void SetTrafficMirrorFilterId(const char* value) { m_trafficMirrorFilterIdHasBeenSet = true; m_trafficMirrorFilterId.assign(value); }
63 
67  inline DeleteTrafficMirrorFilterRequest& WithTrafficMirrorFilterId(const Aws::String& value) { SetTrafficMirrorFilterId(value); return *this;}
68 
72  inline DeleteTrafficMirrorFilterRequest& WithTrafficMirrorFilterId(Aws::String&& value) { SetTrafficMirrorFilterId(std::move(value)); return *this;}
73 
77  inline DeleteTrafficMirrorFilterRequest& WithTrafficMirrorFilterId(const char* value) { SetTrafficMirrorFilterId(value); return *this;}
78 
79 
86  inline bool GetDryRun() const{ return m_dryRun; }
87 
94  inline bool DryRunHasBeenSet() const { return m_dryRunHasBeenSet; }
95 
102  inline void SetDryRun(bool value) { m_dryRunHasBeenSet = true; m_dryRun = value; }
103 
110  inline DeleteTrafficMirrorFilterRequest& WithDryRun(bool value) { SetDryRun(value); return *this;}
111 
112  private:
113 
114  Aws::String m_trafficMirrorFilterId;
115  bool m_trafficMirrorFilterIdHasBeenSet;
116 
117  bool m_dryRun;
118  bool m_dryRunHasBeenSet;
119  };
120 
121 } // namespace Model
122 } // namespace EC2
123 } // namespace Aws
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::WithTrafficMirrorFilterId
DeleteTrafficMirrorFilterRequest & WithTrafficMirrorFilterId(const char *value)
Definition: DeleteTrafficMirrorFilterRequest.h:77
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::SetTrafficMirrorFilterId
void SetTrafficMirrorFilterId(const Aws::String &value)
Definition: DeleteTrafficMirrorFilterRequest.h:52
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest
Definition: DeleteTrafficMirrorFilterRequest.h:22
Aws::Http::URI
Definition: URI.h:32
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::GetTrafficMirrorFilterId
const Aws::String & GetTrafficMirrorFilterId() const
Definition: DeleteTrafficMirrorFilterRequest.h:42
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::GetDryRun
bool GetDryRun() const
Definition: DeleteTrafficMirrorFilterRequest.h:86
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteTrafficMirrorFilterRequest.h:30
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::TrafficMirrorFilterIdHasBeenSet
bool TrafficMirrorFilterIdHasBeenSet() const
Definition: DeleteTrafficMirrorFilterRequest.h:47
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::SetTrafficMirrorFilterId
void SetTrafficMirrorFilterId(Aws::String &&value)
Definition: DeleteTrafficMirrorFilterRequest.h:57
EC2Request.h
AWSString.h
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::WithTrafficMirrorFilterId
DeleteTrafficMirrorFilterRequest & WithTrafficMirrorFilterId(const Aws::String &value)
Definition: DeleteTrafficMirrorFilterRequest.h:67
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::WithTrafficMirrorFilterId
DeleteTrafficMirrorFilterRequest & WithTrafficMirrorFilterId(Aws::String &&value)
Definition: DeleteTrafficMirrorFilterRequest.h:72
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::DryRunHasBeenSet
bool DryRunHasBeenSet() const
Definition: DeleteTrafficMirrorFilterRequest.h:94
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::SetTrafficMirrorFilterId
void SetTrafficMirrorFilterId(const char *value)
Definition: DeleteTrafficMirrorFilterRequest.h:62
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::DeleteTrafficMirrorFilterRequest
DeleteTrafficMirrorFilterRequest()
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::SetDryRun
void SetDryRun(bool value)
Definition: DeleteTrafficMirrorFilterRequest.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::EC2Request
Definition: EC2Request.h:17
EC2_EXPORTS.h
Aws::EC2::Model::DeleteTrafficMirrorFilterRequest::WithDryRun
DeleteTrafficMirrorFilterRequest & WithDryRun(bool value)
Definition: DeleteTrafficMirrorFilterRequest.h:110