AWS SDK for C++

AWS SDK for C++ Version 1.11.924

Loading...
Searching...
No Matches
ProviderDetails.h
1
6#pragma once
7#include <aws/continuum/Continuum_EXPORTS.h>
8#include <aws/continuum/model/GitHubDetails.h>
9#include <aws/continuum/model/GitLabDetails.h>
10#include <aws/continuum/model/S3Details.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 ProviderDetails() = default;
33 AWS_CONTINUUM_API ProviderDetails(Aws::Utils::Json::JsonView jsonValue);
35 AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const GitHubDetails& GetGithub() const { return m_github; }
42 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
43 template <typename GithubT = GitHubDetails>
44 void SetGithub(GithubT&& value) {
45 m_githubHasBeenSet = true;
46 m_github = std::forward<GithubT>(value);
47 }
48 template <typename GithubT = GitHubDetails>
49 ProviderDetails& WithGithub(GithubT&& value) {
50 SetGithub(std::forward<GithubT>(value));
51 return *this;
52 }
54
56
59 inline const GitLabDetails& GetGitlab() const { return m_gitlab; }
60 inline bool GitlabHasBeenSet() const { return m_gitlabHasBeenSet; }
61 template <typename GitlabT = GitLabDetails>
62 void SetGitlab(GitlabT&& value) {
63 m_gitlabHasBeenSet = true;
64 m_gitlab = std::forward<GitlabT>(value);
65 }
66 template <typename GitlabT = GitLabDetails>
67 ProviderDetails& WithGitlab(GitlabT&& value) {
68 SetGitlab(std::forward<GitlabT>(value));
69 return *this;
70 }
72
74
77 inline const S3Details& GetS3() const { return m_s3; }
78 inline bool S3HasBeenSet() const { return m_s3HasBeenSet; }
79 template <typename S3T = S3Details>
80 void SetS3(S3T&& value) {
81 m_s3HasBeenSet = true;
82 m_s3 = std::forward<S3T>(value);
83 }
84 template <typename S3T = S3Details>
85 ProviderDetails& WithS3(S3T&& value) {
86 SetS3(std::forward<S3T>(value));
87 return *this;
88 }
90 private:
91 GitHubDetails m_github;
92
93 GitLabDetails m_gitlab;
94
95 S3Details 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
AWS_CONTINUUM_API ProviderDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ProviderDetails & WithS3(S3T &&value)
AWS_CONTINUUM_API ProviderDetails()=default
const GitLabDetails & GetGitlab() const
AWS_CONTINUUM_API ProviderDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_CONTINUUM_API Aws::Utils::Json::JsonValue Jsonize() const
ProviderDetails & WithGithub(GithubT &&value)
const GitHubDetails & GetGithub() const
ProviderDetails & WithGitlab(GitlabT &&value)
Aws::Utils::Json::JsonValue JsonValue