AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateAggregatorV2Request.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 UpdateAggregatorV2Request() = 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 "UpdateAggregatorV2"; }
29
30 AWS_SECURITYHUB_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetAggregatorV2Arn() const { return m_aggregatorV2Arn; }
37 inline bool AggregatorV2ArnHasBeenSet() const { return m_aggregatorV2ArnHasBeenSet; }
38 template <typename AggregatorV2ArnT = Aws::String>
39 void SetAggregatorV2Arn(AggregatorV2ArnT&& value) {
40 m_aggregatorV2ArnHasBeenSet = true;
41 m_aggregatorV2Arn = std::forward<AggregatorV2ArnT>(value);
42 }
43 template <typename AggregatorV2ArnT = Aws::String>
45 SetAggregatorV2Arn(std::forward<AggregatorV2ArnT>(value));
46 return *this;
47 }
49
51
55 inline const Aws::String& GetRegionLinkingMode() const { return m_regionLinkingMode; }
56 inline bool RegionLinkingModeHasBeenSet() const { return m_regionLinkingModeHasBeenSet; }
57 template <typename RegionLinkingModeT = Aws::String>
58 void SetRegionLinkingMode(RegionLinkingModeT&& value) {
59 m_regionLinkingModeHasBeenSet = true;
60 m_regionLinkingMode = std::forward<RegionLinkingModeT>(value);
61 }
62 template <typename RegionLinkingModeT = Aws::String>
63 UpdateAggregatorV2Request& WithRegionLinkingMode(RegionLinkingModeT&& value) {
64 SetRegionLinkingMode(std::forward<RegionLinkingModeT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::Vector<Aws::String>& GetLinkedRegions() const { return m_linkedRegions; }
74 inline bool LinkedRegionsHasBeenSet() const { return m_linkedRegionsHasBeenSet; }
75 template <typename LinkedRegionsT = Aws::Vector<Aws::String>>
76 void SetLinkedRegions(LinkedRegionsT&& value) {
77 m_linkedRegionsHasBeenSet = true;
78 m_linkedRegions = std::forward<LinkedRegionsT>(value);
79 }
80 template <typename LinkedRegionsT = Aws::Vector<Aws::String>>
82 SetLinkedRegions(std::forward<LinkedRegionsT>(value));
83 return *this;
84 }
85 template <typename LinkedRegionsT = Aws::String>
87 m_linkedRegionsHasBeenSet = true;
88 m_linkedRegions.emplace_back(std::forward<LinkedRegionsT>(value));
89 return *this;
90 }
92 private:
93 Aws::String m_aggregatorV2Arn;
94
95 Aws::String m_regionLinkingMode;
96
97 Aws::Vector<Aws::String> m_linkedRegions;
98 bool m_aggregatorV2ArnHasBeenSet = false;
99 bool m_regionLinkingModeHasBeenSet = false;
100 bool m_linkedRegionsHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace SecurityHub
105} // namespace Aws
UpdateAggregatorV2Request & WithRegionLinkingMode(RegionLinkingModeT &&value)
AWS_SECURITYHUB_API UpdateAggregatorV2Request()=default
UpdateAggregatorV2Request & WithLinkedRegions(LinkedRegionsT &&value)
UpdateAggregatorV2Request & WithAggregatorV2Arn(AggregatorV2ArnT &&value)
virtual const char * GetServiceRequestName() const override
const Aws::Vector< Aws::String > & GetLinkedRegions() const
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
UpdateAggregatorV2Request & AddLinkedRegions(LinkedRegionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector