AWS SDK for C++  1.9.104
AWS SDK for C++
GetIPSetRequest.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 "GetIPSet"; }
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 GetIPSetRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
64 
68  inline GetIPSetRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
69 
73  inline GetIPSetRequest& 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 GetIPSetRequest& WithIpSetId(const Aws::String& value) { SetIpSetId(value); return *this;}
105 
109  inline GetIPSetRequest& WithIpSetId(Aws::String&& value) { SetIpSetId(std::move(value)); return *this;}
110 
114  inline GetIPSetRequest& 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::GetIPSetRequest::GetIpSetId
const Aws::String & GetIpSetId() const
Definition: GetIPSetRequest.h:79
Aws::GuardDuty::Model::GetIPSetRequest::WithIpSetId
GetIPSetRequest & WithIpSetId(const char *value)
Definition: GetIPSetRequest.h:114
Aws::GuardDuty::Model::GetIPSetRequest
Definition: GetIPSetRequest.h:22
Aws::GuardDuty::Model::GetIPSetRequest::IpSetIdHasBeenSet
bool IpSetIdHasBeenSet() const
Definition: GetIPSetRequest.h:84
Aws::GuardDuty::Model::GetIPSetRequest::GetIPSetRequest
GetIPSetRequest()
Aws::GuardDuty::Model::GetIPSetRequest::WithDetectorId
GetIPSetRequest & WithDetectorId(Aws::String &&value)
Definition: GetIPSetRequest.h:68
Aws::GuardDuty::Model::GetIPSetRequest::SetIpSetId
void SetIpSetId(Aws::String &&value)
Definition: GetIPSetRequest.h:94
Aws::GuardDuty::Model::GetIPSetRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: GetIPSetRequest.h:53
Aws::GuardDuty::Model::GetIPSetRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: GetIPSetRequest.h:38
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::GetIPSetRequest::WithIpSetId
GetIPSetRequest & WithIpSetId(Aws::String &&value)
Definition: GetIPSetRequest.h:109
Aws::GuardDuty::Model::GetIPSetRequest::SetIpSetId
void SetIpSetId(const Aws::String &value)
Definition: GetIPSetRequest.h:89
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::GetIPSetRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: GetIPSetRequest.h:58
AWSString.h
Aws::GuardDuty::Model::GetIPSetRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: GetIPSetRequest.h:43
Aws::GuardDuty::Model::GetIPSetRequest::WithDetectorId
GetIPSetRequest & WithDetectorId(const Aws::String &value)
Definition: GetIPSetRequest.h:63
Aws
Definition: AccessManagementClient.h:15
GuardDutyRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::GetIPSetRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: GetIPSetRequest.h:48
Aws::GuardDuty::Model::GetIPSetRequest::WithDetectorId
GetIPSetRequest & WithDetectorId(const char *value)
Definition: GetIPSetRequest.h:73
Aws::GuardDuty::Model::GetIPSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GuardDuty::Model::GetIPSetRequest::WithIpSetId
GetIPSetRequest & WithIpSetId(const Aws::String &value)
Definition: GetIPSetRequest.h:104
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::GetIPSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetIPSetRequest.h:30
Aws::GuardDuty::Model::GetIPSetRequest::SetIpSetId
void SetIpSetId(const char *value)
Definition: GetIPSetRequest.h:99