/**
* 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 status codes that you specify that, when returned
* by a primary origin, trigger CloudFront to failover to a second
* origin.See Also:
AWS
* API Reference
The number of status codes.
*/ inline int GetQuantity() const{ return m_quantity; } /** *The number of status codes.
*/ inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; } /** *The number of status codes.
*/ inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; } /** *The number of status codes.
*/ inline StatusCodes& WithQuantity(int value) { SetQuantity(value); return *this;} /** *The items (status codes) for an origin group.
*/ inline const Aws::VectorThe items (status codes) for an origin group.
*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *The items (status codes) for an origin group.
*/ inline void SetItems(const Aws::VectorThe items (status codes) for an origin group.
*/ inline void SetItems(Aws::VectorThe items (status codes) for an origin group.
*/ inline StatusCodes& WithItems(const Aws::VectorThe items (status codes) for an origin group.
*/ inline StatusCodes& WithItems(Aws::VectorThe items (status codes) for an origin group.
*/ inline StatusCodes& AddItems(int value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } private: int m_quantity; bool m_quantityHasBeenSet = false; Aws::Vector