/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The input for the ListPrincipalThings operation.See Also:
* AWS
* API Reference
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
To retrieve the next set of results, the nextToken
value from a
* previous response; otherwise null to receive the first set of
* results.
The maximum number of results to return in this operation.
*/ inline int GetMaxResults() const{ return m_maxResults; } /** *The maximum number of results to return in this operation.
*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *The maximum number of results to return in this operation.
*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *The maximum number of results to return in this operation.
*/ inline ListPrincipalThingsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *The principal.
*/ inline const Aws::String& GetPrincipal() const{ return m_principal; } /** *The principal.
*/ inline bool PrincipalHasBeenSet() const { return m_principalHasBeenSet; } /** *The principal.
*/ inline void SetPrincipal(const Aws::String& value) { m_principalHasBeenSet = true; m_principal = value; } /** *The principal.
*/ inline void SetPrincipal(Aws::String&& value) { m_principalHasBeenSet = true; m_principal = std::move(value); } /** *The principal.
*/ inline void SetPrincipal(const char* value) { m_principalHasBeenSet = true; m_principal.assign(value); } /** *The principal.
*/ inline ListPrincipalThingsRequest& WithPrincipal(const Aws::String& value) { SetPrincipal(value); return *this;} /** *The principal.
*/ inline ListPrincipalThingsRequest& WithPrincipal(Aws::String&& value) { SetPrincipal(std::move(value)); return *this;} /** *The principal.
*/ inline ListPrincipalThingsRequest& WithPrincipal(const char* value) { SetPrincipal(value); return *this;} private: Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_principal; bool m_principalHasBeenSet = false; }; } // namespace Model } // namespace IoT } // namespace Aws