7#include <aws/agent-registry-control/AgentRegistryControl_EXPORTS.h>
8#include <aws/agent-registry-control/model/AutoApprovalRule.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
20namespace AgentRegistryControl {
46 template <
typename AutoApprovalRulesT = Aws::Vector<AutoApprovalRule>>
48 m_autoApprovalRulesHasBeenSet =
true;
49 m_autoApprovalRules = std::forward<AutoApprovalRulesT>(value);
51 template <
typename AutoApprovalRulesT = Aws::Vector<AutoApprovalRule>>
57 m_autoApprovalRulesHasBeenSet =
true;
58 m_autoApprovalRules.push_back(value);
64 bool m_autoApprovalRulesHasBeenSet =
false;
AWS_AGENTREGISTRYCONTROL_API ApprovalConfiguration()=default
void SetAutoApprovalRules(AutoApprovalRulesT &&value)
AWS_AGENTREGISTRYCONTROL_API ApprovalConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
ApprovalConfiguration & WithAutoApprovalRules(AutoApprovalRulesT &&value)
bool AutoApprovalRulesHasBeenSet() const
AWS_AGENTREGISTRYCONTROL_API Aws::Utils::Json::JsonValue Jsonize() const
ApprovalConfiguration & AddAutoApprovalRules(AutoApprovalRule value)
AWS_AGENTREGISTRYCONTROL_API ApprovalConfiguration(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< AutoApprovalRule > & GetAutoApprovalRules() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue