7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/ResponseMetadata.h>
9#include <aws/autoscaling/model/TrafficSourceState.h>
10#include <aws/core/http/HttpResponse.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
25namespace AutoScaling {
38 template <
typename TrafficSourcesT = Aws::Vector<TrafficSourceState>>
40 m_trafficSourcesHasBeenSet =
true;
41 m_trafficSources = std::forward<TrafficSourcesT>(value);
43 template <
typename TrafficSourcesT = Aws::Vector<TrafficSourceState>>
48 template <
typename TrafficSourcesT = TrafficSourceState>
50 m_trafficSourcesHasBeenSet =
true;
51 m_trafficSources.emplace_back(std::forward<TrafficSourcesT>(value));
64 template <
typename NextTokenT = Aws::String>
66 m_nextTokenHasBeenSet =
true;
67 m_nextToken = std::forward<NextTokenT>(value);
69 template <
typename NextTokenT = Aws::String>
79 template <
typename ResponseMetadataT = ResponseMetadata>
81 m_responseMetadataHasBeenSet =
true;
82 m_responseMetadata = std::forward<ResponseMetadataT>(value);
84 template <
typename ResponseMetadataT = ResponseMetadata>
99 bool m_trafficSourcesHasBeenSet =
false;
100 bool m_nextTokenHasBeenSet =
false;
101 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
Aws::Http::HttpResponseCode GetHttpResponseCode() 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