AWS SDK for C++  1.9.20
AWS SDK for C++
ChangeMessageVisibilityBatchResultEntry.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 
33  {
34  public:
38 
39  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40  void OutputToStream(Aws::OStream& oStream, const char* location) const;
41 
42 
47  inline const Aws::String& GetId() const{ return m_id; }
48 
53  inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
54 
59  inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
60 
65  inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
66 
71  inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
72 
77  inline ChangeMessageVisibilityBatchResultEntry& WithId(const Aws::String& value) { SetId(value); return *this;}
78 
83  inline ChangeMessageVisibilityBatchResultEntry& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
84 
89  inline ChangeMessageVisibilityBatchResultEntry& WithId(const char* value) { SetId(value); return *this;}
90 
91  private:
92 
93  Aws::String m_id;
94  bool m_idHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace SQS
99 } // namespace Aws
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::WithId
ChangeMessageVisibilityBatchResultEntry & WithId(Aws::String &&value)
Definition: ChangeMessageVisibilityBatchResultEntry.h:83
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::SetId
void SetId(const char *value)
Definition: ChangeMessageVisibilityBatchResultEntry.h:71
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::SetId
void SetId(Aws::String &&value)
Definition: ChangeMessageVisibilityBatchResultEntry.h:65
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::ChangeMessageVisibilityBatchResultEntry
ChangeMessageVisibilityBatchResultEntry(const Aws::Utils::Xml::XmlNode &xmlNode)
AWSStreamFwd.h
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::operator=
ChangeMessageVisibilityBatchResultEntry & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::WithId
ChangeMessageVisibilityBatchResultEntry & WithId(const Aws::String &value)
Definition: ChangeMessageVisibilityBatchResultEntry.h:77
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::IdHasBeenSet
bool IdHasBeenSet() const
Definition: ChangeMessageVisibilityBatchResultEntry.h:53
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
AWSString.h
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::WithId
ChangeMessageVisibilityBatchResultEntry & WithId(const char *value)
Definition: ChangeMessageVisibilityBatchResultEntry.h:89
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::GetId
const Aws::String & GetId() const
Definition: ChangeMessageVisibilityBatchResultEntry.h:47
SQS_EXPORTS.h
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::ChangeMessageVisibilityBatchResultEntry::SetId
void SetId(const Aws::String &value)
Definition: ChangeMessageVisibilityBatchResultEntry.h:59
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry::ChangeMessageVisibilityBatchResultEntry
ChangeMessageVisibilityBatchResultEntry()
Aws::SQS::Model::ChangeMessageVisibilityBatchResultEntry
Definition: ChangeMessageVisibilityBatchResultEntry.h:33