AWS SDK for C++  1.9.66
AWS SDK for C++
ListGroundStationsResult.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 GroundStation
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<GroundStationData>& GetGroundStationList() const{ return m_groundStationList; }
46 
50  inline void SetGroundStationList(const Aws::Vector<GroundStationData>& value) { m_groundStationList = value; }
51 
55  inline void SetGroundStationList(Aws::Vector<GroundStationData>&& value) { m_groundStationList = std::move(value); }
56 
60  inline ListGroundStationsResult& WithGroundStationList(const Aws::Vector<GroundStationData>& value) { SetGroundStationList(value); return *this;}
61 
65  inline ListGroundStationsResult& WithGroundStationList(Aws::Vector<GroundStationData>&& value) { SetGroundStationList(std::move(value)); return *this;}
66 
70  inline ListGroundStationsResult& AddGroundStationList(const GroundStationData& value) { m_groundStationList.push_back(value); return *this; }
71 
75  inline ListGroundStationsResult& AddGroundStationList(GroundStationData&& value) { m_groundStationList.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 ListGroundStationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
112  inline ListGroundStationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 
118  inline ListGroundStationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119 
120  private:
121 
122  Aws::Vector<GroundStationData> m_groundStationList;
123 
124  Aws::String m_nextToken;
125  };
126 
127 } // namespace Model
128 } // namespace GroundStation
129 } // namespace Aws
Aws::GroundStation::Model::ListGroundStationsResult::ListGroundStationsResult
ListGroundStationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GroundStation::Model::ListGroundStationsResult::ListGroundStationsResult
ListGroundStationsResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
GroundStationData.h
Aws::GroundStation::Model::ListGroundStationsResult::AddGroundStationList
ListGroundStationsResult & AddGroundStationList(GroundStationData &&value)
Definition: ListGroundStationsResult.h:75
Aws::GroundStation::Model::ListGroundStationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListGroundStationsResult.h:88
Aws::GroundStation::Model::ListGroundStationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListGroundStationsResult.h:94
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GroundStation::Model::ListGroundStationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListGroundStationsResult.h:100
Aws::GroundStation::Model::ListGroundStationsResult::WithNextToken
ListGroundStationsResult & WithNextToken(const Aws::String &value)
Definition: ListGroundStationsResult.h:106
AWSVector.h
Aws::GroundStation::Model::ListGroundStationsResult::WithGroundStationList
ListGroundStationsResult & WithGroundStationList(const Aws::Vector< GroundStationData > &value)
Definition: ListGroundStationsResult.h:60
Aws::GroundStation::Model::ListGroundStationsResult::AddGroundStationList
ListGroundStationsResult & AddGroundStationList(const GroundStationData &value)
Definition: ListGroundStationsResult.h:70
Aws::GroundStation::Model::ListGroundStationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListGroundStationsResult.h:82
Aws::GroundStation::Model::GroundStationData
Definition: GroundStationData.h:32
Aws::GroundStation::Model::ListGroundStationsResult
Definition: ListGroundStationsResult.h:35
GroundStation_EXPORTS.h
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::GroundStation::Model::ListGroundStationsResult::operator=
ListGroundStationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::GroundStation::Model::ListGroundStationsResult::WithNextToken
ListGroundStationsResult & WithNextToken(Aws::String &&value)
Definition: ListGroundStationsResult.h:112
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::ListGroundStationsResult::GetGroundStationList
const Aws::Vector< GroundStationData > & GetGroundStationList() const
Definition: ListGroundStationsResult.h:45
Aws::GroundStation::Model::ListGroundStationsResult::WithGroundStationList
ListGroundStationsResult & WithGroundStationList(Aws::Vector< GroundStationData > &&value)
Definition: ListGroundStationsResult.h:65
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::ListGroundStationsResult::SetGroundStationList
void SetGroundStationList(const Aws::Vector< GroundStationData > &value)
Definition: ListGroundStationsResult.h:50
Aws::GroundStation::Model::ListGroundStationsResult::SetGroundStationList
void SetGroundStationList(Aws::Vector< GroundStationData > &&value)
Definition: ListGroundStationsResult.h:55
Aws::GroundStation::Model::ListGroundStationsResult::WithNextToken
ListGroundStationsResult & WithNextToken(const char *value)
Definition: ListGroundStationsResult.h:118