AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateFindingAggregatorRequest.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SecurityHub
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SECURITYHUB_API CreateFindingAggregatorRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "CreateFindingAggregator"; }
32
33 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
34
35
37
57 inline const Aws::String& GetRegionLinkingMode() const { return m_regionLinkingMode; }
58 inline bool RegionLinkingModeHasBeenSet() const { return m_regionLinkingModeHasBeenSet; }
59 template<typename RegionLinkingModeT = Aws::String>
60 void SetRegionLinkingMode(RegionLinkingModeT&& value) { m_regionLinkingModeHasBeenSet = true; m_regionLinkingMode = std::forward<RegionLinkingModeT>(value); }
61 template<typename RegionLinkingModeT = Aws::String>
62 CreateFindingAggregatorRequest& WithRegionLinkingMode(RegionLinkingModeT&& value) { SetRegionLinkingMode(std::forward<RegionLinkingModeT>(value)); return *this;}
64
66
76 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
77 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
78 template<typename RegionsT = Aws::Vector<Aws::String>>
79 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet = true; m_regions = std::forward<RegionsT>(value); }
80 template<typename RegionsT = Aws::Vector<Aws::String>>
81 CreateFindingAggregatorRequest& WithRegions(RegionsT&& value) { SetRegions(std::forward<RegionsT>(value)); return *this;}
82 template<typename RegionsT = Aws::String>
83 CreateFindingAggregatorRequest& AddRegions(RegionsT&& value) { m_regionsHasBeenSet = true; m_regions.emplace_back(std::forward<RegionsT>(value)); return *this; }
85 private:
86
87 Aws::String m_regionLinkingMode;
88 bool m_regionLinkingModeHasBeenSet = false;
89
91 bool m_regionsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace SecurityHub
96} // 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