AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetFindingHistoryRequest.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/securityhub/model/AwsSecurityFindingIdentifier.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace SecurityHub
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_SECURITYHUB_API GetFindingHistoryRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "GetFindingHistory"; }
33
34 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
35
36
38
39 inline const AwsSecurityFindingIdentifier& GetFindingIdentifier() const { return m_findingIdentifier; }
40 inline bool FindingIdentifierHasBeenSet() const { return m_findingIdentifierHasBeenSet; }
41 template<typename FindingIdentifierT = AwsSecurityFindingIdentifier>
42 void SetFindingIdentifier(FindingIdentifierT&& value) { m_findingIdentifierHasBeenSet = true; m_findingIdentifier = std::forward<FindingIdentifierT>(value); }
43 template<typename FindingIdentifierT = AwsSecurityFindingIdentifier>
44 GetFindingHistoryRequest& WithFindingIdentifier(FindingIdentifierT&& value) { SetFindingIdentifier(std::forward<FindingIdentifierT>(value)); return *this;}
46
48
66 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
67 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
68 template<typename StartTimeT = Aws::Utils::DateTime>
69 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
70 template<typename StartTimeT = Aws::Utils::DateTime>
71 GetFindingHistoryRequest& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
73
75
93 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
94 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
95 template<typename EndTimeT = Aws::Utils::DateTime>
96 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
97 template<typename EndTimeT = Aws::Utils::DateTime>
98 GetFindingHistoryRequest& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
100
102
109 inline const Aws::String& GetNextToken() const { return m_nextToken; }
110 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
111 template<typename NextTokenT = Aws::String>
112 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
113 template<typename NextTokenT = Aws::String>
114 GetFindingHistoryRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
116
118
122 inline int GetMaxResults() const { return m_maxResults; }
123 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
124 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
125 inline GetFindingHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
127 private:
128
129 AwsSecurityFindingIdentifier m_findingIdentifier;
130 bool m_findingIdentifierHasBeenSet = false;
131
132 Aws::Utils::DateTime m_startTime{};
133 bool m_startTimeHasBeenSet = false;
134
135 Aws::Utils::DateTime m_endTime{};
136 bool m_endTimeHasBeenSet = false;
137
138 Aws::String m_nextToken;
139 bool m_nextTokenHasBeenSet = false;
140
141 int m_maxResults{0};
142 bool m_maxResultsHasBeenSet = false;
143 };
144
145} // namespace Model
146} // namespace SecurityHub
147} // namespace Aws
AWS_SECURITYHUB_API GetFindingHistoryRequest()=default
const AwsSecurityFindingIdentifier & GetFindingIdentifier() const
GetFindingHistoryRequest & WithFindingIdentifier(FindingIdentifierT &&value)
GetFindingHistoryRequest & WithNextToken(NextTokenT &&value)
GetFindingHistoryRequest & WithEndTime(EndTimeT &&value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
GetFindingHistoryRequest & WithStartTime(StartTimeT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String