AWS SDK for C++  1.9.132
AWS SDK for C++
ListThingsInBillingGroupResult.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 ListThingsInBillingGroupResult& WithThings(const Aws::Vector<Aws::String>& value) { SetThings(value); return *this;}
55 
59  inline ListThingsInBillingGroupResult& WithThings(Aws::Vector<Aws::String>&& value) { SetThings(std::move(value)); return *this;}
60 
64  inline ListThingsInBillingGroupResult& AddThings(const Aws::String& value) { m_things.push_back(value); return *this; }
65 
69  inline ListThingsInBillingGroupResult& AddThings(Aws::String&& value) { m_things.push_back(std::move(value)); return *this; }
70 
74  inline ListThingsInBillingGroupResult& 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 ListThingsInBillingGroupResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 
111  inline ListThingsInBillingGroupResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 
117  inline ListThingsInBillingGroupResult& 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::IoT::Model::ListThingsInBillingGroupResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListThingsInBillingGroupResult.h:87
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoT::Model::ListThingsInBillingGroupResult::WithThings
ListThingsInBillingGroupResult & WithThings(const Aws::Vector< Aws::String > &value)
Definition: ListThingsInBillingGroupResult.h:54
Aws::IoT::Model::ListThingsInBillingGroupResult::WithNextToken
ListThingsInBillingGroupResult & WithNextToken(const Aws::String &value)
Definition: ListThingsInBillingGroupResult.h:105
Aws::IoT::Model::ListThingsInBillingGroupResult::WithNextToken
ListThingsInBillingGroupResult & WithNextToken(const char *value)
Definition: ListThingsInBillingGroupResult.h:117
Aws::IoT::Model::ListThingsInBillingGroupResult::AddThings
ListThingsInBillingGroupResult & AddThings(const char *value)
Definition: ListThingsInBillingGroupResult.h:74
Aws::IoT::Model::ListThingsInBillingGroupResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListThingsInBillingGroupResult.h:81
Aws::IoT::Model::ListThingsInBillingGroupResult::WithThings
ListThingsInBillingGroupResult & WithThings(Aws::Vector< Aws::String > &&value)
Definition: ListThingsInBillingGroupResult.h:59
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoT::Model::ListThingsInBillingGroupResult::SetThings
void SetThings(const Aws::Vector< Aws::String > &value)
Definition: ListThingsInBillingGroupResult.h:44
Aws::IoT::Model::ListThingsInBillingGroupResult::ListThingsInBillingGroupResult
ListThingsInBillingGroupResult()
AWSVector.h
Aws::IoT::Model::ListThingsInBillingGroupResult::SetThings
void SetThings(Aws::Vector< Aws::String > &&value)
Definition: ListThingsInBillingGroupResult.h:49
Aws::IoT::Model::ListThingsInBillingGroupResult::AddThings
ListThingsInBillingGroupResult & AddThings(Aws::String &&value)
Definition: ListThingsInBillingGroupResult.h:69
Aws::IoT::Model::ListThingsInBillingGroupResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListThingsInBillingGroupResult.h:99
Aws::IoT::Model::ListThingsInBillingGroupResult::ListThingsInBillingGroupResult
ListThingsInBillingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoT::Model::ListThingsInBillingGroupResult::operator=
ListThingsInBillingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::IoT::Model::ListThingsInBillingGroupResult::WithNextToken
ListThingsInBillingGroupResult & WithNextToken(Aws::String &&value)
Definition: ListThingsInBillingGroupResult.h:111
Aws::IoT::Model::ListThingsInBillingGroupResult::GetThings
const Aws::Vector< Aws::String > & GetThings() const
Definition: ListThingsInBillingGroupResult.h:39
Aws::IoT::Model::ListThingsInBillingGroupResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListThingsInBillingGroupResult.h:93
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::ListThingsInBillingGroupResult::AddThings
ListThingsInBillingGroupResult & AddThings(const Aws::String &value)
Definition: ListThingsInBillingGroupResult.h:64
Aws::IoT::Model::ListThingsInBillingGroupResult
Definition: ListThingsInBillingGroupResult.h:29
IoT_EXPORTS.h