/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A location in a policy that is represented as a path through the JSON
* representation and a corresponding span.See Also:
AWS
* API Reference
A path in a policy, represented as a sequence of path elements.
*/ inline const Aws::VectorA path in a policy, represented as a sequence of path elements.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *A path in a policy, represented as a sequence of path elements.
*/ inline void SetPath(const Aws::VectorA path in a policy, represented as a sequence of path elements.
*/ inline void SetPath(Aws::VectorA path in a policy, represented as a sequence of path elements.
*/ inline Location& WithPath(const Aws::VectorA path in a policy, represented as a sequence of path elements.
*/ inline Location& WithPath(Aws::VectorA path in a policy, represented as a sequence of path elements.
*/ inline Location& AddPath(const PathElement& value) { m_pathHasBeenSet = true; m_path.push_back(value); return *this; } /** *A path in a policy, represented as a sequence of path elements.
*/ inline Location& AddPath(PathElement&& value) { m_pathHasBeenSet = true; m_path.push_back(std::move(value)); return *this; } /** *A span in a policy.
*/ inline const Span& GetSpan() const{ return m_span; } /** *A span in a policy.
*/ inline bool SpanHasBeenSet() const { return m_spanHasBeenSet; } /** *A span in a policy.
*/ inline void SetSpan(const Span& value) { m_spanHasBeenSet = true; m_span = value; } /** *A span in a policy.
*/ inline void SetSpan(Span&& value) { m_spanHasBeenSet = true; m_span = std::move(value); } /** *A span in a policy.
*/ inline Location& WithSpan(const Span& value) { SetSpan(value); return *this;} /** *A span in a policy.
*/ inline Location& WithSpan(Span&& value) { SetSpan(std::move(value)); return *this;} private: Aws::Vector