AWS SDK for C++  1.9.155
AWS SDK for C++
ListAssetModelsResult.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<AssetModelSummary>& GetAssetModelSummaries() const{ return m_assetModelSummaries; }
41 
45  inline void SetAssetModelSummaries(const Aws::Vector<AssetModelSummary>& value) { m_assetModelSummaries = value; }
46 
50  inline void SetAssetModelSummaries(Aws::Vector<AssetModelSummary>&& value) { m_assetModelSummaries = std::move(value); }
51 
55  inline ListAssetModelsResult& WithAssetModelSummaries(const Aws::Vector<AssetModelSummary>& value) { SetAssetModelSummaries(value); return *this;}
56 
60  inline ListAssetModelsResult& WithAssetModelSummaries(Aws::Vector<AssetModelSummary>&& value) { SetAssetModelSummaries(std::move(value)); return *this;}
61 
65  inline ListAssetModelsResult& AddAssetModelSummaries(const AssetModelSummary& value) { m_assetModelSummaries.push_back(value); return *this; }
66 
70  inline ListAssetModelsResult& AddAssetModelSummaries(AssetModelSummary&& value) { m_assetModelSummaries.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 ListAssetModelsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 
107  inline ListAssetModelsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
108 
113  inline ListAssetModelsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114 
115  private:
116 
117  Aws::Vector<AssetModelSummary> m_assetModelSummaries;
118 
119  Aws::String m_nextToken;
120  };
121 
122 } // namespace Model
123 } // namespace IoTSiteWise
124 } // namespace Aws
AssetModelSummary.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::IoTSiteWise::Model::ListAssetModelsResult::WithNextToken
ListAssetModelsResult & WithNextToken(Aws::String &&value)
Definition: ListAssetModelsResult.h:107
Aws::IoTSiteWise::Model::ListAssetModelsResult::AddAssetModelSummaries
ListAssetModelsResult & AddAssetModelSummaries(const AssetModelSummary &value)
Definition: ListAssetModelsResult.h:65
Aws::IoTSiteWise::Model::ListAssetModelsResult::AddAssetModelSummaries
ListAssetModelsResult & AddAssetModelSummaries(AssetModelSummary &&value)
Definition: ListAssetModelsResult.h:70
Aws::IoTSiteWise::Model::AssetModelSummary
Definition: AssetModelSummary.h:34
IoTSiteWise_EXPORTS.h
AWS_IOTSITEWISE_API
#define AWS_IOTSITEWISE_API
Definition: IoTSiteWise_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::IoTSiteWise::Model::ListAssetModelsResult::WithAssetModelSummaries
ListAssetModelsResult & WithAssetModelSummaries(const Aws::Vector< AssetModelSummary > &value)
Definition: ListAssetModelsResult.h:55
AWSVector.h
Aws::IoTSiteWise::Model::ListAssetModelsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListAssetModelsResult.h:95
Aws::IoTSiteWise::Model::ListAssetModelsResult::SetAssetModelSummaries
void SetAssetModelSummaries(Aws::Vector< AssetModelSummary > &&value)
Definition: ListAssetModelsResult.h:50
Aws::IoTSiteWise::Model::ListAssetModelsResult::GetAssetModelSummaries
const Aws::Vector< AssetModelSummary > & GetAssetModelSummaries() const
Definition: ListAssetModelsResult.h:40
Aws::IoTSiteWise::Model::ListAssetModelsResult::operator=
ListAssetModelsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::ListAssetModelsResult::ListAssetModelsResult
ListAssetModelsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::IoTSiteWise::Model::ListAssetModelsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListAssetModelsResult.h:77
Aws::IoTSiteWise::Model::ListAssetModelsResult::ListAssetModelsResult
ListAssetModelsResult()
AWSString.h
Aws::IoTSiteWise::Model::ListAssetModelsResult
Definition: ListAssetModelsResult.h:30
Aws::IoTSiteWise::Model::ListAssetModelsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListAssetModelsResult.h:83
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
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::ListAssetModelsResult::WithAssetModelSummaries
ListAssetModelsResult & WithAssetModelSummaries(Aws::Vector< AssetModelSummary > &&value)
Definition: ListAssetModelsResult.h:60
Aws::IoTSiteWise::Model::ListAssetModelsResult::WithNextToken
ListAssetModelsResult & WithNextToken(const char *value)
Definition: ListAssetModelsResult.h:113
Aws::IoTSiteWise::Model::ListAssetModelsResult::WithNextToken
ListAssetModelsResult & WithNextToken(const Aws::String &value)
Definition: ListAssetModelsResult.h:101
Aws::IoTSiteWise::Model::ListAssetModelsResult::SetAssetModelSummaries
void SetAssetModelSummaries(const Aws::Vector< AssetModelSummary > &value)
Definition: ListAssetModelsResult.h:45
Aws::IoTSiteWise::Model::ListAssetModelsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListAssetModelsResult.h:89