AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CspmProviderConfiguration.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AzureProviderConfiguration.h>
9#include <aws/securityhub/model/GcpProviderConfiguration.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 CspmProviderConfiguration() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const AzureProviderConfiguration& GetAzure() const { return m_azure; }
41 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
42 template <typename AzureT = AzureProviderConfiguration>
43 void SetAzure(AzureT&& value) {
44 m_azureHasBeenSet = true;
45 m_azure = std::forward<AzureT>(value);
46 }
47 template <typename AzureT = AzureProviderConfiguration>
49 SetAzure(std::forward<AzureT>(value));
50 return *this;
51 }
53
55
58 inline const GcpProviderConfiguration& GetGCP() const { return m_gCP; }
59 inline bool GCPHasBeenSet() const { return m_gCPHasBeenSet; }
60 template <typename GCPT = GcpProviderConfiguration>
61 void SetGCP(GCPT&& value) {
62 m_gCPHasBeenSet = true;
63 m_gCP = std::forward<GCPT>(value);
64 }
65 template <typename GCPT = GcpProviderConfiguration>
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
CspmProviderConfiguration & WithGCP(GCPT &&value)
CspmProviderConfiguration & WithAzure(AzureT &&value)
const AzureProviderConfiguration & GetAzure() const
AWS_SECURITYHUB_API CspmProviderConfiguration()=default
AWS_SECURITYHUB_API CspmProviderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API CspmProviderConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue