/** * 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 query string condition.

The query string component * of a URI starts after the first '?' character and is terminated by either a '#' * character or the end of the URI. A typical query string contains key/value pairs * separated by '&' characters. The allowed characters are specified by RFC * 3986. Any character can be percentage encoded.

See Also:

AWS * API Reference

*/ class QueryStringConditionConfig { public: AWS_ELASTICLOADBALANCINGV2_API QueryStringConditionConfig(); AWS_ELASTICLOADBALANCINGV2_API QueryStringConditionConfig(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_ELASTICLOADBALANCINGV2_API QueryStringConditionConfig& 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 key/value pairs or values to find in the query string. The maximum size * of each string is 128 characters. The comparison is case insensitive. The * following wildcard characters are supported: * (matches 0 or more characters) * and ? (matches exactly 1 character). To search for a literal '*' or '?' * character in a query string, you must escape these characters in * Values using a '\' character.

If you specify multiple * key/value pairs or values, the condition is satisfied if one of them is found in * the query string.

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

The key/value pairs or values to find in the query string. The maximum size * of each string is 128 characters. The comparison is case insensitive. The * following wildcard characters are supported: * (matches 0 or more characters) * and ? (matches exactly 1 character). To search for a literal '*' or '?' * character in a query string, you must escape these characters in * Values using a '\' character.

If you specify multiple * key/value pairs or values, the condition is satisfied if one of them is found in * the query string.

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

The key/value pairs or values to find in the query string. The maximum size * of each string is 128 characters. The comparison is case insensitive. The * following wildcard characters are supported: * (matches 0 or more characters) * and ? (matches exactly 1 character). To search for a literal '*' or '?' * character in a query string, you must escape these characters in * Values using a '\' character.

If you specify multiple * key/value pairs or values, the condition is satisfied if one of them is found in * the query string.

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

The key/value pairs or values to find in the query string. The maximum size * of each string is 128 characters. The comparison is case insensitive. The * following wildcard characters are supported: * (matches 0 or more characters) * and ? (matches exactly 1 character). To search for a literal '*' or '?' * character in a query string, you must escape these characters in * Values using a '\' character.

If you specify multiple * key/value pairs or values, the condition is satisfied if one of them is found in * the query string.

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

The key/value pairs or values to find in the query string. The maximum size * of each string is 128 characters. The comparison is case insensitive. The * following wildcard characters are supported: * (matches 0 or more characters) * and ? (matches exactly 1 character). To search for a literal '*' or '?' * character in a query string, you must escape these characters in * Values using a '\' character.

If you specify multiple * key/value pairs or values, the condition is satisfied if one of them is found in * the query string.

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

The key/value pairs or values to find in the query string. The maximum size * of each string is 128 characters. The comparison is case insensitive. The * following wildcard characters are supported: * (matches 0 or more characters) * and ? (matches exactly 1 character). To search for a literal '*' or '?' * character in a query string, you must escape these characters in * Values using a '\' character.

If you specify multiple * key/value pairs or values, the condition is satisfied if one of them is found in * the query string.

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

The key/value pairs or values to find in the query string. The maximum size * of each string is 128 characters. The comparison is case insensitive. The * following wildcard characters are supported: * (matches 0 or more characters) * and ? (matches exactly 1 character). To search for a literal '*' or '?' * character in a query string, you must escape these characters in * Values using a '\' character.

If you specify multiple * key/value pairs or values, the condition is satisfied if one of them is found in * the query string.

*/ inline QueryStringConditionConfig& AddValues(const QueryStringKeyValuePair& value) { m_valuesHasBeenSet = true; m_values.push_back(value); return *this; } /** *

The key/value pairs or values to find in the query string. The maximum size * of each string is 128 characters. The comparison is case insensitive. The * following wildcard characters are supported: * (matches 0 or more characters) * and ? (matches exactly 1 character). To search for a literal '*' or '?' * character in a query string, you must escape these characters in * Values using a '\' character.

If you specify multiple * key/value pairs or values, the condition is satisfied if one of them is found in * the query string.

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