AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateThreatIntelSetRequest.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 UpdateThreatIntelSetRequest();
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_GUARDDUTY_API Aws::String SerializePayload() const override;
33
34
36
40 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
41 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
42 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
43 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
44 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
45 inline UpdateThreatIntelSetRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
46 inline UpdateThreatIntelSetRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
47 inline UpdateThreatIntelSetRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
49
51
54 inline const Aws::String& GetThreatIntelSetId() const{ return m_threatIntelSetId; }
55 inline bool ThreatIntelSetIdHasBeenSet() const { return m_threatIntelSetIdHasBeenSet; }
56 inline void SetThreatIntelSetId(const Aws::String& value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId = value; }
57 inline void SetThreatIntelSetId(Aws::String&& value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId = std::move(value); }
58 inline void SetThreatIntelSetId(const char* value) { m_threatIntelSetIdHasBeenSet = true; m_threatIntelSetId.assign(value); }
60 inline UpdateThreatIntelSetRequest& WithThreatIntelSetId(Aws::String&& value) { SetThreatIntelSetId(std::move(value)); return *this;}
61 inline UpdateThreatIntelSetRequest& WithThreatIntelSetId(const char* value) { SetThreatIntelSetId(value); return *this;}
63
65
68 inline const Aws::String& GetName() const{ return m_name; }
69 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
70 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
71 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
72 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
73 inline UpdateThreatIntelSetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
74 inline UpdateThreatIntelSetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
75 inline UpdateThreatIntelSetRequest& WithName(const char* value) { SetName(value); return *this;}
77
79
82 inline const Aws::String& GetLocation() const{ return m_location; }
83 inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; }
84 inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; }
85 inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); }
86 inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); }
87 inline UpdateThreatIntelSetRequest& WithLocation(const Aws::String& value) { SetLocation(value); return *this;}
88 inline UpdateThreatIntelSetRequest& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;}
89 inline UpdateThreatIntelSetRequest& WithLocation(const char* value) { SetLocation(value); return *this;}
91
93
97 inline bool GetActivate() const{ return m_activate; }
98 inline bool ActivateHasBeenSet() const { return m_activateHasBeenSet; }
99 inline void SetActivate(bool value) { m_activateHasBeenSet = true; m_activate = value; }
100 inline UpdateThreatIntelSetRequest& WithActivate(bool value) { SetActivate(value); return *this;}
102 private:
103
104 Aws::String m_detectorId;
105 bool m_detectorIdHasBeenSet = false;
106
107 Aws::String m_threatIntelSetId;
108 bool m_threatIntelSetIdHasBeenSet = false;
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Aws::String m_location;
114 bool m_locationHasBeenSet = false;
115
116 bool m_activate;
117 bool m_activateHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace GuardDuty
122} // namespace Aws
AWS_GUARDDUTY_API Aws::String SerializePayload() const override
UpdateThreatIntelSetRequest & WithDetectorId(const Aws::String &value)
UpdateThreatIntelSetRequest & WithLocation(const Aws::String &value)
UpdateThreatIntelSetRequest & WithDetectorId(Aws::String &&value)
UpdateThreatIntelSetRequest & WithThreatIntelSetId(const char *value)
UpdateThreatIntelSetRequest & WithActivate(bool value)
UpdateThreatIntelSetRequest & WithDetectorId(const char *value)
UpdateThreatIntelSetRequest & WithThreatIntelSetId(Aws::String &&value)
UpdateThreatIntelSetRequest & WithThreatIntelSetId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
UpdateThreatIntelSetRequest & WithName(const Aws::String &value)
UpdateThreatIntelSetRequest & WithLocation(const char *value)
UpdateThreatIntelSetRequest & WithLocation(Aws::String &&value)
UpdateThreatIntelSetRequest & WithName(const char *value)
UpdateThreatIntelSetRequest & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String