/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Used when a regular object exists in a Directory and you want to find
* all of the policies that are associated with that object and the parent to that
* object.See Also:
AWS
* API Reference
The path that is referenced from the root.
*/ inline const Aws::String& GetPath() const{ return m_path; } /** *The path that is referenced from the root.
*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *The path that is referenced from the root.
*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *The path that is referenced from the root.
*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *The path that is referenced from the root.
*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *The path that is referenced from the root.
*/ inline PolicyToPath& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *The path that is referenced from the root.
*/ inline PolicyToPath& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *The path that is referenced from the root.
*/ inline PolicyToPath& WithPath(const char* value) { SetPath(value); return *this;} /** *List of policy objects.
*/ inline const Aws::VectorList of policy objects.
*/ inline bool PoliciesHasBeenSet() const { return m_policiesHasBeenSet; } /** *List of policy objects.
*/ inline void SetPolicies(const Aws::VectorList of policy objects.
*/ inline void SetPolicies(Aws::VectorList of policy objects.
*/ inline PolicyToPath& WithPolicies(const Aws::VectorList of policy objects.
*/ inline PolicyToPath& WithPolicies(Aws::VectorList of policy objects.
*/ inline PolicyToPath& AddPolicies(const PolicyAttachment& value) { m_policiesHasBeenSet = true; m_policies.push_back(value); return *this; } /** *List of policy objects.
*/ inline PolicyToPath& AddPolicies(PolicyAttachment&& value) { m_policiesHasBeenSet = true; m_policies.push_back(std::move(value)); return *this; } private: Aws::String m_path; bool m_pathHasBeenSet = false; Aws::Vector