AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ProviderDetail.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/JiraCloudDetail.h>
9#include <aws/securityhub/model/ServiceNowDetail.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 ProviderDetail() = default;
32 AWS_SECURITYHUB_API ProviderDetail(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API ProviderDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const JiraCloudDetail& GetJiraCloud() const { return m_jiraCloud; }
41 inline bool JiraCloudHasBeenSet() const { return m_jiraCloudHasBeenSet; }
42 template <typename JiraCloudT = JiraCloudDetail>
43 void SetJiraCloud(JiraCloudT&& value) {
44 m_jiraCloudHasBeenSet = true;
45 m_jiraCloud = std::forward<JiraCloudT>(value);
46 }
47 template <typename JiraCloudT = JiraCloudDetail>
48 ProviderDetail& WithJiraCloud(JiraCloudT&& value) {
49 SetJiraCloud(std::forward<JiraCloudT>(value));
50 return *this;
51 }
53
55
58 inline const ServiceNowDetail& GetServiceNow() const { return m_serviceNow; }
59 inline bool ServiceNowHasBeenSet() const { return m_serviceNowHasBeenSet; }
60 template <typename ServiceNowT = ServiceNowDetail>
61 void SetServiceNow(ServiceNowT&& value) {
62 m_serviceNowHasBeenSet = true;
63 m_serviceNow = std::forward<ServiceNowT>(value);
64 }
65 template <typename ServiceNowT = ServiceNowDetail>
66 ProviderDetail& WithServiceNow(ServiceNowT&& value) {
67 SetServiceNow(std::forward<ServiceNowT>(value));
68 return *this;
69 }
71 private:
72 JiraCloudDetail m_jiraCloud;
73
74 ServiceNowDetail m_serviceNow;
75 bool m_jiraCloudHasBeenSet = false;
76 bool m_serviceNowHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace SecurityHub
81} // namespace Aws
const JiraCloudDetail & GetJiraCloud() const
AWS_SECURITYHUB_API ProviderDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const ServiceNowDetail & GetServiceNow() const
AWS_SECURITYHUB_API ProviderDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ProviderDetail()=default
ProviderDetail & WithServiceNow(ServiceNowT &&value)
void SetJiraCloud(JiraCloudT &&value)
void SetServiceNow(ServiceNowT &&value)
ProviderDetail & WithJiraCloud(JiraCloudT &&value)
Aws::Utils::Json::JsonValue JsonValue