AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
GetFindingsStatisticsResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/FindingStatistics.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace GuardDuty {
24namespace Model {
26 public:
27 AWS_GUARDDUTY_API GetFindingsStatisticsResult() = default;
30
32
35 inline const FindingStatistics& GetFindingStatistics() const { return m_findingStatistics; }
36 template <typename FindingStatisticsT = FindingStatistics>
37 void SetFindingStatistics(FindingStatisticsT&& value) {
38 m_findingStatisticsHasBeenSet = true;
39 m_findingStatistics = std::forward<FindingStatisticsT>(value);
40 }
41 template <typename FindingStatisticsT = FindingStatistics>
43 SetFindingStatistics(std::forward<FindingStatisticsT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetNextToken() const { return m_nextToken; }
54 template <typename NextTokenT = Aws::String>
55 void SetNextToken(NextTokenT&& value) {
56 m_nextTokenHasBeenSet = true;
57 m_nextToken = std::forward<NextTokenT>(value);
58 }
59 template <typename NextTokenT = Aws::String>
61 SetNextToken(std::forward<NextTokenT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
81
82 private:
83 FindingStatistics m_findingStatistics;
84
85 Aws::String m_nextToken;
86
87 Aws::String m_requestId;
88 Aws::Http::HttpResponseCode m_HttpResponseCode;
89 bool m_findingStatisticsHasBeenSet = false;
90 bool m_nextTokenHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace GuardDuty
96} // namespace Aws
GetFindingsStatisticsResult & WithNextToken(NextTokenT &&value)
AWS_GUARDDUTY_API GetFindingsStatisticsResult()=default
GetFindingsStatisticsResult & WithRequestId(RequestIdT &&value)
AWS_GUARDDUTY_API GetFindingsStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFindingsStatisticsResult & WithFindingStatistics(FindingStatisticsT &&value)
AWS_GUARDDUTY_API GetFindingsStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue