AWS SDK for C++

AWS SDK for C++ Version 1.11.850

Loading...
Searching...
No Matches
AzureProviderDetailCreate.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/inspector2/Inspector2_EXPORTS.h>
10#include <aws/inspector2/model/AzureScopeConfigurationInput.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Inspector2 {
22namespace Model {
23
32 public:
33 AWS_INSPECTOR2_API AzureProviderDetailCreate() = default;
36 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetAwsConfigConnectorArn() const { return m_awsConfigConnectorArn; }
44 inline bool AwsConfigConnectorArnHasBeenSet() const { return m_awsConfigConnectorArnHasBeenSet; }
45 template <typename AwsConfigConnectorArnT = Aws::String>
46 void SetAwsConfigConnectorArn(AwsConfigConnectorArnT&& value) {
47 m_awsConfigConnectorArnHasBeenSet = true;
48 m_awsConfigConnectorArn = std::forward<AwsConfigConnectorArnT>(value);
49 }
50 template <typename AwsConfigConnectorArnT = Aws::String>
51 AzureProviderDetailCreate& WithAwsConfigConnectorArn(AwsConfigConnectorArnT&& value) {
52 SetAwsConfigConnectorArn(std::forward<AwsConfigConnectorArnT>(value));
53 return *this;
54 }
56
58
61 inline const AzureScopeConfigurationInput& GetScopeConfiguration() const { return m_scopeConfiguration; }
62 inline bool ScopeConfigurationHasBeenSet() const { return m_scopeConfigurationHasBeenSet; }
63 template <typename ScopeConfigurationT = AzureScopeConfigurationInput>
64 void SetScopeConfiguration(ScopeConfigurationT&& value) {
65 m_scopeConfigurationHasBeenSet = true;
66 m_scopeConfiguration = std::forward<ScopeConfigurationT>(value);
67 }
68 template <typename ScopeConfigurationT = AzureScopeConfigurationInput>
69 AzureProviderDetailCreate& WithScopeConfiguration(ScopeConfigurationT&& value) {
70 SetScopeConfiguration(std::forward<ScopeConfigurationT>(value));
71 return *this;
72 }
74
76
79 inline const Aws::Vector<Aws::String>& GetAzureRegions() const { return m_azureRegions; }
80 inline bool AzureRegionsHasBeenSet() const { return m_azureRegionsHasBeenSet; }
81 template <typename AzureRegionsT = Aws::Vector<Aws::String>>
82 void SetAzureRegions(AzureRegionsT&& value) {
83 m_azureRegionsHasBeenSet = true;
84 m_azureRegions = std::forward<AzureRegionsT>(value);
85 }
86 template <typename AzureRegionsT = Aws::Vector<Aws::String>>
88 SetAzureRegions(std::forward<AzureRegionsT>(value));
89 return *this;
90 }
91 template <typename AzureRegionsT = Aws::String>
93 m_azureRegionsHasBeenSet = true;
94 m_azureRegions.emplace_back(std::forward<AzureRegionsT>(value));
95 return *this;
96 }
98
100
104 inline bool GetAutoInstallVMScanner() const { return m_autoInstallVMScanner; }
105 inline bool AutoInstallVMScannerHasBeenSet() const { return m_autoInstallVMScannerHasBeenSet; }
106 inline void SetAutoInstallVMScanner(bool value) {
107 m_autoInstallVMScannerHasBeenSet = true;
108 m_autoInstallVMScanner = value;
109 }
112 return *this;
113 }
115 private:
116 Aws::String m_awsConfigConnectorArn;
117
118 AzureScopeConfigurationInput m_scopeConfiguration;
119
120 Aws::Vector<Aws::String> m_azureRegions;
121
122 bool m_autoInstallVMScanner{false};
123 bool m_awsConfigConnectorArnHasBeenSet = false;
124 bool m_scopeConfigurationHasBeenSet = false;
125 bool m_azureRegionsHasBeenSet = false;
126 bool m_autoInstallVMScannerHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace Inspector2
131} // namespace Aws
AWS_INSPECTOR2_API AzureProviderDetailCreate & operator=(Aws::Utils::Json::JsonView jsonValue)
AzureProviderDetailCreate & WithAutoInstallVMScanner(bool value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AzureProviderDetailCreate & WithAzureRegions(AzureRegionsT &&value)
const AzureScopeConfigurationInput & GetScopeConfiguration() const
void SetAwsConfigConnectorArn(AwsConfigConnectorArnT &&value)
AWS_INSPECTOR2_API AzureProviderDetailCreate()=default
AzureProviderDetailCreate & WithScopeConfiguration(ScopeConfigurationT &&value)
const Aws::Vector< Aws::String > & GetAzureRegions() const
AWS_INSPECTOR2_API AzureProviderDetailCreate(Aws::Utils::Json::JsonView jsonValue)
AzureProviderDetailCreate & AddAzureRegions(AzureRegionsT &&value)
AzureProviderDetailCreate & WithAwsConfigConnectorArn(AwsConfigConnectorArnT &&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