AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CodeRemediationTaskDetails.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 CodeRemediationTaskDetails() = default;
33 AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetRepoName() const { return m_repoName; }
40 inline bool RepoNameHasBeenSet() const { return m_repoNameHasBeenSet; }
41 template <typename RepoNameT = Aws::String>
42 void SetRepoName(RepoNameT&& value) {
43 m_repoNameHasBeenSet = true;
44 m_repoName = std::forward<RepoNameT>(value);
45 }
46 template <typename RepoNameT = Aws::String>
48 SetRepoName(std::forward<RepoNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetCodeDiffLink() const { return m_codeDiffLink; }
58 inline bool CodeDiffLinkHasBeenSet() const { return m_codeDiffLinkHasBeenSet; }
59 template <typename CodeDiffLinkT = Aws::String>
60 void SetCodeDiffLink(CodeDiffLinkT&& value) {
61 m_codeDiffLinkHasBeenSet = true;
62 m_codeDiffLink = std::forward<CodeDiffLinkT>(value);
63 }
64 template <typename CodeDiffLinkT = Aws::String>
66 SetCodeDiffLink(std::forward<CodeDiffLinkT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetPullRequestLink() const { return m_pullRequestLink; }
76 inline bool PullRequestLinkHasBeenSet() const { return m_pullRequestLinkHasBeenSet; }
77 template <typename PullRequestLinkT = Aws::String>
78 void SetPullRequestLink(PullRequestLinkT&& value) {
79 m_pullRequestLinkHasBeenSet = true;
80 m_pullRequestLink = std::forward<PullRequestLinkT>(value);
81 }
82 template <typename PullRequestLinkT = Aws::String>
84 SetPullRequestLink(std::forward<PullRequestLinkT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_repoName;
90
91 Aws::String m_codeDiffLink;
92
93 Aws::String m_pullRequestLink;
94 bool m_repoNameHasBeenSet = false;
95 bool m_codeDiffLinkHasBeenSet = false;
96 bool m_pullRequestLinkHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace SecurityAgent
101} // namespace Aws
AWS_SECURITYAGENT_API CodeRemediationTaskDetails(Aws::Utils::Json::JsonView jsonValue)
CodeRemediationTaskDetails & WithCodeDiffLink(CodeDiffLinkT &&value)
AWS_SECURITYAGENT_API CodeRemediationTaskDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYAGENT_API Aws::Utils::Json::JsonValue Jsonize() const
CodeRemediationTaskDetails & WithPullRequestLink(PullRequestLinkT &&value)
AWS_SECURITYAGENT_API CodeRemediationTaskDetails()=default
CodeRemediationTaskDetails & WithRepoName(RepoNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue