AWS SDK for C++  1.9.72
AWS SDK for C++
SuccessfulQueuedPurchaseDeletion.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_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 EC2
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 
46  inline const Aws::String& GetReservedInstancesId() const{ return m_reservedInstancesId; }
47 
51  inline bool ReservedInstancesIdHasBeenSet() const { return m_reservedInstancesIdHasBeenSet; }
52 
56  inline void SetReservedInstancesId(const Aws::String& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = value; }
57 
61  inline void SetReservedInstancesId(Aws::String&& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = std::move(value); }
62 
66  inline void SetReservedInstancesId(const char* value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId.assign(value); }
67 
71  inline SuccessfulQueuedPurchaseDeletion& WithReservedInstancesId(const Aws::String& value) { SetReservedInstancesId(value); return *this;}
72 
76  inline SuccessfulQueuedPurchaseDeletion& WithReservedInstancesId(Aws::String&& value) { SetReservedInstancesId(std::move(value)); return *this;}
77 
81  inline SuccessfulQueuedPurchaseDeletion& WithReservedInstancesId(const char* value) { SetReservedInstancesId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_reservedInstancesId;
86  bool m_reservedInstancesIdHasBeenSet;
87  };
88 
89 } // namespace Model
90 } // namespace EC2
91 } // namespace Aws
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::WithReservedInstancesId
SuccessfulQueuedPurchaseDeletion & WithReservedInstancesId(const char *value)
Definition: SuccessfulQueuedPurchaseDeletion.h:81
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion
Definition: SuccessfulQueuedPurchaseDeletion.h:33
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::SetReservedInstancesId
void SetReservedInstancesId(const Aws::String &value)
Definition: SuccessfulQueuedPurchaseDeletion.h:56
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::GetReservedInstancesId
const Aws::String & GetReservedInstancesId() const
Definition: SuccessfulQueuedPurchaseDeletion.h:46
AWSStreamFwd.h
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::SetReservedInstancesId
void SetReservedInstancesId(const char *value)
Definition: SuccessfulQueuedPurchaseDeletion.h:66
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
AWSString.h
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::WithReservedInstancesId
SuccessfulQueuedPurchaseDeletion & WithReservedInstancesId(const Aws::String &value)
Definition: SuccessfulQueuedPurchaseDeletion.h:71
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::ReservedInstancesIdHasBeenSet
bool ReservedInstancesIdHasBeenSet() const
Definition: SuccessfulQueuedPurchaseDeletion.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::SuccessfulQueuedPurchaseDeletion
SuccessfulQueuedPurchaseDeletion()
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::operator=
SuccessfulQueuedPurchaseDeletion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
index
int index
Definition: cJSON.h:181
EC2_EXPORTS.h
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::SuccessfulQueuedPurchaseDeletion
SuccessfulQueuedPurchaseDeletion(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::WithReservedInstancesId
SuccessfulQueuedPurchaseDeletion & WithReservedInstancesId(Aws::String &&value)
Definition: SuccessfulQueuedPurchaseDeletion.h:76
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::SetReservedInstancesId
void SetReservedInstancesId(Aws::String &&value)
Definition: SuccessfulQueuedPurchaseDeletion.h:61
Aws::EC2::Model::SuccessfulQueuedPurchaseDeletion::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const