AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ProviderUpdateConfiguration.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/JiraCloudUpdateConfiguration.h>
9#include <aws/securityhub/model/ServiceNowUpdateConfiguration.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 ProviderUpdateConfiguration() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const JiraCloudUpdateConfiguration& GetJiraCloud() const { return m_jiraCloud; }
42 inline bool JiraCloudHasBeenSet() const { return m_jiraCloudHasBeenSet; }
43 template <typename JiraCloudT = JiraCloudUpdateConfiguration>
44 void SetJiraCloud(JiraCloudT&& value) {
45 m_jiraCloudHasBeenSet = true;
46 m_jiraCloud = std::forward<JiraCloudT>(value);
47 }
48 template <typename JiraCloudT = JiraCloudUpdateConfiguration>
50 SetJiraCloud(std::forward<JiraCloudT>(value));
51 return *this;
52 }
54
56
60 inline const ServiceNowUpdateConfiguration& GetServiceNow() const { return m_serviceNow; }
61 inline bool ServiceNowHasBeenSet() const { return m_serviceNowHasBeenSet; }
62 template <typename ServiceNowT = ServiceNowUpdateConfiguration>
63 void SetServiceNow(ServiceNowT&& value) {
64 m_serviceNowHasBeenSet = true;
65 m_serviceNow = std::forward<ServiceNowT>(value);
66 }
67 template <typename ServiceNowT = ServiceNowUpdateConfiguration>
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
AWS_SECURITYHUB_API ProviderUpdateConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const ServiceNowUpdateConfiguration & GetServiceNow() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
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