7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/accessanalyzer/model/Substring.h>
22namespace AccessAnalyzer
48 inline void SetIndex(
int value) { m_indexHasBeenSet =
true; m_index = value; }
59 inline void SetKey(
Aws::String&& value) { m_keyHasBeenSet =
true; m_key = std::move(value); }
60 inline void SetKey(
const char* value) { m_keyHasBeenSet =
true; m_key.assign(value); }
86 inline void SetValue(
const char* value) { m_valueHasBeenSet =
true; m_value.assign(value); }
94 bool m_indexHasBeenSet =
false;
97 bool m_keyHasBeenSet =
false;
100 bool m_substringHasBeenSet =
false;
103 bool m_valueHasBeenSet =
false;
const Aws::String & GetKey() const
void SetKey(const char *value)
PathElement & WithValue(Aws::String &&value)
AWS_ACCESSANALYZER_API PathElement()
void SetSubstring(const Substring &value)
void SetValue(const Aws::String &value)
PathElement & WithKey(Aws::String &&value)
PathElement & WithValue(const Aws::String &value)
PathElement & WithKey(const Aws::String &value)
void SetKey(Aws::String &&value)
PathElement & WithSubstring(Substring &&value)
bool ValueHasBeenSet() const
void SetKey(const Aws::String &value)
AWS_ACCESSANALYZER_API PathElement(Aws::Utils::Json::JsonView jsonValue)
bool KeyHasBeenSet() const
void SetValue(Aws::String &&value)
PathElement & WithIndex(int value)
const Substring & GetSubstring() const
PathElement & WithSubstring(const Substring &value)
PathElement & WithKey(const char *value)
const Aws::String & GetValue() const
void SetSubstring(Substring &&value)
void SetValue(const char *value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
bool SubstringHasBeenSet() const
AWS_ACCESSANALYZER_API PathElement & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IndexHasBeenSet() const
PathElement & WithValue(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue