AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
CreateFindingAggregatorResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub {
23namespace Model {
25 public:
26 AWS_SECURITYHUB_API CreateFindingAggregatorResult() = default;
29
31
35 inline const Aws::String& GetFindingAggregatorArn() const { return m_findingAggregatorArn; }
36 template <typename FindingAggregatorArnT = Aws::String>
37 void SetFindingAggregatorArn(FindingAggregatorArnT&& value) {
38 m_findingAggregatorArnHasBeenSet = true;
39 m_findingAggregatorArn = std::forward<FindingAggregatorArnT>(value);
40 }
41 template <typename FindingAggregatorArnT = Aws::String>
43 SetFindingAggregatorArn(std::forward<FindingAggregatorArnT>(value));
44 return *this;
45 }
47
49
53 inline const Aws::String& GetFindingAggregationRegion() const { return m_findingAggregationRegion; }
54 template <typename FindingAggregationRegionT = Aws::String>
55 void SetFindingAggregationRegion(FindingAggregationRegionT&& value) {
56 m_findingAggregationRegionHasBeenSet = true;
57 m_findingAggregationRegion = std::forward<FindingAggregationRegionT>(value);
58 }
59 template <typename FindingAggregationRegionT = Aws::String>
60 CreateFindingAggregatorResult& WithFindingAggregationRegion(FindingAggregationRegionT&& value) {
61 SetFindingAggregationRegion(std::forward<FindingAggregationRegionT>(value));
62 return *this;
63 }
65
67
71 inline const Aws::String& GetRegionLinkingMode() const { return m_regionLinkingMode; }
72 template <typename RegionLinkingModeT = Aws::String>
73 void SetRegionLinkingMode(RegionLinkingModeT&& value) {
74 m_regionLinkingModeHasBeenSet = true;
75 m_regionLinkingMode = std::forward<RegionLinkingModeT>(value);
76 }
77 template <typename RegionLinkingModeT = Aws::String>
79 SetRegionLinkingMode(std::forward<RegionLinkingModeT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
89 template <typename RegionsT = Aws::Vector<Aws::String>>
90 void SetRegions(RegionsT&& value) {
91 m_regionsHasBeenSet = true;
92 m_regions = std::forward<RegionsT>(value);
93 }
94 template <typename RegionsT = Aws::Vector<Aws::String>>
96 SetRegions(std::forward<RegionsT>(value));
97 return *this;
98 }
99 template <typename RegionsT = Aws::String>
101 m_regionsHasBeenSet = true;
102 m_regions.emplace_back(std::forward<RegionsT>(value));
103 return *this;
104 }
106
108
109 inline const Aws::String& GetRequestId() const { return m_requestId; }
110 template <typename RequestIdT = Aws::String>
111 void SetRequestId(RequestIdT&& value) {
112 m_requestIdHasBeenSet = true;
113 m_requestId = std::forward<RequestIdT>(value);
114 }
115 template <typename RequestIdT = Aws::String>
117 SetRequestId(std::forward<RequestIdT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_findingAggregatorArn;
123
124 Aws::String m_findingAggregationRegion;
125
126 Aws::String m_regionLinkingMode;
127
128 Aws::Vector<Aws::String> m_regions;
129
130 Aws::String m_requestId;
131 bool m_findingAggregatorArnHasBeenSet = false;
132 bool m_findingAggregationRegionHasBeenSet = false;
133 bool m_regionLinkingModeHasBeenSet = false;
134 bool m_regionsHasBeenSet = false;
135 bool m_requestIdHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace SecurityHub
140} // namespace Aws
CreateFindingAggregatorResult & WithRequestId(RequestIdT &&value)
CreateFindingAggregatorResult & WithRegions(RegionsT &&value)
CreateFindingAggregatorResult & WithFindingAggregatorArn(FindingAggregatorArnT &&value)
CreateFindingAggregatorResult & WithFindingAggregationRegion(FindingAggregationRegionT &&value)
void SetFindingAggregationRegion(FindingAggregationRegionT &&value)
AWS_SECURITYHUB_API CreateFindingAggregatorResult()=default
CreateFindingAggregatorResult & AddRegions(RegionsT &&value)
AWS_SECURITYHUB_API CreateFindingAggregatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYHUB_API CreateFindingAggregatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFindingAggregatorResult & WithRegionLinkingMode(RegionLinkingModeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue