AWS SDK for C++  1.8.126
AWS SDK for C++
UpdateThreatIntelSetRequest.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 "UpdateThreatIntelSet"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
39  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
40 
45  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
46 
51  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
52 
57  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
58 
63  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
64 
69  inline UpdateThreatIntelSetRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
70 
75  inline UpdateThreatIntelSetRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
76 
81  inline UpdateThreatIntelSetRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
82 
83 
87  inline const Aws::String& GetThreatIntelSetId() const{ return m_threatIntelSetId; }
88 
92  inline bool ThreatIntelSetIdHasBeenSet() const { return m_threatIntelSetIdHasBeenSet; }
93 
97  inline void SetThreatIntelSetId(const Aws::String& value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId = value; }
98 
102  inline void SetThreatIntelSetId(Aws::String&& value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId = std::move(value); }
103 
107  inline void SetThreatIntelSetId(const char* value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId.assign(value); }
108 
112  inline UpdateThreatIntelSetRequest& WithThreatIntelSetId(const Aws::String& value) { SetThreatIntelSetId(value); return *this;}
113 
117  inline UpdateThreatIntelSetRequest& WithThreatIntelSetId(Aws::String&& value) { SetThreatIntelSetId(std::move(value)); return *this;}
118 
122  inline UpdateThreatIntelSetRequest& WithThreatIntelSetId(const char* value) { SetThreatIntelSetId(value); return *this;}
123 
124 
128  inline const Aws::String& GetName() const{ return m_name; }
129 
133  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
134 
138  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
139 
143  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
144 
148  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
149 
153  inline UpdateThreatIntelSetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
154 
158  inline UpdateThreatIntelSetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
159 
163  inline UpdateThreatIntelSetRequest& WithName(const char* value) { SetName(value); return *this;}
164 
165 
169  inline const Aws::String& GetLocation() const{ return m_location; }
170 
174  inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
175 
179  inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
180 
184  inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
185 
189  inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
190 
194  inline UpdateThreatIntelSetRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
195 
199  inline UpdateThreatIntelSetRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
200 
204  inline UpdateThreatIntelSetRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
205 
206 
211  inline bool GetActivate() const{ return m_activate; }
212 
217  inline bool ActivateHasBeenSet() const { return m_activateHasBeenSet; }
218 
223  inline void SetActivate(bool value) { m_activateHasBeenSet = true; m_activate = value; }
224 
229  inline UpdateThreatIntelSetRequest& WithActivate(bool value) { SetActivate(value); return *this;}
230 
231  private:
232 
233  Aws::String m_detectorId;
234  bool m_detectorIdHasBeenSet;
235 
236  Aws::String m_threatIntelSetId;
237  bool m_threatIntelSetIdHasBeenSet;
238 
239  Aws::String m_name;
240  bool m_nameHasBeenSet;
241 
242  Aws::String m_location;
243  bool m_locationHasBeenSet;
244 
245  bool m_activate;
246  bool m_activateHasBeenSet;
247  };
248 
249 } // namespace Model
250 } // namespace GuardDuty
251 } // namespace Aws
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::GetActivate
bool GetActivate() const
Definition: UpdateThreatIntelSetRequest.h:211
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithName
UpdateThreatIntelSetRequest & WithName(const char *value)
Definition: UpdateThreatIntelSetRequest.h:163
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithThreatIntelSetId
UpdateThreatIntelSetRequest & WithThreatIntelSetId(const Aws::String &value)
Definition: UpdateThreatIntelSetRequest.h:112
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: UpdateThreatIntelSetRequest.h:51
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithDetectorId
UpdateThreatIntelSetRequest & WithDetectorId(const Aws::String &value)
Definition: UpdateThreatIntelSetRequest.h:69
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetLocation
void SetLocation(const char *value)
Definition: UpdateThreatIntelSetRequest.h:189
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithActivate
UpdateThreatIntelSetRequest & WithActivate(bool value)
Definition: UpdateThreatIntelSetRequest.h:229
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithName
UpdateThreatIntelSetRequest & WithName(const Aws::String &value)
Definition: UpdateThreatIntelSetRequest.h:153
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetLocation
void SetLocation(const Aws::String &value)
Definition: UpdateThreatIntelSetRequest.h:179
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetThreatIntelSetId
void SetThreatIntelSetId(Aws::String &&value)
Definition: UpdateThreatIntelSetRequest.h:102
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetActivate
void SetActivate(bool value)
Definition: UpdateThreatIntelSetRequest.h:223
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetName
void SetName(Aws::String &&value)
Definition: UpdateThreatIntelSetRequest.h:143
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: UpdateThreatIntelSetRequest.h:39
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetThreatIntelSetId
void SetThreatIntelSetId(const Aws::String &value)
Definition: UpdateThreatIntelSetRequest.h:97
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithDetectorId
UpdateThreatIntelSetRequest & WithDetectorId(Aws::String &&value)
Definition: UpdateThreatIntelSetRequest.h:75
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithDetectorId
UpdateThreatIntelSetRequest & WithDetectorId(const char *value)
Definition: UpdateThreatIntelSetRequest.h:81
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: UpdateThreatIntelSetRequest.h:57
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: UpdateThreatIntelSetRequest.h:63
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::UpdateThreatIntelSetRequest
UpdateThreatIntelSetRequest()
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::ThreatIntelSetIdHasBeenSet
bool ThreatIntelSetIdHasBeenSet() const
Definition: UpdateThreatIntelSetRequest.h:92
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: UpdateThreatIntelSetRequest.h:45
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::GetName
const Aws::String & GetName() const
Definition: UpdateThreatIntelSetRequest.h:128
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetName
void SetName(const char *value)
Definition: UpdateThreatIntelSetRequest.h:148
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithLocation
UpdateThreatIntelSetRequest & WithLocation(const char *value)
Definition: UpdateThreatIntelSetRequest.h:204
AWSString.h
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithName
UpdateThreatIntelSetRequest & WithName(Aws::String &&value)
Definition: UpdateThreatIntelSetRequest.h:158
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithLocation
UpdateThreatIntelSetRequest & WithLocation(const Aws::String &value)
Definition: UpdateThreatIntelSetRequest.h:194
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithThreatIntelSetId
UpdateThreatIntelSetRequest & WithThreatIntelSetId(Aws::String &&value)
Definition: UpdateThreatIntelSetRequest.h:117
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetLocation
void SetLocation(Aws::String &&value)
Definition: UpdateThreatIntelSetRequest.h:184
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest
Definition: UpdateThreatIntelSetRequest.h:22
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetThreatIntelSetId
void SetThreatIntelSetId(const char *value)
Definition: UpdateThreatIntelSetRequest.h:107
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::GetLocation
const Aws::String & GetLocation() const
Definition: UpdateThreatIntelSetRequest.h:169
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::SetName
void SetName(const Aws::String &value)
Definition: UpdateThreatIntelSetRequest.h:138
GuardDutyRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithLocation
UpdateThreatIntelSetRequest & WithLocation(Aws::String &&value)
Definition: UpdateThreatIntelSetRequest.h:199
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: UpdateThreatIntelSetRequest.h:133
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::WithThreatIntelSetId
UpdateThreatIntelSetRequest & WithThreatIntelSetId(const char *value)
Definition: UpdateThreatIntelSetRequest.h:122
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::GetThreatIntelSetId
const Aws::String & GetThreatIntelSetId() const
Definition: UpdateThreatIntelSetRequest.h:87
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::ActivateHasBeenSet
bool ActivateHasBeenSet() const
Definition: UpdateThreatIntelSetRequest.h:217
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::LocationHasBeenSet
bool LocationHasBeenSet() const
Definition: UpdateThreatIntelSetRequest.h:174
Aws::GuardDuty::Model::UpdateThreatIntelSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateThreatIntelSetRequest.h:30