7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/glacier/Glacier_EXPORTS.h>
9#include <aws/glacier/model/DataRetrievalRule.h>
43 template <
typename RulesT = Aws::Vector<DataRetrievalRule>>
45 m_rulesHasBeenSet =
true;
46 m_rules = std::forward<RulesT>(value);
48 template <
typename RulesT = Aws::Vector<DataRetrievalRule>>
50 SetRules(std::forward<RulesT>(value));
53 template <
typename RulesT = DataRetrievalRule>
55 m_rulesHasBeenSet =
true;
56 m_rules.emplace_back(std::forward<RulesT>(value));
62 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