AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
BitbucketResourceCapabilities.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/securityagent/SecurityAgent_EXPORTS.h>
9#include <aws/securityagent/model/TriggerFilterGroup.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SecurityAgent {
21namespace Model {
22
30 public:
31 AWS_SECURITYAGENT_API BitbucketResourceCapabilities() = default;
34 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline const Aws::Vector<TriggerFilterGroup>& GetTriggerFilterGroups() const { return m_triggerFilterGroups; }
44 inline bool TriggerFilterGroupsHasBeenSet() const { return m_triggerFilterGroupsHasBeenSet; }
45 template <typename TriggerFilterGroupsT = Aws::Vector<TriggerFilterGroup>>
46 void SetTriggerFilterGroups(TriggerFilterGroupsT&& value) {
47 m_triggerFilterGroupsHasBeenSet = true;
48 m_triggerFilterGroups = std::forward<TriggerFilterGroupsT>(value);
49 }
50 template <typename TriggerFilterGroupsT = Aws::Vector<TriggerFilterGroup>>
52 SetTriggerFilterGroups(std::forward<TriggerFilterGroupsT>(value));
53 return *this;
54 }
55 template <typename TriggerFilterGroupsT = TriggerFilterGroup>
57 m_triggerFilterGroupsHasBeenSet = true;
58 m_triggerFilterGroups.emplace_back(std::forward<TriggerFilterGroupsT>(value));
59 return *this;
60 }
62
64
67 inline bool GetLeaveComments() const { return m_leaveComments; }
68 inline bool LeaveCommentsHasBeenSet() const { return m_leaveCommentsHasBeenSet; }
69 inline void SetLeaveComments(bool value) {
70 m_leaveCommentsHasBeenSet = true;
71 m_leaveComments = value;
72 }
74 SetLeaveComments(value);
75 return *this;
76 }
78
80
83 inline bool GetRemediateCode() const { return m_remediateCode; }
84 inline bool RemediateCodeHasBeenSet() const { return m_remediateCodeHasBeenSet; }
85 inline void SetRemediateCode(bool value) {
86 m_remediateCodeHasBeenSet = true;
87 m_remediateCode = value;
88 }
90 SetRemediateCode(value);
91 return *this;
92 }
94 private:
95 Aws::Vector<TriggerFilterGroup> m_triggerFilterGroups;
96
97 bool m_leaveComments{false};
98
99 bool m_remediateCode{false};
100 bool m_triggerFilterGroupsHasBeenSet = false;
101 bool m_leaveCommentsHasBeenSet = false;
102 bool m_remediateCodeHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace SecurityAgent
107} // namespace Aws
AWS_SECURITYAGENT_API BitbucketResourceCapabilities()=default
BitbucketResourceCapabilities & AddTriggerFilterGroups(TriggerFilterGroupsT &&value)
AWS_SECURITYAGENT_API BitbucketResourceCapabilities(Aws::Utils::Json::JsonView jsonValue)
BitbucketResourceCapabilities & WithTriggerFilterGroups(TriggerFilterGroupsT &&value)
const Aws::Vector< TriggerFilterGroup > & GetTriggerFilterGroups() const
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYAGENT_API BitbucketResourceCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue