AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetFindingAggregatorResult.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 GetFindingAggregatorResult();
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 GetFindingAggregatorResult& 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 GetFindingAggregatorResult& WithRegionLinkingMode(Aws::String&& value) { SetRegionLinkingMode(std::move(value)); return *this;}
74 inline GetFindingAggregatorResult& 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); }
84 inline GetFindingAggregatorResult& WithRegions(const Aws::Vector<Aws::String>& value) { SetRegions(value); return *this;}
85 inline GetFindingAggregatorResult& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
86 inline GetFindingAggregatorResult& AddRegions(const Aws::String& value) { m_regions.push_back(value); return *this; }
87 inline GetFindingAggregatorResult& AddRegions(Aws::String&& value) { m_regions.push_back(std::move(value)); return *this; }
88 inline GetFindingAggregatorResult& 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 GetFindingAggregatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline GetFindingAggregatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline GetFindingAggregatorResult& 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
GetFindingAggregatorResult & WithRequestId(const char *value)
GetFindingAggregatorResult & WithFindingAggregationRegion(const char *value)
AWS_SECURITYHUB_API GetFindingAggregatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFindingAggregatorResult & WithFindingAggregationRegion(Aws::String &&value)
void SetRegions(const Aws::Vector< Aws::String > &value)
GetFindingAggregatorResult & WithRegionLinkingMode(Aws::String &&value)
GetFindingAggregatorResult & WithRequestId(const Aws::String &value)
GetFindingAggregatorResult & WithFindingAggregatorArn(const Aws::String &value)
GetFindingAggregatorResult & WithRequestId(Aws::String &&value)
GetFindingAggregatorResult & WithFindingAggregatorArn(const char *value)
GetFindingAggregatorResult & AddRegions(Aws::String &&value)
GetFindingAggregatorResult & AddRegions(const char *value)
GetFindingAggregatorResult & WithFindingAggregationRegion(const Aws::String &value)
GetFindingAggregatorResult & WithRegions(Aws::Vector< Aws::String > &&value)
AWS_SECURITYHUB_API GetFindingAggregatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetFindingAggregatorResult & AddRegions(const Aws::String &value)
GetFindingAggregatorResult & WithRegionLinkingMode(const Aws::String &value)
GetFindingAggregatorResult & WithFindingAggregatorArn(Aws::String &&value)
GetFindingAggregatorResult & WithRegions(const Aws::Vector< Aws::String > &value)
GetFindingAggregatorResult & WithRegionLinkingMode(const char *value)
const Aws::Vector< Aws::String > & GetRegions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue