AWS SDK for C++

AWS SDK for C++ Version 1.11.787

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
25 public:
26 AWS_SECURITYAGENT_API GitHubResourceCapabilities() = default;
29 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
30
32
35 inline bool GetLeaveComments() const { return m_leaveComments; }
36 inline bool LeaveCommentsHasBeenSet() const { return m_leaveCommentsHasBeenSet; }
37 inline void SetLeaveComments(bool value) {
38 m_leaveCommentsHasBeenSet = true;
39 m_leaveComments = value;
40 }
42 SetLeaveComments(value);
43 return *this;
44 }
46
48
51 inline bool GetRemediateCode() const { return m_remediateCode; }
52 inline bool RemediateCodeHasBeenSet() const { return m_remediateCodeHasBeenSet; }
53 inline void SetRemediateCode(bool value) {
54 m_remediateCodeHasBeenSet = true;
55 m_remediateCode = value;
56 }
58 SetRemediateCode(value);
59 return *this;
60 }
62 private:
63 bool m_leaveComments{false};
64
65 bool m_remediateCode{false};
66 bool m_leaveCommentsHasBeenSet = false;
67 bool m_remediateCodeHasBeenSet = false;
68};
69
70} // namespace Model
71} // namespace SecurityAgent
72} // 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