AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFindingAggregatorArn(const Aws::String& value) { m_findingAggregatorArnHasBeenSet = true; m_findingAggregatorArn = value; }
44 inline void SetFindingAggregatorArn(Aws::String&& value) { m_findingAggregatorArnHasBeenSet = true; m_findingAggregatorArn = std::move(value); }
45 inline void SetFindingAggregatorArn(const char* value) { m_findingAggregatorArnHasBeenSet = true; m_findingAggregatorArn.assign(value); }
48 inline UpdateFindingAggregatorRequest& WithFindingAggregatorArn(const char* value) { SetFindingAggregatorArn(value); return *this;}
50
52
72 inline const Aws::String& GetRegionLinkingMode() const{ return m_regionLinkingMode; }
73 inline bool RegionLinkingModeHasBeenSet() const { return m_regionLinkingModeHasBeenSet; }
74 inline void SetRegionLinkingMode(const Aws::String& value) { m_regionLinkingModeHasBeenSet = true; m_regionLinkingMode = value; }
75 inline void SetRegionLinkingMode(Aws::String&& value) { m_regionLinkingModeHasBeenSet = true; m_regionLinkingMode = std::move(value); }
76 inline void SetRegionLinkingMode(const char* value) { m_regionLinkingModeHasBeenSet = true; m_regionLinkingMode.assign(value); }
78 inline UpdateFindingAggregatorRequest& WithRegionLinkingMode(Aws::String&& value) { SetRegionLinkingMode(std::move(value)); return *this;}
79 inline UpdateFindingAggregatorRequest& WithRegionLinkingMode(const char* value) { SetRegionLinkingMode(value); return *this;}
81
83
93 inline const Aws::Vector<Aws::String>& GetRegions() const{ return m_regions; }
94 inline bool RegionsHasBeenSet() const { return m_regionsHasBeenSet; }
95 inline void SetRegions(const Aws::Vector<Aws::String>& value) { m_regionsHasBeenSet = true; m_regions = value; }
96 inline void SetRegions(Aws::Vector<Aws::String>&& value) { m_regionsHasBeenSet = true; m_regions = std::move(value); }
98 inline UpdateFindingAggregatorRequest& WithRegions(Aws::Vector<Aws::String>&& value) { SetRegions(std::move(value)); return *this;}
99 inline UpdateFindingAggregatorRequest& AddRegions(const Aws::String& value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
100 inline UpdateFindingAggregatorRequest& AddRegions(Aws::String&& value) { m_regionsHasBeenSet = true; m_regions.push_back(std::move(value)); return *this; }
101 inline UpdateFindingAggregatorRequest& AddRegions(const char* value) { m_regionsHasBeenSet = true; m_regions.push_back(value); return *this; }
103 private:
104
105 Aws::String m_findingAggregatorArn;
106 bool m_findingAggregatorArnHasBeenSet = false;
107
108 Aws::String m_regionLinkingMode;
109 bool m_regionLinkingModeHasBeenSet = false;
110
111 Aws::Vector<Aws::String> m_regions;
112 bool m_regionsHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace SecurityHub
117} // namespace Aws
UpdateFindingAggregatorRequest & WithFindingAggregatorArn(Aws::String &&value)
UpdateFindingAggregatorRequest & WithFindingAggregatorArn(const char *value)
UpdateFindingAggregatorRequest & WithRegionLinkingMode(const Aws::String &value)
UpdateFindingAggregatorRequest & AddRegions(const char *value)
UpdateFindingAggregatorRequest & WithRegionLinkingMode(Aws::String &&value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
UpdateFindingAggregatorRequest & WithRegionLinkingMode(const char *value)
UpdateFindingAggregatorRequest & WithRegions(Aws::Vector< Aws::String > &&value)
UpdateFindingAggregatorRequest & AddRegions(const Aws::String &value)
UpdateFindingAggregatorRequest & WithRegions(const Aws::Vector< Aws::String > &value)
UpdateFindingAggregatorRequest & AddRegions(Aws::String &&value)
UpdateFindingAggregatorRequest & WithFindingAggregatorArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector