/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Lists all policies from the root of the Directory to the object specified
* inside a BatchRead operation. For more information, see
* LookupPolicy and BatchReadRequest$Operations.See
* Also:
AWS
* API Reference
Reference that identifies the object whose policies will be looked up.
*/ inline const ObjectReference& GetObjectReference() const{ return m_objectReference; } /** *Reference that identifies the object whose policies will be looked up.
*/ inline bool ObjectReferenceHasBeenSet() const { return m_objectReferenceHasBeenSet; } /** *Reference that identifies the object whose policies will be looked up.
*/ inline void SetObjectReference(const ObjectReference& value) { m_objectReferenceHasBeenSet = true; m_objectReference = value; } /** *Reference that identifies the object whose policies will be looked up.
*/ inline void SetObjectReference(ObjectReference&& value) { m_objectReferenceHasBeenSet = true; m_objectReference = std::move(value); } /** *Reference that identifies the object whose policies will be looked up.
*/ inline BatchLookupPolicy& WithObjectReference(const ObjectReference& value) { SetObjectReference(value); return *this;} /** *Reference that identifies the object whose policies will be looked up.
*/ inline BatchLookupPolicy& WithObjectReference(ObjectReference&& value) { SetObjectReference(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 BatchLookupPolicy& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *The pagination token.
*/ inline BatchLookupPolicy& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *The pagination token.
*/ inline BatchLookupPolicy& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *The maximum number of results to retrieve.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *The maximum number of results to retrieve.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *The maximum number of results to retrieve.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *The maximum number of results to retrieve.
*/ inline BatchLookupPolicy& WithMaxResults(int value) { SetMaxResults(value); return *this;} private: ObjectReference m_objectReference; bool m_objectReferenceHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; }; } // namespace Model } // namespace CloudDirectory } // namespace Aws