7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/Substring.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AccessAnalyzer {
40 inline int GetIndex()
const {
return m_index; }
43 m_indexHasBeenSet =
true;
58 template <
typename KeyT = Aws::String>
60 m_keyHasBeenSet =
true;
61 m_key = std::forward<KeyT>(value);
63 template <
typename KeyT = Aws::String>
65 SetKey(std::forward<KeyT>(value));
76 template <
typename Sub
stringT = Sub
string>
78 m_substringHasBeenSet =
true;
79 m_substring = std::forward<SubstringT>(value);
81 template <
typename Sub
stringT = Sub
string>
94 template <
typename ValueT = Aws::String>
96 m_valueHasBeenSet =
true;
97 m_value = std::forward<ValueT>(value);
99 template <
typename ValueT = Aws::String>
101 SetValue(std::forward<ValueT>(value));
110 Substring m_substring;
113 bool m_indexHasBeenSet =
false;
114 bool m_keyHasBeenSet =
false;
115 bool m_substringHasBeenSet =
false;
116 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