AWS SDK for C++

AWS SDK for C++ Version 1.11.865

Loading...
Searching...
No Matches
IntegratedRepository.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.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 IntegratedRepository() = default;
31 AWS_SECURITYAGENT_API IntegratedRepository(Aws::Utils::Json::JsonView jsonValue);
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
40 inline const Aws::String& GetIntegrationId() const { return m_integrationId; }
41 inline bool IntegrationIdHasBeenSet() const { return m_integrationIdHasBeenSet; }
42 template <typename IntegrationIdT = Aws::String>
43 void SetIntegrationId(IntegrationIdT&& value) {
44 m_integrationIdHasBeenSet = true;
45 m_integrationId = std::forward<IntegrationIdT>(value);
46 }
47 template <typename IntegrationIdT = Aws::String>
48 IntegratedRepository& WithIntegrationId(IntegrationIdT&& value) {
49 SetIntegrationId(std::forward<IntegrationIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetProviderResourceId() const { return m_providerResourceId; }
59 inline bool ProviderResourceIdHasBeenSet() const { return m_providerResourceIdHasBeenSet; }
60 template <typename ProviderResourceIdT = Aws::String>
61 void SetProviderResourceId(ProviderResourceIdT&& value) {
62 m_providerResourceIdHasBeenSet = true;
63 m_providerResourceId = std::forward<ProviderResourceIdT>(value);
64 }
65 template <typename ProviderResourceIdT = Aws::String>
66 IntegratedRepository& WithProviderResourceId(ProviderResourceIdT&& value) {
67 SetProviderResourceId(std::forward<ProviderResourceIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetBranch() const { return m_branch; }
77 inline bool BranchHasBeenSet() const { return m_branchHasBeenSet; }
78 template <typename BranchT = Aws::String>
79 void SetBranch(BranchT&& value) {
80 m_branchHasBeenSet = true;
81 m_branch = std::forward<BranchT>(value);
82 }
83 template <typename BranchT = Aws::String>
84 IntegratedRepository& WithBranch(BranchT&& value) {
85 SetBranch(std::forward<BranchT>(value));
86 return *this;
87 }
89 private:
90 Aws::String m_integrationId;
91
92 Aws::String m_providerResourceId;
93
94 Aws::String m_branch;
95 bool m_integrationIdHasBeenSet = false;
96 bool m_providerResourceIdHasBeenSet = false;
97 bool m_branchHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace SecurityAgent
102} // namespace Aws
IntegratedRepository & WithBranch(BranchT &&value)
void SetProviderResourceId(ProviderResourceIdT &&value)
IntegratedRepository & WithIntegrationId(IntegrationIdT &&value)
AWS_SECURITYAGENT_API IntegratedRepository & operator=(Aws::Utils::Json::JsonView jsonValue)
IntegratedRepository & WithProviderResourceId(ProviderResourceIdT &&value)
AWS_SECURITYAGENT_API IntegratedRepository(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API IntegratedRepository()=default
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue