AWS SDK for C++  1.9.132
AWS SDK for C++
ListThingsInThingGroupResult.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>& GetThings() const{ return m_things; }
40 
44  inline void SetThings(const Aws::Vector<Aws::String>& value) { m_things = value; }
45 
49  inline void SetThings(Aws::Vector<Aws::String>&& value) { m_things = std::move(value); }
50 
54  inline ListThingsInThingGroupResult& WithThings(const Aws::Vector<Aws::String>& value) { SetThings(value); return *this;}
55 
59  inline ListThingsInThingGroupResult& WithThings(Aws::Vector<Aws::String>&& value) { SetThings(std::move(value)); return *this;}
60 
64  inline ListThingsInThingGroupResult& AddThings(const Aws::String& value) { m_things.push_back(value); return *this; }
65 
69  inline ListThingsInThingGroupResult& AddThings(Aws::String&& value) { m_things.push_back(std::move(value)); return *this; }
70 
74  inline ListThingsInThingGroupResult& AddThings(const char* value) { m_things.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 ListThingsInThingGroupResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 
111  inline ListThingsInThingGroupResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
117  inline ListThingsInThingGroupResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
118 
119  private:
120 
121  Aws::Vector<Aws::String> m_things;
122 
123  Aws::String m_nextToken;
124  };
125 
126 } // namespace Model
127 } // namespace IoT
128 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListThingsInThingGroupResult::SetThings
void SetThings(const Aws::Vector< Aws::String > &value)
Definition: ListThingsInThingGroupResult.h:44
Aws::IoT::Model::ListThingsInThingGroupResult::WithNextToken
ListThingsInThingGroupResult & WithNextToken(const Aws::String &value)
Definition: ListThingsInThingGroupResult.h:105
Aws::IoT::Model::ListThingsInThingGroupResult::AddThings
ListThingsInThingGroupResult & AddThings(Aws::String &&value)
Definition: ListThingsInThingGroupResult.h:69
Aws::IoT::Model::ListThingsInThingGroupResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListThingsInThingGroupResult.h:99
Aws::IoT::Model::ListThingsInThingGroupResult::WithNextToken
ListThingsInThingGroupResult & WithNextToken(Aws::String &&value)
Definition: ListThingsInThingGroupResult.h:111
Aws::IoT::Model::ListThingsInThingGroupResult::WithThings
ListThingsInThingGroupResult & WithThings(Aws::Vector< Aws::String > &&value)
Definition: ListThingsInThingGroupResult.h:59
Aws::IoT::Model::ListThingsInThingGroupResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListThingsInThingGroupResult.h:81
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::ListThingsInThingGroupResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListThingsInThingGroupResult.h:87
Aws::IoT::Model::ListThingsInThingGroupResult::AddThings
ListThingsInThingGroupResult & AddThings(const Aws::String &value)
Definition: ListThingsInThingGroupResult.h:64
AWSVector.h
Aws::IoT::Model::ListThingsInThingGroupResult::operator=
ListThingsInThingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::IoT::Model::ListThingsInThingGroupResult::WithThings
ListThingsInThingGroupResult & WithThings(const Aws::Vector< Aws::String > &value)
Definition: ListThingsInThingGroupResult.h:54
Aws::IoT::Model::ListThingsInThingGroupResult::GetThings
const Aws::Vector< Aws::String > & GetThings() const
Definition: ListThingsInThingGroupResult.h:39
Aws::IoT::Model::ListThingsInThingGroupResult::ListThingsInThingGroupResult
ListThingsInThingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListThingsInThingGroupResult::WithNextToken
ListThingsInThingGroupResult & WithNextToken(const char *value)
Definition: ListThingsInThingGroupResult.h:117
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::ListThingsInThingGroupResult::ListThingsInThingGroupResult
ListThingsInThingGroupResult()
Aws::IoT::Model::ListThingsInThingGroupResult::SetThings
void SetThings(Aws::Vector< Aws::String > &&value)
Definition: ListThingsInThingGroupResult.h:49
Aws::IoT::Model::ListThingsInThingGroupResult
Definition: ListThingsInThingGroupResult.h:29
IoT_EXPORTS.h
Aws::IoT::Model::ListThingsInThingGroupResult::AddThings
ListThingsInThingGroupResult & AddThings(const char *value)
Definition: ListThingsInThingGroupResult.h:74
Aws::IoT::Model::ListThingsInThingGroupResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListThingsInThingGroupResult.h:93