AWS SDK for C++  1.9.154
AWS SDK for C++
PutRecordBatchResponseEntry.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Firehose
22 {
23 namespace Model
24 {
25 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetRecordId() const{ return m_recordId; }
48 
52  inline bool RecordIdHasBeenSet() const { return m_recordIdHasBeenSet; }
53 
57  inline void SetRecordId(const Aws::String& value) { m_recordIdHasBeenSet = true; m_recordId = value; }
58 
62  inline void SetRecordId(Aws::String&& value) { m_recordIdHasBeenSet = true; m_recordId = std::move(value); }
63 
67  inline void SetRecordId(const char* value) { m_recordIdHasBeenSet = true; m_recordId.assign(value); }
68 
72  inline PutRecordBatchResponseEntry& WithRecordId(const Aws::String& value) { SetRecordId(value); return *this;}
73 
77  inline PutRecordBatchResponseEntry& WithRecordId(Aws::String&& value) { SetRecordId(std::move(value)); return *this;}
78 
82  inline PutRecordBatchResponseEntry& WithRecordId(const char* value) { SetRecordId(value); return *this;}
83 
84 
88  inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
89 
93  inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
94 
98  inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
99 
103  inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
104 
108  inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
109 
113  inline PutRecordBatchResponseEntry& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
114 
118  inline PutRecordBatchResponseEntry& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
119 
123  inline PutRecordBatchResponseEntry& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
124 
125 
129  inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
130 
134  inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
135 
139  inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
140 
144  inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
145 
149  inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
150 
154  inline PutRecordBatchResponseEntry& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
155 
159  inline PutRecordBatchResponseEntry& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
160 
164  inline PutRecordBatchResponseEntry& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
165 
166  private:
167 
168  Aws::String m_recordId;
169  bool m_recordIdHasBeenSet;
170 
171  Aws::String m_errorCode;
172  bool m_errorCodeHasBeenSet;
173 
174  Aws::String m_errorMessage;
175  bool m_errorMessageHasBeenSet;
176  };
177 
178 } // namespace Model
179 } // namespace Firehose
180 } // namespace Aws
Aws::Firehose::Model::PutRecordBatchResponseEntry::RecordIdHasBeenSet
bool RecordIdHasBeenSet() const
Definition: PutRecordBatchResponseEntry.h:52
Aws::Firehose::Model::PutRecordBatchResponseEntry::SetRecordId
void SetRecordId(const char *value)
Definition: PutRecordBatchResponseEntry.h:67
Aws::Firehose::Model::PutRecordBatchResponseEntry::SetErrorCode
void SetErrorCode(const Aws::String &value)
Definition: PutRecordBatchResponseEntry.h:98
Aws::Firehose::Model::PutRecordBatchResponseEntry::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: PutRecordBatchResponseEntry.h:93
Aws::Firehose::Model::PutRecordBatchResponseEntry::ErrorMessageHasBeenSet
bool ErrorMessageHasBeenSet() const
Definition: PutRecordBatchResponseEntry.h:134
Aws::Firehose::Model::PutRecordBatchResponseEntry::GetErrorCode
const Aws::String & GetErrorCode() const
Definition: PutRecordBatchResponseEntry.h:88
Aws::Firehose::Model::PutRecordBatchResponseEntry::WithRecordId
PutRecordBatchResponseEntry & WithRecordId(Aws::String &&value)
Definition: PutRecordBatchResponseEntry.h:77
Aws::Firehose::Model::PutRecordBatchResponseEntry::WithErrorCode
PutRecordBatchResponseEntry & WithErrorCode(const char *value)
Definition: PutRecordBatchResponseEntry.h:123
Aws::Firehose::Model::PutRecordBatchResponseEntry::WithErrorCode
PutRecordBatchResponseEntry & WithErrorCode(const Aws::String &value)
Definition: PutRecordBatchResponseEntry.h:113
Aws::Firehose::Model::PutRecordBatchResponseEntry::SetErrorMessage
void SetErrorMessage(Aws::String &&value)
Definition: PutRecordBatchResponseEntry.h:144
Aws::Firehose::Model::PutRecordBatchResponseEntry::WithErrorMessage
PutRecordBatchResponseEntry & WithErrorMessage(Aws::String &&value)
Definition: PutRecordBatchResponseEntry.h:159
Aws::Firehose::Model::PutRecordBatchResponseEntry::SetErrorMessage
void SetErrorMessage(const char *value)
Definition: PutRecordBatchResponseEntry.h:149
Aws::Firehose::Model::PutRecordBatchResponseEntry::SetErrorCode
void SetErrorCode(Aws::String &&value)
Definition: PutRecordBatchResponseEntry.h:103
Aws::Firehose::Model::PutRecordBatchResponseEntry::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
AWS_FIREHOSE_API
#define AWS_FIREHOSE_API
Definition: Firehose_EXPORTS.h:28
Aws::Firehose::Model::PutRecordBatchResponseEntry::WithErrorCode
PutRecordBatchResponseEntry & WithErrorCode(Aws::String &&value)
Definition: PutRecordBatchResponseEntry.h:118
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Firehose::Model::PutRecordBatchResponseEntry::PutRecordBatchResponseEntry
PutRecordBatchResponseEntry(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::PutRecordBatchResponseEntry::SetErrorCode
void SetErrorCode(const char *value)
Definition: PutRecordBatchResponseEntry.h:108
Firehose_EXPORTS.h
Aws::Firehose::Model::PutRecordBatchResponseEntry
Definition: PutRecordBatchResponseEntry.h:36
Aws::Firehose::Model::PutRecordBatchResponseEntry::operator=
PutRecordBatchResponseEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Firehose::Model::PutRecordBatchResponseEntry::SetRecordId
void SetRecordId(const Aws::String &value)
Definition: PutRecordBatchResponseEntry.h:57
Aws::Firehose::Model::PutRecordBatchResponseEntry::WithRecordId
PutRecordBatchResponseEntry & WithRecordId(const char *value)
Definition: PutRecordBatchResponseEntry.h:82
Aws::Firehose::Model::PutRecordBatchResponseEntry::SetErrorMessage
void SetErrorMessage(const Aws::String &value)
Definition: PutRecordBatchResponseEntry.h:139
Aws::Firehose::Model::PutRecordBatchResponseEntry::PutRecordBatchResponseEntry
PutRecordBatchResponseEntry()
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::Firehose::Model::PutRecordBatchResponseEntry::WithErrorMessage
PutRecordBatchResponseEntry & WithErrorMessage(const char *value)
Definition: PutRecordBatchResponseEntry.h:164
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Firehose::Model::PutRecordBatchResponseEntry::WithErrorMessage
PutRecordBatchResponseEntry & WithErrorMessage(const Aws::String &value)
Definition: PutRecordBatchResponseEntry.h:154
Aws::Firehose::Model::PutRecordBatchResponseEntry::WithRecordId
PutRecordBatchResponseEntry & WithRecordId(const Aws::String &value)
Definition: PutRecordBatchResponseEntry.h:72
Aws::Firehose::Model::PutRecordBatchResponseEntry::SetRecordId
void SetRecordId(Aws::String &&value)
Definition: PutRecordBatchResponseEntry.h:62
Aws::Firehose::Model::PutRecordBatchResponseEntry::GetRecordId
const Aws::String & GetRecordId() const
Definition: PutRecordBatchResponseEntry.h:47
Aws::Firehose::Model::PutRecordBatchResponseEntry::GetErrorMessage
const Aws::String & GetErrorMessage() const
Definition: PutRecordBatchResponseEntry.h:129