AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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
28 public:
29 AWS_SECURITYAGENT_API IntegratedResource() = default;
30 AWS_SECURITYAGENT_API IntegratedResource(Aws::Utils::Json::JsonView jsonValue);
31 AWS_SECURITYAGENT_API IntegratedResource& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const GitHubRepositoryResource& GetGithubRepository() const { return m_githubRepository; }
39 inline bool GithubRepositoryHasBeenSet() const { return m_githubRepositoryHasBeenSet; }
40 template <typename GithubRepositoryT = GitHubRepositoryResource>
41 void SetGithubRepository(GithubRepositoryT&& value) {
42 m_githubRepositoryHasBeenSet = true;
43 m_githubRepository = std::forward<GithubRepositoryT>(value);
44 }
45 template <typename GithubRepositoryT = GitHubRepositoryResource>
46 IntegratedResource& WithGithubRepository(GithubRepositoryT&& value) {
47 SetGithubRepository(std::forward<GithubRepositoryT>(value));
48 return *this;
49 }
51 private:
52 GitHubRepositoryResource m_githubRepository;
53 bool m_githubRepositoryHasBeenSet = false;
54};
55
56} // namespace Model
57} // namespace SecurityAgent
58} // 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