/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the request to list the devices.See Also:
AWS
* API Reference
A valid access token that Amazon Cognito issued to the user whose list of * devices you want to view.
*/ inline const Aws::String& GetAccessToken() const{ return m_accessToken; } /** *A valid access token that Amazon Cognito issued to the user whose list of * devices you want to view.
*/ inline bool AccessTokenHasBeenSet() const { return m_accessTokenHasBeenSet; } /** *A valid access token that Amazon Cognito issued to the user whose list of * devices you want to view.
*/ inline void SetAccessToken(const Aws::String& value) { m_accessTokenHasBeenSet = true; m_accessToken = value; } /** *A valid access token that Amazon Cognito issued to the user whose list of * devices you want to view.
*/ inline void SetAccessToken(Aws::String&& value) { m_accessTokenHasBeenSet = true; m_accessToken = std::move(value); } /** *A valid access token that Amazon Cognito issued to the user whose list of * devices you want to view.
*/ inline void SetAccessToken(const char* value) { m_accessTokenHasBeenSet = true; m_accessToken.assign(value); } /** *A valid access token that Amazon Cognito issued to the user whose list of * devices you want to view.
*/ inline ListDevicesRequest& WithAccessToken(const Aws::String& value) { SetAccessToken(value); return *this;} /** *A valid access token that Amazon Cognito issued to the user whose list of * devices you want to view.
*/ inline ListDevicesRequest& WithAccessToken(Aws::String&& value) { SetAccessToken(std::move(value)); return *this;} /** *A valid access token that Amazon Cognito issued to the user whose list of * devices you want to view.
*/ inline ListDevicesRequest& WithAccessToken(const char* value) { SetAccessToken(value); return *this;} /** *The limit of the device request.
*/ inline int GetLimit() const{ return m_limit; } /** *The limit of the device request.
*/ inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; } /** *The limit of the device request.
*/ inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; } /** *The limit of the device request.
*/ inline ListDevicesRequest& WithLimit(int value) { SetLimit(value); return *this;} /** *The pagination token for the list request.
*/ inline const Aws::String& GetPaginationToken() const{ return m_paginationToken; } /** *The pagination token for the list request.
*/ inline bool PaginationTokenHasBeenSet() const { return m_paginationTokenHasBeenSet; } /** *The pagination token for the list request.
*/ inline void SetPaginationToken(const Aws::String& value) { m_paginationTokenHasBeenSet = true; m_paginationToken = value; } /** *The pagination token for the list request.
*/ inline void SetPaginationToken(Aws::String&& value) { m_paginationTokenHasBeenSet = true; m_paginationToken = std::move(value); } /** *The pagination token for the list request.
*/ inline void SetPaginationToken(const char* value) { m_paginationTokenHasBeenSet = true; m_paginationToken.assign(value); } /** *The pagination token for the list request.
*/ inline ListDevicesRequest& WithPaginationToken(const Aws::String& value) { SetPaginationToken(value); return *this;} /** *The pagination token for the list request.
*/ inline ListDevicesRequest& WithPaginationToken(Aws::String&& value) { SetPaginationToken(std::move(value)); return *this;} /** *The pagination token for the list request.
*/ inline ListDevicesRequest& WithPaginationToken(const char* value) { SetPaginationToken(value); return *this;} private: Aws::String m_accessToken; bool m_accessTokenHasBeenSet = false; int m_limit; bool m_limitHasBeenSet = false; Aws::String m_paginationToken; bool m_paginationTokenHasBeenSet = false; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws