AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedQueuedPurchaseDeletion.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/ec2/model/DeleteQueuedReservedInstancesError.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace EC2
23{
24namespace Model
25{
26
34 {
35 public:
39
40 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const DeleteQueuedReservedInstancesError& GetError() const{ return m_error; }
49 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
50 inline void SetError(const DeleteQueuedReservedInstancesError& value) { m_errorHasBeenSet = true; m_error = value; }
51 inline void SetError(DeleteQueuedReservedInstancesError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
53 inline FailedQueuedPurchaseDeletion& WithError(DeleteQueuedReservedInstancesError&& value) { SetError(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetReservedInstancesId() const{ return m_reservedInstancesId; }
61 inline bool ReservedInstancesIdHasBeenSet() const { return m_reservedInstancesIdHasBeenSet; }
62 inline void SetReservedInstancesId(const Aws::String& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = value; }
63 inline void SetReservedInstancesId(Aws::String&& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = std::move(value); }
64 inline void SetReservedInstancesId(const char* value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId.assign(value); }
67 inline FailedQueuedPurchaseDeletion& WithReservedInstancesId(const char* value) { SetReservedInstancesId(value); return *this;}
69 private:
70
72 bool m_errorHasBeenSet = false;
73
74 Aws::String m_reservedInstancesId;
75 bool m_reservedInstancesIdHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
FailedQueuedPurchaseDeletion & WithError(DeleteQueuedReservedInstancesError &&value)
FailedQueuedPurchaseDeletion & WithReservedInstancesId(const char *value)
const DeleteQueuedReservedInstancesError & GetError() const
FailedQueuedPurchaseDeletion & WithError(const DeleteQueuedReservedInstancesError &value)
void SetError(const DeleteQueuedReservedInstancesError &value)
FailedQueuedPurchaseDeletion & WithReservedInstancesId(const Aws::String &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetError(DeleteQueuedReservedInstancesError &&value)
AWS_EC2_API FailedQueuedPurchaseDeletion & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API FailedQueuedPurchaseDeletion(const Aws::Utils::Xml::XmlNode &xmlNode)
FailedQueuedPurchaseDeletion & WithReservedInstancesId(Aws::String &&value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream