AWS SDK for C++

AWS SDK for C++ Version 1.11.850

Loading...
Searching...
No Matches
AzureProviderDetailUpdate.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
31 public:
32 AWS_INSPECTOR2_API AzureProviderDetailUpdate() = default;
35 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::Vector<Aws::String>& GetAzureRegions() const { return m_azureRegions; }
42 inline bool AzureRegionsHasBeenSet() const { return m_azureRegionsHasBeenSet; }
43 template <typename AzureRegionsT = Aws::Vector<Aws::String>>
44 void SetAzureRegions(AzureRegionsT&& value) {
45 m_azureRegionsHasBeenSet = true;
46 m_azureRegions = std::forward<AzureRegionsT>(value);
47 }
48 template <typename AzureRegionsT = Aws::Vector<Aws::String>>
50 SetAzureRegions(std::forward<AzureRegionsT>(value));
51 return *this;
52 }
53 template <typename AzureRegionsT = Aws::String>
55 m_azureRegionsHasBeenSet = true;
56 m_azureRegions.emplace_back(std::forward<AzureRegionsT>(value));
57 return *this;
58 }
60
62
66 inline const AzureScopeConfigurationInput& GetScopeConfiguration() const { return m_scopeConfiguration; }
67 inline bool ScopeConfigurationHasBeenSet() const { return m_scopeConfigurationHasBeenSet; }
68 template <typename ScopeConfigurationT = AzureScopeConfigurationInput>
69 void SetScopeConfiguration(ScopeConfigurationT&& value) {
70 m_scopeConfigurationHasBeenSet = true;
71 m_scopeConfiguration = std::forward<ScopeConfigurationT>(value);
72 }
73 template <typename ScopeConfigurationT = AzureScopeConfigurationInput>
74 AzureProviderDetailUpdate& WithScopeConfiguration(ScopeConfigurationT&& value) {
75 SetScopeConfiguration(std::forward<ScopeConfigurationT>(value));
76 return *this;
77 }
79
81
85 inline bool GetAutoInstallVMScanner() const { return m_autoInstallVMScanner; }
86 inline bool AutoInstallVMScannerHasBeenSet() const { return m_autoInstallVMScannerHasBeenSet; }
87 inline void SetAutoInstallVMScanner(bool value) {
88 m_autoInstallVMScannerHasBeenSet = true;
89 m_autoInstallVMScanner = value;
90 }
93 return *this;
94 }
96 private:
97 Aws::Vector<Aws::String> m_azureRegions;
98
99 AzureScopeConfigurationInput m_scopeConfiguration;
100
101 bool m_autoInstallVMScanner{false};
102 bool m_azureRegionsHasBeenSet = false;
103 bool m_scopeConfigurationHasBeenSet = false;
104 bool m_autoInstallVMScannerHasBeenSet = false;
105};
106
107} // namespace Model
108} // namespace Inspector2
109} // namespace Aws
AWS_INSPECTOR2_API AzureProviderDetailUpdate(Aws::Utils::Json::JsonView jsonValue)
AWS_INSPECTOR2_API AzureProviderDetailUpdate()=default
AzureProviderDetailUpdate & WithAutoInstallVMScanner(bool value)
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AzureProviderDetailUpdate & AddAzureRegions(AzureRegionsT &&value)
AzureProviderDetailUpdate & WithAzureRegions(AzureRegionsT &&value)
AzureProviderDetailUpdate & WithScopeConfiguration(ScopeConfigurationT &&value)
const AzureScopeConfigurationInput & GetScopeConfiguration() const
const Aws::Vector< Aws::String > & GetAzureRegions() const
AWS_INSPECTOR2_API AzureProviderDetailUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue