AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
UpdateFindingAggregatorResult.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 UpdateFindingAggregatorResult() = default;
29
31
34 inline const Aws::String& GetFindingAggregatorArn() const { return m_findingAggregatorArn; }
35 template <typename FindingAggregatorArnT = Aws::String>
36 void SetFindingAggregatorArn(FindingAggregatorArnT&& value) {
37 m_findingAggregatorArnHasBeenSet = true;
38 m_findingAggregatorArn = std::forward<FindingAggregatorArnT>(value);
39 }
40 template <typename FindingAggregatorArnT = Aws::String>
42 SetFindingAggregatorArn(std::forward<FindingAggregatorArnT>(value));
43 return *this;
44 }
46
48
52 inline const Aws::String& GetFindingAggregationRegion() const { return m_findingAggregationRegion; }
53 template <typename FindingAggregationRegionT = Aws::String>
54 void SetFindingAggregationRegion(FindingAggregationRegionT&& value) {
55 m_findingAggregationRegionHasBeenSet = true;
56 m_findingAggregationRegion = std::forward<FindingAggregationRegionT>(value);
57 }
58 template <typename FindingAggregationRegionT = Aws::String>
59 UpdateFindingAggregatorResult& WithFindingAggregationRegion(FindingAggregationRegionT&& value) {
60 SetFindingAggregationRegion(std::forward<FindingAggregationRegionT>(value));
61 return *this;
62 }
64
66
70 inline const Aws::String& GetRegionLinkingMode() const { return m_regionLinkingMode; }
71 template <typename RegionLinkingModeT = Aws::String>
72 void SetRegionLinkingMode(RegionLinkingModeT&& value) {
73 m_regionLinkingModeHasBeenSet = true;
74 m_regionLinkingMode = std::forward<RegionLinkingModeT>(value);
75 }
76 template <typename RegionLinkingModeT = Aws::String>
78 SetRegionLinkingMode(std::forward<RegionLinkingModeT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
88 template <typename RegionsT = Aws::Vector<Aws::String>>
89 void SetRegions(RegionsT&& value) {
90 m_regionsHasBeenSet = true;
91 m_regions = std::forward<RegionsT>(value);
92 }
93 template <typename RegionsT = Aws::Vector<Aws::String>>
95 SetRegions(std::forward<RegionsT>(value));
96 return *this;
97 }
98 template <typename RegionsT = Aws::String>
100 m_regionsHasBeenSet = true;
101 m_regions.emplace_back(std::forward<RegionsT>(value));
102 return *this;
103 }
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template <typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) {
111 m_requestIdHasBeenSet = true;
112 m_requestId = std::forward<RequestIdT>(value);
113 }
114 template <typename RequestIdT = Aws::String>
116 SetRequestId(std::forward<RequestIdT>(value));
117 return *this;
118 }
120 private:
121 Aws::String m_findingAggregatorArn;
122
123 Aws::String m_findingAggregationRegion;
124
125 Aws::String m_regionLinkingMode;
126
127 Aws::Vector<Aws::String> m_regions;
128
129 Aws::String m_requestId;
130 bool m_findingAggregatorArnHasBeenSet = false;
131 bool m_findingAggregationRegionHasBeenSet = false;
132 bool m_regionLinkingModeHasBeenSet = false;
133 bool m_regionsHasBeenSet = false;
134 bool m_requestIdHasBeenSet = false;
135};
136
137} // namespace Model
138} // namespace SecurityHub
139} // namespace Aws
AWS_SECURITYHUB_API UpdateFindingAggregatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFindingAggregatorResult & WithRegions(RegionsT &&value)
AWS_SECURITYHUB_API UpdateFindingAggregatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SECURITYHUB_API UpdateFindingAggregatorResult()=default
void SetFindingAggregationRegion(FindingAggregationRegionT &&value)
UpdateFindingAggregatorResult & AddRegions(RegionsT &&value)
UpdateFindingAggregatorResult & WithFindingAggregatorArn(FindingAggregatorArnT &&value)
UpdateFindingAggregatorResult & WithFindingAggregationRegion(FindingAggregationRegionT &&value)
UpdateFindingAggregatorResult & WithRegionLinkingMode(RegionLinkingModeT &&value)
UpdateFindingAggregatorResult & WithRequestId(RequestIdT &&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