AWS SDK for C++  1.8.128
AWS SDK for C++
GetThreatIntelSetRequest.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 "GetThreatIntelSet"; }
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 GetThreatIntelSetRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
64 
68  inline GetThreatIntelSetRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
69 
73  inline GetThreatIntelSetRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
74 
75 
79  inline const Aws::String& GetThreatIntelSetId() const{ return m_threatIntelSetId; }
80 
84  inline bool ThreatIntelSetIdHasBeenSet() const { return m_threatIntelSetIdHasBeenSet; }
85 
89  inline void SetThreatIntelSetId(const Aws::String& value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId = value; }
90 
94  inline void SetThreatIntelSetId(Aws::String&& value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId = std::move(value); }
95 
99  inline void SetThreatIntelSetId(const char* value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId.assign(value); }
100 
104  inline GetThreatIntelSetRequest& WithThreatIntelSetId(const Aws::String& value) { SetThreatIntelSetId(value); return *this;}
105 
109  inline GetThreatIntelSetRequest& WithThreatIntelSetId(Aws::String&& value) { SetThreatIntelSetId(std::move(value)); return *this;}
110 
114  inline GetThreatIntelSetRequest& WithThreatIntelSetId(const char* value) { SetThreatIntelSetId(value); return *this;}
115 
116  private:
117 
118  Aws::String m_detectorId;
119  bool m_detectorIdHasBeenSet;
120 
121  Aws::String m_threatIntelSetId;
122  bool m_threatIntelSetIdHasBeenSet;
123  };
124 
125 } // namespace Model
126 } // namespace GuardDuty
127 } // namespace Aws
Aws::GuardDuty::Model::GetThreatIntelSetRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: GetThreatIntelSetRequest.h:53
Aws::GuardDuty::Model::GetThreatIntelSetRequest::SetThreatIntelSetId
void SetThreatIntelSetId(Aws::String &&value)
Definition: GetThreatIntelSetRequest.h:94
Aws::GuardDuty::Model::GetThreatIntelSetRequest::WithThreatIntelSetId
GetThreatIntelSetRequest & WithThreatIntelSetId(const char *value)
Definition: GetThreatIntelSetRequest.h:114
Aws::GuardDuty::Model::GetThreatIntelSetRequest::WithDetectorId
GetThreatIntelSetRequest & WithDetectorId(Aws::String &&value)
Definition: GetThreatIntelSetRequest.h:68
Aws::GuardDuty::Model::GetThreatIntelSetRequest::SetThreatIntelSetId
void SetThreatIntelSetId(const Aws::String &value)
Definition: GetThreatIntelSetRequest.h:89
Aws::GuardDuty::Model::GetThreatIntelSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetThreatIntelSetRequest.h:30
Aws::GuardDuty::Model::GetThreatIntelSetRequest::GetThreatIntelSetRequest
GetThreatIntelSetRequest()
GuardDuty_EXPORTS.h
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::GetThreatIntelSetRequest::WithThreatIntelSetId
GetThreatIntelSetRequest & WithThreatIntelSetId(Aws::String &&value)
Definition: GetThreatIntelSetRequest.h:109
Aws::GuardDuty::Model::GetThreatIntelSetRequest::SerializePayload
Aws::String SerializePayload() const override
AWSString.h
Aws::GuardDuty::Model::GetThreatIntelSetRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: GetThreatIntelSetRequest.h:38
Aws::GuardDuty::Model::GetThreatIntelSetRequest::SetThreatIntelSetId
void SetThreatIntelSetId(const char *value)
Definition: GetThreatIntelSetRequest.h:99
Aws::GuardDuty::Model::GetThreatIntelSetRequest::WithDetectorId
GetThreatIntelSetRequest & WithDetectorId(const Aws::String &value)
Definition: GetThreatIntelSetRequest.h:63
Aws::GuardDuty::Model::GetThreatIntelSetRequest::WithThreatIntelSetId
GetThreatIntelSetRequest & WithThreatIntelSetId(const Aws::String &value)
Definition: GetThreatIntelSetRequest.h:104
Aws::GuardDuty::Model::GetThreatIntelSetRequest::WithDetectorId
GetThreatIntelSetRequest & WithDetectorId(const char *value)
Definition: GetThreatIntelSetRequest.h:73
Aws::GuardDuty::Model::GetThreatIntelSetRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: GetThreatIntelSetRequest.h:58
Aws
Definition: AccessManagementClient.h:15
Aws::GuardDuty::Model::GetThreatIntelSetRequest
Definition: GetThreatIntelSetRequest.h:22
GuardDutyRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::Model::GetThreatIntelSetRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: GetThreatIntelSetRequest.h:48
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::GetThreatIntelSetRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: GetThreatIntelSetRequest.h:43
Aws::GuardDuty::Model::GetThreatIntelSetRequest::ThreatIntelSetIdHasBeenSet
bool ThreatIntelSetIdHasBeenSet() const
Definition: GetThreatIntelSetRequest.h:84
Aws::GuardDuty::Model::GetThreatIntelSetRequest::GetThreatIntelSetId
const Aws::String & GetThreatIntelSetId() const
Definition: GetThreatIntelSetRequest.h:79