AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
GcpProviderConfiguration.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/SecurityHub_EXPORTS.h>
10#include <aws/securityhub/model/GcpScopeConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub {
22namespace Model {
23
31 public:
32 AWS_SECURITYHUB_API GcpProviderConfiguration() = default;
35 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const Aws::String& GetAWSConfigConnectorArn() const { return m_aWSConfigConnectorArn; }
43 inline bool AWSConfigConnectorArnHasBeenSet() const { return m_aWSConfigConnectorArnHasBeenSet; }
44 template <typename AWSConfigConnectorArnT = Aws::String>
45 void SetAWSConfigConnectorArn(AWSConfigConnectorArnT&& value) {
46 m_aWSConfigConnectorArnHasBeenSet = true;
47 m_aWSConfigConnectorArn = std::forward<AWSConfigConnectorArnT>(value);
48 }
49 template <typename AWSConfigConnectorArnT = Aws::String>
50 GcpProviderConfiguration& WithAWSConfigConnectorArn(AWSConfigConnectorArnT&& value) {
51 SetAWSConfigConnectorArn(std::forward<AWSConfigConnectorArnT>(value));
52 return *this;
53 }
55
57
60 inline const GcpScopeConfiguration& GetScopeConfiguration() const { return m_scopeConfiguration; }
61 inline bool ScopeConfigurationHasBeenSet() const { return m_scopeConfigurationHasBeenSet; }
62 template <typename ScopeConfigurationT = GcpScopeConfiguration>
63 void SetScopeConfiguration(ScopeConfigurationT&& value) {
64 m_scopeConfigurationHasBeenSet = true;
65 m_scopeConfiguration = std::forward<ScopeConfigurationT>(value);
66 }
67 template <typename ScopeConfigurationT = GcpScopeConfiguration>
68 GcpProviderConfiguration& WithScopeConfiguration(ScopeConfigurationT&& value) {
69 SetScopeConfiguration(std::forward<ScopeConfigurationT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<Aws::String>& GetGCPRegions() const { return m_gCPRegions; }
79 inline bool GCPRegionsHasBeenSet() const { return m_gCPRegionsHasBeenSet; }
80 template <typename GCPRegionsT = Aws::Vector<Aws::String>>
81 void SetGCPRegions(GCPRegionsT&& value) {
82 m_gCPRegionsHasBeenSet = true;
83 m_gCPRegions = std::forward<GCPRegionsT>(value);
84 }
85 template <typename GCPRegionsT = Aws::Vector<Aws::String>>
87 SetGCPRegions(std::forward<GCPRegionsT>(value));
88 return *this;
89 }
90 template <typename GCPRegionsT = Aws::String>
92 m_gCPRegionsHasBeenSet = true;
93 m_gCPRegions.emplace_back(std::forward<GCPRegionsT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_aWSConfigConnectorArn;
99
100 GcpScopeConfiguration m_scopeConfiguration;
101
102 Aws::Vector<Aws::String> m_gCPRegions;
103 bool m_aWSConfigConnectorArnHasBeenSet = false;
104 bool m_scopeConfigurationHasBeenSet = false;
105 bool m_gCPRegionsHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace SecurityHub
110} // namespace Aws
const GcpScopeConfiguration & GetScopeConfiguration() const
AWS_SECURITYHUB_API GcpProviderConfiguration()=default
GcpProviderConfiguration & WithAWSConfigConnectorArn(AWSConfigConnectorArnT &&value)
AWS_SECURITYHUB_API GcpProviderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
GcpProviderConfiguration & WithScopeConfiguration(ScopeConfigurationT &&value)
GcpProviderConfiguration & WithGCPRegions(GCPRegionsT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API GcpProviderConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetGCPRegions() const
void SetAWSConfigConnectorArn(AWSConfigConnectorArnT &&value)
GcpProviderConfiguration & AddGCPRegions(GCPRegionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue