AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateFindingAggregatorResult.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 CreateFindingAggregatorResult();
34
35
37
41 inline const Aws::String& GetFindingAggregatorArn() const{ return m_findingAggregatorArn; }
42 inline void SetFindingAggregatorArn(const Aws::String& value) { m_findingAggregatorArn = value; }
43 inline void SetFindingAggregatorArn(Aws::String&& value) { m_findingAggregatorArn = std::move(value); }
44 inline void SetFindingAggregatorArn(const char* value) { m_findingAggregatorArn.assign(value); }
47 inline CreateFindingAggregatorResult& WithFindingAggregatorArn(const char* value) { SetFindingAggregatorArn(value); return *this;}
49
51
55 inline const Aws::String& GetFindingAggregationRegion() const{ return m_findingAggregationRegion; }
56 inline void SetFindingAggregationRegion(const Aws::String& value) { m_findingAggregationRegion = value; }
57 inline void SetFindingAggregationRegion(Aws::String&& value) { m_findingAggregationRegion = std::move(value); }
58 inline void SetFindingAggregationRegion(const char* value) { m_findingAggregationRegion.assign(value); }
63
65
69 inline const Aws::String& GetRegionLinkingMode() const{ return m_regionLinkingMode; }
70 inline void SetRegionLinkingMode(const Aws::String& value) { m_regionLinkingMode = value; }
71 inline void SetRegionLinkingMode(Aws::String&& value) { m_regionLinkingMode = std::move(value); }
72 inline void SetRegionLinkingMode(const char* value) { m_regionLinkingMode.assign(value); }
74 inline CreateFindingAggregatorResult& WithRegionLinkingMode(Aws::String&& value) { SetRegionLinkingMode(std::move(value)); return *this;}
75 inline CreateFindingAggregatorResult& WithRegionLinkingMode(const char* value) { SetRegionLinkingMode(value); return *this;}
77
79
82 inline const Aws::Vector<Aws::String>& GetRegions() const{ return m_regions; }
83 inline void SetRegions(const Aws::Vector<Aws::String>& value) { m_regions = value; }
84 inline void SetRegions(Aws::Vector<Aws::String>&& value) { m_regions = std::move(value); }
86 inline CreateFindingAggregatorResult& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
87 inline CreateFindingAggregatorResult& AddRegions(const Aws::String& value) { m_regions.push_back(value); return *this; }
88 inline CreateFindingAggregatorResult& AddRegions(Aws::String&& value) { m_regions.push_back(std::move(value)); return *this; }
89 inline CreateFindingAggregatorResult& AddRegions(const char* value) { m_regions.push_back(value); return *this; }
91
93
94 inline const Aws::String& GetRequestId() const{ return m_requestId; }
95 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
96 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
97 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
98 inline CreateFindingAggregatorResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
99 inline CreateFindingAggregatorResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
100 inline CreateFindingAggregatorResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
102 private:
103
104 Aws::String m_findingAggregatorArn;
105
106 Aws::String m_findingAggregationRegion;
107
108 Aws::String m_regionLinkingMode;
109
110 Aws::Vector<Aws::String> m_regions;
111
112 Aws::String m_requestId;
113 };
114
115} // namespace Model
116} // namespace SecurityHub
117} // namespace Aws
CreateFindingAggregatorResult & AddRegions(const Aws::String &value)
CreateFindingAggregatorResult & WithRegionLinkingMode(Aws::String &&value)
CreateFindingAggregatorResult & AddRegions(Aws::String &&value)
CreateFindingAggregatorResult & WithFindingAggregatorArn(Aws::String &&value)
CreateFindingAggregatorResult & WithRegionLinkingMode(const Aws::String &value)
CreateFindingAggregatorResult & WithRegions(const Aws::Vector< Aws::String > &value)
CreateFindingAggregatorResult & WithFindingAggregationRegion(const char *value)
CreateFindingAggregatorResult & WithRegions(Aws::Vector< Aws::String > &&value)
CreateFindingAggregatorResult & WithRequestId(const Aws::String &value)
CreateFindingAggregatorResult & WithRequestId(const char *value)
CreateFindingAggregatorResult & AddRegions(const char *value)
CreateFindingAggregatorResult & WithFindingAggregatorArn(const char *value)
CreateFindingAggregatorResult & WithFindingAggregationRegion(Aws::String &&value)
CreateFindingAggregatorResult & WithFindingAggregatorArn(const Aws::String &value)
CreateFindingAggregatorResult & WithFindingAggregationRegion(const Aws::String &value)
AWS_SECURITYHUB_API CreateFindingAggregatorResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFindingAggregatorResult & WithRegionLinkingMode(const char *value)
void SetRegions(const Aws::Vector< Aws::String > &value)
CreateFindingAggregatorResult & WithRequestId(Aws::String &&value)
AWS_SECURITYHUB_API CreateFindingAggregatorResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue