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