AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AdminListDevicesResult.h
1
6#pragma once
7#include <aws/cognito-idp/CognitoIdentityProvider_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/cognito-idp/model/DeviceType.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CognitoIdentityProvider
26{
27namespace Model
28{
36 {
37 public:
38 AWS_COGNITOIDENTITYPROVIDER_API AdminListDevicesResult() = default;
41
42
44
49 inline const Aws::Vector<DeviceType>& GetDevices() const { return m_devices; }
50 template<typename DevicesT = Aws::Vector<DeviceType>>
51 void SetDevices(DevicesT&& value) { m_devicesHasBeenSet = true; m_devices = std::forward<DevicesT>(value); }
52 template<typename DevicesT = Aws::Vector<DeviceType>>
53 AdminListDevicesResult& WithDevices(DevicesT&& value) { SetDevices(std::forward<DevicesT>(value)); return *this;}
54 template<typename DevicesT = DeviceType>
55 AdminListDevicesResult& AddDevices(DevicesT&& value) { m_devicesHasBeenSet = true; m_devices.emplace_back(std::forward<DevicesT>(value)); return *this; }
57
59
65 inline const Aws::String& GetPaginationToken() const { return m_paginationToken; }
66 template<typename PaginationTokenT = Aws::String>
67 void SetPaginationToken(PaginationTokenT&& value) { m_paginationTokenHasBeenSet = true; m_paginationToken = std::forward<PaginationTokenT>(value); }
68 template<typename PaginationTokenT = Aws::String>
69 AdminListDevicesResult& WithPaginationToken(PaginationTokenT&& value) { SetPaginationToken(std::forward<PaginationTokenT>(value)); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const { return m_requestId; }
75 template<typename RequestIdT = Aws::String>
76 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
77 template<typename RequestIdT = Aws::String>
78 AdminListDevicesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
80 private:
81
83 bool m_devicesHasBeenSet = false;
84
85 Aws::String m_paginationToken;
86 bool m_paginationTokenHasBeenSet = false;
87
88 Aws::String m_requestId;
89 bool m_requestIdHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace CognitoIdentityProvider
94} // namespace Aws
AdminListDevicesResult & WithRequestId(RequestIdT &&value)
AWS_COGNITOIDENTITYPROVIDER_API AdminListDevicesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AdminListDevicesResult & WithPaginationToken(PaginationTokenT &&value)
AWS_COGNITOIDENTITYPROVIDER_API AdminListDevicesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_COGNITOIDENTITYPROVIDER_API AdminListDevicesResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue