7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/autoscaling/model/ResponseMetadata.h>
11#include <aws/autoscaling/model/TrafficSourceState.h>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
43 template<
typename TrafficSourcesT = Aws::Vector<TrafficSourceState>>
44 void SetTrafficSources(TrafficSourcesT&& value) { m_trafficSourcesHasBeenSet =
true; m_trafficSources = std::forward<TrafficSourcesT>(value); }
45 template<
typename TrafficSourcesT = Aws::Vector<TrafficSourceState>>
47 template<
typename TrafficSourcesT = TrafficSourceState>
59 template<
typename NextTokenT = Aws::String>
60 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
61 template<
typename NextTokenT = Aws::String>
68 template<
typename ResponseMetadataT = ResponseMetadata>
69 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
70 template<
typename ResponseMetadataT = ResponseMetadata>
76 bool m_trafficSourcesHasBeenSet =
false;
79 bool m_nextTokenHasBeenSet =
false;
82 bool m_responseMetadataHasBeenSet =
false;
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_AUTOSCALING_API DescribeTrafficSourcesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< TrafficSourceState > & GetTrafficSources() const
void SetTrafficSources(TrafficSourcesT &&value)
AWS_AUTOSCALING_API DescribeTrafficSourcesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const ResponseMetadata & GetResponseMetadata() const
void SetNextToken(NextTokenT &&value)
DescribeTrafficSourcesResult & WithResponseMetadata(ResponseMetadataT &&value)
DescribeTrafficSourcesResult & WithNextToken(NextTokenT &&value)
AWS_AUTOSCALING_API DescribeTrafficSourcesResult()=default
DescribeTrafficSourcesResult & WithTrafficSources(TrafficSourcesT &&value)
DescribeTrafficSourcesResult & AddTrafficSources(TrafficSourcesT &&value)
const Aws::String & GetNextToken() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument