/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The status codes that cause an origin group to fail over.See
* Also:
AWS
* API Reference
The list of status code values that can cause a failover to the next * origin.
*/ inline const Aws::VectorThe list of status code values that can cause a failover to the next * origin.
*/ inline bool ItemsHasBeenSet() const { return m_itemsHasBeenSet; } /** *The list of status code values that can cause a failover to the next * origin.
*/ inline void SetItems(const Aws::VectorThe list of status code values that can cause a failover to the next * origin.
*/ inline void SetItems(Aws::VectorThe list of status code values that can cause a failover to the next * origin.
*/ inline AwsCloudFrontDistributionOriginGroupFailoverStatusCodes& WithItems(const Aws::VectorThe list of status code values that can cause a failover to the next * origin.
*/ inline AwsCloudFrontDistributionOriginGroupFailoverStatusCodes& WithItems(Aws::VectorThe list of status code values that can cause a failover to the next * origin.
*/ inline AwsCloudFrontDistributionOriginGroupFailoverStatusCodes& AddItems(int value) { m_itemsHasBeenSet = true; m_items.push_back(value); return *this; } /** *The number of status codes that can cause a failover.
*/ inline int GetQuantity() const{ return m_quantity; } /** *The number of status codes that can cause a failover.
*/ inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; } /** *The number of status codes that can cause a failover.
*/ inline void SetQuantity(int value) { m_quantityHasBeenSet = true; m_quantity = value; } /** *The number of status codes that can cause a failover.
*/ inline AwsCloudFrontDistributionOriginGroupFailoverStatusCodes& WithQuantity(int value) { SetQuantity(value); return *this;} private: Aws::Vector