7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/MatchOffset.h>
43 template <
typename AttributeT = Aws::String>
45 m_attributeHasBeenSet =
true;
46 m_attribute = std::forward<AttributeT>(value);
48 template <
typename AttributeT = Aws::String>
61 template <
typename TextT = Aws::String>
63 m_textHasBeenSet =
true;
64 m_text = std::forward<TextT>(value);
66 template <
typename TextT = Aws::String>
68 SetText(std::forward<TextT>(value));
79 template <
typename MatchOffsetsT = Aws::Vector<MatchOffset>>
81 m_matchOffsetsHasBeenSet =
true;
82 m_matchOffsets = std::forward<MatchOffsetsT>(value);
84 template <
typename MatchOffsetsT = Aws::Vector<MatchOffset>>
89 template <
typename MatchOffsetsT = MatchOffset>
91 m_matchOffsetsHasBeenSet =
true;
92 m_matchOffsets.emplace_back(std::forward<MatchOffsetsT>(value));
102 bool m_attributeHasBeenSet =
false;
103 bool m_textHasBeenSet =
false;
104 bool m_matchOffsetsHasBeenSet =
false;
void SetAttribute(AttributeT &&value)
const Aws::String & GetAttribute() const
AWS_DATAZONE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetText() const
const Aws::Vector< MatchOffset > & GetMatchOffsets() const
AWS_DATAZONE_API TextMatchItem(Aws::Utils::Json::JsonView jsonValue)
TextMatchItem & WithText(TextT &&value)
TextMatchItem & WithAttribute(AttributeT &&value)
AWS_DATAZONE_API TextMatchItem()=default
AWS_DATAZONE_API TextMatchItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool AttributeHasBeenSet() const
void SetMatchOffsets(MatchOffsetsT &&value)
bool TextHasBeenSet() const
void SetText(TextT &&value)
TextMatchItem & WithMatchOffsets(MatchOffsetsT &&value)
TextMatchItem & AddMatchOffsets(MatchOffsetsT &&value)
bool MatchOffsetsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue