AWS SDK for C++  1.9.132
AWS SDK for C++
ListThingTypesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
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 IoT
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<ThingTypeDefinition>& GetThingTypes() const{ return m_thingTypes; }
46 
50  inline void SetThingTypes(const Aws::Vector<ThingTypeDefinition>& value) { m_thingTypes = value; }
51 
55  inline void SetThingTypes(Aws::Vector<ThingTypeDefinition>&& value) { m_thingTypes = std::move(value); }
56 
60  inline ListThingTypesResult& WithThingTypes(const Aws::Vector<ThingTypeDefinition>& value) { SetThingTypes(value); return *this;}
61 
65  inline ListThingTypesResult& WithThingTypes(Aws::Vector<ThingTypeDefinition>&& value) { SetThingTypes(std::move(value)); return *this;}
66 
70  inline ListThingTypesResult& AddThingTypes(const ThingTypeDefinition& value) { m_thingTypes.push_back(value); return *this; }
71 
75  inline ListThingTypesResult& AddThingTypes(ThingTypeDefinition&& value) { m_thingTypes.push_back(std::move(value)); return *this; }
76 
77 
82  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 
88  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 
94  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
95 
100  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
101 
106  inline ListThingTypesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
112  inline ListThingTypesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 
118  inline ListThingTypesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119 
120  private:
121 
123 
124  Aws::String m_nextToken;
125  };
126 
127 } // namespace Model
128 } // namespace IoT
129 } // namespace Aws
Aws::IoT::Model::ListThingTypesResult::ListThingTypesResult
ListThingTypesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListThingTypesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListThingTypesResult.h:82
Aws::IoT::Model::ListThingTypesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListThingTypesResult.h:94
Aws::IoT::Model::ListThingTypesResult::ListThingTypesResult
ListThingTypesResult()
ThingTypeDefinition.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::ListThingTypesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListThingTypesResult.h:88
Aws::IoT::Model::ListThingTypesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListThingTypesResult.h:100
Aws::IoT::Model::ListThingTypesResult::AddThingTypes
ListThingTypesResult & AddThingTypes(const ThingTypeDefinition &value)
Definition: ListThingTypesResult.h:70
AWSVector.h
Aws::IoT::Model::ListThingTypesResult::SetThingTypes
void SetThingTypes(const Aws::Vector< ThingTypeDefinition > &value)
Definition: ListThingTypesResult.h:50
Aws::IoT::Model::ListThingTypesResult::GetThingTypes
const Aws::Vector< ThingTypeDefinition > & GetThingTypes() const
Definition: ListThingTypesResult.h:45
Aws::IoT::Model::ListThingTypesResult::SetThingTypes
void SetThingTypes(Aws::Vector< ThingTypeDefinition > &&value)
Definition: ListThingTypesResult.h:55
Aws::IoT::Model::ThingTypeDefinition
Definition: ThingTypeDefinition.h:35
Aws::IoT::Model::ListThingTypesResult::WithNextToken
ListThingTypesResult & WithNextToken(const Aws::String &value)
Definition: ListThingTypesResult.h:106
AWSString.h
Aws::IoT::Model::ListThingTypesResult::WithNextToken
ListThingTypesResult & WithNextToken(Aws::String &&value)
Definition: ListThingTypesResult.h:112
Aws::IoT::Model::ListThingTypesResult::operator=
ListThingTypesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListThingTypesResult
Definition: ListThingTypesResult.h:35
Aws::IoT::Model::ListThingTypesResult::WithThingTypes
ListThingTypesResult & WithThingTypes(const Aws::Vector< ThingTypeDefinition > &value)
Definition: ListThingTypesResult.h:60
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::ListThingTypesResult::WithNextToken
ListThingTypesResult & WithNextToken(const char *value)
Definition: ListThingTypesResult.h:118
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::ListThingTypesResult::AddThingTypes
ListThingTypesResult & AddThingTypes(ThingTypeDefinition &&value)
Definition: ListThingTypesResult.h:75
Aws::IoT::Model::ListThingTypesResult::WithThingTypes
ListThingTypesResult & WithThingTypes(Aws::Vector< ThingTypeDefinition > &&value)
Definition: ListThingTypesResult.h:65
IoT_EXPORTS.h