AWS SDK for C++

AWS SDK for C++ Version 1.11.845

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/JiraCloudDetail.h>
10#include <aws/securityhub/model/ServiceNowDetail.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 ProviderDetail() = default;
33 AWS_SECURITYHUB_API ProviderDetail(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API ProviderDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const JiraCloudDetail& GetJiraCloud() const { return m_jiraCloud; }
42 inline bool JiraCloudHasBeenSet() const { return m_jiraCloudHasBeenSet; }
43 template <typename JiraCloudT = JiraCloudDetail>
44 void SetJiraCloud(JiraCloudT&& value) {
45 m_jiraCloudHasBeenSet = true;
46 m_jiraCloud = std::forward<JiraCloudT>(value);
47 }
48 template <typename JiraCloudT = JiraCloudDetail>
49 ProviderDetail& WithJiraCloud(JiraCloudT&& value) {
50 SetJiraCloud(std::forward<JiraCloudT>(value));
51 return *this;
52 }
54
56
59 inline const ServiceNowDetail& GetServiceNow() const { return m_serviceNow; }
60 inline bool ServiceNowHasBeenSet() const { return m_serviceNowHasBeenSet; }
61 template <typename ServiceNowT = ServiceNowDetail>
62 void SetServiceNow(ServiceNowT&& value) {
63 m_serviceNowHasBeenSet = true;
64 m_serviceNow = std::forward<ServiceNowT>(value);
65 }
66 template <typename ServiceNowT = ServiceNowDetail>
67 ProviderDetail& WithServiceNow(ServiceNowT&& value) {
68 SetServiceNow(std::forward<ServiceNowT>(value));
69 return *this;
70 }
72
74
77 inline const AzureDetail& GetAzure() const { return m_azure; }
78 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
79 template <typename AzureT = AzureDetail>
80 void SetAzure(AzureT&& value) {
81 m_azureHasBeenSet = true;
82 m_azure = std::forward<AzureT>(value);
83 }
84 template <typename AzureT = AzureDetail>
85 ProviderDetail& WithAzure(AzureT&& value) {
86 SetAzure(std::forward<AzureT>(value));
87 return *this;
88 }
90 private:
91 JiraCloudDetail m_jiraCloud;
92
93 ServiceNowDetail m_serviceNow;
94
95 AzureDetail m_azure;
96 bool m_jiraCloudHasBeenSet = false;
97 bool m_serviceNowHasBeenSet = false;
98 bool m_azureHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace SecurityHub
103} // 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
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