7#include <aws/amplifygen3/AmplifyGen3_EXPORTS.h>
8#include <aws/amplifygen3/model/AccessRuleOperator.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AmplifyGen3 {
42 template <
typename KeyT = Aws::String>
44 m_keyHasBeenSet =
true;
45 m_key = std::forward<KeyT>(value);
47 template <
typename KeyT = Aws::String>
49 SetKey(std::forward<KeyT>(value));
61 m_operatorHasBeenSet =
true;
76 template <
typename ValueT = Aws::String>
78 m_valueHasBeenSet =
true;
79 m_value = std::forward<ValueT>(value);
81 template <
typename ValueT = Aws::String>
83 SetValue(std::forward<ValueT>(value));
93 bool m_keyHasBeenSet =
false;
94 bool m_operatorHasBeenSet =
false;
95 bool m_valueHasBeenSet =
false;
bool OperatorHasBeenSet() const
AWS_AMPLIFYGEN3_API AccessRuleCondition(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetValue() const
AccessRuleOperator GetOperator() const
const Aws::String & GetKey() const
AccessRuleCondition & WithKey(KeyT &&value)
AWS_AMPLIFYGEN3_API AccessRuleCondition()=default
AccessRuleCondition & WithOperator(AccessRuleOperator value)
void SetKey(KeyT &&value)
void SetOperator(AccessRuleOperator value)
bool ValueHasBeenSet() const
AWS_AMPLIFYGEN3_API AccessRuleCondition & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AMPLIFYGEN3_API Aws::Utils::Json::JsonValue Jsonize() const
AccessRuleCondition & WithValue(ValueT &&value)
bool KeyHasBeenSet() const
void SetValue(ValueT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue