AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UpdateFindingAggregatorResult.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace SecurityHub
25{
26namespace Model
27{
29 {
30 public:
31 AWS_SECURITYHUB_API UpdateFindingAggregatorResult() = default;
34
35
37
40 inline const Aws::String& GetFindingAggregatorArn() const { return m_findingAggregatorArn; }
41 template<typename FindingAggregatorArnT = Aws::String>
42 void SetFindingAggregatorArn(FindingAggregatorArnT&& value) { m_findingAggregatorArnHasBeenSet = true; m_findingAggregatorArn = std::forward<FindingAggregatorArnT>(value); }
43 template<typename FindingAggregatorArnT = Aws::String>
44 UpdateFindingAggregatorResult& WithFindingAggregatorArn(FindingAggregatorArnT&& value) { SetFindingAggregatorArn(std::forward<FindingAggregatorArnT>(value)); return *this;}
46
48
52 inline const Aws::String& GetFindingAggregationRegion() const { return m_findingAggregationRegion; }
53 template<typename FindingAggregationRegionT = Aws::String>
54 void SetFindingAggregationRegion(FindingAggregationRegionT&& value) { m_findingAggregationRegionHasBeenSet = true; m_findingAggregationRegion = std::forward<FindingAggregationRegionT>(value); }
55 template<typename FindingAggregationRegionT = Aws::String>
56 UpdateFindingAggregatorResult& WithFindingAggregationRegion(FindingAggregationRegionT&& value) { SetFindingAggregationRegion(std::forward<FindingAggregationRegionT>(value)); return *this;}
58
60
64 inline const Aws::String& GetRegionLinkingMode() const { return m_regionLinkingMode; }
65 template<typename RegionLinkingModeT = Aws::String>
66 void SetRegionLinkingMode(RegionLinkingModeT&& value) { m_regionLinkingModeHasBeenSet = true; m_regionLinkingMode = std::forward<RegionLinkingModeT>(value); }
67 template<typename RegionLinkingModeT = Aws::String>
68 UpdateFindingAggregatorResult& WithRegionLinkingMode(RegionLinkingModeT&& value) { SetRegionLinkingMode(std::forward<RegionLinkingModeT>(value)); return *this;}
70
72
75 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
76 template<typename RegionsT = Aws::Vector<Aws::String>>
77 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet = true; m_regions = std::forward<RegionsT>(value); }
78 template<typename RegionsT = Aws::Vector<Aws::String>>
79 UpdateFindingAggregatorResult& WithRegions(RegionsT&& value) { SetRegions(std::forward<RegionsT>(value)); return *this;}
80 template<typename RegionsT = Aws::String>
81 UpdateFindingAggregatorResult& AddRegions(RegionsT&& value) { m_regionsHasBeenSet = true; m_regions.emplace_back(std::forward<RegionsT>(value)); return *this; }
83
85
86 inline const Aws::String& GetRequestId() const { return m_requestId; }
87 template<typename RequestIdT = Aws::String>
88 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
89 template<typename RequestIdT = Aws::String>
90 UpdateFindingAggregatorResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
92 private:
93
94 Aws::String m_findingAggregatorArn;
95 bool m_findingAggregatorArnHasBeenSet = false;
96
97 Aws::String m_findingAggregationRegion;
98 bool m_findingAggregationRegionHasBeenSet = false;
99
100 Aws::String m_regionLinkingMode;
101 bool m_regionLinkingModeHasBeenSet = false;
102
103 Aws::Vector<Aws::String> m_regions;
104 bool m_regionsHasBeenSet = false;
105
106 Aws::String m_requestId;
107 bool m_requestIdHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SecurityHub
112} // 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