AWS SDK for C++

AWS SDK for C++ Version 1.11.844

Loading...
Searching...
No Matches
ProviderInput.h
1
6#pragma once
7#include <aws/securityagent/SecurityAgent_EXPORTS.h>
8#include <aws/securityagent/model/BitbucketIntegrationInput.h>
9#include <aws/securityagent/model/ConfluenceIntegrationInput.h>
10#include <aws/securityagent/model/GitHubIntegrationInput.h>
11#include <aws/securityagent/model/GitLabIntegrationInput.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SecurityAgent {
23namespace Model {
24
32 public:
33 AWS_SECURITYAGENT_API ProviderInput() = default;
34 AWS_SECURITYAGENT_API ProviderInput(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SECURITYAGENT_API ProviderInput& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const GitHubIntegrationInput& GetGithub() const { return m_github; }
43 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
44 template <typename GithubT = GitHubIntegrationInput>
45 void SetGithub(GithubT&& value) {
46 m_githubHasBeenSet = true;
47 m_github = std::forward<GithubT>(value);
48 }
49 template <typename GithubT = GitHubIntegrationInput>
50 ProviderInput& WithGithub(GithubT&& value) {
51 SetGithub(std::forward<GithubT>(value));
52 return *this;
53 }
55
57
60 inline const GitLabIntegrationInput& GetGitlab() const { return m_gitlab; }
61 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
62 template <typename GitlabT = GitLabIntegrationInput>
63 void SetGitlab(GitlabT&& value) {
64 m_gitlabHasBeenSet = true;
65 m_gitlab = std::forward<GitlabT>(value);
66 }
67 template <typename GitlabT = GitLabIntegrationInput>
68 ProviderInput& WithGitlab(GitlabT&& value) {
69 SetGitlab(std::forward<GitlabT>(value));
70 return *this;
71 }
73
75
78 inline const BitbucketIntegrationInput& GetBitbucket() const { return m_bitbucket; }
79 inline bool BitbucketHasBeenSet() const { return m_bitbucketHasBeenSet; }
80 template <typename BitbucketT = BitbucketIntegrationInput>
81 void SetBitbucket(BitbucketT&& value) {
82 m_bitbucketHasBeenSet = true;
83 m_bitbucket = std::forward<BitbucketT>(value);
84 }
85 template <typename BitbucketT = BitbucketIntegrationInput>
86 ProviderInput& WithBitbucket(BitbucketT&& value) {
87 SetBitbucket(std::forward<BitbucketT>(value));
88 return *this;
89 }
91
93
96 inline const ConfluenceIntegrationInput& GetConfluence() const { return m_confluence; }
97 inline bool ConfluenceHasBeenSet() const { return m_confluenceHasBeenSet; }
98 template <typename ConfluenceT = ConfluenceIntegrationInput>
99 void SetConfluence(ConfluenceT&& value) {
100 m_confluenceHasBeenSet = true;
101 m_confluence = std::forward<ConfluenceT>(value);
102 }
103 template <typename ConfluenceT = ConfluenceIntegrationInput>
104 ProviderInput& WithConfluence(ConfluenceT&& value) {
105 SetConfluence(std::forward<ConfluenceT>(value));
106 return *this;
107 }
109 private:
110 GitHubIntegrationInput m_github;
111
112 GitLabIntegrationInput m_gitlab;
113
114 BitbucketIntegrationInput m_bitbucket;
115
116 ConfluenceIntegrationInput m_confluence;
117 bool m_githubHasBeenSet = false;
118 bool m_gitlabHasBeenSet = false;
119 bool m_bitbucketHasBeenSet = false;
120 bool m_confluenceHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace SecurityAgent
125} // namespace Aws
const GitHubIntegrationInput & GetGithub() const
const GitLabIntegrationInput & GetGitlab() const
const ConfluenceIntegrationInput & GetConfluence() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const BitbucketIntegrationInput & GetBitbucket() const
AWS_SECURITYAGENT_API ProviderInput()=default
void SetBitbucket(BitbucketT &&value)
void SetConfluence(ConfluenceT &&value)
ProviderInput & WithBitbucket(BitbucketT &&value)
ProviderInput & WithConfluence(ConfluenceT &&value)
AWS_SECURITYAGENT_API ProviderInput(Aws::Utils::Json::JsonView jsonValue)
ProviderInput & WithGithub(GithubT &&value)
AWS_SECURITYAGENT_API ProviderInput & operator=(Aws::Utils::Json::JsonView jsonValue)
ProviderInput & WithGitlab(GitlabT &&value)
Aws::Utils::Json::JsonValue JsonValue