7#include <aws/autoscaling/AutoScalingRequest.h>
8#include <aws/autoscaling/AutoScaling_EXPORTS.h>
9#include <aws/autoscaling/model/TrafficSourceIdentifier.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
16namespace AutoScaling {
43 template <
typename AutoScalingGroupNameT = Aws::String>
45 m_autoScalingGroupNameHasBeenSet =
true;
46 m_autoScalingGroupName = std::forward<AutoScalingGroupNameT>(value);
48 template <
typename AutoScalingGroupNameT = Aws::String>
62 template <
typename TrafficSourcesT = Aws::Vector<TrafficSourceIdentifier>>
64 m_trafficSourcesHasBeenSet =
true;
65 m_trafficSources = std::forward<TrafficSourcesT>(value);
67 template <
typename TrafficSourcesT = Aws::Vector<TrafficSourceIdentifier>>
72 template <
typename TrafficSourcesT = TrafficSourceIdentifier>
74 m_trafficSourcesHasBeenSet =
true;
75 m_trafficSources.emplace_back(std::forward<TrafficSourcesT>(value));
92 m_skipZonalShiftValidationHasBeenSet =
true;
93 m_skipZonalShiftValidation = value;
105 bool m_skipZonalShiftValidation{
false};
106 bool m_autoScalingGroupNameHasBeenSet =
false;
107 bool m_trafficSourcesHasBeenSet =
false;
108 bool m_skipZonalShiftValidationHasBeenSet =
false;
const Aws::Vector< TrafficSourceIdentifier > & GetTrafficSources() const
AWS_AUTOSCALING_API Aws::String SerializePayload() const override
AWS_AUTOSCALING_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool GetSkipZonalShiftValidation() const
void SetSkipZonalShiftValidation(bool value)
void SetTrafficSources(TrafficSourcesT &&value)
bool AutoScalingGroupNameHasBeenSet() const
bool SkipZonalShiftValidationHasBeenSet() const
const Aws::String & GetAutoScalingGroupName() const
AWS_AUTOSCALING_API AttachTrafficSourcesRequest()=default
AttachTrafficSourcesRequest & WithAutoScalingGroupName(AutoScalingGroupNameT &&value)
virtual const char * GetServiceRequestName() const override
AttachTrafficSourcesRequest & AddTrafficSources(TrafficSourcesT &&value)
bool TrafficSourcesHasBeenSet() const
AttachTrafficSourcesRequest & WithTrafficSources(TrafficSourcesT &&value)
AttachTrafficSourcesRequest & WithSkipZonalShiftValidation(bool value)
void SetAutoScalingGroupName(AutoScalingGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector