AWS SDK for C++  1.9.156
AWS SDK for C++
ReservedInstancesListing.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ec2/EC2_EXPORTS.h>
15 #include <aws/ec2/model/Tag.h>
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace Utils
21 {
22 namespace Xml
23 {
24  class XmlNode;
25 } // namespace Xml
26 } // namespace Utils
27 namespace EC2
28 {
29 namespace Model
30 {
31 
38  {
39  public:
43 
44  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45  void OutputToStream(Aws::OStream& oStream, const char* location) const;
46 
47 
54  inline const Aws::String& GetClientToken() const{ return m_clientToken; }
55 
62  inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; }
63 
70  inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; }
71 
78  inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); }
79 
86  inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); }
87 
94  inline ReservedInstancesListing& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;}
95 
102  inline ReservedInstancesListing& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;}
103 
110  inline ReservedInstancesListing& WithClientToken(const char* value) { SetClientToken(value); return *this;}
111 
112 
116  inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; }
117 
121  inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; }
122 
126  inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; }
127 
131  inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); }
132 
136  inline ReservedInstancesListing& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;}
137 
141  inline ReservedInstancesListing& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;}
142 
143 
147  inline const Aws::Vector<InstanceCount>& GetInstanceCounts() const{ return m_instanceCounts; }
148 
152  inline bool InstanceCountsHasBeenSet() const { return m_instanceCountsHasBeenSet; }
153 
157  inline void SetInstanceCounts(const Aws::Vector<InstanceCount>& value) { m_instanceCountsHasBeenSet = true; m_instanceCounts = value; }
158 
162  inline void SetInstanceCounts(Aws::Vector<InstanceCount>&& value) { m_instanceCountsHasBeenSet = true; m_instanceCounts = std::move(value); }
163 
167  inline ReservedInstancesListing& WithInstanceCounts(const Aws::Vector<InstanceCount>& value) { SetInstanceCounts(value); return *this;}
168 
172  inline ReservedInstancesListing& WithInstanceCounts(Aws::Vector<InstanceCount>&& value) { SetInstanceCounts(std::move(value)); return *this;}
173 
177  inline ReservedInstancesListing& AddInstanceCounts(const InstanceCount& value) { m_instanceCountsHasBeenSet = true; m_instanceCounts.push_back(value); return *this; }
178 
182  inline ReservedInstancesListing& AddInstanceCounts(InstanceCount&& value) { m_instanceCountsHasBeenSet = true; m_instanceCounts.push_back(std::move(value)); return *this; }
183 
184 
188  inline const Aws::Vector<PriceSchedule>& GetPriceSchedules() const{ return m_priceSchedules; }
189 
193  inline bool PriceSchedulesHasBeenSet() const { return m_priceSchedulesHasBeenSet; }
194 
198  inline void SetPriceSchedules(const Aws::Vector<PriceSchedule>& value) { m_priceSchedulesHasBeenSet = true; m_priceSchedules = value; }
199 
203  inline void SetPriceSchedules(Aws::Vector<PriceSchedule>&& value) { m_priceSchedulesHasBeenSet = true; m_priceSchedules = std::move(value); }
204 
208  inline ReservedInstancesListing& WithPriceSchedules(const Aws::Vector<PriceSchedule>& value) { SetPriceSchedules(value); return *this;}
209 
213  inline ReservedInstancesListing& WithPriceSchedules(Aws::Vector<PriceSchedule>&& value) { SetPriceSchedules(std::move(value)); return *this;}
214 
218  inline ReservedInstancesListing& AddPriceSchedules(const PriceSchedule& value) { m_priceSchedulesHasBeenSet = true; m_priceSchedules.push_back(value); return *this; }
219 
223  inline ReservedInstancesListing& AddPriceSchedules(PriceSchedule&& value) { m_priceSchedulesHasBeenSet = true; m_priceSchedules.push_back(std::move(value)); return *this; }
224 
225 
229  inline const Aws::String& GetReservedInstancesId() const{ return m_reservedInstancesId; }
230 
234  inline bool ReservedInstancesIdHasBeenSet() const { return m_reservedInstancesIdHasBeenSet; }
235 
239  inline void SetReservedInstancesId(const Aws::String& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = value; }
240 
244  inline void SetReservedInstancesId(Aws::String&& value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId = std::move(value); }
245 
249  inline void SetReservedInstancesId(const char* value) { m_reservedInstancesIdHasBeenSet = true; m_reservedInstancesId.assign(value); }
250 
254  inline ReservedInstancesListing& WithReservedInstancesId(const Aws::String& value) { SetReservedInstancesId(value); return *this;}
255 
259  inline ReservedInstancesListing& WithReservedInstancesId(Aws::String&& value) { SetReservedInstancesId(std::move(value)); return *this;}
260 
264  inline ReservedInstancesListing& WithReservedInstancesId(const char* value) { SetReservedInstancesId(value); return *this;}
265 
266 
270  inline const Aws::String& GetReservedInstancesListingId() const{ return m_reservedInstancesListingId; }
271 
275  inline bool ReservedInstancesListingIdHasBeenSet() const { return m_reservedInstancesListingIdHasBeenSet; }
276 
280  inline void SetReservedInstancesListingId(const Aws::String& value) { m_reservedInstancesListingIdHasBeenSet = true; m_reservedInstancesListingId = value; }
281 
285  inline void SetReservedInstancesListingId(Aws::String&& value) { m_reservedInstancesListingIdHasBeenSet = true; m_reservedInstancesListingId = std::move(value); }
286 
290  inline void SetReservedInstancesListingId(const char* value) { m_reservedInstancesListingIdHasBeenSet = true; m_reservedInstancesListingId.assign(value); }
291 
295  inline ReservedInstancesListing& WithReservedInstancesListingId(const Aws::String& value) { SetReservedInstancesListingId(value); return *this;}
296 
300  inline ReservedInstancesListing& WithReservedInstancesListingId(Aws::String&& value) { SetReservedInstancesListingId(std::move(value)); return *this;}
301 
305  inline ReservedInstancesListing& WithReservedInstancesListingId(const char* value) { SetReservedInstancesListingId(value); return *this;}
306 
307 
311  inline const ListingStatus& GetStatus() const{ return m_status; }
312 
316  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
317 
321  inline void SetStatus(const ListingStatus& value) { m_statusHasBeenSet = true; m_status = value; }
322 
326  inline void SetStatus(ListingStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
327 
331  inline ReservedInstancesListing& WithStatus(const ListingStatus& value) { SetStatus(value); return *this;}
332 
336  inline ReservedInstancesListing& WithStatus(ListingStatus&& value) { SetStatus(std::move(value)); return *this;}
337 
338 
343  inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
344 
349  inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
350 
355  inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
356 
361  inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
362 
367  inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
368 
373  inline ReservedInstancesListing& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
374 
379  inline ReservedInstancesListing& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
380 
385  inline ReservedInstancesListing& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
386 
387 
391  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
392 
396  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
397 
401  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
402 
406  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
407 
411  inline ReservedInstancesListing& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
412 
416  inline ReservedInstancesListing& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
417 
421  inline ReservedInstancesListing& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
422 
426  inline ReservedInstancesListing& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
427 
428 
432  inline const Aws::Utils::DateTime& GetUpdateDate() const{ return m_updateDate; }
433 
437  inline bool UpdateDateHasBeenSet() const { return m_updateDateHasBeenSet; }
438 
442  inline void SetUpdateDate(const Aws::Utils::DateTime& value) { m_updateDateHasBeenSet = true; m_updateDate = value; }
443 
447  inline void SetUpdateDate(Aws::Utils::DateTime&& value) { m_updateDateHasBeenSet = true; m_updateDate = std::move(value); }
448 
452  inline ReservedInstancesListing& WithUpdateDate(const Aws::Utils::DateTime& value) { SetUpdateDate(value); return *this;}
453 
457  inline ReservedInstancesListing& WithUpdateDate(Aws::Utils::DateTime&& value) { SetUpdateDate(std::move(value)); return *this;}
458 
459  private:
460 
461  Aws::String m_clientToken;
462  bool m_clientTokenHasBeenSet;
463 
464  Aws::Utils::DateTime m_createDate;
465  bool m_createDateHasBeenSet;
466 
467  Aws::Vector<InstanceCount> m_instanceCounts;
468  bool m_instanceCountsHasBeenSet;
469 
470  Aws::Vector<PriceSchedule> m_priceSchedules;
471  bool m_priceSchedulesHasBeenSet;
472 
473  Aws::String m_reservedInstancesId;
474  bool m_reservedInstancesIdHasBeenSet;
475 
476  Aws::String m_reservedInstancesListingId;
477  bool m_reservedInstancesListingIdHasBeenSet;
478 
479  ListingStatus m_status;
480  bool m_statusHasBeenSet;
481 
482  Aws::String m_statusMessage;
483  bool m_statusMessageHasBeenSet;
484 
485  Aws::Vector<Tag> m_tags;
486  bool m_tagsHasBeenSet;
487 
488  Aws::Utils::DateTime m_updateDate;
489  bool m_updateDateHasBeenSet;
490  };
491 
492 } // namespace Model
493 } // namespace EC2
494 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::EC2::Model::ReservedInstancesListing::WithClientToken
ReservedInstancesListing & WithClientToken(Aws::String &&value)
Definition: ReservedInstancesListing.h:102
Aws::EC2::Model::ReservedInstancesListing::SetUpdateDate
void SetUpdateDate(const Aws::Utils::DateTime &value)
Definition: ReservedInstancesListing.h:442
Aws::EC2::Model::ReservedInstancesListing::SetReservedInstancesListingId
void SetReservedInstancesListingId(const char *value)
Definition: ReservedInstancesListing.h:290
Aws::EC2::Model::ReservedInstancesListing::WithCreateDate
ReservedInstancesListing & WithCreateDate(Aws::Utils::DateTime &&value)
Definition: ReservedInstancesListing.h:141
Aws::EC2::Model::ReservedInstancesListing::WithUpdateDate
ReservedInstancesListing & WithUpdateDate(Aws::Utils::DateTime &&value)
Definition: ReservedInstancesListing.h:457
Aws::EC2::Model::Tag
Definition: Tag.h:32
ListingStatus.h
Aws::EC2::Model::ReservedInstancesListing::SetCreateDate
void SetCreateDate(Aws::Utils::DateTime &&value)
Definition: ReservedInstancesListing.h:131
Aws::EC2::Model::ReservedInstancesListing::SetClientToken
void SetClientToken(const Aws::String &value)
Definition: ReservedInstancesListing.h:70
Aws::EC2::Model::ReservedInstancesListing::SetPriceSchedules
void SetPriceSchedules(Aws::Vector< PriceSchedule > &&value)
Definition: ReservedInstancesListing.h:203
Aws::EC2::Model::ReservedInstancesListing::StatusMessageHasBeenSet
bool StatusMessageHasBeenSet() const
Definition: ReservedInstancesListing.h:349
DateTime.h
Aws::EC2::Model::ReservedInstancesListing::SetInstanceCounts
void SetInstanceCounts(const Aws::Vector< InstanceCount > &value)
Definition: ReservedInstancesListing.h:157
Aws::EC2::Model::ReservedInstancesListing::WithReservedInstancesId
ReservedInstancesListing & WithReservedInstancesId(const char *value)
Definition: ReservedInstancesListing.h:264
Aws::EC2::Model::ReservedInstancesListing::GetStatus
const ListingStatus & GetStatus() const
Definition: ReservedInstancesListing.h:311
AWS_EC2_API
#define AWS_EC2_API
Definition: EC2_EXPORTS.h:28
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::EC2::Model::ReservedInstancesListing::WithInstanceCounts
ReservedInstancesListing & WithInstanceCounts(Aws::Vector< InstanceCount > &&value)
Definition: ReservedInstancesListing.h:172
AWSStreamFwd.h
InstanceCount.h
Aws::EC2::Model::ReservedInstancesListing::GetStatusMessage
const Aws::String & GetStatusMessage() const
Definition: ReservedInstancesListing.h:343
Aws::EC2::Model::ReservedInstancesListing::WithReservedInstancesListingId
ReservedInstancesListing & WithReservedInstancesListingId(const char *value)
Definition: ReservedInstancesListing.h:305
AWSVector.h
Tag.h
Aws::EC2::Model::ReservedInstancesListing::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ReservedInstancesListing.h:316
Aws::EC2::Model::ReservedInstancesListing::WithClientToken
ReservedInstancesListing & WithClientToken(const char *value)
Definition: ReservedInstancesListing.h:110
Aws::EC2::Model::ReservedInstancesListing::WithUpdateDate
ReservedInstancesListing & WithUpdateDate(const Aws::Utils::DateTime &value)
Definition: ReservedInstancesListing.h:452
Aws::EC2::Model::ReservedInstancesListing::SetReservedInstancesListingId
void SetReservedInstancesListingId(const Aws::String &value)
Definition: ReservedInstancesListing.h:280
Aws::EC2::Model::ReservedInstancesListing::AddTags
ReservedInstancesListing & AddTags(const Tag &value)
Definition: ReservedInstancesListing.h:421
Aws::EC2::Model::ReservedInstancesListing::WithPriceSchedules
ReservedInstancesListing & WithPriceSchedules(const Aws::Vector< PriceSchedule > &value)
Definition: ReservedInstancesListing.h:208
Aws::EC2::Model::ReservedInstancesListing::WithPriceSchedules
ReservedInstancesListing & WithPriceSchedules(Aws::Vector< PriceSchedule > &&value)
Definition: ReservedInstancesListing.h:213
Aws::EC2::Model::ReservedInstancesListing::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::EC2::Model::ReservedInstancesListing::GetCreateDate
const Aws::Utils::DateTime & GetCreateDate() const
Definition: ReservedInstancesListing.h:116
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::EC2::Model::ReservedInstancesListing::SetReservedInstancesId
void SetReservedInstancesId(const Aws::String &value)
Definition: ReservedInstancesListing.h:239
Aws::EC2::Model::ReservedInstancesListing::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: ReservedInstancesListing.h:391
Aws::EC2::Model::ReservedInstancesListing::GetPriceSchedules
const Aws::Vector< PriceSchedule > & GetPriceSchedules() const
Definition: ReservedInstancesListing.h:188
Aws::EC2::Model::ReservedInstancesListing::ReservedInstancesIdHasBeenSet
bool ReservedInstancesIdHasBeenSet() const
Definition: ReservedInstancesListing.h:234
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::EC2::Model::ReservedInstancesListing::SetStatus
void SetStatus(const ListingStatus &value)
Definition: ReservedInstancesListing.h:321
Aws::EC2::Model::ReservedInstancesListing::SetUpdateDate
void SetUpdateDate(Aws::Utils::DateTime &&value)
Definition: ReservedInstancesListing.h:447
Aws::EC2::Model::ReservedInstancesListing::AddPriceSchedules
ReservedInstancesListing & AddPriceSchedules(const PriceSchedule &value)
Definition: ReservedInstancesListing.h:218
Aws::EC2::Model::ReservedInstancesListing::SetPriceSchedules
void SetPriceSchedules(const Aws::Vector< PriceSchedule > &value)
Definition: ReservedInstancesListing.h:198
Aws::EC2::Model::ReservedInstancesListing::WithTags
ReservedInstancesListing & WithTags(Aws::Vector< Tag > &&value)
Definition: ReservedInstancesListing.h:416
Aws::EC2::Model::ReservedInstancesListing::AddInstanceCounts
ReservedInstancesListing & AddInstanceCounts(const InstanceCount &value)
Definition: ReservedInstancesListing.h:177
Aws::EC2::Model::ReservedInstancesListing::WithReservedInstancesId
ReservedInstancesListing & WithReservedInstancesId(Aws::String &&value)
Definition: ReservedInstancesListing.h:259
Aws::EC2::Model::ReservedInstancesListing::SetClientToken
void SetClientToken(const char *value)
Definition: ReservedInstancesListing.h:86
Aws::EC2::Model::ReservedInstancesListing::PriceSchedulesHasBeenSet
bool PriceSchedulesHasBeenSet() const
Definition: ReservedInstancesListing.h:193
Aws::EC2::Model::ReservedInstancesListing::InstanceCountsHasBeenSet
bool InstanceCountsHasBeenSet() const
Definition: ReservedInstancesListing.h:152
Aws::EC2::Model::PriceSchedule
Definition: PriceSchedule.h:32
Aws::EC2::Model::ReservedInstancesListing::ReservedInstancesListing
ReservedInstancesListing()
Aws::EC2::Model::ReservedInstancesListing::GetClientToken
const Aws::String & GetClientToken() const
Definition: ReservedInstancesListing.h:54
AWSString.h
Aws::EC2::Model::ReservedInstancesListing::ReservedInstancesListing
ReservedInstancesListing(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::EC2::Model::ReservedInstancesListing::SetStatusMessage
void SetStatusMessage(const char *value)
Definition: ReservedInstancesListing.h:367
Aws::EC2::Model::ReservedInstancesListing::WithTags
ReservedInstancesListing & WithTags(const Aws::Vector< Tag > &value)
Definition: ReservedInstancesListing.h:411
Aws::EC2::Model::ReservedInstancesListing
Definition: ReservedInstancesListing.h:38
Aws::EC2::Model::ReservedInstancesListing::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: ReservedInstancesListing.h:401
Aws::EC2::Model::ReservedInstancesListing::CreateDateHasBeenSet
bool CreateDateHasBeenSet() const
Definition: ReservedInstancesListing.h:121
Aws::EC2::Model::ReservedInstancesListing::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::EC2::Model::ReservedInstancesListing::SetCreateDate
void SetCreateDate(const Aws::Utils::DateTime &value)
Definition: ReservedInstancesListing.h:126
Aws::EC2::Model::ReservedInstancesListing::WithStatus
ReservedInstancesListing & WithStatus(const ListingStatus &value)
Definition: ReservedInstancesListing.h:331
Aws::EC2::Model::ReservedInstancesListing::ReservedInstancesListingIdHasBeenSet
bool ReservedInstancesListingIdHasBeenSet() const
Definition: ReservedInstancesListing.h:275
Aws::EC2::Model::ReservedInstancesListing::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: ReservedInstancesListing.h:396
Aws::EC2::Model::ReservedInstancesListing::WithReservedInstancesId
ReservedInstancesListing & WithReservedInstancesId(const Aws::String &value)
Definition: ReservedInstancesListing.h:254
Aws::EC2::Model::ReservedInstancesListing::WithStatusMessage
ReservedInstancesListing & WithStatusMessage(const Aws::String &value)
Definition: ReservedInstancesListing.h:373
Aws
Definition: AccessManagementClient.h:15
Aws::EC2::Model::ReservedInstancesListing::WithReservedInstancesListingId
ReservedInstancesListing & WithReservedInstancesListingId(const Aws::String &value)
Definition: ReservedInstancesListing.h:295
Aws::EC2::Model::ReservedInstancesListing::SetStatusMessage
void SetStatusMessage(const Aws::String &value)
Definition: ReservedInstancesListing.h:355
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::EC2::Model::ReservedInstancesListing::ClientTokenHasBeenSet
bool ClientTokenHasBeenSet() const
Definition: ReservedInstancesListing.h:62
Aws::EC2::Model::InstanceCount
Definition: InstanceCount.h:32
Aws::EC2::Model::ReservedInstancesListing::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: ReservedInstancesListing.h:406
Aws::EC2::Model::ReservedInstancesListing::AddInstanceCounts
ReservedInstancesListing & AddInstanceCounts(InstanceCount &&value)
Definition: ReservedInstancesListing.h:182
index
int index
Definition: cJSON.h:181
Aws::EC2::Model::ReservedInstancesListing::WithReservedInstancesListingId
ReservedInstancesListing & WithReservedInstancesListingId(Aws::String &&value)
Definition: ReservedInstancesListing.h:300
Aws::EC2::Model::ReservedInstancesListing::WithStatusMessage
ReservedInstancesListing & WithStatusMessage(Aws::String &&value)
Definition: ReservedInstancesListing.h:379
Aws::EC2::Model::ReservedInstancesListing::UpdateDateHasBeenSet
bool UpdateDateHasBeenSet() const
Definition: ReservedInstancesListing.h:437
Aws::EC2::Model::ReservedInstancesListing::WithClientToken
ReservedInstancesListing & WithClientToken(const Aws::String &value)
Definition: ReservedInstancesListing.h:94
Aws::EC2::Model::ReservedInstancesListing::GetReservedInstancesId
const Aws::String & GetReservedInstancesId() const
Definition: ReservedInstancesListing.h:229
Aws::EC2::Model::ReservedInstancesListing::SetReservedInstancesId
void SetReservedInstancesId(const char *value)
Definition: ReservedInstancesListing.h:249
Aws::EC2::Model::ReservedInstancesListing::operator=
ReservedInstancesListing & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PriceSchedule.h
Aws::EC2::Model::ReservedInstancesListing::SetReservedInstancesListingId
void SetReservedInstancesListingId(Aws::String &&value)
Definition: ReservedInstancesListing.h:285
Aws::EC2::Model::ReservedInstancesListing::SetStatusMessage
void SetStatusMessage(Aws::String &&value)
Definition: ReservedInstancesListing.h:361
Aws::EC2::Model::ReservedInstancesListing::WithInstanceCounts
ReservedInstancesListing & WithInstanceCounts(const Aws::Vector< InstanceCount > &value)
Definition: ReservedInstancesListing.h:167
Aws::EC2::Model::ReservedInstancesListing::WithStatus
ReservedInstancesListing & WithStatus(ListingStatus &&value)
Definition: ReservedInstancesListing.h:336
Aws::EC2::Model::ReservedInstancesListing::WithStatusMessage
ReservedInstancesListing & WithStatusMessage(const char *value)
Definition: ReservedInstancesListing.h:385
Aws::EC2::Model::ReservedInstancesListing::SetStatus
void SetStatus(ListingStatus &&value)
Definition: ReservedInstancesListing.h:326
EC2_EXPORTS.h
Aws::EC2::Model::ReservedInstancesListing::WithCreateDate
ReservedInstancesListing & WithCreateDate(const Aws::Utils::DateTime &value)
Definition: ReservedInstancesListing.h:136
Aws::EC2::Model::ReservedInstancesListing::GetReservedInstancesListingId
const Aws::String & GetReservedInstancesListingId() const
Definition: ReservedInstancesListing.h:270
Aws::EC2::Model::ReservedInstancesListing::GetInstanceCounts
const Aws::Vector< InstanceCount > & GetInstanceCounts() const
Definition: ReservedInstancesListing.h:147
Aws::EC2::Model::ReservedInstancesListing::AddTags
ReservedInstancesListing & AddTags(Tag &&value)
Definition: ReservedInstancesListing.h:426
Aws::EC2::Model::ListingStatus
ListingStatus
Definition: ListingStatus.h:17
Aws::EC2::Model::ReservedInstancesListing::SetReservedInstancesId
void SetReservedInstancesId(Aws::String &&value)
Definition: ReservedInstancesListing.h:244
Aws::EC2::Model::ReservedInstancesListing::GetUpdateDate
const Aws::Utils::DateTime & GetUpdateDate() const
Definition: ReservedInstancesListing.h:432
Aws::EC2::Model::ReservedInstancesListing::SetInstanceCounts
void SetInstanceCounts(Aws::Vector< InstanceCount > &&value)
Definition: ReservedInstancesListing.h:162
Aws::EC2::Model::ReservedInstancesListing::SetClientToken
void SetClientToken(Aws::String &&value)
Definition: ReservedInstancesListing.h:78
Aws::EC2::Model::ReservedInstancesListing::AddPriceSchedules
ReservedInstancesListing & AddPriceSchedules(PriceSchedule &&value)
Definition: ReservedInstancesListing.h:223