AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailureDetails.h
1
6#pragma once
7#include <aws/elasticmapreduce/EMR_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace EMR
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_EMR_API FailureDetails();
39
40
42
47 inline const Aws::String& GetReason() const{ return m_reason; }
48 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
49 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
50 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
51 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
52 inline FailureDetails& WithReason(const Aws::String& value) { SetReason(value); return *this;}
53 inline FailureDetails& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
54 inline FailureDetails& WithReason(const char* value) { SetReason(value); return *this;}
56
58
63 inline const Aws::String& GetMessage() const{ return m_message; }
64 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
65 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
66 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
67 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
68 inline FailureDetails& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
69 inline FailureDetails& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
70 inline FailureDetails& WithMessage(const char* value) { SetMessage(value); return *this;}
72
74
78 inline const Aws::String& GetLogFile() const{ return m_logFile; }
79 inline bool LogFileHasBeenSet() const { return m_logFileHasBeenSet; }
80 inline void SetLogFile(const Aws::String& value) { m_logFileHasBeenSet = true; m_logFile = value; }
81 inline void SetLogFile(Aws::String&& value) { m_logFileHasBeenSet = true; m_logFile = std::move(value); }
82 inline void SetLogFile(const char* value) { m_logFileHasBeenSet = true; m_logFile.assign(value); }
83 inline FailureDetails& WithLogFile(const Aws::String& value) { SetLogFile(value); return *this;}
84 inline FailureDetails& WithLogFile(Aws::String&& value) { SetLogFile(std::move(value)); return *this;}
85 inline FailureDetails& WithLogFile(const char* value) { SetLogFile(value); return *this;}
87 private:
88
89 Aws::String m_reason;
90 bool m_reasonHasBeenSet = false;
91
92 Aws::String m_message;
93 bool m_messageHasBeenSet = false;
94
95 Aws::String m_logFile;
96 bool m_logFileHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace EMR
101} // namespace Aws
void SetMessage(Aws::String &&value)
FailureDetails & WithReason(Aws::String &&value)
FailureDetails & WithReason(const Aws::String &value)
void SetLogFile(Aws::String &&value)
AWS_EMR_API FailureDetails(Aws::Utils::Json::JsonView jsonValue)
FailureDetails & WithReason(const char *value)
void SetMessage(const char *value)
FailureDetails & WithMessage(const Aws::String &value)
const Aws::String & GetMessage() const
void SetLogFile(const char *value)
void SetReason(const char *value)
void SetMessage(const Aws::String &value)
void SetLogFile(const Aws::String &value)
FailureDetails & WithLogFile(Aws::String &&value)
FailureDetails & WithLogFile(const char *value)
FailureDetails & WithMessage(Aws::String &&value)
FailureDetails & WithLogFile(const Aws::String &value)
AWS_EMR_API FailureDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
FailureDetails & WithMessage(const char *value)
AWS_EMR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetLogFile() const
const Aws::String & GetReason() const
void SetReason(const Aws::String &value)
void SetReason(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue