1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/groundstation/GroundStation_EXPORTS.h>
8 #include <aws/core/utils/memory/stl/AWSVector.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18   class JsonValue;
19   class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace GroundStation
23 {
24 namespace Model
25 {
26 
27   /**
28    * <p>Item in a list of satellites.</p><p><h3>See Also:</h3>   <a
29    * href="http://docs.aws.amazon.com/goto/WebAPI/groundstation-2019-05-23/SatelliteListItem">AWS
30    * API Reference</a></p>
31    */
32   class AWS_GROUNDSTATION_API SatelliteListItem
33   {
34   public:
35     SatelliteListItem();
36     SatelliteListItem(Aws::Utils::Json::JsonView jsonValue);
37     SatelliteListItem& operator=(Aws::Utils::Json::JsonView jsonValue);
38     Aws::Utils::Json::JsonValue Jsonize() const;
39 
40 
41     /**
42      * <p>A list of ground stations to which the satellite is on-boarded.</p>
43      */
GetGroundStations()44     inline const Aws::Vector<Aws::String>& GetGroundStations() const{ return m_groundStations; }
45 
46     /**
47      * <p>A list of ground stations to which the satellite is on-boarded.</p>
48      */
GroundStationsHasBeenSet()49     inline bool GroundStationsHasBeenSet() const { return m_groundStationsHasBeenSet; }
50 
51     /**
52      * <p>A list of ground stations to which the satellite is on-boarded.</p>
53      */
SetGroundStations(const Aws::Vector<Aws::String> & value)54     inline void SetGroundStations(const Aws::Vector<Aws::String>& value) { m_groundStationsHasBeenSet = true; m_groundStations = value; }
55 
56     /**
57      * <p>A list of ground stations to which the satellite is on-boarded.</p>
58      */
SetGroundStations(Aws::Vector<Aws::String> && value)59     inline void SetGroundStations(Aws::Vector<Aws::String>&& value) { m_groundStationsHasBeenSet = true; m_groundStations = std::move(value); }
60 
61     /**
62      * <p>A list of ground stations to which the satellite is on-boarded.</p>
63      */
WithGroundStations(const Aws::Vector<Aws::String> & value)64     inline SatelliteListItem& WithGroundStations(const Aws::Vector<Aws::String>& value) { SetGroundStations(value); return *this;}
65 
66     /**
67      * <p>A list of ground stations to which the satellite is on-boarded.</p>
68      */
WithGroundStations(Aws::Vector<Aws::String> && value)69     inline SatelliteListItem& WithGroundStations(Aws::Vector<Aws::String>&& value) { SetGroundStations(std::move(value)); return *this;}
70 
71     /**
72      * <p>A list of ground stations to which the satellite is on-boarded.</p>
73      */
AddGroundStations(const Aws::String & value)74     inline SatelliteListItem& AddGroundStations(const Aws::String& value) { m_groundStationsHasBeenSet = true; m_groundStations.push_back(value); return *this; }
75 
76     /**
77      * <p>A list of ground stations to which the satellite is on-boarded.</p>
78      */
AddGroundStations(Aws::String && value)79     inline SatelliteListItem& AddGroundStations(Aws::String&& value) { m_groundStationsHasBeenSet = true; m_groundStations.push_back(std::move(value)); return *this; }
80 
81     /**
82      * <p>A list of ground stations to which the satellite is on-boarded.</p>
83      */
AddGroundStations(const char * value)84     inline SatelliteListItem& AddGroundStations(const char* value) { m_groundStationsHasBeenSet = true; m_groundStations.push_back(value); return *this; }
85 
86 
87     /**
88      * <p>NORAD satellite ID number.</p>
89      */
GetNoradSatelliteID()90     inline int GetNoradSatelliteID() const{ return m_noradSatelliteID; }
91 
92     /**
93      * <p>NORAD satellite ID number.</p>
94      */
NoradSatelliteIDHasBeenSet()95     inline bool NoradSatelliteIDHasBeenSet() const { return m_noradSatelliteIDHasBeenSet; }
96 
97     /**
98      * <p>NORAD satellite ID number.</p>
99      */
SetNoradSatelliteID(int value)100     inline void SetNoradSatelliteID(int value) { m_noradSatelliteIDHasBeenSet = true; m_noradSatelliteID = value; }
101 
102     /**
103      * <p>NORAD satellite ID number.</p>
104      */
WithNoradSatelliteID(int value)105     inline SatelliteListItem& WithNoradSatelliteID(int value) { SetNoradSatelliteID(value); return *this;}
106 
107 
108     /**
109      * <p>ARN of a satellite.</p>
110      */
GetSatelliteArn()111     inline const Aws::String& GetSatelliteArn() const{ return m_satelliteArn; }
112 
113     /**
114      * <p>ARN of a satellite.</p>
115      */
SatelliteArnHasBeenSet()116     inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; }
117 
118     /**
119      * <p>ARN of a satellite.</p>
120      */
SetSatelliteArn(const Aws::String & value)121     inline void SetSatelliteArn(const Aws::String& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = value; }
122 
123     /**
124      * <p>ARN of a satellite.</p>
125      */
SetSatelliteArn(Aws::String && value)126     inline void SetSatelliteArn(Aws::String&& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = std::move(value); }
127 
128     /**
129      * <p>ARN of a satellite.</p>
130      */
SetSatelliteArn(const char * value)131     inline void SetSatelliteArn(const char* value) { m_satelliteArnHasBeenSet = true; m_satelliteArn.assign(value); }
132 
133     /**
134      * <p>ARN of a satellite.</p>
135      */
WithSatelliteArn(const Aws::String & value)136     inline SatelliteListItem& WithSatelliteArn(const Aws::String& value) { SetSatelliteArn(value); return *this;}
137 
138     /**
139      * <p>ARN of a satellite.</p>
140      */
WithSatelliteArn(Aws::String && value)141     inline SatelliteListItem& WithSatelliteArn(Aws::String&& value) { SetSatelliteArn(std::move(value)); return *this;}
142 
143     /**
144      * <p>ARN of a satellite.</p>
145      */
WithSatelliteArn(const char * value)146     inline SatelliteListItem& WithSatelliteArn(const char* value) { SetSatelliteArn(value); return *this;}
147 
148 
149     /**
150      * <p>UUID of a satellite.</p>
151      */
GetSatelliteId()152     inline const Aws::String& GetSatelliteId() const{ return m_satelliteId; }
153 
154     /**
155      * <p>UUID of a satellite.</p>
156      */
SatelliteIdHasBeenSet()157     inline bool SatelliteIdHasBeenSet() const { return m_satelliteIdHasBeenSet; }
158 
159     /**
160      * <p>UUID of a satellite.</p>
161      */
SetSatelliteId(const Aws::String & value)162     inline void SetSatelliteId(const Aws::String& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = value; }
163 
164     /**
165      * <p>UUID of a satellite.</p>
166      */
SetSatelliteId(Aws::String && value)167     inline void SetSatelliteId(Aws::String&& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = std::move(value); }
168 
169     /**
170      * <p>UUID of a satellite.</p>
171      */
SetSatelliteId(const char * value)172     inline void SetSatelliteId(const char* value) { m_satelliteIdHasBeenSet = true; m_satelliteId.assign(value); }
173 
174     /**
175      * <p>UUID of a satellite.</p>
176      */
WithSatelliteId(const Aws::String & value)177     inline SatelliteListItem& WithSatelliteId(const Aws::String& value) { SetSatelliteId(value); return *this;}
178 
179     /**
180      * <p>UUID of a satellite.</p>
181      */
WithSatelliteId(Aws::String && value)182     inline SatelliteListItem& WithSatelliteId(Aws::String&& value) { SetSatelliteId(std::move(value)); return *this;}
183 
184     /**
185      * <p>UUID of a satellite.</p>
186      */
WithSatelliteId(const char * value)187     inline SatelliteListItem& WithSatelliteId(const char* value) { SetSatelliteId(value); return *this;}
188 
189   private:
190 
191     Aws::Vector<Aws::String> m_groundStations;
192     bool m_groundStationsHasBeenSet;
193 
194     int m_noradSatelliteID;
195     bool m_noradSatelliteIDHasBeenSet;
196 
197     Aws::String m_satelliteArn;
198     bool m_satelliteArnHasBeenSet;
199 
200     Aws::String m_satelliteId;
201     bool m_satelliteIdHasBeenSet;
202   };
203 
204 } // namespace Model
205 } // namespace GroundStation
206 } // namespace Aws
207