AWS SDK for C++  1.9.104
AWS SDK for C++
ListWirelessGatewaysResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace IoTWireless
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
41  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
42 
47  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
48 
53  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
54 
59  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
60 
65  inline ListWirelessGatewaysResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 
71  inline ListWirelessGatewaysResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72 
77  inline ListWirelessGatewaysResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78 
79 
83  inline const Aws::Vector<WirelessGatewayStatistics>& GetWirelessGatewayList() const{ return m_wirelessGatewayList; }
84 
88  inline void SetWirelessGatewayList(const Aws::Vector<WirelessGatewayStatistics>& value) { m_wirelessGatewayList = value; }
89 
93  inline void SetWirelessGatewayList(Aws::Vector<WirelessGatewayStatistics>&& value) { m_wirelessGatewayList = std::move(value); }
94 
98  inline ListWirelessGatewaysResult& WithWirelessGatewayList(const Aws::Vector<WirelessGatewayStatistics>& value) { SetWirelessGatewayList(value); return *this;}
99 
103  inline ListWirelessGatewaysResult& WithWirelessGatewayList(Aws::Vector<WirelessGatewayStatistics>&& value) { SetWirelessGatewayList(std::move(value)); return *this;}
104 
108  inline ListWirelessGatewaysResult& AddWirelessGatewayList(const WirelessGatewayStatistics& value) { m_wirelessGatewayList.push_back(value); return *this; }
109 
113  inline ListWirelessGatewaysResult& AddWirelessGatewayList(WirelessGatewayStatistics&& value) { m_wirelessGatewayList.push_back(std::move(value)); return *this; }
114 
115  private:
116 
117  Aws::String m_nextToken;
118 
119  Aws::Vector<WirelessGatewayStatistics> m_wirelessGatewayList;
120  };
121 
122 } // namespace Model
123 } // namespace IoTWireless
124 } // namespace Aws
Aws::IoTWireless::Model::ListWirelessGatewaysResult::GetWirelessGatewayList
const Aws::Vector< WirelessGatewayStatistics > & GetWirelessGatewayList() const
Definition: ListWirelessGatewaysResult.h:83
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::WirelessGatewayStatistics
Definition: WirelessGatewayStatistics.h:34
Aws::IoTWireless::Model::ListWirelessGatewaysResult::operator=
ListWirelessGatewaysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::ListWirelessGatewaysResult::WithNextToken
ListWirelessGatewaysResult & WithNextToken(Aws::String &&value)
Definition: ListWirelessGatewaysResult.h:71
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
IoTWireless_EXPORTS.h
Aws::IoTWireless::Model::ListWirelessGatewaysResult::SetWirelessGatewayList
void SetWirelessGatewayList(const Aws::Vector< WirelessGatewayStatistics > &value)
Definition: ListWirelessGatewaysResult.h:88
AWSVector.h
Aws::IoTWireless::Model::ListWirelessGatewaysResult::AddWirelessGatewayList
ListWirelessGatewaysResult & AddWirelessGatewayList(const WirelessGatewayStatistics &value)
Definition: ListWirelessGatewaysResult.h:108
Aws::IoTWireless::Model::ListWirelessGatewaysResult::WithWirelessGatewayList
ListWirelessGatewaysResult & WithWirelessGatewayList(const Aws::Vector< WirelessGatewayStatistics > &value)
Definition: ListWirelessGatewaysResult.h:98
AWSString.h
Aws::IoTWireless::Model::ListWirelessGatewaysResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListWirelessGatewaysResult.h:41
Aws::IoTWireless::Model::ListWirelessGatewaysResult::ListWirelessGatewaysResult
ListWirelessGatewaysResult()
Aws::IoTWireless::Model::ListWirelessGatewaysResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListWirelessGatewaysResult.h:47
Aws::IoTWireless::Model::ListWirelessGatewaysResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListWirelessGatewaysResult.h:53
Aws::IoTWireless::Model::ListWirelessGatewaysResult::SetWirelessGatewayList
void SetWirelessGatewayList(Aws::Vector< WirelessGatewayStatistics > &&value)
Definition: ListWirelessGatewaysResult.h:93
Aws::IoTWireless::Model::ListWirelessGatewaysResult::AddWirelessGatewayList
ListWirelessGatewaysResult & AddWirelessGatewayList(WirelessGatewayStatistics &&value)
Definition: ListWirelessGatewaysResult.h:113
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTWireless::Model::ListWirelessGatewaysResult
Definition: ListWirelessGatewaysResult.h:30
Aws::IoTWireless::Model::ListWirelessGatewaysResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListWirelessGatewaysResult.h:59
Aws::IoTWireless::Model::ListWirelessGatewaysResult::WithNextToken
ListWirelessGatewaysResult & WithNextToken(const Aws::String &value)
Definition: ListWirelessGatewaysResult.h:65
Aws::IoTWireless::Model::ListWirelessGatewaysResult::WithWirelessGatewayList
ListWirelessGatewaysResult & WithWirelessGatewayList(Aws::Vector< WirelessGatewayStatistics > &&value)
Definition: ListWirelessGatewaysResult.h:103
Aws::IoTWireless::Model::ListWirelessGatewaysResult::ListWirelessGatewaysResult
ListWirelessGatewaysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::ListWirelessGatewaysResult::WithNextToken
ListWirelessGatewaysResult & WithNextToken(const char *value)
Definition: ListWirelessGatewaysResult.h:77
WirelessGatewayStatistics.h