AWS SDK for C++

AWS SDK for C++ Version 1.11.816

Loading...
Searching...
No Matches
GitHubResourceCapabilities.h
1
6#pragma once
7#include <aws/securityagent/SecurityAgent_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace SecurityAgent {
17namespace Model {
18
26 public:
27 AWS_SECURITYAGENT_API GitHubResourceCapabilities() = default;
30 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
31
33
36 inline bool GetLeaveComments() const { return m_leaveComments; }
37 inline bool LeaveCommentsHasBeenSet() const { return m_leaveCommentsHasBeenSet; }
38 inline void SetLeaveComments(bool value) {
39 m_leaveCommentsHasBeenSet = true;
40 m_leaveComments = value;
41 }
43 SetLeaveComments(value);
44 return *this;
45 }
47
49
53 inline bool GetRemediateCode() const { return m_remediateCode; }
54 inline bool RemediateCodeHasBeenSet() const { return m_remediateCodeHasBeenSet; }
55 inline void SetRemediateCode(bool value) {
56 m_remediateCodeHasBeenSet = true;
57 m_remediateCode = value;
58 }
60 SetRemediateCode(value);
61 return *this;
62 }
64 private:
65 bool m_leaveComments{false};
66
67 bool m_remediateCode{false};
68 bool m_leaveCommentsHasBeenSet = false;
69 bool m_remediateCodeHasBeenSet = false;
70};
71
72} // namespace Model
73} // namespace SecurityAgent
74} // namespace Aws
AWS_SECURITYAGENT_API GitHubResourceCapabilities & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API GitHubResourceCapabilities(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API GitHubResourceCapabilities()=default
GitHubResourceCapabilities & WithRemediateCode(bool value)
GitHubResourceCapabilities & WithLeaveComments(bool value)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue