/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include 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
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::VectorThe 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::VectorThe 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::VectorThe 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::VectorThe 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::VectorThe 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