AWS SDK for C++  1.9.123
AWS SDK for C++
ListThingRegistrationTasksResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace IoT
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Aws::String>& GetTaskIds() const{ return m_taskIds; }
40 
44  inline void SetTaskIds(const Aws::Vector<Aws::String>& value) { m_taskIds = value; }
45 
49  inline void SetTaskIds(Aws::Vector<Aws::String>&& value) { m_taskIds = std::move(value); }
50 
54  inline ListThingRegistrationTasksResult& WithTaskIds(const Aws::Vector<Aws::String>& value) { SetTaskIds(value); return *this;}
55 
59  inline ListThingRegistrationTasksResult& WithTaskIds(Aws::Vector<Aws::String>&& value) { SetTaskIds(std::move(value)); return *this;}
60 
64  inline ListThingRegistrationTasksResult& AddTaskIds(const Aws::String& value) { m_taskIds.push_back(value); return *this; }
65 
69  inline ListThingRegistrationTasksResult& AddTaskIds(Aws::String&& value) { m_taskIds.push_back(std::move(value)); return *this; }
70 
74  inline ListThingRegistrationTasksResult& AddTaskIds(const char* value) { m_taskIds.push_back(value); return *this; }
75 
76 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
87  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
88 
93  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
94 
99  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
100 
105  inline ListThingRegistrationTasksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 
111  inline ListThingRegistrationTasksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
117  inline ListThingRegistrationTasksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118 
119  private:
120 
121  Aws::Vector<Aws::String> m_taskIds;
122 
123  Aws::String m_nextToken;
124  };
125 
126 } // namespace Model
127 } // namespace IoT
128 } // namespace Aws
Aws::IoT::Model::ListThingRegistrationTasksResult::WithTaskIds
ListThingRegistrationTasksResult & WithTaskIds(Aws::Vector< Aws::String > &&value)
Definition: ListThingRegistrationTasksResult.h:59
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListThingRegistrationTasksResult::SetTaskIds
void SetTaskIds(Aws::Vector< Aws::String > &&value)
Definition: ListThingRegistrationTasksResult.h:49
Aws::IoT::Model::ListThingRegistrationTasksResult::operator=
ListThingRegistrationTasksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListThingRegistrationTasksResult::AddTaskIds
ListThingRegistrationTasksResult & AddTaskIds(const Aws::String &value)
Definition: ListThingRegistrationTasksResult.h:64
Aws::IoT::Model::ListThingRegistrationTasksResult::AddTaskIds
ListThingRegistrationTasksResult & AddTaskIds(Aws::String &&value)
Definition: ListThingRegistrationTasksResult.h:69
Aws::IoT::Model::ListThingRegistrationTasksResult::WithNextToken
ListThingRegistrationTasksResult & WithNextToken(const char *value)
Definition: ListThingRegistrationTasksResult.h:117
Aws::IoT::Model::ListThingRegistrationTasksResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListThingRegistrationTasksResult.h:87
Aws::IoT::Model::ListThingRegistrationTasksResult
Definition: ListThingRegistrationTasksResult.h:29
Aws::IoT::Model::ListThingRegistrationTasksResult::WithTaskIds
ListThingRegistrationTasksResult & WithTaskIds(const Aws::Vector< Aws::String > &value)
Definition: ListThingRegistrationTasksResult.h:54
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::IoT::Model::ListThingRegistrationTasksResult::GetTaskIds
const Aws::Vector< Aws::String > & GetTaskIds() const
Definition: ListThingRegistrationTasksResult.h:39
Aws::IoT::Model::ListThingRegistrationTasksResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListThingRegistrationTasksResult.h:93
Aws::IoT::Model::ListThingRegistrationTasksResult::WithNextToken
ListThingRegistrationTasksResult & WithNextToken(const Aws::String &value)
Definition: ListThingRegistrationTasksResult.h:105
AWSString.h
Aws::IoT::Model::ListThingRegistrationTasksResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListThingRegistrationTasksResult.h:81
Aws::IoT::Model::ListThingRegistrationTasksResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListThingRegistrationTasksResult.h:99
Aws
Definition: AccessManagementClient.h:15
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::ListThingRegistrationTasksResult::ListThingRegistrationTasksResult
ListThingRegistrationTasksResult()
Aws::IoT::Model::ListThingRegistrationTasksResult::ListThingRegistrationTasksResult
ListThingRegistrationTasksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListThingRegistrationTasksResult::SetTaskIds
void SetTaskIds(const Aws::Vector< Aws::String > &value)
Definition: ListThingRegistrationTasksResult.h:44
Aws::IoT::Model::ListThingRegistrationTasksResult::AddTaskIds
ListThingRegistrationTasksResult & AddTaskIds(const char *value)
Definition: ListThingRegistrationTasksResult.h:74
Aws::IoT::Model::ListThingRegistrationTasksResult::WithNextToken
ListThingRegistrationTasksResult & WithNextToken(Aws::String &&value)
Definition: ListThingRegistrationTasksResult.h:111
IoT_EXPORTS.h