AWS SDK for C++

AWS SDK for C++ Version 1.11.785

Loading...
Searching...
No Matches
UpdateFindingAggregatorResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/SecurityHub_EXPORTS.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 SecurityHub {
24namespace Model {
26 public:
27 AWS_SECURITYHUB_API UpdateFindingAggregatorResult() = default;
30
32
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 UpdateFindingAggregatorResult& 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 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
122
123 private:
124 Aws::String m_findingAggregatorArn;
125
126 Aws::String m_findingAggregationRegion;
127
128 Aws::String m_regionLinkingMode;
129
130 Aws::Vector<Aws::String> m_regions;
131
132 Aws::String m_requestId;
133 Aws::Http::HttpResponseCode m_HttpResponseCode;
134 bool m_findingAggregatorArnHasBeenSet = false;
135 bool m_findingAggregationRegionHasBeenSet = false;
136 bool m_regionLinkingModeHasBeenSet = false;
137 bool m_regionsHasBeenSet = false;
138 bool m_requestIdHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace SecurityHub
143} // 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