AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFindingIdentifier(const AwsSecurityFindingIdentifier& value) { m_findingIdentifierHasBeenSet = true; m_findingIdentifier = value; }
42 inline void SetFindingIdentifier(AwsSecurityFindingIdentifier&& value) { m_findingIdentifierHasBeenSet = true; m_findingIdentifier = std::move(value); }
46
48
78 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
79 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
80 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
81 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
82 inline GetFindingHistoryRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
83 inline GetFindingHistoryRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
85
87
117 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
118 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
119 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
120 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
121 inline GetFindingHistoryRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
122 inline GetFindingHistoryRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
124
126
133 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
134 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
135 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
136 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
137 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
138 inline GetFindingHistoryRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
139 inline GetFindingHistoryRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
140 inline GetFindingHistoryRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142
144
148 inline int GetMaxResults() const{ return m_maxResults; }
149 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
150 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
151 inline GetFindingHistoryRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
153 private:
154
155 AwsSecurityFindingIdentifier m_findingIdentifier;
156 bool m_findingIdentifierHasBeenSet = false;
157
158 Aws::Utils::DateTime m_startTime;
159 bool m_startTimeHasBeenSet = false;
160
161 Aws::Utils::DateTime m_endTime;
162 bool m_endTimeHasBeenSet = false;
163
164 Aws::String m_nextToken;
165 bool m_nextTokenHasBeenSet = false;
166
167 int m_maxResults;
168 bool m_maxResultsHasBeenSet = false;
169 };
170
171} // namespace Model
172} // namespace SecurityHub
173} // namespace Aws
GetFindingHistoryRequest & WithNextToken(Aws::String &&value)
GetFindingHistoryRequest & WithNextToken(const Aws::String &value)
const AwsSecurityFindingIdentifier & GetFindingIdentifier() const
void SetFindingIdentifier(AwsSecurityFindingIdentifier &&value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
GetFindingHistoryRequest & WithNextToken(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
GetFindingHistoryRequest & WithStartTime(Aws::Utils::DateTime &&value)
GetFindingHistoryRequest & WithStartTime(const Aws::Utils::DateTime &value)
void SetFindingIdentifier(const AwsSecurityFindingIdentifier &value)
GetFindingHistoryRequest & WithEndTime(Aws::Utils::DateTime &&value)
GetFindingHistoryRequest & WithFindingIdentifier(const AwsSecurityFindingIdentifier &value)
GetFindingHistoryRequest & WithFindingIdentifier(AwsSecurityFindingIdentifier &&value)
GetFindingHistoryRequest & WithEndTime(const Aws::Utils::DateTime &value)
void SetEndTime(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String