7#include <aws/bedrock-agentcore/BedrockAgentCore_EXPORTS.h>
8#include <aws/bedrock-agentcore/model/FailureSpanDetail.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace BedrockAgentCore {
43 template <
typename SessionIdT = Aws::String>
45 m_sessionIdHasBeenSet =
true;
46 m_sessionId = std::forward<SessionIdT>(value);
48 template <
typename SessionIdT = Aws::String>
61 template <
typename ExplanationT = Aws::String>
63 m_explanationHasBeenSet =
true;
64 m_explanation = std::forward<ExplanationT>(value);
66 template <
typename ExplanationT = Aws::String>
79 template <
typename FixTypeT = Aws::String>
81 m_fixTypeHasBeenSet =
true;
82 m_fixType = std::forward<FixTypeT>(value);
84 template <
typename FixTypeT = Aws::String>
97 template <
typename RecommendationT = Aws::String>
99 m_recommendationHasBeenSet =
true;
100 m_recommendation = std::forward<RecommendationT>(value);
102 template <
typename RecommendationT = Aws::String>
115 template <
typename FailureSpansT = Aws::Vector<FailureSpanDetail>>
117 m_failureSpansHasBeenSet =
true;
118 m_failureSpans = std::forward<FailureSpansT>(value);
120 template <
typename FailureSpansT = Aws::Vector<FailureSpanDetail>>
125 template <
typename FailureSpansT = FailureSpanDetail>
127 m_failureSpansHasBeenSet =
true;
128 m_failureSpans.emplace_back(std::forward<FailureSpansT>(value));
142 bool m_sessionIdHasBeenSet =
false;
143 bool m_explanationHasBeenSet =
false;
144 bool m_fixTypeHasBeenSet =
false;
145 bool m_recommendationHasBeenSet =
false;
146 bool m_failureSpansHasBeenSet =
false;
void SetExplanation(ExplanationT &&value)
const Aws::String & GetSessionId() const
AffectedSession & AddFailureSpans(FailureSpansT &&value)
AffectedSession & WithExplanation(ExplanationT &&value)
void SetRecommendation(RecommendationT &&value)
AWS_BEDROCKAGENTCORE_API AffectedSession(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExplanation() const
bool FailureSpansHasBeenSet() const
void SetFailureSpans(FailureSpansT &&value)
AffectedSession & WithFailureSpans(FailureSpansT &&value)
void SetSessionId(SessionIdT &&value)
AWS_BEDROCKAGENTCORE_API AffectedSession & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_BEDROCKAGENTCORE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRecommendation() const
AffectedSession & WithRecommendation(RecommendationT &&value)
bool RecommendationHasBeenSet() const
const Aws::Vector< FailureSpanDetail > & GetFailureSpans() const
const Aws::String & GetFixType() const
void SetFixType(FixTypeT &&value)
AffectedSession & WithFixType(FixTypeT &&value)
AWS_BEDROCKAGENTCORE_API AffectedSession()=default
bool FixTypeHasBeenSet() const
bool ExplanationHasBeenSet() const
AffectedSession & WithSessionId(SessionIdT &&value)
bool SessionIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue