/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a path.See Also:
AWS
* API Reference
The source.
*/ inline const PathStatement& GetSource() const{ return m_source; } /** *The source.
*/ inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; } /** *The source.
*/ inline void SetSource(const PathStatement& value) { m_sourceHasBeenSet = true; m_source = value; } /** *The source.
*/ inline void SetSource(PathStatement&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); } /** *The source.
*/ inline AccessScopePath& WithSource(const PathStatement& value) { SetSource(value); return *this;} /** *The source.
*/ inline AccessScopePath& WithSource(PathStatement&& value) { SetSource(std::move(value)); return *this;} /** *The destination.
*/ inline const PathStatement& GetDestination() const{ return m_destination; } /** *The destination.
*/ inline bool DestinationHasBeenSet() const { return m_destinationHasBeenSet; } /** *The destination.
*/ inline void SetDestination(const PathStatement& value) { m_destinationHasBeenSet = true; m_destination = value; } /** *The destination.
*/ inline void SetDestination(PathStatement&& value) { m_destinationHasBeenSet = true; m_destination = std::move(value); } /** *The destination.
*/ inline AccessScopePath& WithDestination(const PathStatement& value) { SetDestination(value); return *this;} /** *The destination.
*/ inline AccessScopePath& WithDestination(PathStatement&& value) { SetDestination(std::move(value)); return *this;} /** *The through resources.
*/ inline const Aws::VectorThe through resources.
*/ inline bool ThroughResourcesHasBeenSet() const { return m_throughResourcesHasBeenSet; } /** *The through resources.
*/ inline void SetThroughResources(const Aws::VectorThe through resources.
*/ inline void SetThroughResources(Aws::VectorThe through resources.
*/ inline AccessScopePath& WithThroughResources(const Aws::VectorThe through resources.
*/ inline AccessScopePath& WithThroughResources(Aws::VectorThe through resources.
*/ inline AccessScopePath& AddThroughResources(const ThroughResourcesStatement& value) { m_throughResourcesHasBeenSet = true; m_throughResources.push_back(value); return *this; } /** *The through resources.
*/ inline AccessScopePath& AddThroughResources(ThroughResourcesStatement&& value) { m_throughResourcesHasBeenSet = true; m_throughResources.push_back(std::move(value)); return *this; } private: PathStatement m_source; bool m_sourceHasBeenSet = false; PathStatement m_destination; bool m_destinationHasBeenSet = false; Aws::Vector