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

Represents the output of a LookupPolicy response * operation.

See Also:

AWS * API Reference

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

Provides list of path to policies. Policies contain PolicyId, * ObjectIdentifier, and PolicyType. For more * information, see Policies.

*/ inline const Aws::Vector& GetPolicyToPathList() const{ return m_policyToPathList; } /** *

Provides list of path to policies. Policies contain PolicyId, * ObjectIdentifier, and PolicyType. For more * information, see Policies.

*/ inline bool PolicyToPathListHasBeenSet() const { return m_policyToPathListHasBeenSet; } /** *

Provides list of path to policies. Policies contain PolicyId, * ObjectIdentifier, and PolicyType. For more * information, see Policies.

*/ inline void SetPolicyToPathList(const Aws::Vector& value) { m_policyToPathListHasBeenSet = true; m_policyToPathList = value; } /** *

Provides list of path to policies. Policies contain PolicyId, * ObjectIdentifier, and PolicyType. For more * information, see Policies.

*/ inline void SetPolicyToPathList(Aws::Vector&& value) { m_policyToPathListHasBeenSet = true; m_policyToPathList = std::move(value); } /** *

Provides list of path to policies. Policies contain PolicyId, * ObjectIdentifier, and PolicyType. For more * information, see Policies.

*/ inline BatchLookupPolicyResponse& WithPolicyToPathList(const Aws::Vector& value) { SetPolicyToPathList(value); return *this;} /** *

Provides list of path to policies. Policies contain PolicyId, * ObjectIdentifier, and PolicyType. For more * information, see Policies.

*/ inline BatchLookupPolicyResponse& WithPolicyToPathList(Aws::Vector&& value) { SetPolicyToPathList(std::move(value)); return *this;} /** *

Provides list of path to policies. Policies contain PolicyId, * ObjectIdentifier, and PolicyType. For more * information, see Policies.

*/ inline BatchLookupPolicyResponse& AddPolicyToPathList(const PolicyToPath& value) { m_policyToPathListHasBeenSet = true; m_policyToPathList.push_back(value); return *this; } /** *

Provides list of path to policies. Policies contain PolicyId, * ObjectIdentifier, and PolicyType. For more * information, see Policies.

*/ inline BatchLookupPolicyResponse& AddPolicyToPathList(PolicyToPath&& value) { m_policyToPathListHasBeenSet = true; m_policyToPathList.push_back(std::move(value)); return *this; } /** *

The pagination token.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The pagination token.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

The pagination token.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

The pagination token.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

The pagination token.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

The pagination token.

*/ inline BatchLookupPolicyResponse& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The pagination token.

*/ inline BatchLookupPolicyResponse& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The pagination token.

*/ inline BatchLookupPolicyResponse& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_policyToPathList; bool m_policyToPathListHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws