AWS SDK for C++  1.9.69
AWS SDK for C++
ListGroundStationsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace GroundStation
19 {
20 namespace Model
21 {
22 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "ListGroundStations"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42 
43 
47  inline int GetMaxResults() const{ return m_maxResults; }
48 
52  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
53 
57  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
58 
62  inline ListGroundStationsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
63 
64 
69  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
70 
75  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
76 
81  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
82 
87  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
88 
93  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
94 
99  inline ListGroundStationsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
100 
105  inline ListGroundStationsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
106 
111  inline ListGroundStationsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
112 
113 
117  inline const Aws::String& GetSatelliteId() const{ return m_satelliteId; }
118 
122  inline bool SatelliteIdHasBeenSet() const { return m_satelliteIdHasBeenSet; }
123 
127  inline void SetSatelliteId(const Aws::String& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = value; }
128 
132  inline void SetSatelliteId(Aws::String&& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = std::move(value); }
133 
137  inline void SetSatelliteId(const char* value) { m_satelliteIdHasBeenSet = true; m_satelliteId.assign(value); }
138 
142  inline ListGroundStationsRequest& WithSatelliteId(const Aws::String& value) { SetSatelliteId(value); return *this;}
143 
147  inline ListGroundStationsRequest& WithSatelliteId(Aws::String&& value) { SetSatelliteId(std::move(value)); return *this;}
148 
152  inline ListGroundStationsRequest& WithSatelliteId(const char* value) { SetSatelliteId(value); return *this;}
153 
154  private:
155 
156  int m_maxResults;
157  bool m_maxResultsHasBeenSet;
158 
159  Aws::String m_nextToken;
160  bool m_nextTokenHasBeenSet;
161 
162  Aws::String m_satelliteId;
163  bool m_satelliteIdHasBeenSet;
164  };
165 
166 } // namespace Model
167 } // namespace GroundStation
168 } // namespace Aws
Aws::GroundStation::Model::ListGroundStationsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListGroundStationsRequest.h:37
Aws::Http::URI
Definition: URI.h:32
Aws::GroundStation::Model::ListGroundStationsRequest::SetSatelliteId
void SetSatelliteId(const Aws::String &value)
Definition: ListGroundStationsRequest.h:127
Aws::GroundStation::Model::ListGroundStationsRequest::SatelliteIdHasBeenSet
bool SatelliteIdHasBeenSet() const
Definition: ListGroundStationsRequest.h:122
Aws::GroundStation::Model::ListGroundStationsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListGroundStationsRequest.h:87
Aws::GroundStation::Model::ListGroundStationsRequest::WithNextToken
ListGroundStationsRequest & WithNextToken(const Aws::String &value)
Definition: ListGroundStationsRequest.h:99
Aws::GroundStation::Model::ListGroundStationsRequest::GetSatelliteId
const Aws::String & GetSatelliteId() const
Definition: ListGroundStationsRequest.h:117
Aws::GroundStation::Model::ListGroundStationsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GroundStation::GroundStationRequest
Definition: GroundStationRequest.h:17
Aws::GroundStation::Model::ListGroundStationsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListGroundStationsRequest.h:93
Aws::GroundStation::Model::ListGroundStationsRequest
Definition: ListGroundStationsRequest.h:29
Aws::GroundStation::Model::ListGroundStationsRequest::SetSatelliteId
void SetSatelliteId(Aws::String &&value)
Definition: ListGroundStationsRequest.h:132
Aws::GroundStation::Model::ListGroundStationsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListGroundStationsRequest.h:81
Aws::GroundStation::Model::ListGroundStationsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListGroundStationsRequest.h:47
GroundStationRequest.h
Aws::GroundStation::Model::ListGroundStationsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListGroundStationsRequest.h:75
GroundStation_EXPORTS.h
Aws::GroundStation::Model::ListGroundStationsRequest::WithSatelliteId
ListGroundStationsRequest & WithSatelliteId(const char *value)
Definition: ListGroundStationsRequest.h:152
Aws::GroundStation::Model::ListGroundStationsRequest::WithNextToken
ListGroundStationsRequest & WithNextToken(const char *value)
Definition: ListGroundStationsRequest.h:111
Aws::GroundStation::Model::ListGroundStationsRequest::WithSatelliteId
ListGroundStationsRequest & WithSatelliteId(const Aws::String &value)
Definition: ListGroundStationsRequest.h:142
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
AWSString.h
Aws::GroundStation::Model::ListGroundStationsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListGroundStationsRequest.h:69
Aws::GroundStation::Model::ListGroundStationsRequest::SetSatelliteId
void SetSatelliteId(const char *value)
Definition: ListGroundStationsRequest.h:137
Aws::GroundStation::Model::ListGroundStationsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListGroundStationsRequest.h:57
Aws::GroundStation::Model::ListGroundStationsRequest::WithNextToken
ListGroundStationsRequest & WithNextToken(Aws::String &&value)
Definition: ListGroundStationsRequest.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::ListGroundStationsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListGroundStationsRequest.h:52
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::ListGroundStationsRequest::ListGroundStationsRequest
ListGroundStationsRequest()
Aws::GroundStation::Model::ListGroundStationsRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Aws::GroundStation::Model::ListGroundStationsRequest::WithSatelliteId
ListGroundStationsRequest & WithSatelliteId(Aws::String &&value)
Definition: ListGroundStationsRequest.h:147
Aws::GroundStation::Model::ListGroundStationsRequest::WithMaxResults
ListGroundStationsRequest & WithMaxResults(int value)
Definition: ListGroundStationsRequest.h:62