/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace ElasticLoadBalancingv2 { namespace Model { /** *

Information about a path pattern condition.

See Also:

AWS * API Reference

*/ class PathPatternConditionConfig { public: AWS_ELASTICLOADBALANCINGV2_API PathPatternConditionConfig(); AWS_ELASTICLOADBALANCINGV2_API PathPatternConditionConfig(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ELASTICLOADBALANCINGV2_API PathPatternConditionConfig& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_ELASTICLOADBALANCINGV2_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The path patterns to compare against the request URL. The maximum size of * each string is 128 characters. The comparison is case sensitive. The following * wildcard characters are supported: * (matches 0 or more characters) and ? * (matches exactly 1 character).

If you specify multiple strings, the * condition is satisfied if one of them matches the request URL. The path pattern * is compared only to the path of the URL, not to its query string. To compare * against the query string, use QueryStringConditionConfig.

*/ inline const Aws::Vector& GetValues() const{ return m_values; } /** *

The path patterns to compare against the request URL. The maximum size of * each string is 128 characters. The comparison is case sensitive. The following * wildcard characters are supported: * (matches 0 or more characters) and ? * (matches exactly 1 character).

If you specify multiple strings, the * condition is satisfied if one of them matches the request URL. The path pattern * is compared only to the path of the URL, not to its query string. To compare * against the query string, use QueryStringConditionConfig.

*/ inline bool ValuesHasBeenSet() const { return m_valuesHasBeenSet; } /** *

The path patterns to compare against the request URL. The maximum size of * each string is 128 characters. The comparison is case sensitive. The following * wildcard characters are supported: * (matches 0 or more characters) and ? * (matches exactly 1 character).

If you specify multiple strings, the * condition is satisfied if one of them matches the request URL. The path pattern * is compared only to the path of the URL, not to its query string. To compare * against the query string, use QueryStringConditionConfig.

*/ inline void SetValues(const Aws::Vector& value) { m_valuesHasBeenSet = true; m_values = value; } /** *

The path patterns to compare against the request URL. The maximum size of * each string is 128 characters. The comparison is case sensitive. The following * wildcard characters are supported: * (matches 0 or more characters) and ? * (matches exactly 1 character).

If you specify multiple strings, the * condition is satisfied if one of them matches the request URL. The path pattern * is compared only to the path of the URL, not to its query string. To compare * against the query string, use QueryStringConditionConfig.

*/ inline void SetValues(Aws::Vector&& value) { m_valuesHasBeenSet = true; m_values = std::move(value); } /** *

The path patterns to compare against the request URL. The maximum size of * each string is 128 characters. The comparison is case sensitive. The following * wildcard characters are supported: * (matches 0 or more characters) and ? * (matches exactly 1 character).

If you specify multiple strings, the * condition is satisfied if one of them matches the request URL. The path pattern * is compared only to the path of the URL, not to its query string. To compare * against the query string, use QueryStringConditionConfig.

*/ inline PathPatternConditionConfig& WithValues(const Aws::Vector& value) { SetValues(value); return *this;} /** *

The path patterns to compare against the request URL. The maximum size of * each string is 128 characters. The comparison is case sensitive. The following * wildcard characters are supported: * (matches 0 or more characters) and ? * (matches exactly 1 character).

If you specify multiple strings, the * condition is satisfied if one of them matches the request URL. The path pattern * is compared only to the path of the URL, not to its query string. To compare * against the query string, use QueryStringConditionConfig.

*/ inline PathPatternConditionConfig& WithValues(Aws::Vector&& value) { SetValues(std::move(value)); return *this;} /** *

The path patterns to compare against the request URL. The maximum size of * each string is 128 characters. The comparison is case sensitive. The following * wildcard characters are supported: * (matches 0 or more characters) and ? * (matches exactly 1 character).

If you specify multiple strings, the * condition is satisfied if one of them matches the request URL. The path pattern * is compared only to the path of the URL, not to its query string. To compare * against the query string, use QueryStringConditionConfig.

*/ inline PathPatternConditionConfig& AddValues(const Aws::String& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

The path patterns to compare against the request URL. The maximum size of * each string is 128 characters. The comparison is case sensitive. The following * wildcard characters are supported: * (matches 0 or more characters) and ? * (matches exactly 1 character).

If you specify multiple strings, the * condition is satisfied if one of them matches the request URL. The path pattern * is compared only to the path of the URL, not to its query string. To compare * against the query string, use QueryStringConditionConfig.

*/ inline PathPatternConditionConfig& AddValues(Aws::String&& value) { m_valuesHasBeenSet = true; m_values.push_back(std::move(value)); return *this; } /** *

The path patterns to compare against the request URL. The maximum size of * each string is 128 characters. The comparison is case sensitive. The following * wildcard characters are supported: * (matches 0 or more characters) and ? * (matches exactly 1 character).

If you specify multiple strings, the * condition is satisfied if one of them matches the request URL. The path pattern * is compared only to the path of the URL, not to its query string. To compare * against the query string, use QueryStringConditionConfig.

*/ inline PathPatternConditionConfig& AddValues(const char* value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } private: Aws::Vector m_values; bool m_valuesHasBeenSet = false; }; } // namespace Model } // namespace ElasticLoadBalancingv2 } // namespace Aws