AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EventDetailsErrorItem.h
1
6#pragma once
7#include <aws/health/Health_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 Health
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_HEALTH_API EventDetailsErrorItem();
39 AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
51 inline const Aws::String& GetEventArn() const{ return m_eventArn; }
52 inline bool EventArnHasBeenSet() const { return m_eventArnHasBeenSet; }
53 inline void SetEventArn(const Aws::String& value) { m_eventArnHasBeenSet = true; m_eventArn = value; }
54 inline void SetEventArn(Aws::String&& value) { m_eventArnHasBeenSet = true; m_eventArn = std::move(value); }
55 inline void SetEventArn(const char* value) { m_eventArnHasBeenSet = true; m_eventArn.assign(value); }
56 inline EventDetailsErrorItem& WithEventArn(const Aws::String& value) { SetEventArn(value); return *this;}
57 inline EventDetailsErrorItem& WithEventArn(Aws::String&& value) { SetEventArn(std::move(value)); return *this;}
58 inline EventDetailsErrorItem& WithEventArn(const char* value) { SetEventArn(value); return *this;}
60
62
65 inline const Aws::String& GetErrorName() const{ return m_errorName; }
66 inline bool ErrorNameHasBeenSet() const { return m_errorNameHasBeenSet; }
67 inline void SetErrorName(const Aws::String& value) { m_errorNameHasBeenSet = true; m_errorName = value; }
68 inline void SetErrorName(Aws::String&& value) { m_errorNameHasBeenSet = true; m_errorName = std::move(value); }
69 inline void SetErrorName(const char* value) { m_errorNameHasBeenSet = true; m_errorName.assign(value); }
70 inline EventDetailsErrorItem& WithErrorName(const Aws::String& value) { SetErrorName(value); return *this;}
71 inline EventDetailsErrorItem& WithErrorName(Aws::String&& value) { SetErrorName(std::move(value)); return *this;}
72 inline EventDetailsErrorItem& WithErrorName(const char* value) { SetErrorName(value); return *this;}
74
76
79 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
80 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
81 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
82 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
83 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
84 inline EventDetailsErrorItem& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
85 inline EventDetailsErrorItem& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
86 inline EventDetailsErrorItem& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
88 private:
89
90 Aws::String m_eventArn;
91 bool m_eventArnHasBeenSet = false;
92
93 Aws::String m_errorName;
94 bool m_errorNameHasBeenSet = false;
95
96 Aws::String m_errorMessage;
97 bool m_errorMessageHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace Health
102} // namespace Aws
EventDetailsErrorItem & WithErrorMessage(const Aws::String &value)
void SetErrorMessage(const Aws::String &value)
AWS_HEALTH_API EventDetailsErrorItem(Aws::Utils::Json::JsonView jsonValue)
EventDetailsErrorItem & WithErrorName(const Aws::String &value)
void SetErrorName(const Aws::String &value)
EventDetailsErrorItem & WithErrorMessage(Aws::String &&value)
EventDetailsErrorItem & WithErrorMessage(const char *value)
EventDetailsErrorItem & WithEventArn(const Aws::String &value)
AWS_HEALTH_API Aws::Utils::Json::JsonValue Jsonize() const
EventDetailsErrorItem & WithErrorName(Aws::String &&value)
EventDetailsErrorItem & WithErrorName(const char *value)
EventDetailsErrorItem & WithEventArn(Aws::String &&value)
EventDetailsErrorItem & WithEventArn(const char *value)
AWS_HEALTH_API EventDetailsErrorItem & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue