AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
IntegratedResource.h
1
6#pragma once
7#include <aws/securityagent/SecurityAgent_EXPORTS.h>
8#include <aws/securityagent/model/GitHubRepositoryResource.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
30 public:
31 AWS_SECURITYAGENT_API IntegratedResource() = default;
32 AWS_SECURITYAGENT_API IntegratedResource(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API IntegratedResource& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const GitHubRepositoryResource& GetGithubRepository() const { return m_githubRepository; }
41 inline bool GithubRepositoryHasBeenSet() const { return m_githubRepositoryHasBeenSet; }
42 template <typename GithubRepositoryT = GitHubRepositoryResource>
43 void SetGithubRepository(GithubRepositoryT&& value) {
44 m_githubRepositoryHasBeenSet = true;
45 m_githubRepository = std::forward<GithubRepositoryT>(value);
46 }
47 template <typename GithubRepositoryT = GitHubRepositoryResource>
48 IntegratedResource& WithGithubRepository(GithubRepositoryT&& value) {
49 SetGithubRepository(std::forward<GithubRepositoryT>(value));
50 return *this;
51 }
53 private:
54 GitHubRepositoryResource m_githubRepository;
55 bool m_githubRepositoryHasBeenSet = false;
56};
57
58} // namespace Model
59} // namespace SecurityAgent
60} // namespace Aws
IntegratedResource & WithGithubRepository(GithubRepositoryT &&value)
AWS_SECURITYAGENT_API IntegratedResource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API IntegratedResource()=default
AWS_SECURITYAGENT_API IntegratedResource(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
const GitHubRepositoryResource & GetGithubRepository() const
void SetGithubRepository(GithubRepositoryT &&value)
Aws::Utils::Json::JsonValue JsonValue