AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListDevicesResult.h
Go to the documentation of this file.
1
6#pragma once
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 Panorama
26{
27namespace Model
28{
30 {
31 public:
35
36
40 inline const Aws::Vector<Device>& GetDevices() const{ return m_devices; }
41
45 inline void SetDevices(const Aws::Vector<Device>& value) { m_devices = value; }
46
50 inline void SetDevices(Aws::Vector<Device>&& value) { m_devices = std::move(value); }
51
55 inline ListDevicesResult& WithDevices(const Aws::Vector<Device>& value) { SetDevices(value); return *this;}
56
60 inline ListDevicesResult& WithDevices(Aws::Vector<Device>&& value) { SetDevices(std::move(value)); return *this;}
61
65 inline ListDevicesResult& AddDevices(const Device& value) { m_devices.push_back(value); return *this; }
66
70 inline ListDevicesResult& AddDevices(Device&& value) { m_devices.push_back(std::move(value)); return *this; }
71
72
76 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77
81 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82
86 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87
91 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92
96 inline ListDevicesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97
101 inline ListDevicesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102
106 inline ListDevicesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107
108 private:
109
110 Aws::Vector<Device> m_devices;
111
112 Aws::String m_nextToken;
113 };
114
115} // namespace Model
116} // namespace Panorama
117} // namespace Aws
#define AWS_PANORAMA_API
void SetNextToken(Aws::String &&value)
ListDevicesResult & AddDevices(const Device &value)
void SetDevices(Aws::Vector< Device > &&value)
const Aws::Vector< Device > & GetDevices() const
ListDevicesResult & WithNextToken(const char *value)
ListDevicesResult & WithDevices(const Aws::Vector< Device > &value)
ListDevicesResult & WithDevices(Aws::Vector< Device > &&value)
const Aws::String & GetNextToken() const
ListDevicesResult & WithNextToken(const Aws::String &value)
void SetDevices(const Aws::Vector< Device > &value)
AWS_PANORAMA_API ListDevicesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListDevicesResult & AddDevices(Device &&value)
void SetNextToken(const Aws::String &value)
ListDevicesResult & WithNextToken(Aws::String &&value)
AWS_PANORAMA_API ListDevicesResult & operator=(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