AWS SDK for C++  1.9.108
AWS SDK for C++
ListDestinationsResult.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 ListDestinationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 
71  inline ListDestinationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
72 
77  inline ListDestinationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
78 
79 
83  inline const Aws::Vector<Destinations>& GetDestinationList() const{ return m_destinationList; }
84 
88  inline void SetDestinationList(const Aws::Vector<Destinations>& value) { m_destinationList = value; }
89 
93  inline void SetDestinationList(Aws::Vector<Destinations>&& value) { m_destinationList = std::move(value); }
94 
98  inline ListDestinationsResult& WithDestinationList(const Aws::Vector<Destinations>& value) { SetDestinationList(value); return *this;}
99 
103  inline ListDestinationsResult& WithDestinationList(Aws::Vector<Destinations>&& value) { SetDestinationList(std::move(value)); return *this;}
104 
108  inline ListDestinationsResult& AddDestinationList(const Destinations& value) { m_destinationList.push_back(value); return *this; }
109 
113  inline ListDestinationsResult& AddDestinationList(Destinations&& value) { m_destinationList.push_back(std::move(value)); return *this; }
114 
115  private:
116 
117  Aws::String m_nextToken;
118 
119  Aws::Vector<Destinations> m_destinationList;
120  };
121 
122 } // namespace Model
123 } // namespace IoTWireless
124 } // namespace Aws
AWS_IOTWIRELESS_API
#define AWS_IOTWIRELESS_API
Definition: IoTWireless_EXPORTS.h:28
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTWireless::Model::ListDestinationsResult::WithNextToken
ListDestinationsResult & WithNextToken(Aws::String &&value)
Definition: ListDestinationsResult.h:71
Aws::IoTWireless::Model::ListDestinationsResult::WithNextToken
ListDestinationsResult & WithNextToken(const Aws::String &value)
Definition: ListDestinationsResult.h:65
Aws::IoTWireless::Model::ListDestinationsResult
Definition: ListDestinationsResult.h:30
Aws::IoTWireless::Model::ListDestinationsResult::ListDestinationsResult
ListDestinationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::ListDestinationsResult::AddDestinationList
ListDestinationsResult & AddDestinationList(Destinations &&value)
Definition: ListDestinationsResult.h:113
Aws::IoTWireless::Model::ListDestinationsResult::GetDestinationList
const Aws::Vector< Destinations > & GetDestinationList() const
Definition: ListDestinationsResult.h:83
Aws::IoTWireless::Model::ListDestinationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDestinationsResult.h:47
Aws::IoTWireless::Model::ListDestinationsResult::ListDestinationsResult
ListDestinationsResult()
Aws::IoTWireless::Model::Destinations
Definition: Destinations.h:33
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
IoTWireless_EXPORTS.h
Destinations.h
AWSVector.h
Aws::IoTWireless::Model::ListDestinationsResult::WithNextToken
ListDestinationsResult & WithNextToken(const char *value)
Definition: ListDestinationsResult.h:77
Aws::IoTWireless::Model::ListDestinationsResult::SetDestinationList
void SetDestinationList(Aws::Vector< Destinations > &&value)
Definition: ListDestinationsResult.h:93
Aws::IoTWireless::Model::ListDestinationsResult::WithDestinationList
ListDestinationsResult & WithDestinationList(Aws::Vector< Destinations > &&value)
Definition: ListDestinationsResult.h:103
AWSString.h
Aws::IoTWireless::Model::ListDestinationsResult::operator=
ListDestinationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTWireless::Model::ListDestinationsResult::AddDestinationList
ListDestinationsResult & AddDestinationList(const Destinations &value)
Definition: ListDestinationsResult.h:108
Aws::IoTWireless::Model::ListDestinationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDestinationsResult.h:59
Aws::IoTWireless::Model::ListDestinationsResult::SetDestinationList
void SetDestinationList(const Aws::Vector< Destinations > &value)
Definition: ListDestinationsResult.h:88
Aws::IoTWireless::Model::ListDestinationsResult::WithDestinationList
ListDestinationsResult & WithDestinationList(const Aws::Vector< Destinations > &value)
Definition: ListDestinationsResult.h:98
Aws::IoTWireless::Model::ListDestinationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDestinationsResult.h:41
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::ListDestinationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDestinationsResult.h:53