AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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