AWS SDK for C++

AWS SDK for C++ Version 1.11.816

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