AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
ProviderInput.h
1
6#pragma once
7#include <aws/securityagent/SecurityAgent_EXPORTS.h>
8#include <aws/securityagent/model/GitHubIntegrationInput.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityAgent {
20namespace Model {
21
29 public:
30 AWS_SECURITYAGENT_API ProviderInput() = default;
31 AWS_SECURITYAGENT_API ProviderInput(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API ProviderInput& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const GitHubIntegrationInput& GetGithub() const { return m_github; }
40 inline bool GithubHasBeenSet() const { return m_githubHasBeenSet; }
41 template <typename GithubT = GitHubIntegrationInput>
42 void SetGithub(GithubT&& value) {
43 m_githubHasBeenSet = true;
44 m_github = std::forward<GithubT>(value);
45 }
46 template <typename GithubT = GitHubIntegrationInput>
47 ProviderInput& WithGithub(GithubT&& value) {
48 SetGithub(std::forward<GithubT>(value));
49 return *this;
50 }
52 private:
54 bool m_githubHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace SecurityAgent
59} // namespace Aws
const GitHubIntegrationInput & GetGithub() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API ProviderInput()=default
AWS_SECURITYAGENT_API ProviderInput(Aws::Utils::Json::JsonView jsonValue)
ProviderInput & WithGithub(GithubT &&value)
AWS_SECURITYAGENT_API ProviderInput & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue