AWS SDK for C++  1.8.128
AWS SDK for C++
DeleteIPSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace GuardDuty
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 "DeleteIPSet"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
39 
43  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
44 
48  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
49 
53  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
54 
58  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
59 
63  inline DeleteIPSetRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
64 
68  inline DeleteIPSetRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
69 
73  inline DeleteIPSetRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
74 
75 
79  inline const Aws::String& GetIpSetId() const{ return m_ipSetId; }
80 
84  inline bool IpSetIdHasBeenSet() const { return m_ipSetIdHasBeenSet; }
85 
89  inline void SetIpSetId(const Aws::String& value) { m_ipSetIdHasBeenSet = true; m_ipSetId = value; }
90 
94  inline void SetIpSetId(Aws::String&& value) { m_ipSetIdHasBeenSet = true; m_ipSetId = std::move(value); }
95 
99  inline void SetIpSetId(const char* value) { m_ipSetIdHasBeenSet = true; m_ipSetId.assign(value); }
100 
104  inline DeleteIPSetRequest& WithIpSetId(const Aws::String& value) { SetIpSetId(value); return *this;}
105 
109  inline DeleteIPSetRequest& WithIpSetId(Aws::String&& value) { SetIpSetId(std::move(value)); return *this;}
110 
114  inline DeleteIPSetRequest& WithIpSetId(const char* value) { SetIpSetId(value); return *this;}
115 
116  private:
117 
118  Aws::String m_detectorId;
119  bool m_detectorIdHasBeenSet;
120 
121  Aws::String m_ipSetId;
122  bool m_ipSetIdHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace GuardDuty
127 } // namespace Aws
Aws::GuardDuty::Model::DeleteIPSetRequest::WithIpSetId
DeleteIPSetRequest & WithIpSetId(const char *value)
Definition: DeleteIPSetRequest.h:114
Aws::GuardDuty::Model::DeleteIPSetRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: DeleteIPSetRequest.h:53
Aws::GuardDuty::Model::DeleteIPSetRequest::SetIpSetId
void SetIpSetId(const Aws::String &value)
Definition: DeleteIPSetRequest.h:89
Aws::GuardDuty::Model::DeleteIPSetRequest
Definition: DeleteIPSetRequest.h:22
Aws::GuardDuty::Model::DeleteIPSetRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: DeleteIPSetRequest.h:43
Aws::GuardDuty::Model::DeleteIPSetRequest::IpSetIdHasBeenSet
bool IpSetIdHasBeenSet() const
Definition: DeleteIPSetRequest.h:84
Aws::GuardDuty::Model::DeleteIPSetRequest::DeleteIPSetRequest
DeleteIPSetRequest()
Aws::GuardDuty::Model::DeleteIPSetRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: DeleteIPSetRequest.h:38
Aws::GuardDuty::Model::DeleteIPSetRequest::SetIpSetId
void SetIpSetId(const char *value)
Definition: DeleteIPSetRequest.h:99
Aws::GuardDuty::Model::DeleteIPSetRequest::WithIpSetId
DeleteIPSetRequest & WithIpSetId(Aws::String &&value)
Definition: DeleteIPSetRequest.h:109
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::DeleteIPSetRequest::WithDetectorId
DeleteIPSetRequest & WithDetectorId(const Aws::String &value)
Definition: DeleteIPSetRequest.h:63
Aws::GuardDuty::Model::DeleteIPSetRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: DeleteIPSetRequest.h:58
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
AWSString.h
Aws::GuardDuty::Model::DeleteIPSetRequest::WithDetectorId
DeleteIPSetRequest & WithDetectorId(Aws::String &&value)
Definition: DeleteIPSetRequest.h:68
Aws::GuardDuty::Model::DeleteIPSetRequest::GetIpSetId
const Aws::String & GetIpSetId() const
Definition: DeleteIPSetRequest.h:79
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::DeleteIPSetRequest::SetIpSetId
void SetIpSetId(Aws::String &&value)
Definition: DeleteIPSetRequest.h:94
GuardDutyRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::DeleteIPSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteIPSetRequest.h:30
Aws::GuardDuty::Model::DeleteIPSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GuardDuty::Model::DeleteIPSetRequest::WithDetectorId
DeleteIPSetRequest & WithDetectorId(const char *value)
Definition: DeleteIPSetRequest.h:73
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::DeleteIPSetRequest::WithIpSetId
DeleteIPSetRequest & WithIpSetId(const Aws::String &value)
Definition: DeleteIPSetRequest.h:104
Aws::GuardDuty::Model::DeleteIPSetRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: DeleteIPSetRequest.h:48