AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DeleteIPSetRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace GuardDuty {
15namespace Model {
16
20 public:
21 AWS_GUARDDUTY_API DeleteIPSetRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "DeleteIPSet"; }
28
29 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
30
32
39 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
40 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
41 template <typename DetectorIdT = Aws::String>
42 void SetDetectorId(DetectorIdT&& value) {
43 m_detectorIdHasBeenSet = true;
44 m_detectorId = std::forward<DetectorIdT>(value);
45 }
46 template <typename DetectorIdT = Aws::String>
47 DeleteIPSetRequest& WithDetectorId(DetectorIdT&& value) {
48 SetDetectorId(std::forward<DetectorIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetIpSetId() const { return m_ipSetId; }
58 inline bool IpSetIdHasBeenSet() const { return m_ipSetIdHasBeenSet; }
59 template <typename IpSetIdT = Aws::String>
60 void SetIpSetId(IpSetIdT&& value) {
61 m_ipSetIdHasBeenSet = true;
62 m_ipSetId = std::forward<IpSetIdT>(value);
63 }
64 template <typename IpSetIdT = Aws::String>
65 DeleteIPSetRequest& WithIpSetId(IpSetIdT&& value) {
66 SetIpSetId(std::forward<IpSetIdT>(value));
67 return *this;
68 }
70 private:
71 Aws::String m_detectorId;
72
73 Aws::String m_ipSetId;
74 bool m_detectorIdHasBeenSet = false;
75 bool m_ipSetIdHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace GuardDuty
80} // namespace Aws
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
DeleteIPSetRequest & WithIpSetId(IpSetIdT &&value)
virtual const char * GetServiceRequestName() const override
DeleteIPSetRequest & WithDetectorId(DetectorIdT &&value)
AWS_GUARDDUTY_API DeleteIPSetRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String