AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListContactsRequest.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/ContactStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace GroundStation
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_GROUNDSTATION_API ListContactsRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListContacts"; }
37
38 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
39
40
42
45 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
46 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
47 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
48 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
49 inline ListContactsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
50 inline ListContactsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
52
54
57 inline const Aws::String& GetGroundStation() const{ return m_groundStation; }
58 inline bool GroundStationHasBeenSet() const { return m_groundStationHasBeenSet; }
59 inline void SetGroundStation(const Aws::String& value) { m_groundStationHasBeenSet = true; m_groundStation = value; }
60 inline void SetGroundStation(Aws::String&& value) { m_groundStationHasBeenSet = true; m_groundStation = std::move(value); }
61 inline void SetGroundStation(const char* value) { m_groundStationHasBeenSet = true; m_groundStation.assign(value); }
62 inline ListContactsRequest& WithGroundStation(const Aws::String& value) { SetGroundStation(value); return *this;}
63 inline ListContactsRequest& WithGroundStation(Aws::String&& value) { SetGroundStation(std::move(value)); return *this;}
64 inline ListContactsRequest& WithGroundStation(const char* value) { SetGroundStation(value); return *this;}
66
68
71 inline int GetMaxResults() const{ return m_maxResults; }
72 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
73 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
74 inline ListContactsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
76
78
81 inline const Aws::String& GetMissionProfileArn() const{ return m_missionProfileArn; }
82 inline bool MissionProfileArnHasBeenSet() const { return m_missionProfileArnHasBeenSet; }
83 inline void SetMissionProfileArn(const Aws::String& value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn = value; }
84 inline void SetMissionProfileArn(Aws::String&& value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn = std::move(value); }
85 inline void SetMissionProfileArn(const char* value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn.assign(value); }
86 inline ListContactsRequest& WithMissionProfileArn(const Aws::String& value) { SetMissionProfileArn(value); return *this;}
87 inline ListContactsRequest& WithMissionProfileArn(Aws::String&& value) { SetMissionProfileArn(std::move(value)); return *this;}
88 inline ListContactsRequest& WithMissionProfileArn(const char* value) { SetMissionProfileArn(value); return *this;}
90
92
96 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
97 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
98 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
99 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
100 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
101 inline ListContactsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102 inline ListContactsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
103 inline ListContactsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
105
107
110 inline const Aws::String& GetSatelliteArn() const{ return m_satelliteArn; }
111 inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; }
112 inline void SetSatelliteArn(const Aws::String& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = value; }
113 inline void SetSatelliteArn(Aws::String&& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = std::move(value); }
114 inline void SetSatelliteArn(const char* value) { m_satelliteArnHasBeenSet = true; m_satelliteArn.assign(value); }
115 inline ListContactsRequest& WithSatelliteArn(const Aws::String& value) { SetSatelliteArn(value); return *this;}
116 inline ListContactsRequest& WithSatelliteArn(Aws::String&& value) { SetSatelliteArn(std::move(value)); return *this;}
117 inline ListContactsRequest& WithSatelliteArn(const char* value) { SetSatelliteArn(value); return *this;}
119
121
124 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
125 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
126 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
127 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
128 inline ListContactsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
129 inline ListContactsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
131
133
136 inline const Aws::Vector<ContactStatus>& GetStatusList() const{ return m_statusList; }
137 inline bool StatusListHasBeenSet() const { return m_statusListHasBeenSet; }
138 inline void SetStatusList(const Aws::Vector<ContactStatus>& value) { m_statusListHasBeenSet = true; m_statusList = value; }
139 inline void SetStatusList(Aws::Vector<ContactStatus>&& value) { m_statusListHasBeenSet = true; m_statusList = std::move(value); }
140 inline ListContactsRequest& WithStatusList(const Aws::Vector<ContactStatus>& value) { SetStatusList(value); return *this;}
141 inline ListContactsRequest& WithStatusList(Aws::Vector<ContactStatus>&& value) { SetStatusList(std::move(value)); return *this;}
142 inline ListContactsRequest& AddStatusList(const ContactStatus& value) { m_statusListHasBeenSet = true; m_statusList.push_back(value); return *this; }
143 inline ListContactsRequest& AddStatusList(ContactStatus&& value) { m_statusListHasBeenSet = true; m_statusList.push_back(std::move(value)); return *this; }
145 private:
146
147 Aws::Utils::DateTime m_endTime;
148 bool m_endTimeHasBeenSet = false;
149
150 Aws::String m_groundStation;
151 bool m_groundStationHasBeenSet = false;
152
153 int m_maxResults;
154 bool m_maxResultsHasBeenSet = false;
155
156 Aws::String m_missionProfileArn;
157 bool m_missionProfileArnHasBeenSet = false;
158
159 Aws::String m_nextToken;
160 bool m_nextTokenHasBeenSet = false;
161
162 Aws::String m_satelliteArn;
163 bool m_satelliteArnHasBeenSet = false;
164
165 Aws::Utils::DateTime m_startTime;
166 bool m_startTimeHasBeenSet = false;
167
168 Aws::Vector<ContactStatus> m_statusList;
169 bool m_statusListHasBeenSet = false;
170 };
171
172} // namespace Model
173} // namespace GroundStation
174} // namespace Aws
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
void SetStatusList(const Aws::Vector< ContactStatus > &value)
void SetStatusList(Aws::Vector< ContactStatus > &&value)
ListContactsRequest & WithEndTime(Aws::Utils::DateTime &&value)
ListContactsRequest & WithSatelliteArn(const Aws::String &value)
ListContactsRequest & WithNextToken(Aws::String &&value)
void SetStartTime(Aws::Utils::DateTime &&value)
void SetMissionProfileArn(const Aws::String &value)
ListContactsRequest & WithStartTime(const Aws::Utils::DateTime &value)
ListContactsRequest & WithMissionProfileArn(const char *value)
ListContactsRequest & WithStatusList(const Aws::Vector< ContactStatus > &value)
ListContactsRequest & WithStartTime(Aws::Utils::DateTime &&value)
const Aws::Vector< ContactStatus > & GetStatusList() const
ListContactsRequest & WithNextToken(const char *value)
ListContactsRequest & WithGroundStation(const Aws::String &value)
void SetEndTime(const Aws::Utils::DateTime &value)
ListContactsRequest & AddStatusList(ContactStatus &&value)
ListContactsRequest & WithSatelliteArn(Aws::String &&value)
ListContactsRequest & WithStatusList(Aws::Vector< ContactStatus > &&value)
ListContactsRequest & WithMissionProfileArn(Aws::String &&value)
ListContactsRequest & WithMissionProfileArn(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetEndTime(Aws::Utils::DateTime &&value)
ListContactsRequest & WithSatelliteArn(const char *value)
ListContactsRequest & WithMaxResults(int value)
const Aws::Utils::DateTime & GetEndTime() const
ListContactsRequest & WithGroundStation(Aws::String &&value)
ListContactsRequest & AddStatusList(const ContactStatus &value)
const Aws::Utils::DateTime & GetStartTime() const
ListContactsRequest & WithEndTime(const Aws::Utils::DateTime &value)
ListContactsRequest & WithNextToken(const Aws::String &value)
ListContactsRequest & WithGroundStation(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector