/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an additional detail for a path analysis. For more information, see
* Reachability
* Analyzer additional detail codes.See Also:
AWS
* API Reference
The additional detail code.
*/ inline const Aws::String& GetAdditionalDetailType() const{ return m_additionalDetailType; } /** *The additional detail code.
*/ inline bool AdditionalDetailTypeHasBeenSet() const { return m_additionalDetailTypeHasBeenSet; } /** *The additional detail code.
*/ inline void SetAdditionalDetailType(const Aws::String& value) { m_additionalDetailTypeHasBeenSet = true; m_additionalDetailType = value; } /** *The additional detail code.
*/ inline void SetAdditionalDetailType(Aws::String&& value) { m_additionalDetailTypeHasBeenSet = true; m_additionalDetailType = std::move(value); } /** *The additional detail code.
*/ inline void SetAdditionalDetailType(const char* value) { m_additionalDetailTypeHasBeenSet = true; m_additionalDetailType.assign(value); } /** *The additional detail code.
*/ inline AdditionalDetail& WithAdditionalDetailType(const Aws::String& value) { SetAdditionalDetailType(value); return *this;} /** *The additional detail code.
*/ inline AdditionalDetail& WithAdditionalDetailType(Aws::String&& value) { SetAdditionalDetailType(std::move(value)); return *this;} /** *The additional detail code.
*/ inline AdditionalDetail& WithAdditionalDetailType(const char* value) { SetAdditionalDetailType(value); return *this;} /** *The path component.
*/ inline const AnalysisComponent& GetComponent() const{ return m_component; } /** *The path component.
*/ inline bool ComponentHasBeenSet() const { return m_componentHasBeenSet; } /** *The path component.
*/ inline void SetComponent(const AnalysisComponent& value) { m_componentHasBeenSet = true; m_component = value; } /** *The path component.
*/ inline void SetComponent(AnalysisComponent&& value) { m_componentHasBeenSet = true; m_component = std::move(value); } /** *The path component.
*/ inline AdditionalDetail& WithComponent(const AnalysisComponent& value) { SetComponent(value); return *this;} /** *The path component.
*/ inline AdditionalDetail& WithComponent(AnalysisComponent&& value) { SetComponent(std::move(value)); return *this;} /** *The VPC endpoint service.
*/ inline const AnalysisComponent& GetVpcEndpointService() const{ return m_vpcEndpointService; } /** *The VPC endpoint service.
*/ inline bool VpcEndpointServiceHasBeenSet() const { return m_vpcEndpointServiceHasBeenSet; } /** *The VPC endpoint service.
*/ inline void SetVpcEndpointService(const AnalysisComponent& value) { m_vpcEndpointServiceHasBeenSet = true; m_vpcEndpointService = value; } /** *The VPC endpoint service.
*/ inline void SetVpcEndpointService(AnalysisComponent&& value) { m_vpcEndpointServiceHasBeenSet = true; m_vpcEndpointService = std::move(value); } /** *The VPC endpoint service.
*/ inline AdditionalDetail& WithVpcEndpointService(const AnalysisComponent& value) { SetVpcEndpointService(value); return *this;} /** *The VPC endpoint service.
*/ inline AdditionalDetail& WithVpcEndpointService(AnalysisComponent&& value) { SetVpcEndpointService(std::move(value)); return *this;} /** *The rule options.
*/ inline const Aws::VectorThe rule options.
*/ inline bool RuleOptionsHasBeenSet() const { return m_ruleOptionsHasBeenSet; } /** *The rule options.
*/ inline void SetRuleOptions(const Aws::VectorThe rule options.
*/ inline void SetRuleOptions(Aws::VectorThe rule options.
*/ inline AdditionalDetail& WithRuleOptions(const Aws::VectorThe rule options.
*/ inline AdditionalDetail& WithRuleOptions(Aws::VectorThe rule options.
*/ inline AdditionalDetail& AddRuleOptions(const RuleOption& value) { m_ruleOptionsHasBeenSet = true; m_ruleOptions.push_back(value); return *this; } /** *The rule options.
*/ inline AdditionalDetail& AddRuleOptions(RuleOption&& value) { m_ruleOptionsHasBeenSet = true; m_ruleOptions.push_back(std::move(value)); return *this; } /** *The rule group type.
*/ inline const Aws::VectorThe rule group type.
*/ inline bool RuleGroupTypePairsHasBeenSet() const { return m_ruleGroupTypePairsHasBeenSet; } /** *The rule group type.
*/ inline void SetRuleGroupTypePairs(const Aws::VectorThe rule group type.
*/ inline void SetRuleGroupTypePairs(Aws::VectorThe rule group type.
*/ inline AdditionalDetail& WithRuleGroupTypePairs(const Aws::VectorThe rule group type.
*/ inline AdditionalDetail& WithRuleGroupTypePairs(Aws::VectorThe rule group type.
*/ inline AdditionalDetail& AddRuleGroupTypePairs(const RuleGroupTypePair& value) { m_ruleGroupTypePairsHasBeenSet = true; m_ruleGroupTypePairs.push_back(value); return *this; } /** *The rule group type.
*/ inline AdditionalDetail& AddRuleGroupTypePairs(RuleGroupTypePair&& value) { m_ruleGroupTypePairsHasBeenSet = true; m_ruleGroupTypePairs.push_back(std::move(value)); return *this; } /** *The rule options.
*/ inline const Aws::VectorThe rule options.
*/ inline bool RuleGroupRuleOptionsPairsHasBeenSet() const { return m_ruleGroupRuleOptionsPairsHasBeenSet; } /** *The rule options.
*/ inline void SetRuleGroupRuleOptionsPairs(const Aws::VectorThe rule options.
*/ inline void SetRuleGroupRuleOptionsPairs(Aws::VectorThe rule options.
*/ inline AdditionalDetail& WithRuleGroupRuleOptionsPairs(const Aws::VectorThe rule options.
*/ inline AdditionalDetail& WithRuleGroupRuleOptionsPairs(Aws::VectorThe rule options.
*/ inline AdditionalDetail& AddRuleGroupRuleOptionsPairs(const RuleGroupRuleOptionsPair& value) { m_ruleGroupRuleOptionsPairsHasBeenSet = true; m_ruleGroupRuleOptionsPairs.push_back(value); return *this; } /** *The rule options.
*/ inline AdditionalDetail& AddRuleGroupRuleOptionsPairs(RuleGroupRuleOptionsPair&& value) { m_ruleGroupRuleOptionsPairsHasBeenSet = true; m_ruleGroupRuleOptionsPairs.push_back(std::move(value)); return *this; } /** *The name of the VPC endpoint service.
*/ inline const Aws::String& GetServiceName() const{ return m_serviceName; } /** *The name of the VPC endpoint service.
*/ inline bool ServiceNameHasBeenSet() const { return m_serviceNameHasBeenSet; } /** *The name of the VPC endpoint service.
*/ inline void SetServiceName(const Aws::String& value) { m_serviceNameHasBeenSet = true; m_serviceName = value; } /** *The name of the VPC endpoint service.
*/ inline void SetServiceName(Aws::String&& value) { m_serviceNameHasBeenSet = true; m_serviceName = std::move(value); } /** *The name of the VPC endpoint service.
*/ inline void SetServiceName(const char* value) { m_serviceNameHasBeenSet = true; m_serviceName.assign(value); } /** *The name of the VPC endpoint service.
*/ inline AdditionalDetail& WithServiceName(const Aws::String& value) { SetServiceName(value); return *this;} /** *The name of the VPC endpoint service.
*/ inline AdditionalDetail& WithServiceName(Aws::String&& value) { SetServiceName(std::move(value)); return *this;} /** *The name of the VPC endpoint service.
*/ inline AdditionalDetail& WithServiceName(const char* value) { SetServiceName(value); return *this;} /** *The load balancers.
*/ inline const Aws::VectorThe load balancers.
*/ inline bool LoadBalancersHasBeenSet() const { return m_loadBalancersHasBeenSet; } /** *The load balancers.
*/ inline void SetLoadBalancers(const Aws::VectorThe load balancers.
*/ inline void SetLoadBalancers(Aws::VectorThe load balancers.
*/ inline AdditionalDetail& WithLoadBalancers(const Aws::VectorThe load balancers.
*/ inline AdditionalDetail& WithLoadBalancers(Aws::VectorThe load balancers.
*/ inline AdditionalDetail& AddLoadBalancers(const AnalysisComponent& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(value); return *this; } /** *The load balancers.
*/ inline AdditionalDetail& AddLoadBalancers(AnalysisComponent&& value) { m_loadBalancersHasBeenSet = true; m_loadBalancers.push_back(std::move(value)); return *this; } private: Aws::String m_additionalDetailType; bool m_additionalDetailTypeHasBeenSet = false; AnalysisComponent m_component; bool m_componentHasBeenSet = false; AnalysisComponent m_vpcEndpointService; bool m_vpcEndpointServiceHasBeenSet = false; Aws::Vector