AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FleetSpotCapacityRebalanceRequest.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/FleetReplacementStrategy.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
37 {
38 public:
42
43 AWS_EC2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_EC2_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
61 inline const FleetReplacementStrategy& GetReplacementStrategy() const{ return m_replacementStrategy; }
62 inline bool ReplacementStrategyHasBeenSet() const { return m_replacementStrategyHasBeenSet; }
63 inline void SetReplacementStrategy(const FleetReplacementStrategy& value) { m_replacementStrategyHasBeenSet = true; m_replacementStrategy = value; }
64 inline void SetReplacementStrategy(FleetReplacementStrategy&& value) { m_replacementStrategyHasBeenSet = true; m_replacementStrategy = std::move(value); }
68
70
79 inline int GetTerminationDelay() const{ return m_terminationDelay; }
80 inline bool TerminationDelayHasBeenSet() const { return m_terminationDelayHasBeenSet; }
81 inline void SetTerminationDelay(int value) { m_terminationDelayHasBeenSet = true; m_terminationDelay = value; }
84 private:
85
86 FleetReplacementStrategy m_replacementStrategy;
87 bool m_replacementStrategyHasBeenSet = false;
88
89 int m_terminationDelay;
90 bool m_terminationDelayHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace EC2
95} // namespace Aws
FleetSpotCapacityRebalanceRequest & WithReplacementStrategy(const FleetReplacementStrategy &value)
AWS_EC2_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_EC2_API FleetSpotCapacityRebalanceRequest & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
FleetSpotCapacityRebalanceRequest & WithTerminationDelay(int value)
void SetReplacementStrategy(const FleetReplacementStrategy &value)
AWS_EC2_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_EC2_API FleetSpotCapacityRebalanceRequest(const Aws::Utils::Xml::XmlNode &xmlNode)
FleetSpotCapacityRebalanceRequest & WithReplacementStrategy(FleetReplacementStrategy &&value)
std::basic_ostream< char, std::char_traits< char > > OStream