AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
GcpDetail.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
29class GcpDetail {
30 public:
31 AWS_SECURITYHUB_API GcpDetail() = default;
32 AWS_SECURITYHUB_API GcpDetail(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API GcpDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const Aws::String& GetAWSConfigConnectorArn() const { return m_aWSConfigConnectorArn; }
42 inline bool AWSConfigConnectorArnHasBeenSet() const { return m_aWSConfigConnectorArnHasBeenSet; }
43 template <typename AWSConfigConnectorArnT = Aws::String>
44 void SetAWSConfigConnectorArn(AWSConfigConnectorArnT&& value) {
45 m_aWSConfigConnectorArnHasBeenSet = true;
46 m_aWSConfigConnectorArn = std::forward<AWSConfigConnectorArnT>(value);
47 }
48 template <typename AWSConfigConnectorArnT = Aws::String>
49 GcpDetail& WithAWSConfigConnectorArn(AWSConfigConnectorArnT&& value) {
50 SetAWSConfigConnectorArn(std::forward<AWSConfigConnectorArnT>(value));
51 return *this;
52 }
54
56
59 inline const GcpScopeConfiguration& GetScopeConfiguration() const { return m_scopeConfiguration; }
60 inline bool ScopeConfigurationHasBeenSet() const { return m_scopeConfigurationHasBeenSet; }
61 template <typename ScopeConfigurationT = GcpScopeConfiguration>
62 void SetScopeConfiguration(ScopeConfigurationT&& value) {
63 m_scopeConfigurationHasBeenSet = true;
64 m_scopeConfiguration = std::forward<ScopeConfigurationT>(value);
65 }
66 template <typename ScopeConfigurationT = GcpScopeConfiguration>
67 GcpDetail& WithScopeConfiguration(ScopeConfigurationT&& value) {
68 SetScopeConfiguration(std::forward<ScopeConfigurationT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<Aws::String>& GetGCPRegions() const { return m_gCPRegions; }
78 inline bool GCPRegionsHasBeenSet() const { return m_gCPRegionsHasBeenSet; }
79 template <typename GCPRegionsT = Aws::Vector<Aws::String>>
80 void SetGCPRegions(GCPRegionsT&& value) {
81 m_gCPRegionsHasBeenSet = true;
82 m_gCPRegions = std::forward<GCPRegionsT>(value);
83 }
84 template <typename GCPRegionsT = Aws::Vector<Aws::String>>
85 GcpDetail& WithGCPRegions(GCPRegionsT&& value) {
86 SetGCPRegions(std::forward<GCPRegionsT>(value));
87 return *this;
88 }
89 template <typename GCPRegionsT = Aws::String>
90 GcpDetail& AddGCPRegions(GCPRegionsT&& value) {
91 m_gCPRegionsHasBeenSet = true;
92 m_gCPRegions.emplace_back(std::forward<GCPRegionsT>(value));
93 return *this;
94 }
96 private:
97 Aws::String m_aWSConfigConnectorArn;
98
99 GcpScopeConfiguration m_scopeConfiguration;
100
101 Aws::Vector<Aws::String> m_gCPRegions;
102 bool m_aWSConfigConnectorArnHasBeenSet = false;
103 bool m_scopeConfigurationHasBeenSet = false;
104 bool m_gCPRegionsHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace SecurityHub
109} // namespace Aws
GcpDetail & WithGCPRegions(GCPRegionsT &&value)
Definition GcpDetail.h:85
void SetGCPRegions(GCPRegionsT &&value)
Definition GcpDetail.h:80
AWS_SECURITYHUB_API GcpDetail()=default
const Aws::Vector< Aws::String > & GetGCPRegions() const
Definition GcpDetail.h:77
GcpDetail & WithAWSConfigConnectorArn(AWSConfigConnectorArnT &&value)
Definition GcpDetail.h:49
void SetAWSConfigConnectorArn(AWSConfigConnectorArnT &&value)
Definition GcpDetail.h:44
AWS_SECURITYHUB_API GcpDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool ScopeConfigurationHasBeenSet() const
Definition GcpDetail.h:60
const GcpScopeConfiguration & GetScopeConfiguration() const
Definition GcpDetail.h:59
bool AWSConfigConnectorArnHasBeenSet() const
Definition GcpDetail.h:42
void SetScopeConfiguration(ScopeConfigurationT &&value)
Definition GcpDetail.h:62
GcpDetail & WithScopeConfiguration(ScopeConfigurationT &&value)
Definition GcpDetail.h:67
AWS_SECURITYHUB_API GcpDetail(Aws::Utils::Json::JsonView jsonValue)
GcpDetail & AddGCPRegions(GCPRegionsT &&value)
Definition GcpDetail.h:90
const Aws::String & GetAWSConfigConnectorArn() const
Definition GcpDetail.h:41
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue