AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ProviderDetail.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#include <aws/securityhub/model/JiraCloudDetail.h>
11#include <aws/securityhub/model/ServiceNowDetail.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub {
23namespace Model {
24
32 public:
33 AWS_SECURITYHUB_API ProviderDetail() = default;
34 AWS_SECURITYHUB_API ProviderDetail(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYHUB_API ProviderDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const JiraCloudDetail& GetJiraCloud() const { return m_jiraCloud; }
43 inline bool JiraCloudHasBeenSet() const { return m_jiraCloudHasBeenSet; }
44 template <typename JiraCloudT = JiraCloudDetail>
45 void SetJiraCloud(JiraCloudT&& value) {
46 m_jiraCloudHasBeenSet = true;
47 m_jiraCloud = std::forward<JiraCloudT>(value);
48 }
49 template <typename JiraCloudT = JiraCloudDetail>
50 ProviderDetail& WithJiraCloud(JiraCloudT&& value) {
51 SetJiraCloud(std::forward<JiraCloudT>(value));
52 return *this;
53 }
55
57
60 inline const ServiceNowDetail& GetServiceNow() const { return m_serviceNow; }
61 inline bool ServiceNowHasBeenSet() const { return m_serviceNowHasBeenSet; }
62 template <typename ServiceNowT = ServiceNowDetail>
63 void SetServiceNow(ServiceNowT&& value) {
64 m_serviceNowHasBeenSet = true;
65 m_serviceNow = std::forward<ServiceNowT>(value);
66 }
67 template <typename ServiceNowT = ServiceNowDetail>
68 ProviderDetail& WithServiceNow(ServiceNowT&& value) {
69 SetServiceNow(std::forward<ServiceNowT>(value));
70 return *this;
71 }
73
75
78 inline const AzureDetail& GetAzure() const { return m_azure; }
79 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
80 template <typename AzureT = AzureDetail>
81 void SetAzure(AzureT&& value) {
82 m_azureHasBeenSet = true;
83 m_azure = std::forward<AzureT>(value);
84 }
85 template <typename AzureT = AzureDetail>
86 ProviderDetail& WithAzure(AzureT&& value) {
87 SetAzure(std::forward<AzureT>(value));
88 return *this;
89 }
91
93
96 inline const GcpDetail& GetGCP() const { return m_gCP; }
97 inline bool GCPHasBeenSet() const { return m_gCPHasBeenSet; }
98 template <typename GCPT = GcpDetail>
99 void SetGCP(GCPT&& value) {
100 m_gCPHasBeenSet = true;
101 m_gCP = std::forward<GCPT>(value);
102 }
103 template <typename GCPT = GcpDetail>
104 ProviderDetail& WithGCP(GCPT&& value) {
105 SetGCP(std::forward<GCPT>(value));
106 return *this;
107 }
109 private:
110 JiraCloudDetail m_jiraCloud;
111
112 ServiceNowDetail m_serviceNow;
113
114 AzureDetail m_azure;
115
116 GcpDetail m_gCP;
117 bool m_jiraCloudHasBeenSet = false;
118 bool m_serviceNowHasBeenSet = false;
119 bool m_azureHasBeenSet = false;
120 bool m_gCPHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace SecurityHub
125} // namespace Aws
ProviderDetail & WithAzure(AzureT &&value)
const JiraCloudDetail & GetJiraCloud() const
AWS_SECURITYHUB_API ProviderDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ProviderDetail & WithGCP(GCPT &&value)
const ServiceNowDetail & GetServiceNow() const
AWS_SECURITYHUB_API ProviderDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ProviderDetail()=default
ProviderDetail & WithServiceNow(ServiceNowT &&value)
const AzureDetail & GetAzure() const
void SetJiraCloud(JiraCloudT &&value)
void SetServiceNow(ServiceNowT &&value)
ProviderDetail & WithJiraCloud(JiraCloudT &&value)
Aws::Utils::Json::JsonValue JsonValue