7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/s3control/S3Control_EXPORTS.h>
46 template <
typename MatchAnyPrefixT = Aws::Vector<Aws::String>>
48 m_matchAnyPrefixHasBeenSet =
true;
49 m_matchAnyPrefix = std::forward<MatchAnyPrefixT>(value);
51 template <
typename MatchAnyPrefixT = Aws::Vector<Aws::String>>
56 template <
typename MatchAnyPrefixT = Aws::String>
58 m_matchAnyPrefixHasBeenSet =
true;
59 m_matchAnyPrefix.emplace_back(std::forward<MatchAnyPrefixT>(value));
72 template <
typename MatchAnySuffixT = Aws::Vector<Aws::String>>
74 m_matchAnySuffixHasBeenSet =
true;
75 m_matchAnySuffix = std::forward<MatchAnySuffixT>(value);
77 template <
typename MatchAnySuffixT = Aws::Vector<Aws::String>>
82 template <
typename MatchAnySuffixT = Aws::String>
84 m_matchAnySuffixHasBeenSet =
true;
85 m_matchAnySuffix.emplace_back(std::forward<MatchAnySuffixT>(value));
98 template <
typename MatchAnySub
stringT = Aws::Vector<Aws::String>>
100 m_matchAnySubstringHasBeenSet =
true;
101 m_matchAnySubstring = std::forward<MatchAnySubstringT>(value);
103 template <
typename MatchAnySub
stringT = Aws::Vector<Aws::String>>
108 template <
typename MatchAnySub
stringT = Aws::String>
110 m_matchAnySubstringHasBeenSet =
true;
111 m_matchAnySubstring.emplace_back(std::forward<MatchAnySubstringT>(value));
121 bool m_matchAnyPrefixHasBeenSet =
false;
122 bool m_matchAnySuffixHasBeenSet =
false;
123 bool m_matchAnySubstringHasBeenSet =
false;
void SetMatchAnySubstring(MatchAnySubstringT &&value)
KeyNameConstraint & WithMatchAnyPrefix(MatchAnyPrefixT &&value)
AWS_S3CONTROL_API void AddToNode(Aws::Utils::Xml::XmlNode &parentNode) const
KeyNameConstraint & AddMatchAnySubstring(MatchAnySubstringT &&value)
AWS_S3CONTROL_API KeyNameConstraint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Aws::String > & GetMatchAnySubstring() const
KeyNameConstraint & WithMatchAnySuffix(MatchAnySuffixT &&value)
const Aws::Vector< Aws::String > & GetMatchAnyPrefix() const
AWS_S3CONTROL_API KeyNameConstraint(const Aws::Utils::Xml::XmlNode &xmlNode)
bool MatchAnySuffixHasBeenSet() const
KeyNameConstraint & WithMatchAnySubstring(MatchAnySubstringT &&value)
KeyNameConstraint & AddMatchAnySuffix(MatchAnySuffixT &&value)
void SetMatchAnySuffix(MatchAnySuffixT &&value)
bool MatchAnySubstringHasBeenSet() const
AWS_S3CONTROL_API KeyNameConstraint()=default
const Aws::Vector< Aws::String > & GetMatchAnySuffix() const
bool MatchAnyPrefixHasBeenSet() const
void SetMatchAnyPrefix(MatchAnyPrefixT &&value)
KeyNameConstraint & AddMatchAnyPrefix(MatchAnyPrefixT &&value)
std::vector< T, Aws::Allocator< T > > Vector