AWS SDK for C++  1.9.106
AWS SDK for C++
UnarchiveFindingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace GuardDuty
16 {
17 namespace Model
18 {
19 
23  {
24  public:
26 
27  // Service request name is the Operation name which will send this request out,
28  // each operation should has unique request name, so that we can get operation's name from this request.
29  // Note: this is not true for response, multiple operations may have the same response name,
30  // so we can not get operation's name from response.
31  inline virtual const char* GetServiceRequestName() const override { return "UnarchiveFindings"; }
32 
33  Aws::String SerializePayload() const override;
34 
35 
39  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
40 
44  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
45 
49  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
50 
54  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
55 
59  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
60 
64  inline UnarchiveFindingsRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
65 
69  inline UnarchiveFindingsRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
70 
74  inline UnarchiveFindingsRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
75 
76 
80  inline const Aws::Vector<Aws::String>& GetFindingIds() const{ return m_findingIds; }
81 
85  inline bool FindingIdsHasBeenSet() const { return m_findingIdsHasBeenSet; }
86 
90  inline void SetFindingIds(const Aws::Vector<Aws::String>& value) { m_findingIdsHasBeenSet = true; m_findingIds = value; }
91 
95  inline void SetFindingIds(Aws::Vector<Aws::String>&& value) { m_findingIdsHasBeenSet = true; m_findingIds = std::move(value); }
96 
100  inline UnarchiveFindingsRequest& WithFindingIds(const Aws::Vector<Aws::String>& value) { SetFindingIds(value); return *this;}
101 
105  inline UnarchiveFindingsRequest& WithFindingIds(Aws::Vector<Aws::String>&& value) { SetFindingIds(std::move(value)); return *this;}
106 
110  inline UnarchiveFindingsRequest& AddFindingIds(const Aws::String& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
111 
115  inline UnarchiveFindingsRequest& AddFindingIds(Aws::String&& value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(std::move(value)); return *this; }
116 
120  inline UnarchiveFindingsRequest& AddFindingIds(const char* value) { m_findingIdsHasBeenSet = true; m_findingIds.push_back(value); return *this; }
121 
122  private:
123 
124  Aws::String m_detectorId;
125  bool m_detectorIdHasBeenSet;
126 
127  Aws::Vector<Aws::String> m_findingIds;
128  bool m_findingIdsHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace GuardDuty
133 } // namespace Aws
Aws::GuardDuty::Model::UnarchiveFindingsRequest::AddFindingIds
UnarchiveFindingsRequest & AddFindingIds(Aws::String &&value)
Definition: UnarchiveFindingsRequest.h:115
Aws::GuardDuty::Model::UnarchiveFindingsRequest::WithFindingIds
UnarchiveFindingsRequest & WithFindingIds(Aws::Vector< Aws::String > &&value)
Definition: UnarchiveFindingsRequest.h:105
Aws::GuardDuty::Model::UnarchiveFindingsRequest::AddFindingIds
UnarchiveFindingsRequest & AddFindingIds(const char *value)
Definition: UnarchiveFindingsRequest.h:120
Aws::GuardDuty::Model::UnarchiveFindingsRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: UnarchiveFindingsRequest.h:54
Aws::GuardDuty::Model::UnarchiveFindingsRequest::SetFindingIds
void SetFindingIds(Aws::Vector< Aws::String > &&value)
Definition: UnarchiveFindingsRequest.h:95
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::GuardDuty::Model::UnarchiveFindingsRequest::SetFindingIds
void SetFindingIds(const Aws::Vector< Aws::String > &value)
Definition: UnarchiveFindingsRequest.h:90
GuardDuty_EXPORTS.h
Aws::GuardDuty::Model::UnarchiveFindingsRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_GUARDDUTY_API
#define AWS_GUARDDUTY_API
Definition: GuardDuty_EXPORTS.h:28
Aws::GuardDuty::Model::UnarchiveFindingsRequest::GetFindingIds
const Aws::Vector< Aws::String > & GetFindingIds() const
Definition: UnarchiveFindingsRequest.h:80
Aws::GuardDuty::Model::UnarchiveFindingsRequest::AddFindingIds
UnarchiveFindingsRequest & AddFindingIds(const Aws::String &value)
Definition: UnarchiveFindingsRequest.h:110
AWSString.h
Aws::GuardDuty::Model::UnarchiveFindingsRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: UnarchiveFindingsRequest.h:49
Aws::GuardDuty::Model::UnarchiveFindingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UnarchiveFindingsRequest.h:31
Aws::GuardDuty::Model::UnarchiveFindingsRequest::WithDetectorId
UnarchiveFindingsRequest & WithDetectorId(const char *value)
Definition: UnarchiveFindingsRequest.h:74
Aws::GuardDuty::Model::UnarchiveFindingsRequest::WithDetectorId
UnarchiveFindingsRequest & WithDetectorId(const Aws::String &value)
Definition: UnarchiveFindingsRequest.h:64
Aws::GuardDuty::Model::UnarchiveFindingsRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: UnarchiveFindingsRequest.h:44
Aws::GuardDuty::Model::UnarchiveFindingsRequest::FindingIdsHasBeenSet
bool FindingIdsHasBeenSet() const
Definition: UnarchiveFindingsRequest.h:85
Aws::GuardDuty::Model::UnarchiveFindingsRequest
Definition: UnarchiveFindingsRequest.h:23
Aws::GuardDuty::Model::UnarchiveFindingsRequest::WithFindingIds
UnarchiveFindingsRequest & WithFindingIds(const Aws::Vector< Aws::String > &value)
Definition: UnarchiveFindingsRequest.h:100
Aws::GuardDuty::Model::UnarchiveFindingsRequest::WithDetectorId
UnarchiveFindingsRequest & WithDetectorId(Aws::String &&value)
Definition: UnarchiveFindingsRequest.h:69
Aws::GuardDuty::Model::UnarchiveFindingsRequest::UnarchiveFindingsRequest
UnarchiveFindingsRequest()
Aws
Definition: AccessManagementClient.h:15
GuardDutyRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GuardDuty::GuardDutyRequest
Definition: GuardDutyRequest.h:17
Aws::GuardDuty::Model::UnarchiveFindingsRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: UnarchiveFindingsRequest.h:39
Aws::GuardDuty::Model::UnarchiveFindingsRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: UnarchiveFindingsRequest.h:59