/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the gateway's automatic tape creation policies, including
* the automatic tape creation rules and the gateway that is using the
* policies.See Also:
AWS
* API Reference
An automatic tape creation policy consists of a list of automatic tape * creation rules. This returns the rules that determine when and how to * automatically create new tapes.
*/ inline const Aws::VectorAn automatic tape creation policy consists of a list of automatic tape * creation rules. This returns the rules that determine when and how to * automatically create new tapes.
*/ inline bool AutomaticTapeCreationRulesHasBeenSet() const { return m_automaticTapeCreationRulesHasBeenSet; } /** *An automatic tape creation policy consists of a list of automatic tape * creation rules. This returns the rules that determine when and how to * automatically create new tapes.
*/ inline void SetAutomaticTapeCreationRules(const Aws::VectorAn automatic tape creation policy consists of a list of automatic tape * creation rules. This returns the rules that determine when and how to * automatically create new tapes.
*/ inline void SetAutomaticTapeCreationRules(Aws::VectorAn automatic tape creation policy consists of a list of automatic tape * creation rules. This returns the rules that determine when and how to * automatically create new tapes.
*/ inline AutomaticTapeCreationPolicyInfo& WithAutomaticTapeCreationRules(const Aws::VectorAn automatic tape creation policy consists of a list of automatic tape * creation rules. This returns the rules that determine when and how to * automatically create new tapes.
*/ inline AutomaticTapeCreationPolicyInfo& WithAutomaticTapeCreationRules(Aws::VectorAn automatic tape creation policy consists of a list of automatic tape * creation rules. This returns the rules that determine when and how to * automatically create new tapes.
*/ inline AutomaticTapeCreationPolicyInfo& AddAutomaticTapeCreationRules(const AutomaticTapeCreationRule& value) { m_automaticTapeCreationRulesHasBeenSet = true; m_automaticTapeCreationRules.push_back(value); return *this; } /** *An automatic tape creation policy consists of a list of automatic tape * creation rules. This returns the rules that determine when and how to * automatically create new tapes.
*/ inline AutomaticTapeCreationPolicyInfo& AddAutomaticTapeCreationRules(AutomaticTapeCreationRule&& value) { m_automaticTapeCreationRulesHasBeenSet = true; m_automaticTapeCreationRules.push_back(std::move(value)); return *this; } inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; } inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; } inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; } inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); } inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); } inline AutomaticTapeCreationPolicyInfo& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;} inline AutomaticTapeCreationPolicyInfo& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;} inline AutomaticTapeCreationPolicyInfo& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;} private: Aws::Vector