/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CloudDirectory { namespace Model { /** *

Returns the path to the ObjectIdentifiers that is associated * with the directory.

See Also:

AWS * API Reference

*/ class PathToObjectIdentifiers { public: AWS_CLOUDDIRECTORY_API PathToObjectIdentifiers(); AWS_CLOUDDIRECTORY_API PathToObjectIdentifiers(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDDIRECTORY_API PathToObjectIdentifiers& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CLOUDDIRECTORY_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The path that is used to identify the object starting from directory * root.

*/ inline const Aws::String& GetPath() const{ return m_path; } /** *

The path that is used to identify the object starting from directory * root.

*/ inline bool PathHasBeenSet() const { return m_pathHasBeenSet; } /** *

The path that is used to identify the object starting from directory * root.

*/ inline void SetPath(const Aws::String& value) { m_pathHasBeenSet = true; m_path = value; } /** *

The path that is used to identify the object starting from directory * root.

*/ inline void SetPath(Aws::String&& value) { m_pathHasBeenSet = true; m_path = std::move(value); } /** *

The path that is used to identify the object starting from directory * root.

*/ inline void SetPath(const char* value) { m_pathHasBeenSet = true; m_path.assign(value); } /** *

The path that is used to identify the object starting from directory * root.

*/ inline PathToObjectIdentifiers& WithPath(const Aws::String& value) { SetPath(value); return *this;} /** *

The path that is used to identify the object starting from directory * root.

*/ inline PathToObjectIdentifiers& WithPath(Aws::String&& value) { SetPath(std::move(value)); return *this;} /** *

The path that is used to identify the object starting from directory * root.

*/ inline PathToObjectIdentifiers& WithPath(const char* value) { SetPath(value); return *this;} /** *

Lists ObjectIdentifiers starting from directory root to the * object in the request.

*/ inline const Aws::Vector& GetObjectIdentifiers() const{ return m_objectIdentifiers; } /** *

Lists ObjectIdentifiers starting from directory root to the * object in the request.

*/ inline bool ObjectIdentifiersHasBeenSet() const { return m_objectIdentifiersHasBeenSet; } /** *

Lists ObjectIdentifiers starting from directory root to the * object in the request.

*/ inline void SetObjectIdentifiers(const Aws::Vector& value) { m_objectIdentifiersHasBeenSet = true; m_objectIdentifiers = value; } /** *

Lists ObjectIdentifiers starting from directory root to the * object in the request.

*/ inline void SetObjectIdentifiers(Aws::Vector&& value) { m_objectIdentifiersHasBeenSet = true; m_objectIdentifiers = std::move(value); } /** *

Lists ObjectIdentifiers starting from directory root to the * object in the request.

*/ inline PathToObjectIdentifiers& WithObjectIdentifiers(const Aws::Vector& value) { SetObjectIdentifiers(value); return *this;} /** *

Lists ObjectIdentifiers starting from directory root to the * object in the request.

*/ inline PathToObjectIdentifiers& WithObjectIdentifiers(Aws::Vector&& value) { SetObjectIdentifiers(std::move(value)); return *this;} /** *

Lists ObjectIdentifiers starting from directory root to the * object in the request.

*/ inline PathToObjectIdentifiers& AddObjectIdentifiers(const Aws::String& value) { m_objectIdentifiersHasBeenSet = true; m_objectIdentifiers.push_back(value); return *this; } /** *

Lists ObjectIdentifiers starting from directory root to the * object in the request.

*/ inline PathToObjectIdentifiers& AddObjectIdentifiers(Aws::String&& value) { m_objectIdentifiersHasBeenSet = true; m_objectIdentifiers.push_back(std::move(value)); return *this; } /** *

Lists ObjectIdentifiers starting from directory root to the * object in the request.

*/ inline PathToObjectIdentifiers& AddObjectIdentifiers(const char* value) { m_objectIdentifiersHasBeenSet = true; m_objectIdentifiers.push_back(value); return *this; } private: Aws::String m_path; bool m_pathHasBeenSet = false; Aws::Vector m_objectIdentifiers; bool m_objectIdentifiersHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws