AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FleetSpotMaintenanceStrategiesRequest.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/FleetSpotCapacityRebalanceRequest.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace EC2
22{
23namespace Model
24{
25
33 {
34 public:
38
39 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
48 inline const FleetSpotCapacityRebalanceRequest& GetCapacityRebalance() const{ return m_capacityRebalance; }
49 inline bool CapacityRebalanceHasBeenSet() const { return m_capacityRebalanceHasBeenSet; }
50 inline void SetCapacityRebalance(const FleetSpotCapacityRebalanceRequest& value) { m_capacityRebalanceHasBeenSet = true; m_capacityRebalance = value; }
51 inline void SetCapacityRebalance(FleetSpotCapacityRebalanceRequest&& value) { m_capacityRebalanceHasBeenSet = true; m_capacityRebalance = std::move(value); }
55 private:
56
57 FleetSpotCapacityRebalanceRequest m_capacityRebalance;
58 bool m_capacityRebalanceHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace EC2
63} // namespace Aws
void SetCapacityRebalance(FleetSpotCapacityRebalanceRequest &&value)
FleetSpotMaintenanceStrategiesRequest & WithCapacityRebalance(FleetSpotCapacityRebalanceRequest &&value)
AWS_EC2_API FleetSpotMaintenanceStrategiesRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API FleetSpotMaintenanceStrategiesRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FleetSpotMaintenanceStrategiesRequest & WithCapacityRebalance(const FleetSpotCapacityRebalanceRequest &value)
void SetCapacityRebalance(const FleetSpotCapacityRebalanceRequest &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const FleetSpotCapacityRebalanceRequest & GetCapacityRebalance() const
std::basic_ostream< char, std::char_traits< char > > OStream