AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
AzureProviderConfiguration.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/AzureScopeConfiguration.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 AzureProviderConfiguration() = 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 AzureProviderConfiguration& WithAWSConfigConnectorArn(AWSConfigConnectorArnT&& value) {
51 SetAWSConfigConnectorArn(std::forward<AWSConfigConnectorArnT>(value));
52 return *this;
53 }
55
57
60 inline const AzureScopeConfiguration& GetScopeConfiguration() const { return m_scopeConfiguration; }
61 inline bool ScopeConfigurationHasBeenSet() const { return m_scopeConfigurationHasBeenSet; }
62 template <typename ScopeConfigurationT = AzureScopeConfiguration>
63 void SetScopeConfiguration(ScopeConfigurationT&& value) {
64 m_scopeConfigurationHasBeenSet = true;
65 m_scopeConfiguration = std::forward<ScopeConfigurationT>(value);
66 }
67 template <typename ScopeConfigurationT = AzureScopeConfiguration>
68 AzureProviderConfiguration& WithScopeConfiguration(ScopeConfigurationT&& value) {
69 SetScopeConfiguration(std::forward<ScopeConfigurationT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<Aws::String>& GetAzureRegions() const { return m_azureRegions; }
79 inline bool AzureRegionsHasBeenSet() const { return m_azureRegionsHasBeenSet; }
80 template <typename AzureRegionsT = Aws::Vector<Aws::String>>
81 void SetAzureRegions(AzureRegionsT&& value) {
82 m_azureRegionsHasBeenSet = true;
83 m_azureRegions = std::forward<AzureRegionsT>(value);
84 }
85 template <typename AzureRegionsT = Aws::Vector<Aws::String>>
87 SetAzureRegions(std::forward<AzureRegionsT>(value));
88 return *this;
89 }
90 template <typename AzureRegionsT = Aws::String>
92 m_azureRegionsHasBeenSet = true;
93 m_azureRegions.emplace_back(std::forward<AzureRegionsT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_aWSConfigConnectorArn;
99
100 AzureScopeConfiguration m_scopeConfiguration;
101
102 Aws::Vector<Aws::String> m_azureRegions;
103 bool m_aWSConfigConnectorArnHasBeenSet = false;
104 bool m_scopeConfigurationHasBeenSet = false;
105 bool m_azureRegionsHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace SecurityHub
110} // namespace Aws
AWS_SECURITYHUB_API AzureProviderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AzureProviderConfiguration & WithAzureRegions(AzureRegionsT &&value)
AzureProviderConfiguration & AddAzureRegions(AzureRegionsT &&value)
AzureProviderConfiguration & WithScopeConfiguration(ScopeConfigurationT &&value)
AWS_SECURITYHUB_API AzureProviderConfiguration(Aws::Utils::Json::JsonView jsonValue)
const AzureScopeConfiguration & GetScopeConfiguration() const
const Aws::Vector< Aws::String > & GetAzureRegions() const
void SetAWSConfigConnectorArn(AWSConfigConnectorArnT &&value)
AzureProviderConfiguration & WithAWSConfigConnectorArn(AWSConfigConnectorArnT &&value)
AWS_SECURITYHUB_API AzureProviderConfiguration()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue