/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace CognitoIdentityProvider { namespace Model { /** *

Lists the device's response, as an administrator.

See Also:

* AWS * API Reference

*/ class AdminListDevicesResult { public: AWS_COGNITOIDENTITYPROVIDER_API AdminListDevicesResult(); AWS_COGNITOIDENTITYPROVIDER_API AdminListDevicesResult(const Aws::AmazonWebServiceResult& result); AWS_COGNITOIDENTITYPROVIDER_API AdminListDevicesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The devices in the list of devices response.

*/ inline const Aws::Vector& GetDevices() const{ return m_devices; } /** *

The devices in the list of devices response.

*/ inline void SetDevices(const Aws::Vector& value) { m_devices = value; } /** *

The devices in the list of devices response.

*/ inline void SetDevices(Aws::Vector&& value) { m_devices = std::move(value); } /** *

The devices in the list of devices response.

*/ inline AdminListDevicesResult& WithDevices(const Aws::Vector& value) { SetDevices(value); return *this;} /** *

The devices in the list of devices response.

*/ inline AdminListDevicesResult& WithDevices(Aws::Vector&& value) { SetDevices(std::move(value)); return *this;} /** *

The devices in the list of devices response.

*/ inline AdminListDevicesResult& AddDevices(const DeviceType& value) { m_devices.push_back(value); return *this; } /** *

The devices in the list of devices response.

*/ inline AdminListDevicesResult& AddDevices(DeviceType&& value) { m_devices.push_back(std::move(value)); return *this; } /** *

The pagination token.

*/ inline const Aws::String& GetPaginationToken() const{ return m_paginationToken; } /** *

The pagination token.

*/ inline void SetPaginationToken(const Aws::String& value) { m_paginationToken = value; } /** *

The pagination token.

*/ inline void SetPaginationToken(Aws::String&& value) { m_paginationToken = std::move(value); } /** *

The pagination token.

*/ inline void SetPaginationToken(const char* value) { m_paginationToken.assign(value); } /** *

The pagination token.

*/ inline AdminListDevicesResult& WithPaginationToken(const Aws::String& value) { SetPaginationToken(value); return *this;} /** *

The pagination token.

*/ inline AdminListDevicesResult& WithPaginationToken(Aws::String&& value) { SetPaginationToken(std::move(value)); return *this;} /** *

The pagination token.

*/ inline AdminListDevicesResult& WithPaginationToken(const char* value) { SetPaginationToken(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline AdminListDevicesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline AdminListDevicesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline AdminListDevicesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_devices; Aws::String m_paginationToken; Aws::String m_requestId; }; } // namespace Model } // namespace CognitoIdentityProvider } // namespace Aws