7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename ReasonT = Aws::String>
50 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
51 template<
typename ReasonT = Aws::String>
63 template<
typename MessageT = Aws::String>
64 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
65 template<
typename MessageT = Aws::String>
76 template<
typename LogFileT = Aws::String>
77 void SetLogFile(LogFileT&& value) { m_logFileHasBeenSet =
true; m_logFile = std::forward<LogFileT>(value); }
78 template<
typename LogFileT = Aws::String>
84 bool m_reasonHasBeenSet =
false;
87 bool m_messageHasBeenSet =
false;
90 bool m_logFileHasBeenSet =
false;
bool MessageHasBeenSet() const
AWS_EMR_API FailureDetails(Aws::Utils::Json::JsonView jsonValue)
FailureDetails & WithMessage(MessageT &&value)
FailureDetails & WithReason(ReasonT &&value)
void SetLogFile(LogFileT &&value)
FailureDetails & WithLogFile(LogFileT &&value)
const Aws::String & GetMessage() const
AWS_EMR_API FailureDetails()=default
void SetReason(ReasonT &&value)
bool ReasonHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_EMR_API FailureDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLogFile() const
const Aws::String & GetReason() const
bool LogFileHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue