AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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