AWS SDK for C++  1.9.69
AWS SDK for C++
ListSatellitesResult.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 
46  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
47 
52  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
53 
58  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
59 
64  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
65 
70  inline ListSatellitesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
71 
76  inline ListSatellitesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
77 
82  inline ListSatellitesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
83 
84 
88  inline const Aws::Vector<SatelliteListItem>& GetSatellites() const{ return m_satellites; }
89 
93  inline void SetSatellites(const Aws::Vector<SatelliteListItem>& value) { m_satellites = value; }
94 
98  inline void SetSatellites(Aws::Vector<SatelliteListItem>&& value) { m_satellites = std::move(value); }
99 
103  inline ListSatellitesResult& WithSatellites(const Aws::Vector<SatelliteListItem>& value) { SetSatellites(value); return *this;}
104 
108  inline ListSatellitesResult& WithSatellites(Aws::Vector<SatelliteListItem>&& value) { SetSatellites(std::move(value)); return *this;}
109 
113  inline ListSatellitesResult& AddSatellites(const SatelliteListItem& value) { m_satellites.push_back(value); return *this; }
114 
118  inline ListSatellitesResult& AddSatellites(SatelliteListItem&& value) { m_satellites.push_back(std::move(value)); return *this; }
119 
120  private:
121 
122  Aws::String m_nextToken;
123 
124  Aws::Vector<SatelliteListItem> m_satellites;
125  };
126 
127 } // namespace Model
128 } // namespace GroundStation
129 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GroundStation::Model::ListSatellitesResult::SetSatellites
void SetSatellites(const Aws::Vector< SatelliteListItem > &value)
Definition: ListSatellitesResult.h:93
Aws::GroundStation::Model::ListSatellitesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSatellitesResult.h:58
Aws::GroundStation::Model::ListSatellitesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSatellitesResult.h:52
Aws::GroundStation::Model::ListSatellitesResult::WithNextToken
ListSatellitesResult & WithNextToken(const char *value)
Definition: ListSatellitesResult.h:82
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GroundStation::Model::ListSatellitesResult::ListSatellitesResult
ListSatellitesResult()
AWSVector.h
SatelliteListItem.h
Aws::GroundStation::Model::ListSatellitesResult::AddSatellites
ListSatellitesResult & AddSatellites(const SatelliteListItem &value)
Definition: ListSatellitesResult.h:113
Aws::GroundStation::Model::ListSatellitesResult::WithSatellites
ListSatellitesResult & WithSatellites(Aws::Vector< SatelliteListItem > &&value)
Definition: ListSatellitesResult.h:108
Aws::GroundStation::Model::ListSatellitesResult::SetSatellites
void SetSatellites(Aws::Vector< SatelliteListItem > &&value)
Definition: ListSatellitesResult.h:98
Aws::GroundStation::Model::ListSatellitesResult::WithNextToken
ListSatellitesResult & WithNextToken(const Aws::String &value)
Definition: ListSatellitesResult.h:70
Aws::GroundStation::Model::ListSatellitesResult::WithNextToken
ListSatellitesResult & WithNextToken(Aws::String &&value)
Definition: ListSatellitesResult.h:76
GroundStation_EXPORTS.h
Aws::GroundStation::Model::ListSatellitesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListSatellitesResult.h:64
Aws::GroundStation::Model::ListSatellitesResult::AddSatellites
ListSatellitesResult & AddSatellites(SatelliteListItem &&value)
Definition: ListSatellitesResult.h:118
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
AWSString.h
Aws::GroundStation::Model::ListSatellitesResult::WithSatellites
ListSatellitesResult & WithSatellites(const Aws::Vector< SatelliteListItem > &value)
Definition: ListSatellitesResult.h:103
Aws::GroundStation::Model::SatelliteListItem
Definition: SatelliteListItem.h:33
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::ListSatellitesResult::operator=
ListSatellitesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GroundStation::Model::ListSatellitesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSatellitesResult.h:46
Aws::GroundStation::Model::ListSatellitesResult
Definition: ListSatellitesResult.h:35
Aws::GroundStation::Model::ListSatellitesResult::ListSatellitesResult
ListSatellitesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GroundStation::Model::ListSatellitesResult::GetSatellites
const Aws::Vector< SatelliteListItem > & GetSatellites() const
Definition: ListSatellitesResult.h:88