AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
UpdateFindingAggregatorRequest.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 UpdateFindingAggregatorRequest() = 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 "UpdateFindingAggregator"; }
32
33 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetFindingAggregatorArn() const { return m_findingAggregatorArn; }
42 inline bool FindingAggregatorArnHasBeenSet() const { return m_findingAggregatorArnHasBeenSet; }
43 template<typename FindingAggregatorArnT = Aws::String>
44 void SetFindingAggregatorArn(FindingAggregatorArnT&& value) { m_findingAggregatorArnHasBeenSet = true; m_findingAggregatorArn = std::forward<FindingAggregatorArnT>(value); }
45 template<typename FindingAggregatorArnT = Aws::String>
46 UpdateFindingAggregatorRequest& WithFindingAggregatorArn(FindingAggregatorArnT&& value) { SetFindingAggregatorArn(std::forward<FindingAggregatorArnT>(value)); return *this;}
48
50
70 inline const Aws::String& GetRegionLinkingMode() const { return m_regionLinkingMode; }
71 inline bool RegionLinkingModeHasBeenSet() const { return m_regionLinkingModeHasBeenSet; }
72 template<typename RegionLinkingModeT = Aws::String>
73 void SetRegionLinkingMode(RegionLinkingModeT&& value) { m_regionLinkingModeHasBeenSet = true; m_regionLinkingMode = std::forward<RegionLinkingModeT>(value); }
74 template<typename RegionLinkingModeT = Aws::String>
75 UpdateFindingAggregatorRequest& WithRegionLinkingMode(RegionLinkingModeT&& value) { SetRegionLinkingMode(std::forward<RegionLinkingModeT>(value)); return *this;}
77
79
89 inline const Aws::Vector<Aws::String>& GetRegions() const { return m_regions; }
90 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
91 template<typename RegionsT = Aws::Vector<Aws::String>>
92 void SetRegions(RegionsT&& value) { m_regionsHasBeenSet = true; m_regions = std::forward<RegionsT>(value); }
93 template<typename RegionsT = Aws::Vector<Aws::String>>
94 UpdateFindingAggregatorRequest& WithRegions(RegionsT&& value) { SetRegions(std::forward<RegionsT>(value)); return *this;}
95 template<typename RegionsT = Aws::String>
96 UpdateFindingAggregatorRequest& AddRegions(RegionsT&& value) { m_regionsHasBeenSet = true; m_regions.emplace_back(std::forward<RegionsT>(value)); return *this; }
98 private:
99
100 Aws::String m_findingAggregatorArn;
101 bool m_findingAggregatorArnHasBeenSet = false;
102
103 Aws::String m_regionLinkingMode;
104 bool m_regionLinkingModeHasBeenSet = false;
105
106 Aws::Vector<Aws::String> m_regions;
107 bool m_regionsHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace SecurityHub
112} // namespace Aws
AWS_SECURITYHUB_API UpdateFindingAggregatorRequest()=default
UpdateFindingAggregatorRequest & AddRegions(RegionsT &&value)
UpdateFindingAggregatorRequest & WithRegionLinkingMode(RegionLinkingModeT &&value)
UpdateFindingAggregatorRequest & WithFindingAggregatorArn(FindingAggregatorArnT &&value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
UpdateFindingAggregatorRequest & WithRegions(RegionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector