7#include <aws/snow-device-management/SnowDeviceManagement_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/snow-device-management/model/DeviceSummary.h>
15template<
typename RESULT_TYPE>
16class AmazonWebServiceResult;
25namespace SnowDeviceManagement
42 template<
typename DevicesT = Aws::Vector<DeviceSummary>>
43 void SetDevices(DevicesT&& value) { m_devicesHasBeenSet =
true; m_devices = std::forward<DevicesT>(value); }
44 template<
typename DevicesT = Aws::Vector<DeviceSummary>>
46 template<
typename DevicesT = DeviceSummary>
47 ListDevicesResult&
AddDevices(DevicesT&& value) { m_devicesHasBeenSet =
true; m_devices.emplace_back(std::forward<DevicesT>(value));
return *
this; }
55 template<
typename NextTokenT = Aws::String>
56 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet =
true; m_nextToken = std::forward<NextTokenT>(value); }
57 template<
typename NextTokenT = Aws::String>
64 template<
typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet =
true; m_requestId = std::forward<RequestIdT>(value); }
66 template<
typename RequestIdT = Aws::String>
72 bool m_devicesHasBeenSet =
false;
75 bool m_nextTokenHasBeenSet =
false;
78 bool m_requestIdHasBeenSet =
false;
ListDevicesResult & WithDevices(DevicesT &&value)
void SetDevices(DevicesT &&value)
void SetRequestId(RequestIdT &&value)
ListDevicesResult & AddDevices(DevicesT &&value)
const Aws::String & GetNextToken() const
void SetNextToken(NextTokenT &&value)
AWS_SNOWDEVICEMANAGEMENT_API ListDevicesResult()=default
AWS_SNOWDEVICEMANAGEMENT_API ListDevicesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< DeviceSummary > & GetDevices() const
const Aws::String & GetRequestId() const
ListDevicesResult & WithNextToken(NextTokenT &&value)
ListDevicesResult & WithRequestId(RequestIdT &&value)
AWS_SNOWDEVICEMANAGEMENT_API ListDevicesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue