AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ProviderConfiguration.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#include <aws/securityhub/model/JiraCloudProviderConfiguration.h>
11#include <aws/securityhub/model/ServiceNowProviderConfiguration.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 ProviderConfiguration() = default;
34 AWS_SECURITYHUB_API ProviderConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const JiraCloudProviderConfiguration& GetJiraCloud() const { return m_jiraCloud; }
44 inline bool JiraCloudHasBeenSet() const { return m_jiraCloudHasBeenSet; }
45 template <typename JiraCloudT = JiraCloudProviderConfiguration>
46 void SetJiraCloud(JiraCloudT&& value) {
47 m_jiraCloudHasBeenSet = true;
48 m_jiraCloud = std::forward<JiraCloudT>(value);
49 }
50 template <typename JiraCloudT = JiraCloudProviderConfiguration>
51 ProviderConfiguration& WithJiraCloud(JiraCloudT&& value) {
52 SetJiraCloud(std::forward<JiraCloudT>(value));
53 return *this;
54 }
56
58
62 inline const ServiceNowProviderConfiguration& GetServiceNow() const { return m_serviceNow; }
63 inline bool ServiceNowHasBeenSet() const { return m_serviceNowHasBeenSet; }
64 template <typename ServiceNowT = ServiceNowProviderConfiguration>
65 void SetServiceNow(ServiceNowT&& value) {
66 m_serviceNowHasBeenSet = true;
67 m_serviceNow = std::forward<ServiceNowT>(value);
68 }
69 template <typename ServiceNowT = ServiceNowProviderConfiguration>
70 ProviderConfiguration& WithServiceNow(ServiceNowT&& value) {
71 SetServiceNow(std::forward<ServiceNowT>(value));
72 return *this;
73 }
75
77
81 inline const AzureProviderConfiguration& GetAzure() const { return m_azure; }
82 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
83 template <typename AzureT = AzureProviderConfiguration>
84 void SetAzure(AzureT&& value) {
85 m_azureHasBeenSet = true;
86 m_azure = std::forward<AzureT>(value);
87 }
88 template <typename AzureT = AzureProviderConfiguration>
90 SetAzure(std::forward<AzureT>(value));
91 return *this;
92 }
94
96
100 inline const GcpProviderConfiguration& GetGCP() const { return m_gCP; }
101 inline bool GCPHasBeenSet() const { return m_gCPHasBeenSet; }
102 template <typename GCPT = GcpProviderConfiguration>
103 void SetGCP(GCPT&& value) {
104 m_gCPHasBeenSet = true;
105 m_gCP = std::forward<GCPT>(value);
106 }
107 template <typename GCPT = GcpProviderConfiguration>
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
ProviderConfiguration & WithAzure(AzureT &&value)
ProviderConfiguration & WithJiraCloud(JiraCloudT &&value)
const GcpProviderConfiguration & GetGCP() const
AWS_SECURITYHUB_API ProviderConfiguration(Aws::Utils::Json::JsonView jsonValue)
const ServiceNowProviderConfiguration & GetServiceNow() const
ProviderConfiguration & WithServiceNow(ServiceNowT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API ProviderConfiguration()=default
ProviderConfiguration & WithGCP(GCPT &&value)
const JiraCloudProviderConfiguration & GetJiraCloud() const
const AzureProviderConfiguration & GetAzure() const
AWS_SECURITYHUB_API ProviderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue