AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CspmProviderUpdateConfiguration.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AzureUpdateConfiguration.h>
9#include <aws/securityhub/model/GcpUpdateConfiguration.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API CspmProviderUpdateConfiguration() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const AzureUpdateConfiguration& GetAzure() const { return m_azure; }
41 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
42 template <typename AzureT = AzureUpdateConfiguration>
43 void SetAzure(AzureT&& value) {
44 m_azureHasBeenSet = true;
45 m_azure = std::forward<AzureT>(value);
46 }
47 template <typename AzureT = AzureUpdateConfiguration>
49 SetAzure(std::forward<AzureT>(value));
50 return *this;
51 }
53
55
58 inline const GcpUpdateConfiguration& GetGCP() const { return m_gCP; }
59 inline bool GCPHasBeenSet() const { return m_gCPHasBeenSet; }
60 template <typename GCPT = GcpUpdateConfiguration>
61 void SetGCP(GCPT&& value) {
62 m_gCPHasBeenSet = true;
63 m_gCP = std::forward<GCPT>(value);
64 }
65 template <typename GCPT = GcpUpdateConfiguration>
67 SetGCP(std::forward<GCPT>(value));
68 return *this;
69 }
71 private:
73
75 bool m_azureHasBeenSet = false;
76 bool m_gCPHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SecurityHub
81} // namespace Aws
AWS_SECURITYHUB_API CspmProviderUpdateConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API CspmProviderUpdateConfiguration()=default
CspmProviderUpdateConfiguration & WithAzure(AzureT &&value)
AWS_SECURITYHUB_API CspmProviderUpdateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue