7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/guardduty/GuardDuty_EXPORTS.h>
10#include <aws/guardduty/model/FetchCriterionCondition.h>
43 template <
typename FieldT = Aws::String>
45 m_fieldHasBeenSet =
true;
46 m_field = std::forward<FieldT>(value);
48 template <
typename FieldT = Aws::String>
50 SetField(std::forward<FieldT>(value));
65 m_conditionHasBeenSet =
true;
81 template <
typename ValuesT = Aws::Vector<Aws::String>>
83 m_valuesHasBeenSet =
true;
84 m_values = std::forward<ValuesT>(value);
86 template <
typename ValuesT = Aws::Vector<Aws::String>>
91 template <
typename ValuesT = Aws::String>
93 m_valuesHasBeenSet =
true;
94 m_values.emplace_back(std::forward<ValuesT>(value));
104 bool m_fieldHasBeenSet =
false;
105 bool m_conditionHasBeenSet =
false;
106 bool m_valuesHasBeenSet =
false;
FetchCriterion & WithField(FieldT &&value)
AWS_GUARDDUTY_API FetchCriterion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
bool ValuesHasBeenSet() const
const Aws::String & GetField() const
FetchCriterion & WithCondition(FetchCriterionCondition value)
AWS_GUARDDUTY_API FetchCriterion(Aws::Utils::Json::JsonView jsonValue)
bool FieldHasBeenSet() const
FetchCriterion & AddValues(ValuesT &&value)
void SetField(FieldT &&value)
bool ConditionHasBeenSet() const
void SetCondition(FetchCriterionCondition value)
AWS_GUARDDUTY_API FetchCriterion()=default
const Aws::Vector< Aws::String > & GetValues() const
void SetValues(ValuesT &&value)
FetchCriterion & WithValues(ValuesT &&value)
FetchCriterionCondition GetCondition() 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