AWS SDK for C++

AWS SDK for C++ Version 1.11.923

Loading...
Searching...
No Matches
ProviderInput.h
1
6#pragma once
7#include <aws/securityagent/SecurityAgent_EXPORTS.h>
8#include <aws/securityagent/model/AzureDevOpsIntegrationInput.h>
9#include <aws/securityagent/model/BitbucketDataCenterIntegrationInput.h>
10#include <aws/securityagent/model/BitbucketIntegrationInput.h>
11#include <aws/securityagent/model/ConfluenceIntegrationInput.h>
12#include <aws/securityagent/model/GitHubIntegrationInput.h>
13#include <aws/securityagent/model/GitLabIntegrationInput.h>
14#include <aws/securityagent/model/JiraIntegrationInput.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SecurityAgent {
26namespace Model {
27
35 public:
36 AWS_SECURITYAGENT_API ProviderInput() = default;
37 AWS_SECURITYAGENT_API ProviderInput(Aws::Utils::Json::JsonView jsonValue);
38 AWS_SECURITYAGENT_API ProviderInput& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const GitHubIntegrationInput& GetGithub() const { return m_github; }
46 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
47 template <typename GithubT = GitHubIntegrationInput>
48 void SetGithub(GithubT&& value) {
49 m_githubHasBeenSet = true;
50 m_github = std::forward<GithubT>(value);
51 }
52 template <typename GithubT = GitHubIntegrationInput>
53 ProviderInput& WithGithub(GithubT&& value) {
54 SetGithub(std::forward<GithubT>(value));
55 return *this;
56 }
58
60
63 inline const GitLabIntegrationInput& GetGitlab() const { return m_gitlab; }
64 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
65 template <typename GitlabT = GitLabIntegrationInput>
66 void SetGitlab(GitlabT&& value) {
67 m_gitlabHasBeenSet = true;
68 m_gitlab = std::forward<GitlabT>(value);
69 }
70 template <typename GitlabT = GitLabIntegrationInput>
71 ProviderInput& WithGitlab(GitlabT&& value) {
72 SetGitlab(std::forward<GitlabT>(value));
73 return *this;
74 }
76
78
81 inline const BitbucketIntegrationInput& GetBitbucket() const { return m_bitbucket; }
82 inline bool BitbucketHasBeenSet() const { return m_bitbucketHasBeenSet; }
83 template <typename BitbucketT = BitbucketIntegrationInput>
84 void SetBitbucket(BitbucketT&& value) {
85 m_bitbucketHasBeenSet = true;
86 m_bitbucket = std::forward<BitbucketT>(value);
87 }
88 template <typename BitbucketT = BitbucketIntegrationInput>
89 ProviderInput& WithBitbucket(BitbucketT&& value) {
90 SetBitbucket(std::forward<BitbucketT>(value));
91 return *this;
92 }
94
96
99 inline const ConfluenceIntegrationInput& GetConfluence() const { return m_confluence; }
100 inline bool ConfluenceHasBeenSet() const { return m_confluenceHasBeenSet; }
101 template <typename ConfluenceT = ConfluenceIntegrationInput>
102 void SetConfluence(ConfluenceT&& value) {
103 m_confluenceHasBeenSet = true;
104 m_confluence = std::forward<ConfluenceT>(value);
105 }
106 template <typename ConfluenceT = ConfluenceIntegrationInput>
107 ProviderInput& WithConfluence(ConfluenceT&& value) {
108 SetConfluence(std::forward<ConfluenceT>(value));
109 return *this;
110 }
112
114
117 inline const AzureDevOpsIntegrationInput& GetAzureDevOps() const { return m_azureDevOps; }
118 inline bool AzureDevOpsHasBeenSet() const { return m_azureDevOpsHasBeenSet; }
119 template <typename AzureDevOpsT = AzureDevOpsIntegrationInput>
120 void SetAzureDevOps(AzureDevOpsT&& value) {
121 m_azureDevOpsHasBeenSet = true;
122 m_azureDevOps = std::forward<AzureDevOpsT>(value);
123 }
124 template <typename AzureDevOpsT = AzureDevOpsIntegrationInput>
125 ProviderInput& WithAzureDevOps(AzureDevOpsT&& value) {
126 SetAzureDevOps(std::forward<AzureDevOpsT>(value));
127 return *this;
128 }
130
132
135 inline const BitbucketDataCenterIntegrationInput& GetBitbucketDataCenter() const { return m_bitbucketDataCenter; }
136 inline bool BitbucketDataCenterHasBeenSet() const { return m_bitbucketDataCenterHasBeenSet; }
137 template <typename BitbucketDataCenterT = BitbucketDataCenterIntegrationInput>
138 void SetBitbucketDataCenter(BitbucketDataCenterT&& value) {
139 m_bitbucketDataCenterHasBeenSet = true;
140 m_bitbucketDataCenter = std::forward<BitbucketDataCenterT>(value);
141 }
142 template <typename BitbucketDataCenterT = BitbucketDataCenterIntegrationInput>
143 ProviderInput& WithBitbucketDataCenter(BitbucketDataCenterT&& value) {
144 SetBitbucketDataCenter(std::forward<BitbucketDataCenterT>(value));
145 return *this;
146 }
148
150
153 inline const JiraIntegrationInput& GetJira() const { return m_jira; }
154 inline bool JiraHasBeenSet() const { return m_jiraHasBeenSet; }
155 template <typename JiraT = JiraIntegrationInput>
156 void SetJira(JiraT&& value) {
157 m_jiraHasBeenSet = true;
158 m_jira = std::forward<JiraT>(value);
159 }
160 template <typename JiraT = JiraIntegrationInput>
161 ProviderInput& WithJira(JiraT&& value) {
162 SetJira(std::forward<JiraT>(value));
163 return *this;
164 }
166 private:
167 GitHubIntegrationInput m_github;
168
169 GitLabIntegrationInput m_gitlab;
170
171 BitbucketIntegrationInput m_bitbucket;
172
173 ConfluenceIntegrationInput m_confluence;
174
175 AzureDevOpsIntegrationInput m_azureDevOps;
176
177 BitbucketDataCenterIntegrationInput m_bitbucketDataCenter;
178
180 bool m_githubHasBeenSet = false;
181 bool m_gitlabHasBeenSet = false;
182 bool m_bitbucketHasBeenSet = false;
183 bool m_confluenceHasBeenSet = false;
184 bool m_azureDevOpsHasBeenSet = false;
185 bool m_bitbucketDataCenterHasBeenSet = false;
186 bool m_jiraHasBeenSet = false;
187};
188
189} // namespace Model
190} // namespace SecurityAgent
191} // namespace Aws
const GitHubIntegrationInput & GetGithub() const
const GitLabIntegrationInput & GetGitlab() const
const ConfluenceIntegrationInput & GetConfluence() const
ProviderInput & WithAzureDevOps(AzureDevOpsT &&value)
const BitbucketDataCenterIntegrationInput & GetBitbucketDataCenter() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const BitbucketIntegrationInput & GetBitbucket() const
AWS_SECURITYAGENT_API ProviderInput()=default
const AzureDevOpsIntegrationInput & GetAzureDevOps() const
ProviderInput & WithBitbucketDataCenter(BitbucketDataCenterT &&value)
void SetBitbucket(BitbucketT &&value)
void SetConfluence(ConfluenceT &&value)
ProviderInput & WithBitbucket(BitbucketT &&value)
const JiraIntegrationInput & GetJira() const
ProviderInput & WithConfluence(ConfluenceT &&value)
AWS_SECURITYAGENT_API ProviderInput(Aws::Utils::Json::JsonView jsonValue)
ProviderInput & WithGithub(GithubT &&value)
void SetAzureDevOps(AzureDevOpsT &&value)
AWS_SECURITYAGENT_API ProviderInput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetBitbucketDataCenter(BitbucketDataCenterT &&value)
ProviderInput & WithGitlab(GitlabT &&value)
ProviderInput & WithJira(JiraT &&value)
Aws::Utils::Json::JsonValue JsonValue