AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
DevOpsAgentInvestigation.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/resiliencehubv2/Resiliencehubv2_EXPORTS.h>
9#include <aws/resiliencehubv2/model/DevOpsAgentConfidence.h>
10#include <aws/resiliencehubv2/model/DevOpsAgentInvestigationStatus.h>
11#include <aws/resiliencehubv2/model/DevOpsAgentVerdict.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace resiliencehubv2 {
23namespace Model {
24
33 public:
34 AWS_RESILIENCEHUBV2_API DevOpsAgentInvestigation() = default;
35 AWS_RESILIENCEHUBV2_API DevOpsAgentInvestigation(Aws::Utils::Json::JsonView jsonValue);
37 AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
46 inline DevOpsAgentVerdict GetVerdict() const { return m_verdict; }
47 inline bool VerdictHasBeenSet() const { return m_verdictHasBeenSet; }
48 inline void SetVerdict(DevOpsAgentVerdict value) {
49 m_verdictHasBeenSet = true;
50 m_verdict = value;
51 }
53 SetVerdict(value);
54 return *this;
55 }
57
59
65 inline DevOpsAgentConfidence GetConfidence() const { return m_confidence; }
66 inline bool ConfidenceHasBeenSet() const { return m_confidenceHasBeenSet; }
68 m_confidenceHasBeenSet = true;
69 m_confidence = value;
70 }
72 SetConfidence(value);
73 return *this;
74 }
76
78
81 inline const Aws::String& GetDeepLink() const { return m_deepLink; }
82 inline bool DeepLinkHasBeenSet() const { return m_deepLinkHasBeenSet; }
83 template <typename DeepLinkT = Aws::String>
84 void SetDeepLink(DeepLinkT&& value) {
85 m_deepLinkHasBeenSet = true;
86 m_deepLink = std::forward<DeepLinkT>(value);
87 }
88 template <typename DeepLinkT = Aws::String>
90 SetDeepLink(std::forward<DeepLinkT>(value));
91 return *this;
92 }
94
96
105 inline DevOpsAgentInvestigationStatus GetStatus() const { return m_status; }
106 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
108 m_statusHasBeenSet = true;
109 m_status = value;
110 }
112 SetStatus(value);
113 return *this;
114 }
116
118
121 inline const Aws::String& GetSummary() const { return m_summary; }
122 inline bool SummaryHasBeenSet() const { return m_summaryHasBeenSet; }
123 template <typename SummaryT = Aws::String>
124 void SetSummary(SummaryT&& value) {
125 m_summaryHasBeenSet = true;
126 m_summary = std::forward<SummaryT>(value);
127 }
128 template <typename SummaryT = Aws::String>
130 SetSummary(std::forward<SummaryT>(value));
131 return *this;
132 }
134 private:
136
138
139 Aws::String m_deepLink;
140
142
143 Aws::String m_summary;
144 bool m_verdictHasBeenSet = false;
145 bool m_confidenceHasBeenSet = false;
146 bool m_deepLinkHasBeenSet = false;
147 bool m_statusHasBeenSet = false;
148 bool m_summaryHasBeenSet = false;
149};
150
151} // namespace Model
152} // namespace resiliencehubv2
153} // namespace Aws
DevOpsAgentInvestigation & WithSummary(SummaryT &&value)
AWS_RESILIENCEHUBV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_RESILIENCEHUBV2_API DevOpsAgentInvestigation(Aws::Utils::Json::JsonView jsonValue)
void SetStatus(DevOpsAgentInvestigationStatus value)
DevOpsAgentInvestigation & WithConfidence(DevOpsAgentConfidence value)
AWS_RESILIENCEHUBV2_API DevOpsAgentInvestigation & operator=(Aws::Utils::Json::JsonView jsonValue)
DevOpsAgentInvestigation & WithDeepLink(DeepLinkT &&value)
AWS_RESILIENCEHUBV2_API DevOpsAgentInvestigation()=default
DevOpsAgentInvestigation & WithStatus(DevOpsAgentInvestigationStatus value)
DevOpsAgentInvestigation & WithVerdict(DevOpsAgentVerdict value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue