AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CapacityReservationFleetCancellationState.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/CapacityReservationFleetState.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 CapacityReservationFleetState& GetCurrentFleetState() const{ return m_currentFleetState; }
49 inline bool CurrentFleetStateHasBeenSet() const { return m_currentFleetStateHasBeenSet; }
50 inline void SetCurrentFleetState(const CapacityReservationFleetState& value) { m_currentFleetStateHasBeenSet = true; m_currentFleetState = value; }
51 inline void SetCurrentFleetState(CapacityReservationFleetState&& value) { m_currentFleetStateHasBeenSet = true; m_currentFleetState = std::move(value); }
55
57
60 inline const CapacityReservationFleetState& GetPreviousFleetState() const{ return m_previousFleetState; }
61 inline bool PreviousFleetStateHasBeenSet() const { return m_previousFleetStateHasBeenSet; }
62 inline void SetPreviousFleetState(const CapacityReservationFleetState& value) { m_previousFleetStateHasBeenSet = true; m_previousFleetState = value; }
63 inline void SetPreviousFleetState(CapacityReservationFleetState&& value) { m_previousFleetStateHasBeenSet = true; m_previousFleetState = std::move(value); }
67
69
72 inline const Aws::String& GetCapacityReservationFleetId() const{ return m_capacityReservationFleetId; }
73 inline bool CapacityReservationFleetIdHasBeenSet() const { return m_capacityReservationFleetIdHasBeenSet; }
74 inline void SetCapacityReservationFleetId(const Aws::String& value) { m_capacityReservationFleetIdHasBeenSet = true; m_capacityReservationFleetId = value; }
75 inline void SetCapacityReservationFleetId(Aws::String&& value) { m_capacityReservationFleetIdHasBeenSet = true; m_capacityReservationFleetId = std::move(value); }
76 inline void SetCapacityReservationFleetId(const char* value) { m_capacityReservationFleetIdHasBeenSet = true; m_capacityReservationFleetId.assign(value); }
81 private:
82
83 CapacityReservationFleetState m_currentFleetState;
84 bool m_currentFleetStateHasBeenSet = false;
85
86 CapacityReservationFleetState m_previousFleetState;
87 bool m_previousFleetStateHasBeenSet = false;
88
89 Aws::String m_capacityReservationFleetId;
90 bool m_capacityReservationFleetIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace EC2
95} // namespace Aws
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CapacityReservationFleetCancellationState & WithPreviousFleetState(const CapacityReservationFleetState &value)
AWS_EC2_API CapacityReservationFleetCancellationState(const Aws::Utils::Xml::XmlNode &xmlNode)
CapacityReservationFleetCancellationState & WithPreviousFleetState(CapacityReservationFleetState &&value)
CapacityReservationFleetCancellationState & WithCapacityReservationFleetId(Aws::String &&value)
CapacityReservationFleetCancellationState & WithCapacityReservationFleetId(const char *value)
CapacityReservationFleetCancellationState & WithCapacityReservationFleetId(const Aws::String &value)
AWS_EC2_API CapacityReservationFleetCancellationState & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CapacityReservationFleetCancellationState & WithCurrentFleetState(const CapacityReservationFleetState &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CapacityReservationFleetCancellationState & WithCurrentFleetState(CapacityReservationFleetState &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream