AWS SDK for C++  1.8.126
AWS SDK for C++
ChangeMessageVisibilityBatchRequestEntry.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sqs/SQS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Xml
17 {
18  class XmlNode;
19 } // namespace Xml
20 } // namespace Utils
21 namespace SQS
22 {
23 namespace Model
24 {
25 
43  {
44  public:
48 
49  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
50  void OutputToStream(Aws::OStream& oStream, const char* location) const;
51 
52 
60  inline const Aws::String& GetId() const{ return m_id; }
61 
69  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
70 
78  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
79 
87  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
88 
96  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
97 
105  inline ChangeMessageVisibilityBatchRequestEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
106 
114  inline ChangeMessageVisibilityBatchRequestEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
115 
123  inline ChangeMessageVisibilityBatchRequestEntry& WithId(const char* value) { SetId(value); return *this;}
124 
125 
129  inline const Aws::String& GetReceiptHandle() const{ return m_receiptHandle; }
130 
134  inline bool ReceiptHandleHasBeenSet() const { return m_receiptHandleHasBeenSet; }
135 
139  inline void SetReceiptHandle(const Aws::String& value) { m_receiptHandleHasBeenSet = true; m_receiptHandle = value; }
140 
144  inline void SetReceiptHandle(Aws::String&& value) { m_receiptHandleHasBeenSet = true; m_receiptHandle = std::move(value); }
145 
149  inline void SetReceiptHandle(const char* value) { m_receiptHandleHasBeenSet = true; m_receiptHandle.assign(value); }
150 
154  inline ChangeMessageVisibilityBatchRequestEntry& WithReceiptHandle(const Aws::String& value) { SetReceiptHandle(value); return *this;}
155 
159  inline ChangeMessageVisibilityBatchRequestEntry& WithReceiptHandle(Aws::String&& value) { SetReceiptHandle(std::move(value)); return *this;}
160 
164  inline ChangeMessageVisibilityBatchRequestEntry& WithReceiptHandle(const char* value) { SetReceiptHandle(value); return *this;}
165 
166 
170  inline int GetVisibilityTimeout() const{ return m_visibilityTimeout; }
171 
175  inline bool VisibilityTimeoutHasBeenSet() const { return m_visibilityTimeoutHasBeenSet; }
176 
180  inline void SetVisibilityTimeout(int value) { m_visibilityTimeoutHasBeenSet = true; m_visibilityTimeout = value; }
181 
185  inline ChangeMessageVisibilityBatchRequestEntry& WithVisibilityTimeout(int value) { SetVisibilityTimeout(value); return *this;}
186 
187  private:
188 
189  Aws::String m_id;
190  bool m_idHasBeenSet;
191 
192  Aws::String m_receiptHandle;
193  bool m_receiptHandleHasBeenSet;
194 
195  int m_visibilityTimeout;
196  bool m_visibilityTimeoutHasBeenSet;
197  };
198 
199 } // namespace Model
200 } // namespace SQS
201 } // namespace Aws
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::WithId
ChangeMessageVisibilityBatchRequestEntry & WithId(Aws::String &&value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:114
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::operator=
ChangeMessageVisibilityBatchRequestEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ChangeMessageVisibilityBatchRequestEntry.h:69
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::WithReceiptHandle
ChangeMessageVisibilityBatchRequestEntry & WithReceiptHandle(const Aws::String &value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:154
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::GetReceiptHandle
const Aws::String & GetReceiptHandle() const
Definition: ChangeMessageVisibilityBatchRequestEntry.h:129
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry
Definition: ChangeMessageVisibilityBatchRequestEntry.h:43
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::WithVisibilityTimeout
ChangeMessageVisibilityBatchRequestEntry & WithVisibilityTimeout(int value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:185
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::ChangeMessageVisibilityBatchRequestEntry
ChangeMessageVisibilityBatchRequestEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::SetVisibilityTimeout
void SetVisibilityTimeout(int value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:180
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::SetReceiptHandle
void SetReceiptHandle(const char *value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:149
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::GetVisibilityTimeout
int GetVisibilityTimeout() const
Definition: ChangeMessageVisibilityBatchRequestEntry.h:170
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::WithReceiptHandle
ChangeMessageVisibilityBatchRequestEntry & WithReceiptHandle(const char *value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:164
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::SetId
void SetId(Aws::String &&value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:87
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::WithId
ChangeMessageVisibilityBatchRequestEntry & WithId(const Aws::String &value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:105
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
AWSString.h
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::SetReceiptHandle
void SetReceiptHandle(const Aws::String &value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:139
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::ReceiptHandleHasBeenSet
bool ReceiptHandleHasBeenSet() const
Definition: ChangeMessageVisibilityBatchRequestEntry.h:134
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::SetId
void SetId(const Aws::String &value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:78
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::GetId
const Aws::String & GetId() const
Definition: ChangeMessageVisibilityBatchRequestEntry.h:60
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::SetReceiptHandle
void SetReceiptHandle(Aws::String &&value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:144
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::WithReceiptHandle
ChangeMessageVisibilityBatchRequestEntry & WithReceiptHandle(Aws::String &&value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:159
SQS_EXPORTS.h
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::SetId
void SetId(const char *value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:96
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::ChangeMessageVisibilityBatchRequestEntry
ChangeMessageVisibilityBatchRequestEntry()
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:171
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::WithId
ChangeMessageVisibilityBatchRequestEntry & WithId(const char *value)
Definition: ChangeMessageVisibilityBatchRequestEntry.h:123
Aws::SQS::Model::ChangeMessageVisibilityBatchRequestEntry::VisibilityTimeoutHasBeenSet
bool VisibilityTimeoutHasBeenSet() const
Definition: ChangeMessageVisibilityBatchRequestEntry.h:175