7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glacier/model/DataRetrievalRule.h>
49 template<
typename RulesT = Aws::Vector<DataRetrievalRule>>
50 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
51 template<
typename RulesT = Aws::Vector<DataRetrievalRule>>
53 template<
typename RulesT = DataRetrievalRule>
59 bool m_rulesHasBeenSet =
false;
const Aws::Vector< DataRetrievalRule > & GetRules() const
void SetRules(RulesT &&value)
AWS_GLACIER_API DataRetrievalPolicy()=default
bool RulesHasBeenSet() const
AWS_GLACIER_API DataRetrievalPolicy(Aws::Utils::Json::JsonView jsonValue)
AWS_GLACIER_API DataRetrievalPolicy & operator=(Aws::Utils::Json::JsonView jsonValue)
DataRetrievalPolicy & AddRules(RulesT &&value)
DataRetrievalPolicy & WithRules(RulesT &&value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue