7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/PathElement.h>
9#include <aws/accessanalyzer/model/Span.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
21namespace AccessAnalyzer {
43 template <
typename PathT = Aws::Vector<PathElement>>
45 m_pathHasBeenSet =
true;
46 m_path = std::forward<PathT>(value);
48 template <
typename PathT = Aws::Vector<PathElement>>
50 SetPath(std::forward<PathT>(value));
53 template <
typename PathT = PathElement>
55 m_pathHasBeenSet =
true;
56 m_path.emplace_back(std::forward<PathT>(value));
67 template <
typename SpanT = Span>
69 m_spanHasBeenSet =
true;
70 m_span = std::forward<SpanT>(value);
72 template <
typename SpanT = Span>
74 SetSpan(std::forward<SpanT>(value));
82 bool m_pathHasBeenSet =
false;
83 bool m_spanHasBeenSet =
false;
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
const Span & GetSpan() const
Location & WithSpan(SpanT &&value)
bool PathHasBeenSet() const
Location & WithPath(PathT &&value)
Location & AddPath(PathT &&value)
AWS_ACCESSANALYZER_API Location()=default
void SetPath(PathT &&value)
void SetSpan(SpanT &&value)
AWS_ACCESSANALYZER_API Location & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< PathElement > & GetPath() const
bool SpanHasBeenSet() const
AWS_ACCESSANALYZER_API Location(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue