AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutProjectEventsResultEntry.h
1
6#pragma once
7#include <aws/evidently/CloudWatchEvidently_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 CloudWatchEvidently
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry();
36 AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
47 inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
48 inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
49 inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
50 inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
51 inline PutProjectEventsResultEntry& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
52 inline PutProjectEventsResultEntry& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
53 inline PutProjectEventsResultEntry& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
55
57
61 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
62 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
63 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
64 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
65 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
66 inline PutProjectEventsResultEntry& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
67 inline PutProjectEventsResultEntry& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
68 inline PutProjectEventsResultEntry& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
70
72
75 inline const Aws::String& GetEventId() const{ return m_eventId; }
76 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
77 inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; }
78 inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); }
79 inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); }
80 inline PutProjectEventsResultEntry& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
81 inline PutProjectEventsResultEntry& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
82 inline PutProjectEventsResultEntry& WithEventId(const char* value) { SetEventId(value); return *this;}
84 private:
85
86 Aws::String m_errorCode;
87 bool m_errorCodeHasBeenSet = false;
88
89 Aws::String m_errorMessage;
90 bool m_errorMessageHasBeenSet = false;
91
92 Aws::String m_eventId;
93 bool m_eventIdHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CloudWatchEvidently
98} // namespace Aws
PutProjectEventsResultEntry & WithErrorMessage(const Aws::String &value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCode(const Aws::String &value)
const Aws::String & GetEventId() const
void SetErrorMessage(Aws::String &&value)
void SetEventId(const char *value)
void SetEventId(Aws::String &&value)
AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry()
void SetErrorCode(const char *value)
const Aws::String & GetErrorMessage() const
PutProjectEventsResultEntry & WithErrorCode(const Aws::String &value)
bool ErrorMessageHasBeenSet() const
void SetEventId(const Aws::String &value)
PutProjectEventsResultEntry & WithErrorCode(const char *value)
PutProjectEventsResultEntry & WithEventId(Aws::String &&value)
bool ErrorCodeHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
PutProjectEventsResultEntry & WithErrorMessage(Aws::String &&value)
void SetErrorMessage(const Aws::String &value)
PutProjectEventsResultEntry & WithErrorMessage(const char *value)
void SetErrorCode(Aws::String &&value)
PutProjectEventsResultEntry & WithEventId(const char *value)
AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorCode() const
void SetErrorMessage(const char *value)
bool EventIdHasBeenSet() const
PutProjectEventsResultEntry & WithEventId(const Aws::String &value)
PutProjectEventsResultEntry & WithErrorCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue