AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
AzureUpdateConfiguration.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 AzureUpdateConfiguration() = default;
35 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const AzureScopeConfiguration& GetScopeConfiguration() const { return m_scopeConfiguration; }
42 inline bool ScopeConfigurationHasBeenSet() const { return m_scopeConfigurationHasBeenSet; }
43 template <typename ScopeConfigurationT = AzureScopeConfiguration>
44 void SetScopeConfiguration(ScopeConfigurationT&& value) {
45 m_scopeConfigurationHasBeenSet = true;
46 m_scopeConfiguration = std::forward<ScopeConfigurationT>(value);
47 }
48 template <typename ScopeConfigurationT = AzureScopeConfiguration>
49 AzureUpdateConfiguration& WithScopeConfiguration(ScopeConfigurationT&& value) {
50 SetScopeConfiguration(std::forward<ScopeConfigurationT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<Aws::String>& GetAzureRegions() const { return m_azureRegions; }
60 inline bool AzureRegionsHasBeenSet() const { return m_azureRegionsHasBeenSet; }
61 template <typename AzureRegionsT = Aws::Vector<Aws::String>>
62 void SetAzureRegions(AzureRegionsT&& value) {
63 m_azureRegionsHasBeenSet = true;
64 m_azureRegions = std::forward<AzureRegionsT>(value);
65 }
66 template <typename AzureRegionsT = Aws::Vector<Aws::String>>
68 SetAzureRegions(std::forward<AzureRegionsT>(value));
69 return *this;
70 }
71 template <typename AzureRegionsT = Aws::String>
72 AzureUpdateConfiguration& AddAzureRegions(AzureRegionsT&& value) {
73 m_azureRegionsHasBeenSet = true;
74 m_azureRegions.emplace_back(std::forward<AzureRegionsT>(value));
75 return *this;
76 }
78 private:
79 AzureScopeConfiguration m_scopeConfiguration;
80
81 Aws::Vector<Aws::String> m_azureRegions;
82 bool m_scopeConfigurationHasBeenSet = false;
83 bool m_azureRegionsHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace SecurityHub
88} // namespace Aws
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AzureUpdateConfiguration & WithAzureRegions(AzureRegionsT &&value)
AzureUpdateConfiguration & WithScopeConfiguration(ScopeConfigurationT &&value)
AWS_SECURITYHUB_API AzureUpdateConfiguration()=default
const Aws::Vector< Aws::String > & GetAzureRegions() const
AWS_SECURITYHUB_API AzureUpdateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AzureUpdateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AzureUpdateConfiguration & AddAzureRegions(AzureRegionsT &&value)
const AzureScopeConfiguration & GetScopeConfiguration() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue