/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Data retrieval policy.See Also:
AWS
* API Reference
The policy rule. Although this is a list type, currently there must be only * one rule, which contains a Strategy field and optionally a BytesPerHour * field.
*/ inline const Aws::VectorThe policy rule. Although this is a list type, currently there must be only * one rule, which contains a Strategy field and optionally a BytesPerHour * field.
*/ inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; } /** *The policy rule. Although this is a list type, currently there must be only * one rule, which contains a Strategy field and optionally a BytesPerHour * field.
*/ inline void SetRules(const Aws::VectorThe policy rule. Although this is a list type, currently there must be only * one rule, which contains a Strategy field and optionally a BytesPerHour * field.
*/ inline void SetRules(Aws::VectorThe policy rule. Although this is a list type, currently there must be only * one rule, which contains a Strategy field and optionally a BytesPerHour * field.
*/ inline DataRetrievalPolicy& WithRules(const Aws::VectorThe policy rule. Although this is a list type, currently there must be only * one rule, which contains a Strategy field and optionally a BytesPerHour * field.
*/ inline DataRetrievalPolicy& WithRules(Aws::VectorThe policy rule. Although this is a list type, currently there must be only * one rule, which contains a Strategy field and optionally a BytesPerHour * field.
*/ inline DataRetrievalPolicy& AddRules(const DataRetrievalRule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; } /** *The policy rule. Although this is a list type, currently there must be only * one rule, which contains a Strategy field and optionally a BytesPerHour * field.
*/ inline DataRetrievalPolicy& AddRules(DataRetrievalRule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; } private: Aws::Vector