AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchResultErrorEntry.h
1
6#pragma once
7#include <aws/sqs/SQS_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 SQS
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SQS_API BatchResultErrorEntry();
39
40
42
45 inline const Aws::String& GetId() const{ return m_id; }
46 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
47 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
48 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
49 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
50 inline BatchResultErrorEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
51 inline BatchResultErrorEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
52 inline BatchResultErrorEntry& WithId(const char* value) { SetId(value); return *this;}
54
56
60 inline bool GetSenderFault() const{ return m_senderFault; }
61 inline bool SenderFaultHasBeenSet() const { return m_senderFaultHasBeenSet; }
62 inline void SetSenderFault(bool value) { m_senderFaultHasBeenSet = true; m_senderFault = value; }
63 inline BatchResultErrorEntry& WithSenderFault(bool value) { SetSenderFault(value); return *this;}
65
67
70 inline const Aws::String& GetCode() const{ return m_code; }
71 inline bool CodeHasBeenSet() const { return m_codeHasBeenSet; }
72 inline void SetCode(const Aws::String& value) { m_codeHasBeenSet = true; m_code = value; }
73 inline void SetCode(Aws::String&& value) { m_codeHasBeenSet = true; m_code = std::move(value); }
74 inline void SetCode(const char* value) { m_codeHasBeenSet = true; m_code.assign(value); }
75 inline BatchResultErrorEntry& WithCode(const Aws::String& value) { SetCode(value); return *this;}
76 inline BatchResultErrorEntry& WithCode(Aws::String&& value) { SetCode(std::move(value)); return *this;}
77 inline BatchResultErrorEntry& WithCode(const char* value) { SetCode(value); return *this;}
79
81
84 inline const Aws::String& GetMessage() const{ return m_message; }
85 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
86 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
87 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
88 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
89 inline BatchResultErrorEntry& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
90 inline BatchResultErrorEntry& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
91 inline BatchResultErrorEntry& WithMessage(const char* value) { SetMessage(value); return *this;}
93 private:
94
95 Aws::String m_id;
96 bool m_idHasBeenSet = false;
97
98 bool m_senderFault;
99 bool m_senderFaultHasBeenSet = false;
100
101 Aws::String m_code;
102 bool m_codeHasBeenSet = false;
103
104 Aws::String m_message;
105 bool m_messageHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace SQS
110} // namespace Aws
BatchResultErrorEntry & WithCode(Aws::String &&value)
bool GetSenderFault() const
void SetMessage(const Aws::String &value)
AWS_SQS_API BatchResultErrorEntry()
const Aws::String & GetCode() const
AWS_SQS_API BatchResultErrorEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCode(const char *value)
BatchResultErrorEntry & WithMessage(const char *value)
void SetMessage(const char *value)
BatchResultErrorEntry & WithId(const Aws::String &value)
void SetCode(const Aws::String &value)
void SetSenderFault(bool value)
bool CodeHasBeenSet() const
AWS_SQS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SQS_API BatchResultErrorEntry(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetMessage() const
void SetId(Aws::String &&value)
BatchResultErrorEntry & WithId(const char *value)
void SetId(const char *value)
bool IdHasBeenSet() const
BatchResultErrorEntry & WithSenderFault(bool value)
BatchResultErrorEntry & WithMessage(const Aws::String &value)
BatchResultErrorEntry & WithMessage(Aws::String &&value)
bool MessageHasBeenSet() const
BatchResultErrorEntry & WithId(Aws::String &&value)
void SetId(const Aws::String &value)
void SetMessage(Aws::String &&value)
bool SenderFaultHasBeenSet() const
BatchResultErrorEntry & WithCode(const Aws::String &value)
BatchResultErrorEntry & WithCode(const char *value)
const Aws::String & GetId() const
void SetCode(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue