/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the origins for this distribution.See
* Also:
AWS
* API Reference
The number of origins for this distribution.
*/ inline int GetQuantity() const{ return m_quantity; } /** *The number of origins for this distribution.
*/ inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; } /** *The number of origins for this distribution.
*/ inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; } /** *The number of origins for this distribution.
*/ inline Origins& WithQuantity(int value) { SetQuantity(value); return *this;} /** *A list of origins.
*/ inline const Aws::VectorA list of origins.
*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *A list of origins.
*/ inline void SetItems(const Aws::VectorA list of origins.
*/ inline void SetItems(Aws::VectorA list of origins.
*/ inline Origins& WithItems(const Aws::VectorA list of origins.
*/ inline Origins& WithItems(Aws::VectorA list of origins.
*/ inline Origins& AddItems(const Origin& value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *A list of origins.
*/ inline Origins& AddItems(Origin&& value) { m_itemsHasBeenSet = true; m_items.push_back(std::move(value)); return *this; } private: int m_quantity; bool m_quantityHasBeenSet = false; Aws::Vector