AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ProviderUpdateConfiguration.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#include <aws/securityhub/model/JiraCloudUpdateConfiguration.h>
11#include <aws/securityhub/model/ServiceNowUpdateConfiguration.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 ProviderUpdateConfiguration() = default;
36 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const JiraCloudUpdateConfiguration& GetJiraCloud() const { return m_jiraCloud; }
44 inline bool JiraCloudHasBeenSet() const { return m_jiraCloudHasBeenSet; }
45 template <typename JiraCloudT = JiraCloudUpdateConfiguration>
46 void SetJiraCloud(JiraCloudT&& value) {
47 m_jiraCloudHasBeenSet = true;
48 m_jiraCloud = std::forward<JiraCloudT>(value);
49 }
50 template <typename JiraCloudT = JiraCloudUpdateConfiguration>
52 SetJiraCloud(std::forward<JiraCloudT>(value));
53 return *this;
54 }
56
58
62 inline const ServiceNowUpdateConfiguration& GetServiceNow() const { return m_serviceNow; }
63 inline bool ServiceNowHasBeenSet() const { return m_serviceNowHasBeenSet; }
64 template <typename ServiceNowT = ServiceNowUpdateConfiguration>
65 void SetServiceNow(ServiceNowT&& value) {
66 m_serviceNowHasBeenSet = true;
67 m_serviceNow = std::forward<ServiceNowT>(value);
68 }
69 template <typename ServiceNowT = ServiceNowUpdateConfiguration>
71 SetServiceNow(std::forward<ServiceNowT>(value));
72 return *this;
73 }
75
77
81 inline const AzureUpdateConfiguration& GetAzure() const { return m_azure; }
82 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
83 template <typename AzureT = AzureUpdateConfiguration>
84 void SetAzure(AzureT&& value) {
85 m_azureHasBeenSet = true;
86 m_azure = std::forward<AzureT>(value);
87 }
88 template <typename AzureT = AzureUpdateConfiguration>
90 SetAzure(std::forward<AzureT>(value));
91 return *this;
92 }
94
96
100 inline const GcpUpdateConfiguration& GetGCP() const { return m_gCP; }
101 inline bool GCPHasBeenSet() const { return m_gCPHasBeenSet; }
102 template <typename GCPT = GcpUpdateConfiguration>
103 void SetGCP(GCPT&& value) {
104 m_gCPHasBeenSet = true;
105 m_gCP = std::forward<GCPT>(value);
106 }
107 template <typename GCPT = GcpUpdateConfiguration>
109 SetGCP(std::forward<GCPT>(value));
110 return *this;
111 }
113 private:
115
117
119
121 bool m_jiraCloudHasBeenSet = false;
122 bool m_serviceNowHasBeenSet = false;
123 bool m_azureHasBeenSet = false;
124 bool m_gCPHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace SecurityHub
129} // namespace Aws
AWS_SECURITYHUB_API ProviderUpdateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServiceNowUpdateConfiguration & GetServiceNow() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
ProviderUpdateConfiguration & WithAzure(AzureT &&value)
ProviderUpdateConfiguration & WithJiraCloud(JiraCloudT &&value)
AWS_SECURITYHUB_API ProviderUpdateConfiguration()=default
ProviderUpdateConfiguration & WithServiceNow(ServiceNowT &&value)
AWS_SECURITYHUB_API ProviderUpdateConfiguration(Aws::Utils::Json::JsonView jsonValue)
const JiraCloudUpdateConfiguration & GetJiraCloud() const
Aws::Utils::Json::JsonValue JsonValue