AWS SDK for C++

AWS SDK for C++ Version 1.11.849

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/JiraCloudProviderConfiguration.h>
10#include <aws/securityhub/model/ServiceNowProviderConfiguration.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 ProviderConfiguration() = default;
33 AWS_SECURITYHUB_API ProviderConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
42 inline const JiraCloudProviderConfiguration& GetJiraCloud() const { return m_jiraCloud; }
43 inline bool JiraCloudHasBeenSet() const { return m_jiraCloudHasBeenSet; }
44 template <typename JiraCloudT = JiraCloudProviderConfiguration>
45 void SetJiraCloud(JiraCloudT&& value) {
46 m_jiraCloudHasBeenSet = true;
47 m_jiraCloud = std::forward<JiraCloudT>(value);
48 }
49 template <typename JiraCloudT = JiraCloudProviderConfiguration>
50 ProviderConfiguration& WithJiraCloud(JiraCloudT&& value) {
51 SetJiraCloud(std::forward<JiraCloudT>(value));
52 return *this;
53 }
55
57
61 inline const ServiceNowProviderConfiguration& GetServiceNow() const { return m_serviceNow; }
62 inline bool ServiceNowHasBeenSet() const { return m_serviceNowHasBeenSet; }
63 template <typename ServiceNowT = ServiceNowProviderConfiguration>
64 void SetServiceNow(ServiceNowT&& value) {
65 m_serviceNowHasBeenSet = true;
66 m_serviceNow = std::forward<ServiceNowT>(value);
67 }
68 template <typename ServiceNowT = ServiceNowProviderConfiguration>
69 ProviderConfiguration& WithServiceNow(ServiceNowT&& value) {
70 SetServiceNow(std::forward<ServiceNowT>(value));
71 return *this;
72 }
74
76
80 inline const AzureProviderConfiguration& GetAzure() const { return m_azure; }
81 inline bool AzureHasBeenSet() const { return m_azureHasBeenSet; }
82 template <typename AzureT = AzureProviderConfiguration>
83 void SetAzure(AzureT&& value) {
84 m_azureHasBeenSet = true;
85 m_azure = std::forward<AzureT>(value);
86 }
87 template <typename AzureT = AzureProviderConfiguration>
89 SetAzure(std::forward<AzureT>(value));
90 return *this;
91 }
93 private:
95
97
99 bool m_jiraCloudHasBeenSet = false;
100 bool m_serviceNowHasBeenSet = false;
101 bool m_azureHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace SecurityHub
106} // namespace Aws
ProviderConfiguration & WithAzure(AzureT &&value)
ProviderConfiguration & WithJiraCloud(JiraCloudT &&value)
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
const JiraCloudProviderConfiguration & GetJiraCloud() const
const AzureProviderConfiguration & GetAzure() const
AWS_SECURITYHUB_API ProviderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue