AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FailedCapacityReservationFleetCancellationResponse.h
1
6#pragma once
7#include <aws/ec2/EC2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/ec2/model/CancelCapacityReservationFleetError.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 Aws::String& GetCapacityReservationFleetId() const{ return m_capacityReservationFleetId; }
49 inline bool CapacityReservationFleetIdHasBeenSet() const { return m_capacityReservationFleetIdHasBeenSet; }
50 inline void SetCapacityReservationFleetId(const Aws::String& value) { m_capacityReservationFleetIdHasBeenSet = true; m_capacityReservationFleetId = value; }
51 inline void SetCapacityReservationFleetId(Aws::String&& value) { m_capacityReservationFleetIdHasBeenSet = true; m_capacityReservationFleetId = std::move(value); }
52 inline void SetCapacityReservationFleetId(const char* value) { m_capacityReservationFleetIdHasBeenSet = true; m_capacityReservationFleetId.assign(value); }
57
59
62 inline const CancelCapacityReservationFleetError& GetCancelCapacityReservationFleetError() const{ return m_cancelCapacityReservationFleetError; }
63 inline bool CancelCapacityReservationFleetErrorHasBeenSet() const { return m_cancelCapacityReservationFleetErrorHasBeenSet; }
64 inline void SetCancelCapacityReservationFleetError(const CancelCapacityReservationFleetError& value) { m_cancelCapacityReservationFleetErrorHasBeenSet = true; m_cancelCapacityReservationFleetError = value; }
65 inline void SetCancelCapacityReservationFleetError(CancelCapacityReservationFleetError&& value) { m_cancelCapacityReservationFleetErrorHasBeenSet = true; m_cancelCapacityReservationFleetError = std::move(value); }
69 private:
70
71 Aws::String m_capacityReservationFleetId;
72 bool m_capacityReservationFleetIdHasBeenSet = false;
73
74 CancelCapacityReservationFleetError m_cancelCapacityReservationFleetError;
75 bool m_cancelCapacityReservationFleetErrorHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace EC2
80} // namespace Aws
FailedCapacityReservationFleetCancellationResponse & WithCapacityReservationFleetId(Aws::String &&value)
FailedCapacityReservationFleetCancellationResponse & WithCancelCapacityReservationFleetError(CancelCapacityReservationFleetError &&value)
AWS_EC2_API FailedCapacityReservationFleetCancellationResponse(const Aws::Utils::Xml::XmlNode &xmlNode)
FailedCapacityReservationFleetCancellationResponse & WithCapacityReservationFleetId(const Aws::String &value)
FailedCapacityReservationFleetCancellationResponse & WithCapacityReservationFleetId(const char *value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
FailedCapacityReservationFleetCancellationResponse & WithCancelCapacityReservationFleetError(const CancelCapacityReservationFleetError &value)
AWS_EC2_API FailedCapacityReservationFleetCancellationResponse & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream