AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListEphemeridesRequest.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/groundstation/model/EphemerisStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Http
18{
19 class URI;
20} //namespace Http
21namespace GroundStation
22{
23namespace Model
24{
25
29 {
30 public:
31 AWS_GROUNDSTATION_API ListEphemeridesRequest();
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 "ListEphemerides"; }
38
39 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
40
41 AWS_GROUNDSTATION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
42
43
45
50 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
51 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
52 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
53 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
54 inline ListEphemeridesRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
55 inline ListEphemeridesRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
57
59
62 inline int GetMaxResults() const{ return m_maxResults; }
63 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
64 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
65 inline ListEphemeridesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
67
69
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
75 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
76 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
77 inline ListEphemeridesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
78 inline ListEphemeridesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
79 inline ListEphemeridesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
81
83
86 inline const Aws::String& GetSatelliteId() const{ return m_satelliteId; }
87 inline bool SatelliteIdHasBeenSet() const { return m_satelliteIdHasBeenSet; }
88 inline void SetSatelliteId(const Aws::String& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = value; }
89 inline void SetSatelliteId(Aws::String&& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = std::move(value); }
90 inline void SetSatelliteId(const char* value) { m_satelliteIdHasBeenSet = true; m_satelliteId.assign(value); }
91 inline ListEphemeridesRequest& WithSatelliteId(const Aws::String& value) { SetSatelliteId(value); return *this;}
92 inline ListEphemeridesRequest& WithSatelliteId(Aws::String&& value) { SetSatelliteId(std::move(value)); return *this;}
93 inline ListEphemeridesRequest& WithSatelliteId(const char* value) { SetSatelliteId(value); return *this;}
95
97
102 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
103 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
104 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
105 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
106 inline ListEphemeridesRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
107 inline ListEphemeridesRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
109
111
114 inline const Aws::Vector<EphemerisStatus>& GetStatusList() const{ return m_statusList; }
115 inline bool StatusListHasBeenSet() const { return m_statusListHasBeenSet; }
116 inline void SetStatusList(const Aws::Vector<EphemerisStatus>& value) { m_statusListHasBeenSet = true; m_statusList = value; }
117 inline void SetStatusList(Aws::Vector<EphemerisStatus>&& value) { m_statusListHasBeenSet = true; m_statusList = std::move(value); }
119 inline ListEphemeridesRequest& WithStatusList(Aws::Vector<EphemerisStatus>&& value) { SetStatusList(std::move(value)); return *this;}
120 inline ListEphemeridesRequest& AddStatusList(const EphemerisStatus& value) { m_statusListHasBeenSet = true; m_statusList.push_back(value); return *this; }
121 inline ListEphemeridesRequest& AddStatusList(EphemerisStatus&& value) { m_statusListHasBeenSet = true; m_statusList.push_back(std::move(value)); return *this; }
123 private:
124
125 Aws::Utils::DateTime m_endTime;
126 bool m_endTimeHasBeenSet = false;
127
128 int m_maxResults;
129 bool m_maxResultsHasBeenSet = false;
130
131 Aws::String m_nextToken;
132 bool m_nextTokenHasBeenSet = false;
133
134 Aws::String m_satelliteId;
135 bool m_satelliteIdHasBeenSet = false;
136
137 Aws::Utils::DateTime m_startTime;
138 bool m_startTimeHasBeenSet = false;
139
140 Aws::Vector<EphemerisStatus> m_statusList;
141 bool m_statusListHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace GroundStation
146} // namespace Aws
ListEphemeridesRequest & WithNextToken(const Aws::String &value)
ListEphemeridesRequest & WithEndTime(const Aws::Utils::DateTime &value)
ListEphemeridesRequest & AddStatusList(const EphemerisStatus &value)
const Aws::Vector< EphemerisStatus > & GetStatusList() const
ListEphemeridesRequest & WithSatelliteId(Aws::String &&value)
ListEphemeridesRequest & WithNextToken(Aws::String &&value)
ListEphemeridesRequest & WithNextToken(const char *value)
ListEphemeridesRequest & WithSatelliteId(const char *value)
void SetStatusList(Aws::Vector< EphemerisStatus > &&value)
void SetStartTime(const Aws::Utils::DateTime &value)
ListEphemeridesRequest & AddStatusList(EphemerisStatus &&value)
void SetEndTime(const Aws::Utils::DateTime &value)
virtual const char * GetServiceRequestName() const override
ListEphemeridesRequest & WithStatusList(Aws::Vector< EphemerisStatus > &&value)
ListEphemeridesRequest & WithStartTime(Aws::Utils::DateTime &&value)
ListEphemeridesRequest & WithStartTime(const Aws::Utils::DateTime &value)
ListEphemeridesRequest & WithEndTime(Aws::Utils::DateTime &&value)
void SetStatusList(const Aws::Vector< EphemerisStatus > &value)
ListEphemeridesRequest & WithSatelliteId(const Aws::String &value)
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
ListEphemeridesRequest & WithStatusList(const Aws::Vector< EphemerisStatus > &value)
AWS_GROUNDSTATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector