AWS SDK for C++

AWS SDK for C++ Version 1.11.922

Loading...
Searching...
No Matches
ProviderConfiguration.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/continuum/model/GitHubConfiguration.h>
9#include <aws/continuum/model/GitLabConfiguration.h>
10#include <aws/continuum/model/S3Configuration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Continuum {
22namespace Model {
23
31 public:
32 AWS_CONTINUUM_API ProviderConfiguration() = default;
35 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const GitHubConfiguration& GetGithub() const { return m_github; }
42 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
43 template <typename GithubT = GitHubConfiguration>
44 void SetGithub(GithubT&& value) {
45 m_githubHasBeenSet = true;
46 m_github = std::forward<GithubT>(value);
47 }
48 template <typename GithubT = GitHubConfiguration>
50 SetGithub(std::forward<GithubT>(value));
51 return *this;
52 }
54
56
59 inline const GitLabConfiguration& GetGitlab() const { return m_gitlab; }
60 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
61 template <typename GitlabT = GitLabConfiguration>
62 void SetGitlab(GitlabT&& value) {
63 m_gitlabHasBeenSet = true;
64 m_gitlab = std::forward<GitlabT>(value);
65 }
66 template <typename GitlabT = GitLabConfiguration>
68 SetGitlab(std::forward<GitlabT>(value));
69 return *this;
70 }
72
74
77 inline const S3Configuration& GetS3() const { return m_s3; }
78 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
79 template <typename S3T = S3Configuration>
80 void SetS3(S3T&& value) {
81 m_s3HasBeenSet = true;
82 m_s3 = std::forward<S3T>(value);
83 }
84 template <typename S3T = S3Configuration>
86 SetS3(std::forward<S3T>(value));
87 return *this;
88 }
90 private:
91 GitHubConfiguration m_github;
92
93 GitLabConfiguration m_gitlab;
94
95 S3Configuration m_s3;
96 bool m_githubHasBeenSet = false;
97 bool m_gitlabHasBeenSet = false;
98 bool m_s3HasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Continuum
103} // namespace Aws
ProviderConfiguration & WithS3(S3T &&value)
AWS_CONTINUUM_API ProviderConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTINUUM_API ProviderConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
const GitLabConfiguration & GetGitlab() const
AWS_CONTINUUM_API ProviderConfiguration()=default
ProviderConfiguration & WithGithub(GithubT &&value)
ProviderConfiguration & WithGitlab(GitlabT &&value)
const GitHubConfiguration & GetGithub() const
Aws::Utils::Json::JsonValue JsonValue