AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ErrorCodeT = Aws::String>
49 void SetErrorCode(ErrorCodeT&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::forward<ErrorCodeT>(value); }
50 template<typename ErrorCodeT = Aws::String>
51 PutProjectEventsResultEntry& WithErrorCode(ErrorCodeT&& value) { SetErrorCode(std::forward<ErrorCodeT>(value)); return *this;}
53
55
59 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
60 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
61 template<typename ErrorMessageT = Aws::String>
62 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
63 template<typename ErrorMessageT = Aws::String>
64 PutProjectEventsResultEntry& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
66
68
71 inline const Aws::String& GetEventId() const { return m_eventId; }
72 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
73 template<typename EventIdT = Aws::String>
74 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet = true; m_eventId = std::forward<EventIdT>(value); }
75 template<typename EventIdT = Aws::String>
76 PutProjectEventsResultEntry& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
78 private:
79
80 Aws::String m_errorCode;
81 bool m_errorCodeHasBeenSet = false;
82
83 Aws::String m_errorMessage;
84 bool m_errorMessageHasBeenSet = false;
85
86 Aws::String m_eventId;
87 bool m_eventIdHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace CloudWatchEvidently
92} // namespace Aws
void SetErrorMessage(ErrorMessageT &&value)
void SetErrorCode(ErrorCodeT &&value)
AWS_CLOUDWATCHEVIDENTLY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetEventId() const
void SetEventId(EventIdT &&value)
const Aws::String & GetErrorMessage() const
bool ErrorMessageHasBeenSet() const
bool ErrorCodeHasBeenSet() const
AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry()=default
AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
PutProjectEventsResultEntry & WithEventId(EventIdT &&value)
AWS_CLOUDWATCHEVIDENTLY_API PutProjectEventsResultEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetErrorCode() const
PutProjectEventsResultEntry & WithErrorMessage(ErrorMessageT &&value)
bool EventIdHasBeenSet() const
PutProjectEventsResultEntry & WithErrorCode(ErrorCodeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue