AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
UpdateIntegrationDetails.h
1
6#pragma once
7#include <aws/inspector2/Inspector2_EXPORTS.h>
8#include <aws/inspector2/model/UpdateGitHubIntegrationDetail.h>
9#include <aws/inspector2/model/UpdateGitLabSelfManagedIntegrationDetail.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Inspector2 {
21namespace Model {
22
30 public:
31 AWS_INSPECTOR2_API UpdateIntegrationDetails() = default;
34 AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const UpdateGitLabSelfManagedIntegrationDetail& GetGitlabSelfManaged() const { return m_gitlabSelfManaged; }
42 inline bool GitlabSelfManagedHasBeenSet() const { return m_gitlabSelfManagedHasBeenSet; }
43 template <typename GitlabSelfManagedT = UpdateGitLabSelfManagedIntegrationDetail>
44 void SetGitlabSelfManaged(GitlabSelfManagedT&& value) {
45 m_gitlabSelfManagedHasBeenSet = true;
46 m_gitlabSelfManaged = std::forward<GitlabSelfManagedT>(value);
47 }
48 template <typename GitlabSelfManagedT = UpdateGitLabSelfManagedIntegrationDetail>
49 UpdateIntegrationDetails& WithGitlabSelfManaged(GitlabSelfManagedT&& value) {
50 SetGitlabSelfManaged(std::forward<GitlabSelfManagedT>(value));
51 return *this;
52 }
54
56
59 inline const UpdateGitHubIntegrationDetail& GetGithub() const { return m_github; }
60 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
61 template <typename GithubT = UpdateGitHubIntegrationDetail>
62 void SetGithub(GithubT&& value) {
63 m_githubHasBeenSet = true;
64 m_github = std::forward<GithubT>(value);
65 }
66 template <typename GithubT = UpdateGitHubIntegrationDetail>
68 SetGithub(std::forward<GithubT>(value));
69 return *this;
70 }
72 private:
74
76 bool m_gitlabSelfManagedHasBeenSet = false;
77 bool m_githubHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace Inspector2
82} // namespace Aws
AWS_INSPECTOR2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_INSPECTOR2_API UpdateIntegrationDetails(Aws::Utils::Json::JsonView jsonValue)
const UpdateGitHubIntegrationDetail & GetGithub() const
AWS_INSPECTOR2_API UpdateIntegrationDetails()=default
UpdateIntegrationDetails & WithGithub(GithubT &&value)
AWS_INSPECTOR2_API UpdateIntegrationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const UpdateGitLabSelfManagedIntegrationDetail & GetGitlabSelfManaged() const
UpdateIntegrationDetails & WithGitlabSelfManaged(GitlabSelfManagedT &&value)
Aws::Utils::Json::JsonValue JsonValue