AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ProviderConfiguration.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/JiraCloudProviderConfiguration.h>
9#include <aws/securityhub/model/ServiceNowProviderConfiguration.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityHub
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SECURITYHUB_API ProviderConfiguration() = default;
37 AWS_SECURITYHUB_API ProviderConfiguration(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const JiraCloudProviderConfiguration& GetJiraCloud() const { return m_jiraCloud; }
48 inline bool JiraCloudHasBeenSet() const { return m_jiraCloudHasBeenSet; }
49 template<typename JiraCloudT = JiraCloudProviderConfiguration>
50 void SetJiraCloud(JiraCloudT&& value) { m_jiraCloudHasBeenSet = true; m_jiraCloud = std::forward<JiraCloudT>(value); }
51 template<typename JiraCloudT = JiraCloudProviderConfiguration>
52 ProviderConfiguration& WithJiraCloud(JiraCloudT&& value) { SetJiraCloud(std::forward<JiraCloudT>(value)); return *this;}
54
56
60 inline const ServiceNowProviderConfiguration& GetServiceNow() const { return m_serviceNow; }
61 inline bool ServiceNowHasBeenSet() const { return m_serviceNowHasBeenSet; }
62 template<typename ServiceNowT = ServiceNowProviderConfiguration>
63 void SetServiceNow(ServiceNowT&& value) { m_serviceNowHasBeenSet = true; m_serviceNow = std::forward<ServiceNowT>(value); }
64 template<typename ServiceNowT = ServiceNowProviderConfiguration>
65 ProviderConfiguration& WithServiceNow(ServiceNowT&& value) { SetServiceNow(std::forward<ServiceNowT>(value)); return *this;}
67 private:
68
70 bool m_jiraCloudHasBeenSet = false;
71
73 bool m_serviceNowHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace SecurityHub
78} // namespace Aws
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
AWS_SECURITYHUB_API ProviderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue