AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetFindingStatisticsResult.h
1
6#pragma once
7#include <aws/macie2/Macie2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/macie2/model/GroupCount.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Macie2
26{
27namespace Model
28{
30 {
31 public:
32 AWS_MACIE2_API GetFindingStatisticsResult() = default;
35
36
38
42 inline const Aws::Vector<GroupCount>& GetCountsByGroup() const { return m_countsByGroup; }
43 template<typename CountsByGroupT = Aws::Vector<GroupCount>>
44 void SetCountsByGroup(CountsByGroupT&& value) { m_countsByGroupHasBeenSet = true; m_countsByGroup = std::forward<CountsByGroupT>(value); }
45 template<typename CountsByGroupT = Aws::Vector<GroupCount>>
46 GetFindingStatisticsResult& WithCountsByGroup(CountsByGroupT&& value) { SetCountsByGroup(std::forward<CountsByGroupT>(value)); return *this;}
47 template<typename CountsByGroupT = GroupCount>
48 GetFindingStatisticsResult& AddCountsByGroup(CountsByGroupT&& value) { m_countsByGroupHasBeenSet = true; m_countsByGroup.emplace_back(std::forward<CountsByGroupT>(value)); return *this; }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template<typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
56 template<typename RequestIdT = Aws::String>
57 GetFindingStatisticsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
59 private:
60
61 Aws::Vector<GroupCount> m_countsByGroup;
62 bool m_countsByGroupHasBeenSet = false;
63
64 Aws::String m_requestId;
65 bool m_requestIdHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace Macie2
70} // namespace Aws
AWS_MACIE2_API GetFindingStatisticsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFindingStatisticsResult & WithRequestId(RequestIdT &&value)
AWS_MACIE2_API GetFindingStatisticsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFindingStatisticsResult & WithCountsByGroup(CountsByGroupT &&value)
AWS_MACIE2_API GetFindingStatisticsResult()=default
GetFindingStatisticsResult & AddCountsByGroup(CountsByGroupT &&value)
const Aws::Vector< GroupCount > & GetCountsByGroup() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue