AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
34
35
37
40 inline const Aws::String& GetFindingAggregatorArn() const{ return m_findingAggregatorArn; }
41 inline void SetFindingAggregatorArn(const Aws::String& value) { m_findingAggregatorArn = value; }
42 inline void SetFindingAggregatorArn(Aws::String&& value) { m_findingAggregatorArn = std::move(value); }
43 inline void SetFindingAggregatorArn(const char* value) { m_findingAggregatorArn.assign(value); }
46 inline UpdateFindingAggregatorResult& WithFindingAggregatorArn(const char* value) { SetFindingAggregatorArn(value); return *this;}
48
50
54 inline const Aws::String& GetFindingAggregationRegion() const{ return m_findingAggregationRegion; }
55 inline void SetFindingAggregationRegion(const Aws::String& value) { m_findingAggregationRegion = value; }
56 inline void SetFindingAggregationRegion(Aws::String&& value) { m_findingAggregationRegion = std::move(value); }
57 inline void SetFindingAggregationRegion(const char* value) { m_findingAggregationRegion.assign(value); }
62
64
68 inline const Aws::String& GetRegionLinkingMode() const{ return m_regionLinkingMode; }
69 inline void SetRegionLinkingMode(const Aws::String& value) { m_regionLinkingMode = value; }
70 inline void SetRegionLinkingMode(Aws::String&& value) { m_regionLinkingMode = std::move(value); }
71 inline void SetRegionLinkingMode(const char* value) { m_regionLinkingMode.assign(value); }
73 inline UpdateFindingAggregatorResult& WithRegionLinkingMode(Aws::String&& value) { SetRegionLinkingMode(std::move(value)); return *this;}
74 inline UpdateFindingAggregatorResult& WithRegionLinkingMode(const char* value) { SetRegionLinkingMode(value); return *this;}
76
78
81 inline const Aws::Vector<Aws::String>& GetRegions() const{ return m_regions; }
82 inline void SetRegions(const Aws::Vector<Aws::String>& value) { m_regions = value; }
83 inline void SetRegions(Aws::Vector<Aws::String>&& value) { m_regions = std::move(value); }
85 inline UpdateFindingAggregatorResult& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
86 inline UpdateFindingAggregatorResult& AddRegions(const Aws::String& value) { m_regions.push_back(value); return *this; }
87 inline UpdateFindingAggregatorResult& AddRegions(Aws::String&& value) { m_regions.push_back(std::move(value)); return *this; }
88 inline UpdateFindingAggregatorResult& AddRegions(const char* value) { m_regions.push_back(value); return *this; }
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline UpdateFindingAggregatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline UpdateFindingAggregatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline UpdateFindingAggregatorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 Aws::String m_findingAggregatorArn;
104
105 Aws::String m_findingAggregationRegion;
106
107 Aws::String m_regionLinkingMode;
108
109 Aws::Vector<Aws::String> m_regions;
110
111 Aws::String m_requestId;
112 };
113
114} // namespace Model
115} // namespace SecurityHub
116} // namespace Aws
UpdateFindingAggregatorResult & WithFindingAggregationRegion(Aws::String &&value)
UpdateFindingAggregatorResult & WithRegions(Aws::Vector< Aws::String > &&value)
AWS_SECURITYHUB_API UpdateFindingAggregatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFindingAggregatorResult & WithRegions(const Aws::Vector< Aws::String > &value)
UpdateFindingAggregatorResult & WithFindingAggregatorArn(const Aws::String &value)
UpdateFindingAggregatorResult & WithFindingAggregatorArn(Aws::String &&value)
UpdateFindingAggregatorResult & WithRegionLinkingMode(const char *value)
void SetRegions(const Aws::Vector< Aws::String > &value)
AWS_SECURITYHUB_API UpdateFindingAggregatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateFindingAggregatorResult & WithRequestId(const char *value)
UpdateFindingAggregatorResult & AddRegions(Aws::String &&value)
UpdateFindingAggregatorResult & WithRegionLinkingMode(const Aws::String &value)
UpdateFindingAggregatorResult & WithRegionLinkingMode(Aws::String &&value)
UpdateFindingAggregatorResult & AddRegions(const Aws::String &value)
UpdateFindingAggregatorResult & WithRequestId(Aws::String &&value)
UpdateFindingAggregatorResult & WithRequestId(const Aws::String &value)
UpdateFindingAggregatorResult & WithFindingAggregatorArn(const char *value)
UpdateFindingAggregatorResult & WithFindingAggregationRegion(const Aws::String &value)
UpdateFindingAggregatorResult & AddRegions(const char *value)
UpdateFindingAggregatorResult & WithFindingAggregationRegion(const char *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