AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
JiraCloudDetail.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/ConnectorAuthStatus.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 JiraCloudDetail() = default;
32 AWS_SECURITYHUB_API JiraCloudDetail(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYHUB_API JiraCloudDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetCloudId() const { return m_cloudId; }
41 inline bool CloudIdHasBeenSet() const { return m_cloudIdHasBeenSet; }
42 template <typename CloudIdT = Aws::String>
43 void SetCloudId(CloudIdT&& value) {
44 m_cloudIdHasBeenSet = true;
45 m_cloudId = std::forward<CloudIdT>(value);
46 }
47 template <typename CloudIdT = Aws::String>
48 JiraCloudDetail& WithCloudId(CloudIdT&& value) {
49 SetCloudId(std::forward<CloudIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetProjectKey() const { return m_projectKey; }
59 inline bool ProjectKeyHasBeenSet() const { return m_projectKeyHasBeenSet; }
60 template <typename ProjectKeyT = Aws::String>
61 void SetProjectKey(ProjectKeyT&& value) {
62 m_projectKeyHasBeenSet = true;
63 m_projectKey = std::forward<ProjectKeyT>(value);
64 }
65 template <typename ProjectKeyT = Aws::String>
66 JiraCloudDetail& WithProjectKey(ProjectKeyT&& value) {
67 SetProjectKey(std::forward<ProjectKeyT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetDomain() const { return m_domain; }
77 inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; }
78 template <typename DomainT = Aws::String>
79 void SetDomain(DomainT&& value) {
80 m_domainHasBeenSet = true;
81 m_domain = std::forward<DomainT>(value);
82 }
83 template <typename DomainT = Aws::String>
84 JiraCloudDetail& WithDomain(DomainT&& value) {
85 SetDomain(std::forward<DomainT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetAuthUrl() const { return m_authUrl; }
95 inline bool AuthUrlHasBeenSet() const { return m_authUrlHasBeenSet; }
96 template <typename AuthUrlT = Aws::String>
97 void SetAuthUrl(AuthUrlT&& value) {
98 m_authUrlHasBeenSet = true;
99 m_authUrl = std::forward<AuthUrlT>(value);
100 }
101 template <typename AuthUrlT = Aws::String>
102 JiraCloudDetail& WithAuthUrl(AuthUrlT&& value) {
103 SetAuthUrl(std::forward<AuthUrlT>(value));
104 return *this;
105 }
107
109
112 inline ConnectorAuthStatus GetAuthStatus() const { return m_authStatus; }
113 inline bool AuthStatusHasBeenSet() const { return m_authStatusHasBeenSet; }
115 m_authStatusHasBeenSet = true;
116 m_authStatus = value;
117 }
119 SetAuthStatus(value);
120 return *this;
121 }
123 private:
124 Aws::String m_cloudId;
125
126 Aws::String m_projectKey;
127
128 Aws::String m_domain;
129
130 Aws::String m_authUrl;
131
133 bool m_cloudIdHasBeenSet = false;
134 bool m_projectKeyHasBeenSet = false;
135 bool m_domainHasBeenSet = false;
136 bool m_authUrlHasBeenSet = false;
137 bool m_authStatusHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace SecurityHub
142} // namespace Aws
AWS_SECURITYHUB_API JiraCloudDetail(Aws::Utils::Json::JsonView jsonValue)
void SetProjectKey(ProjectKeyT &&value)
JiraCloudDetail & WithCloudId(CloudIdT &&value)
AWS_SECURITYHUB_API JiraCloudDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAuthStatus(ConnectorAuthStatus value)
JiraCloudDetail & WithAuthStatus(ConnectorAuthStatus value)
ConnectorAuthStatus GetAuthStatus() const
const Aws::String & GetProjectKey() const
JiraCloudDetail & WithAuthUrl(AuthUrlT &&value)
const Aws::String & GetCloudId() const
const Aws::String & GetDomain() const
JiraCloudDetail & WithDomain(DomainT &&value)
const Aws::String & GetAuthUrl() const
JiraCloudDetail & WithProjectKey(ProjectKeyT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API JiraCloudDetail()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue