7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/TargetCapacityType.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace AutoScaling {
53 template <
typename TargetCapacityTypesT = Aws::Vector<TargetCapacityType>>
55 m_targetCapacityTypesHasBeenSet =
true;
56 m_targetCapacityTypes = std::forward<TargetCapacityTypesT>(value);
58 template <
typename TargetCapacityTypesT = Aws::Vector<TargetCapacityType>>
64 m_targetCapacityTypesHasBeenSet =
true;
65 m_targetCapacityTypes.push_back(value);
71 bool m_targetCapacityTypesHasBeenSet =
false;
AWS_AUTOSCALING_API DistributionSegment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API DistributionSegment()=default
void SetTargetCapacityTypes(TargetCapacityTypesT &&value)
bool TargetCapacityTypesHasBeenSet() const
DistributionSegment & WithTargetCapacityTypes(TargetCapacityTypesT &&value)
const Aws::Vector< TargetCapacityType > & GetTargetCapacityTypes() const
DistributionSegment & AddTargetCapacityTypes(TargetCapacityType value)
AWS_AUTOSCALING_API DistributionSegment(const Aws::Utils::Xml::XmlNode &xmlNode)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream