AWS SDK for C++  1.9.71
AWS SDK for C++
ListGatewaysResult.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 IoTSiteWise
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<GatewaySummary>& GetGatewaySummaries() const{ return m_gatewaySummaries; }
41 
45  inline void SetGatewaySummaries(const Aws::Vector<GatewaySummary>& value) { m_gatewaySummaries = value; }
46 
50  inline void SetGatewaySummaries(Aws::Vector<GatewaySummary>&& value) { m_gatewaySummaries = std::move(value); }
51 
55  inline ListGatewaysResult& WithGatewaySummaries(const Aws::Vector<GatewaySummary>& value) { SetGatewaySummaries(value); return *this;}
56 
60  inline ListGatewaysResult& WithGatewaySummaries(Aws::Vector<GatewaySummary>&& value) { SetGatewaySummaries(std::move(value)); return *this;}
61 
65  inline ListGatewaysResult& AddGatewaySummaries(const GatewaySummary& value) { m_gatewaySummaries.push_back(value); return *this; }
66 
70  inline ListGatewaysResult& AddGatewaySummaries(GatewaySummary&& value) { m_gatewaySummaries.push_back(std::move(value)); return *this; }
71 
72 
77  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
78 
83  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
84 
89  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
90 
95  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
96 
101  inline ListGatewaysResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListGatewaysResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListGatewaysResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<GatewaySummary> m_gatewaySummaries;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace IoTSiteWise
124 } // namespace Aws
Aws::IoTSiteWise::Model::ListGatewaysResult::WithGatewaySummaries
ListGatewaysResult & WithGatewaySummaries(Aws::Vector< GatewaySummary > &&value)
Definition: ListGatewaysResult.h:60
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::ListGatewaysResult::GetGatewaySummaries
const Aws::Vector< GatewaySummary > & GetGatewaySummaries() const
Definition: ListGatewaysResult.h:40
Aws::IoTSiteWise::Model::ListGatewaysResult::SetGatewaySummaries
void SetGatewaySummaries(const Aws::Vector< GatewaySummary > &value)
Definition: ListGatewaysResult.h:45
Aws::IoTSiteWise::Model::ListGatewaysResult::WithNextToken
ListGatewaysResult & WithNextToken(Aws::String &&value)
Definition: ListGatewaysResult.h:107
IoTSiteWise_EXPORTS.h
Aws::IoTSiteWise::Model::ListGatewaysResult
Definition: ListGatewaysResult.h:30
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
GatewaySummary.h
Aws::IoTSiteWise::Model::ListGatewaysResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListGatewaysResult.h:95
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTSiteWise::Model::ListGatewaysResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListGatewaysResult.h:89
AWSVector.h
Aws::IoTSiteWise::Model::ListGatewaysResult::WithNextToken
ListGatewaysResult & WithNextToken(const Aws::String &value)
Definition: ListGatewaysResult.h:101
Aws::IoTSiteWise::Model::ListGatewaysResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListGatewaysResult.h:83
Aws::IoTSiteWise::Model::ListGatewaysResult::WithGatewaySummaries
ListGatewaysResult & WithGatewaySummaries(const Aws::Vector< GatewaySummary > &value)
Definition: ListGatewaysResult.h:55
Aws::IoTSiteWise::Model::ListGatewaysResult::WithNextToken
ListGatewaysResult & WithNextToken(const char *value)
Definition: ListGatewaysResult.h:113
Aws::IoTSiteWise::Model::ListGatewaysResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListGatewaysResult.h:77
Aws::IoTSiteWise::Model::ListGatewaysResult::operator=
ListGatewaysResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::IoTSiteWise::Model::ListGatewaysResult::ListGatewaysResult
ListGatewaysResult()
Aws::IoTSiteWise::Model::ListGatewaysResult::SetGatewaySummaries
void SetGatewaySummaries(Aws::Vector< GatewaySummary > &&value)
Definition: ListGatewaysResult.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoTSiteWise::Model::ListGatewaysResult::AddGatewaySummaries
ListGatewaysResult & AddGatewaySummaries(const GatewaySummary &value)
Definition: ListGatewaysResult.h:65
Aws::IoTSiteWise::Model::GatewaySummary
Definition: GatewaySummary.h:36
Aws::IoTSiteWise::Model::ListGatewaysResult::ListGatewaysResult
ListGatewaysResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::ListGatewaysResult::AddGatewaySummaries
ListGatewaysResult & AddGatewaySummaries(GatewaySummary &&value)
Definition: ListGatewaysResult.h:70