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
46 inline int GetIndex()
const {
return m_index; }
48 inline void SetIndex(
int value) { m_indexHasBeenSet =
true; m_index = value; }
58 template<
typename KeyT = Aws::String>
59 void SetKey(KeyT&& value) { m_keyHasBeenSet =
true; m_key = std::forward<KeyT>(value); }
60 template<
typename KeyT = Aws::String>
70 template<
typename Sub
stringT = Sub
string>
71 void SetSubstring(SubstringT&& value) { m_substringHasBeenSet =
true; m_substring = std::forward<SubstringT>(value); }
72 template<
typename Sub
stringT = Sub
string>
82 template<
typename ValueT = Aws::String>
83 void SetValue(ValueT&& value) { m_valueHasBeenSet =
true; m_value = std::forward<ValueT>(value); }
84 template<
typename ValueT = Aws::String>
90 bool m_indexHasBeenSet =
false;
93 bool m_keyHasBeenSet =
false;
95 Substring m_substring;
96 bool m_substringHasBeenSet =
false;
99 bool m_valueHasBeenSet =
false;
const Aws::String & GetKey() const
AWS_ACCESSANALYZER_API PathElement()=default
void SetValue(ValueT &&value)
PathElement & WithSubstring(SubstringT &&value)
bool ValueHasBeenSet() const
void SetSubstring(SubstringT &&value)
AWS_ACCESSANALYZER_API PathElement(Aws::Utils::Json::JsonView jsonValue)
bool KeyHasBeenSet() const
void SetKey(KeyT &&value)
PathElement & WithIndex(int value)
const Substring & GetSubstring() const
PathElement & WithKey(KeyT &&value)
const Aws::String & GetValue() const
PathElement & WithValue(ValueT &&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
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue