7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/accessanalyzer/model/Span.h>
10#include <aws/accessanalyzer/model/PathElement.h>
23namespace AccessAnalyzer
49 template<
typename PathT = Aws::Vector<PathElement>>
50 void SetPath(PathT&& value) { m_pathHasBeenSet =
true; m_path = std::forward<PathT>(value); }
51 template<
typename PathT = Aws::Vector<PathElement>>
53 template<
typename PathT = PathElement>
54 Location&
AddPath(PathT&& value) { m_pathHasBeenSet =
true; m_path.emplace_back(std::forward<PathT>(value));
return *
this; }
63 template<
typename SpanT = Span>
64 void SetSpan(SpanT&& value) { m_spanHasBeenSet =
true; m_span = std::forward<SpanT>(value); }
65 template<
typename SpanT = Span>
71 bool m_pathHasBeenSet =
false;
74 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