AWS SDK for C++

AWS SDK for C++ Version 1.11.632

Loading...
Searching...
No Matches
UpdateThreatEntitySetRequest.h
1
6#pragma once
7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/guardduty/GuardDutyRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace GuardDuty
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_GUARDDUTY_API UpdateThreatEntitySetRequest() = default;
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 "UpdateThreatEntitySet"; }
31
32 AWS_GUARDDUTY_API Aws::String SerializePayload() const override;
33
34
36
43 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
44 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
45 template<typename DetectorIdT = Aws::String>
46 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
47 template<typename DetectorIdT = Aws::String>
48 UpdateThreatEntitySetRequest& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
50
52
56 inline const Aws::String& GetThreatEntitySetId() const { return m_threatEntitySetId; }
57 inline bool ThreatEntitySetIdHasBeenSet() const { return m_threatEntitySetIdHasBeenSet; }
58 template<typename ThreatEntitySetIdT = Aws::String>
59 void SetThreatEntitySetId(ThreatEntitySetIdT&& value) { m_threatEntitySetIdHasBeenSet = true; m_threatEntitySetId = std::forward<ThreatEntitySetIdT>(value); }
60 template<typename ThreatEntitySetIdT = Aws::String>
61 UpdateThreatEntitySetRequest& WithThreatEntitySetId(ThreatEntitySetIdT&& value) { SetThreatEntitySetId(std::forward<ThreatEntitySetIdT>(value)); return *this;}
63
65
70 inline const Aws::String& GetName() const { return m_name; }
71 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
72 template<typename NameT = Aws::String>
73 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
74 template<typename NameT = Aws::String>
75 UpdateThreatEntitySetRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
77
79
82 inline const Aws::String& GetLocation() const { return m_location; }
83 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
84 template<typename LocationT = Aws::String>
85 void SetLocation(LocationT&& value) { m_locationHasBeenSet = true; m_location = std::forward<LocationT>(value); }
86 template<typename LocationT = Aws::String>
87 UpdateThreatEntitySetRequest& WithLocation(LocationT&& value) { SetLocation(std::forward<LocationT>(value)); return *this;}
89
91
95 inline const Aws::String& GetExpectedBucketOwner() const { return m_expectedBucketOwner; }
96 inline bool ExpectedBucketOwnerHasBeenSet() const { return m_expectedBucketOwnerHasBeenSet; }
97 template<typename ExpectedBucketOwnerT = Aws::String>
98 void SetExpectedBucketOwner(ExpectedBucketOwnerT&& value) { m_expectedBucketOwnerHasBeenSet = true; m_expectedBucketOwner = std::forward<ExpectedBucketOwnerT>(value); }
99 template<typename ExpectedBucketOwnerT = Aws::String>
100 UpdateThreatEntitySetRequest& WithExpectedBucketOwner(ExpectedBucketOwnerT&& value) { SetExpectedBucketOwner(std::forward<ExpectedBucketOwnerT>(value)); return *this;}
102
104
110 inline bool GetActivate() const { return m_activate; }
111 inline bool ActivateHasBeenSet() const { return m_activateHasBeenSet; }
112 inline void SetActivate(bool value) { m_activateHasBeenSet = true; m_activate = value; }
113 inline UpdateThreatEntitySetRequest& WithActivate(bool value) { SetActivate(value); return *this;}
115 private:
116
117 Aws::String m_detectorId;
118 bool m_detectorIdHasBeenSet = false;
119
120 Aws::String m_threatEntitySetId;
121 bool m_threatEntitySetIdHasBeenSet = false;
122
123 Aws::String m_name;
124 bool m_nameHasBeenSet = false;
125
126 Aws::String m_location;
127 bool m_locationHasBeenSet = false;
128
129 Aws::String m_expectedBucketOwner;
130 bool m_expectedBucketOwnerHasBeenSet = false;
131
132 bool m_activate{false};
133 bool m_activateHasBeenSet = false;
134 };
135
136} // namespace Model
137} // namespace GuardDuty
138} // namespace Aws
AWS_GUARDDUTY_API UpdateThreatEntitySetRequest()=default
UpdateThreatEntitySetRequest & WithActivate(bool value)
UpdateThreatEntitySetRequest & WithExpectedBucketOwner(ExpectedBucketOwnerT &&value)
UpdateThreatEntitySetRequest & WithThreatEntitySetId(ThreatEntitySetIdT &&value)
UpdateThreatEntitySetRequest & WithDetectorId(DetectorIdT &&value)
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
UpdateThreatEntitySetRequest & WithLocation(LocationT &&value)
UpdateThreatEntitySetRequest & WithName(NameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String