AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
AzureDetail.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 AzureDetail() = default;
33 AWS_SECURITYHUB_API AzureDetail(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API AzureDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
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 AzureDetail& 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 AzureDetail& 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>>
86 AzureDetail& WithAzureRegions(AzureRegionsT&& value) {
87 SetAzureRegions(std::forward<AzureRegionsT>(value));
88 return *this;
89 }
90 template <typename AzureRegionsT = Aws::String>
91 AzureDetail& AddAzureRegions(AzureRegionsT&& value) {
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 AzureDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAzureRegions(AzureRegionsT &&value)
Definition AzureDetail.h:81
AzureDetail & WithAzureRegions(AzureRegionsT &&value)
Definition AzureDetail.h:86
AzureDetail & AddAzureRegions(AzureRegionsT &&value)
Definition AzureDetail.h:91
AzureDetail & WithAWSConfigConnectorArn(AWSConfigConnectorArnT &&value)
Definition AzureDetail.h:50
void SetScopeConfiguration(ScopeConfigurationT &&value)
Definition AzureDetail.h:63
void SetAWSConfigConnectorArn(AWSConfigConnectorArnT &&value)
Definition AzureDetail.h:45
const Aws::String & GetAWSConfigConnectorArn() const
Definition AzureDetail.h:42
AWS_SECURITYHUB_API AzureDetail()=default
const Aws::Vector< Aws::String > & GetAzureRegions() const
Definition AzureDetail.h:78
AWS_SECURITYHUB_API AzureDetail(Aws::Utils::Json::JsonView jsonValue)
const AzureScopeConfiguration & GetScopeConfiguration() const
Definition AzureDetail.h:60
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AzureDetail & WithScopeConfiguration(ScopeConfigurationT &&value)
Definition AzureDetail.h:68
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue