AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateFindingAggregatorRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHubRequest.h>
10#include <aws/securityhub/SecurityHub_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SecurityHub {
16namespace Model {
17
21 public:
22 AWS_SECURITYHUB_API CreateFindingAggregatorRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "CreateFindingAggregator"; }
29
30 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
31
33
53 inline const Aws::String& GetRegionLinkingMode() const { return m_regionLinkingMode; }
54 inline bool RegionLinkingModeHasBeenSet() const { return m_regionLinkingModeHasBeenSet; }
55 template <typename RegionLinkingModeT = Aws::String>
56 void SetRegionLinkingMode(RegionLinkingModeT&& value) {
57 m_regionLinkingModeHasBeenSet = true;
58 m_regionLinkingMode = std::forward<RegionLinkingModeT>(value);
59 }
60 template <typename RegionLinkingModeT = Aws::String>
62 SetRegionLinkingMode(std::forward<RegionLinkingModeT>(value));
63 return *this;
64 }
66
68
78 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
79 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
80 template <typename RegionsT = Aws::Vector<Aws::String>>
81 void SetRegions(RegionsT&& value) {
82 m_regionsHasBeenSet = true;
83 m_regions = std::forward<RegionsT>(value);
84 }
85 template <typename RegionsT = Aws::Vector<Aws::String>>
87 SetRegions(std::forward<RegionsT>(value));
88 return *this;
89 }
90 template <typename RegionsT = Aws::String>
92 m_regionsHasBeenSet = true;
93 m_regions.emplace_back(std::forward<RegionsT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_regionLinkingMode;
99
100 Aws::Vector<Aws::String> m_regions;
101 bool m_regionLinkingModeHasBeenSet = false;
102 bool m_regionsHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace SecurityHub
107} // namespace Aws
CreateFindingAggregatorRequest & WithRegions(RegionsT &&value)
CreateFindingAggregatorRequest & WithRegionLinkingMode(RegionLinkingModeT &&value)
CreateFindingAggregatorRequest & AddRegions(RegionsT &&value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
AWS_SECURITYHUB_API CreateFindingAggregatorRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector