AWS SDK for C++

AWS SDK for C++ Version 1.11.718

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityHub {
21namespace Model {
22
30 public:
31 AWS_SECURITYHUB_API ProviderConfiguration() = default;
32 AWS_SECURITYHUB_API ProviderConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const JiraCloudProviderConfiguration& GetJiraCloud() const { return m_jiraCloud; }
42 inline bool JiraCloudHasBeenSet() const { return m_jiraCloudHasBeenSet; }
43 template <typename JiraCloudT = JiraCloudProviderConfiguration>
44 void SetJiraCloud(JiraCloudT&& value) {
45 m_jiraCloudHasBeenSet = true;
46 m_jiraCloud = std::forward<JiraCloudT>(value);
47 }
48 template <typename JiraCloudT = JiraCloudProviderConfiguration>
49 ProviderConfiguration& WithJiraCloud(JiraCloudT&& value) {
50 SetJiraCloud(std::forward<JiraCloudT>(value));
51 return *this;
52 }
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) {
64 m_serviceNowHasBeenSet = true;
65 m_serviceNow = std::forward<ServiceNowT>(value);
66 }
67 template <typename ServiceNowT = ServiceNowProviderConfiguration>
68 ProviderConfiguration& WithServiceNow(ServiceNowT&& value) {
69 SetServiceNow(std::forward<ServiceNowT>(value));
70 return *this;
71 }
73 private:
75
77 bool m_jiraCloudHasBeenSet = false;
78 bool m_serviceNowHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace SecurityHub
83} // 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