7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/directconnect/DirectConnect_EXPORTS.h>
9#include <aws/directconnect/model/AsPathType.h>
20namespace DirectConnect {
44 m_pathTypeHasBeenSet =
true;
59 template <
typename PathT = Aws::Vector<
long long>>
61 m_pathHasBeenSet =
true;
62 m_path = std::forward<PathT>(value);
64 template <
typename PathT = Aws::Vector<
long long>>
66 SetPath(std::forward<PathT>(value));
70 m_pathHasBeenSet =
true;
71 m_path.push_back(value);
79 bool m_pathTypeHasBeenSet =
false;
80 bool m_pathHasBeenSet =
false;
bool PathTypeHasBeenSet() const
AsPathSegment & WithPath(PathT &&value)
AWS_DIRECTCONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DIRECTCONNECT_API AsPathSegment(Aws::Utils::Json::JsonView jsonValue)
AWS_DIRECTCONNECT_API AsPathSegment()=default
AWS_DIRECTCONNECT_API AsPathSegment & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PathHasBeenSet() const
AsPathType GetPathType() const
AsPathSegment & AddPath(long long value)
void SetPath(PathT &&value)
void SetPathType(AsPathType value)
const Aws::Vector< long long > & GetPath() const
AsPathSegment & WithPathType(AsPathType value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue