AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
CspmProviderDetail.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AzureDetail.h>
9#include <aws/securityhub/model/GcpDetail.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 CspmProviderDetail() = default;
32 AWS_SECURITYHUB_API CspmProviderDetail(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const AzureDetail& GetAzure() const { return m_azure; }
41 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
42 template <typename AzureT = AzureDetail>
43 void SetAzure(AzureT&& value) {
44 m_azureHasBeenSet = true;
45 m_azure = std::forward<AzureT>(value);
46 }
47 template <typename AzureT = AzureDetail>
48 CspmProviderDetail& WithAzure(AzureT&& value) {
49 SetAzure(std::forward<AzureT>(value));
50 return *this;
51 }
53
55
58 inline const GcpDetail& GetGCP() const { return m_gCP; }
59 inline bool GCPHasBeenSet() const { return m_gCPHasBeenSet; }
60 template <typename GCPT = GcpDetail>
61 void SetGCP(GCPT&& value) {
62 m_gCPHasBeenSet = true;
63 m_gCP = std::forward<GCPT>(value);
64 }
65 template <typename GCPT = GcpDetail>
66 CspmProviderDetail& WithGCP(GCPT&& value) {
67 SetGCP(std::forward<GCPT>(value));
68 return *this;
69 }
71 private:
72 AzureDetail m_azure;
73
74 GcpDetail m_gCP;
75 bool m_azureHasBeenSet = false;
76 bool m_gCPHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SecurityHub
81} // namespace Aws
AWS_SECURITYHUB_API CspmProviderDetail()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API CspmProviderDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API CspmProviderDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
CspmProviderDetail & WithAzure(AzureT &&value)
CspmProviderDetail & WithGCP(GCPT &&value)
Aws::Utils::Json::JsonValue JsonValue