7#include <aws/cloudfront/CloudFront_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/cloudfront/model/DistributionSummary.h>
48 template<
typename MarkerT = Aws::String>
49 void SetMarker(MarkerT&& value) { m_markerHasBeenSet =
true; m_marker = std::forward<MarkerT>(value); }
50 template<
typename MarkerT = Aws::String>
62 template<
typename NextMarkerT = Aws::String>
63 void SetNextMarker(NextMarkerT&& value) { m_nextMarkerHasBeenSet =
true; m_nextMarker = std::forward<NextMarkerT>(value); }
64 template<
typename NextMarkerT = Aws::String>
74 inline void SetMaxItems(
int value) { m_maxItemsHasBeenSet =
true; m_maxItems = value; }
87 inline void SetIsTruncated(
bool value) { m_isTruncatedHasBeenSet =
true; m_isTruncated = value; }
98 inline void SetQuantity(
int value) { m_quantityHasBeenSet =
true; m_quantity = value; }
110 template<
typename ItemsT = Aws::Vector<DistributionSummary>>
111 void SetItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items = std::forward<ItemsT>(value); }
112 template<
typename ItemsT = Aws::Vector<DistributionSummary>>
114 template<
typename ItemsT = DistributionSummary>
115 DistributionList&
AddItems(ItemsT&& value) { m_itemsHasBeenSet =
true; m_items.emplace_back(std::forward<ItemsT>(value));
return *
this; }
120 bool m_markerHasBeenSet =
false;
123 bool m_nextMarkerHasBeenSet =
false;
126 bool m_maxItemsHasBeenSet =
false;
128 bool m_isTruncated{
false};
129 bool m_isTruncatedHasBeenSet =
false;
132 bool m_quantityHasBeenSet =
false;
135 bool m_itemsHasBeenSet =
false;
bool MaxItemsHasBeenSet() const
AWS_CLOUDFRONT_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
DistributionList & WithItems(ItemsT &&value)
bool GetIsTruncated() const
void SetIsTruncated(bool value)
DistributionList & WithNextMarker(NextMarkerT &&value)
void SetNextMarker(NextMarkerT &&value)
void SetQuantity(int value)
const Aws::String & GetMarker() const
bool MarkerHasBeenSet() const
DistributionList & WithMarker(MarkerT &&value)
void SetMaxItems(int value)
DistributionList & AddItems(ItemsT &&value)
DistributionList & WithQuantity(int value)
const Aws::Vector< DistributionSummary > & GetItems() const
const Aws::String & GetNextMarker() const
AWS_CLOUDFRONT_API DistributionList(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMarker(MarkerT &&value)
AWS_CLOUDFRONT_API DistributionList()=default
bool NextMarkerHasBeenSet() const
AWS_CLOUDFRONT_API DistributionList & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool IsTruncatedHasBeenSet() const
DistributionList & WithIsTruncated(bool value)
bool QuantityHasBeenSet() const
DistributionList & WithMaxItems(int value)
bool ItemsHasBeenSet() const
void SetItems(ItemsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector