/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A complex data type for the origin groups specified for a
* distribution.See Also:
AWS
* API Reference
The number of origin groups.
*/ inline int GetQuantity() const{ return m_quantity; } /** *The number of origin groups.
*/ inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; } /** *The number of origin groups.
*/ inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; } /** *The number of origin groups.
*/ inline OriginGroups& WithQuantity(int value) { SetQuantity(value); return *this;} /** *The items (origin groups) in a distribution.
*/ inline const Aws::VectorThe items (origin groups) in a distribution.
*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *The items (origin groups) in a distribution.
*/ inline void SetItems(const Aws::VectorThe items (origin groups) in a distribution.
*/ inline void SetItems(Aws::VectorThe items (origin groups) in a distribution.
*/ inline OriginGroups& WithItems(const Aws::VectorThe items (origin groups) in a distribution.
*/ inline OriginGroups& WithItems(Aws::VectorThe items (origin groups) in a distribution.
*/ inline OriginGroups& AddItems(const OriginGroup& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *The items (origin groups) in a distribution.
*/ inline OriginGroups& AddItems(OriginGroup&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; } private: int m_quantity; bool m_quantityHasBeenSet = false; Aws::Vector