AWS SDK for C++  1.9.110
AWS SDK for C++
ReservedNode.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlNode;
23 } // namespace Xml
24 } // namespace Utils
25 namespace Redshift
26 {
27 namespace Model
28 {
29 
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 
51  inline const Aws::String& GetReservedNodeId() const{ return m_reservedNodeId; }
52 
56  inline bool ReservedNodeIdHasBeenSet() const { return m_reservedNodeIdHasBeenSet; }
57 
61  inline void SetReservedNodeId(const Aws::String& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = value; }
62 
66  inline void SetReservedNodeId(Aws::String&& value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId = std::move(value); }
67 
71  inline void SetReservedNodeId(const char* value) { m_reservedNodeIdHasBeenSet = true; m_reservedNodeId.assign(value); }
72 
76  inline ReservedNode& WithReservedNodeId(const Aws::String& value) { SetReservedNodeId(value); return *this;}
77 
81  inline ReservedNode& WithReservedNodeId(Aws::String&& value) { SetReservedNodeId(std::move(value)); return *this;}
82 
86  inline ReservedNode& WithReservedNodeId(const char* value) { SetReservedNodeId(value); return *this;}
87 
88 
92  inline const Aws::String& GetReservedNodeOfferingId() const{ return m_reservedNodeOfferingId; }
93 
97  inline bool ReservedNodeOfferingIdHasBeenSet() const { return m_reservedNodeOfferingIdHasBeenSet; }
98 
102  inline void SetReservedNodeOfferingId(const Aws::String& value) { m_reservedNodeOfferingIdHasBeenSet = true; m_reservedNodeOfferingId = value; }
103 
107  inline void SetReservedNodeOfferingId(Aws::String&& value) { m_reservedNodeOfferingIdHasBeenSet = true; m_reservedNodeOfferingId = std::move(value); }
108 
112  inline void SetReservedNodeOfferingId(const char* value) { m_reservedNodeOfferingIdHasBeenSet = true; m_reservedNodeOfferingId.assign(value); }
113 
117  inline ReservedNode& WithReservedNodeOfferingId(const Aws::String& value) { SetReservedNodeOfferingId(value); return *this;}
118 
122  inline ReservedNode& WithReservedNodeOfferingId(Aws::String&& value) { SetReservedNodeOfferingId(std::move(value)); return *this;}
123 
127  inline ReservedNode& WithReservedNodeOfferingId(const char* value) { SetReservedNodeOfferingId(value); return *this;}
128 
129 
133  inline const Aws::String& GetNodeType() const{ return m_nodeType; }
134 
138  inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
139 
143  inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
144 
148  inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
149 
153  inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
154 
158  inline ReservedNode& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
159 
163  inline ReservedNode& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
164 
168  inline ReservedNode& WithNodeType(const char* value) { SetNodeType(value); return *this;}
169 
170 
175  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
176 
181  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
182 
187  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
188 
193  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
194 
199  inline ReservedNode& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
200 
205  inline ReservedNode& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
206 
207 
211  inline int GetDuration() const{ return m_duration; }
212 
216  inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
217 
221  inline void SetDuration(int value) { m_durationHasBeenSet = true; m_duration = value; }
222 
226  inline ReservedNode& WithDuration(int value) { SetDuration(value); return *this;}
227 
228 
232  inline double GetFixedPrice() const{ return m_fixedPrice; }
233 
237  inline bool FixedPriceHasBeenSet() const { return m_fixedPriceHasBeenSet; }
238 
242  inline void SetFixedPrice(double value) { m_fixedPriceHasBeenSet = true; m_fixedPrice = value; }
243 
247  inline ReservedNode& WithFixedPrice(double value) { SetFixedPrice(value); return *this;}
248 
249 
253  inline double GetUsagePrice() const{ return m_usagePrice; }
254 
258  inline bool UsagePriceHasBeenSet() const { return m_usagePriceHasBeenSet; }
259 
263  inline void SetUsagePrice(double value) { m_usagePriceHasBeenSet = true; m_usagePrice = value; }
264 
268  inline ReservedNode& WithUsagePrice(double value) { SetUsagePrice(value); return *this;}
269 
270 
274  inline const Aws::String& GetCurrencyCode() const{ return m_currencyCode; }
275 
279  inline bool CurrencyCodeHasBeenSet() const { return m_currencyCodeHasBeenSet; }
280 
284  inline void SetCurrencyCode(const Aws::String& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = value; }
285 
289  inline void SetCurrencyCode(Aws::String&& value) { m_currencyCodeHasBeenSet = true; m_currencyCode = std::move(value); }
290 
294  inline void SetCurrencyCode(const char* value) { m_currencyCodeHasBeenSet = true; m_currencyCode.assign(value); }
295 
299  inline ReservedNode& WithCurrencyCode(const Aws::String& value) { SetCurrencyCode(value); return *this;}
300 
304  inline ReservedNode& WithCurrencyCode(Aws::String&& value) { SetCurrencyCode(std::move(value)); return *this;}
305 
309  inline ReservedNode& WithCurrencyCode(const char* value) { SetCurrencyCode(value); return *this;}
310 
311 
315  inline int GetNodeCount() const{ return m_nodeCount; }
316 
320  inline bool NodeCountHasBeenSet() const { return m_nodeCountHasBeenSet; }
321 
325  inline void SetNodeCount(int value) { m_nodeCountHasBeenSet = true; m_nodeCount = value; }
326 
330  inline ReservedNode& WithNodeCount(int value) { SetNodeCount(value); return *this;}
331 
332 
343  inline const Aws::String& GetState() const{ return m_state; }
344 
355  inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
356 
367  inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; }
368 
379  inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
380 
391  inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); }
392 
403  inline ReservedNode& WithState(const Aws::String& value) { SetState(value); return *this;}
404 
415  inline ReservedNode& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;}
416 
427  inline ReservedNode& WithState(const char* value) { SetState(value); return *this;}
428 
429 
434  inline const Aws::String& GetOfferingType() const{ return m_offeringType; }
435 
440  inline bool OfferingTypeHasBeenSet() const { return m_offeringTypeHasBeenSet; }
441 
446  inline void SetOfferingType(const Aws::String& value) { m_offeringTypeHasBeenSet = true; m_offeringType = value; }
447 
452  inline void SetOfferingType(Aws::String&& value) { m_offeringTypeHasBeenSet = true; m_offeringType = std::move(value); }
453 
458  inline void SetOfferingType(const char* value) { m_offeringTypeHasBeenSet = true; m_offeringType.assign(value); }
459 
464  inline ReservedNode& WithOfferingType(const Aws::String& value) { SetOfferingType(value); return *this;}
465 
470  inline ReservedNode& WithOfferingType(Aws::String&& value) { SetOfferingType(std::move(value)); return *this;}
471 
476  inline ReservedNode& WithOfferingType(const char* value) { SetOfferingType(value); return *this;}
477 
478 
482  inline const Aws::Vector<RecurringCharge>& GetRecurringCharges() const{ return m_recurringCharges; }
483 
487  inline bool RecurringChargesHasBeenSet() const { return m_recurringChargesHasBeenSet; }
488 
492  inline void SetRecurringCharges(const Aws::Vector<RecurringCharge>& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = value; }
493 
497  inline void SetRecurringCharges(Aws::Vector<RecurringCharge>&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges = std::move(value); }
498 
502  inline ReservedNode& WithRecurringCharges(const Aws::Vector<RecurringCharge>& value) { SetRecurringCharges(value); return *this;}
503 
507  inline ReservedNode& WithRecurringCharges(Aws::Vector<RecurringCharge>&& value) { SetRecurringCharges(std::move(value)); return *this;}
508 
512  inline ReservedNode& AddRecurringCharges(const RecurringCharge& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(value); return *this; }
513 
517  inline ReservedNode& AddRecurringCharges(RecurringCharge&& value) { m_recurringChargesHasBeenSet = true; m_recurringCharges.push_back(std::move(value)); return *this; }
518 
519 
523  inline const ReservedNodeOfferingType& GetReservedNodeOfferingType() const{ return m_reservedNodeOfferingType; }
524 
528  inline bool ReservedNodeOfferingTypeHasBeenSet() const { return m_reservedNodeOfferingTypeHasBeenSet; }
529 
533  inline void SetReservedNodeOfferingType(const ReservedNodeOfferingType& value) { m_reservedNodeOfferingTypeHasBeenSet = true; m_reservedNodeOfferingType = value; }
534 
538  inline void SetReservedNodeOfferingType(ReservedNodeOfferingType&& value) { m_reservedNodeOfferingTypeHasBeenSet = true; m_reservedNodeOfferingType = std::move(value); }
539 
543  inline ReservedNode& WithReservedNodeOfferingType(const ReservedNodeOfferingType& value) { SetReservedNodeOfferingType(value); return *this;}
544 
548  inline ReservedNode& WithReservedNodeOfferingType(ReservedNodeOfferingType&& value) { SetReservedNodeOfferingType(std::move(value)); return *this;}
549 
550  private:
551 
552  Aws::String m_reservedNodeId;
553  bool m_reservedNodeIdHasBeenSet;
554 
555  Aws::String m_reservedNodeOfferingId;
556  bool m_reservedNodeOfferingIdHasBeenSet;
557 
558  Aws::String m_nodeType;
559  bool m_nodeTypeHasBeenSet;
560 
561  Aws::Utils::DateTime m_startTime;
562  bool m_startTimeHasBeenSet;
563 
564  int m_duration;
565  bool m_durationHasBeenSet;
566 
567  double m_fixedPrice;
568  bool m_fixedPriceHasBeenSet;
569 
570  double m_usagePrice;
571  bool m_usagePriceHasBeenSet;
572 
573  Aws::String m_currencyCode;
574  bool m_currencyCodeHasBeenSet;
575 
576  int m_nodeCount;
577  bool m_nodeCountHasBeenSet;
578 
579  Aws::String m_state;
580  bool m_stateHasBeenSet;
581 
582  Aws::String m_offeringType;
583  bool m_offeringTypeHasBeenSet;
584 
585  Aws::Vector<RecurringCharge> m_recurringCharges;
586  bool m_recurringChargesHasBeenSet;
587 
588  ReservedNodeOfferingType m_reservedNodeOfferingType;
589  bool m_reservedNodeOfferingTypeHasBeenSet;
590  };
591 
592 } // namespace Model
593 } // namespace Redshift
594 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::Redshift::Model::ReservedNode::WithReservedNodeOfferingType
ReservedNode & WithReservedNodeOfferingType(const ReservedNodeOfferingType &value)
Definition: ReservedNode.h:543
Aws::Redshift::Model::ReservedNode::WithOfferingType
ReservedNode & WithOfferingType(const Aws::String &value)
Definition: ReservedNode.h:464
Aws::Redshift::Model::ReservedNode::SetReservedNodeId
void SetReservedNodeId(Aws::String &&value)
Definition: ReservedNode.h:66
Aws::Redshift::Model::ReservedNode::SetState
void SetState(Aws::String &&value)
Definition: ReservedNode.h:379
Aws::Redshift::Model::ReservedNode::GetRecurringCharges
const Aws::Vector< RecurringCharge > & GetRecurringCharges() const
Definition: ReservedNode.h:482
Aws::Redshift::Model::ReservedNode::WithReservedNodeId
ReservedNode & WithReservedNodeId(Aws::String &&value)
Definition: ReservedNode.h:81
Aws::Redshift::Model::ReservedNode::WithState
ReservedNode & WithState(Aws::String &&value)
Definition: ReservedNode.h:415
Aws::Redshift::Model::ReservedNode::ReservedNodeOfferingTypeHasBeenSet
bool ReservedNodeOfferingTypeHasBeenSet() const
Definition: ReservedNode.h:528
Aws::Redshift::Model::ReservedNode::WithDuration
ReservedNode & WithDuration(int value)
Definition: ReservedNode.h:226
Aws::Redshift::Model::ReservedNode::ReservedNodeOfferingIdHasBeenSet
bool ReservedNodeOfferingIdHasBeenSet() const
Definition: ReservedNode.h:97
Aws::Redshift::Model::ReservedNode::SetNodeType
void SetNodeType(const Aws::String &value)
Definition: ReservedNode.h:143
Aws::Redshift::Model::ReservedNode::SetState
void SetState(const char *value)
Definition: ReservedNode.h:391
Aws::Redshift::Model::ReservedNode::operator=
ReservedNode & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::ReservedNode::SetOfferingType
void SetOfferingType(const char *value)
Definition: ReservedNode.h:458
Aws::Redshift::Model::ReservedNode::OutputToStream
void OutputToStream(Aws::OStream &oStream, const char *location) const
Aws::Redshift::Model::ReservedNode::GetNodeType
const Aws::String & GetNodeType() const
Definition: ReservedNode.h:133
Aws::Redshift::Model::ReservedNode::WithState
ReservedNode & WithState(const char *value)
Definition: ReservedNode.h:427
DateTime.h
Aws::Redshift::Model::ReservedNode::WithStartTime
ReservedNode & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ReservedNode.h:205
Aws::Redshift::Model::ReservedNode
Definition: ReservedNode.h:38
Aws::Redshift::Model::ReservedNode::SetReservedNodeId
void SetReservedNodeId(const Aws::String &value)
Definition: ReservedNode.h:61
Aws::Redshift::Model::ReservedNode::SetReservedNodeOfferingId
void SetReservedNodeOfferingId(Aws::String &&value)
Definition: ReservedNode.h:107
Aws::Redshift::Model::ReservedNode::SetRecurringCharges
void SetRecurringCharges(Aws::Vector< RecurringCharge > &&value)
Definition: ReservedNode.h:497
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::ReservedNode::NodeTypeHasBeenSet
bool NodeTypeHasBeenSet() const
Definition: ReservedNode.h:138
AWSStreamFwd.h
Aws::Redshift::Model::ReservedNode::GetState
const Aws::String & GetState() const
Definition: ReservedNode.h:343
AWSVector.h
Aws::Redshift::Model::ReservedNode::GetDuration
int GetDuration() const
Definition: ReservedNode.h:211
Aws::Redshift::Model::ReservedNode::WithUsagePrice
ReservedNode & WithUsagePrice(double value)
Definition: ReservedNode.h:268
Aws::Redshift::Model::ReservedNode::StateHasBeenSet
bool StateHasBeenSet() const
Definition: ReservedNode.h:355
Aws::OStream
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:21
Aws::Redshift::Model::ReservedNode::GetFixedPrice
double GetFixedPrice() const
Definition: ReservedNode.h:232
Aws::Redshift::Model::ReservedNode::SetDuration
void SetDuration(int value)
Definition: ReservedNode.h:221
Aws::Redshift::Model::ReservedNode::WithRecurringCharges
ReservedNode & WithRecurringCharges(const Aws::Vector< RecurringCharge > &value)
Definition: ReservedNode.h:502
Aws::Redshift::Model::ReservedNode::OfferingTypeHasBeenSet
bool OfferingTypeHasBeenSet() const
Definition: ReservedNode.h:440
Aws::Utils::Xml::XmlNode
Definition: XmlSerializer.h:53
Aws::Redshift::Model::ReservedNodeOfferingType
ReservedNodeOfferingType
Definition: ReservedNodeOfferingType.h:17
Aws::Redshift::Model::ReservedNode::WithState
ReservedNode & WithState(const Aws::String &value)
Definition: ReservedNode.h:403
Aws::Redshift::Model::ReservedNode::AddRecurringCharges
ReservedNode & AddRecurringCharges(const RecurringCharge &value)
Definition: ReservedNode.h:512
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::ReservedNode::GetCurrencyCode
const Aws::String & GetCurrencyCode() const
Definition: ReservedNode.h:274
Aws::Redshift::Model::ReservedNode::WithNodeType
ReservedNode & WithNodeType(const Aws::String &value)
Definition: ReservedNode.h:158
Aws::Redshift::Model::ReservedNode::WithCurrencyCode
ReservedNode & WithCurrencyCode(const Aws::String &value)
Definition: ReservedNode.h:299
Aws::Redshift::Model::ReservedNode::SetNodeType
void SetNodeType(const char *value)
Definition: ReservedNode.h:153
Aws::Redshift::Model::ReservedNode::OutputToStream
void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Aws::Redshift::Model::ReservedNode::SetOfferingType
void SetOfferingType(Aws::String &&value)
Definition: ReservedNode.h:452
Aws::Redshift::Model::ReservedNode::WithCurrencyCode
ReservedNode & WithCurrencyCode(const char *value)
Definition: ReservedNode.h:309
Aws::Redshift::Model::ReservedNode::WithReservedNodeOfferingType
ReservedNode & WithReservedNodeOfferingType(ReservedNodeOfferingType &&value)
Definition: ReservedNode.h:548
Aws::Redshift::Model::ReservedNode::SetReservedNodeOfferingType
void SetReservedNodeOfferingType(const ReservedNodeOfferingType &value)
Definition: ReservedNode.h:533
Aws::Redshift::Model::ReservedNode::SetReservedNodeOfferingId
void SetReservedNodeOfferingId(const char *value)
Definition: ReservedNode.h:112
Aws::Redshift::Model::ReservedNode::WithReservedNodeOfferingId
ReservedNode & WithReservedNodeOfferingId(const char *value)
Definition: ReservedNode.h:127
Aws::Redshift::Model::ReservedNode::WithReservedNodeOfferingId
ReservedNode & WithReservedNodeOfferingId(const Aws::String &value)
Definition: ReservedNode.h:117
Aws::Redshift::Model::ReservedNode::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ReservedNode.h:193
AWSString.h
Aws::Redshift::Model::ReservedNode::WithStartTime
ReservedNode & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ReservedNode.h:199
Aws::Redshift::Model::ReservedNode::ReservedNodeIdHasBeenSet
bool ReservedNodeIdHasBeenSet() const
Definition: ReservedNode.h:56
Aws::Redshift::Model::RecurringCharge
Definition: RecurringCharge.h:32
Aws::Redshift::Model::ReservedNode::GetOfferingType
const Aws::String & GetOfferingType() const
Definition: ReservedNode.h:434
Aws::Redshift::Model::ReservedNode::SetOfferingType
void SetOfferingType(const Aws::String &value)
Definition: ReservedNode.h:446
Aws::Redshift::Model::ReservedNode::CurrencyCodeHasBeenSet
bool CurrencyCodeHasBeenSet() const
Definition: ReservedNode.h:279
Aws::Redshift::Model::ReservedNode::WithFixedPrice
ReservedNode & WithFixedPrice(double value)
Definition: ReservedNode.h:247
Aws::Redshift::Model::ReservedNode::GetReservedNodeOfferingType
const ReservedNodeOfferingType & GetReservedNodeOfferingType() const
Definition: ReservedNode.h:523
Aws::Redshift::Model::ReservedNode::SetUsagePrice
void SetUsagePrice(double value)
Definition: ReservedNode.h:263
Aws::Redshift::Model::ReservedNode::RecurringChargesHasBeenSet
bool RecurringChargesHasBeenSet() const
Definition: ReservedNode.h:487
Aws::Redshift::Model::ReservedNode::DurationHasBeenSet
bool DurationHasBeenSet() const
Definition: ReservedNode.h:216
Aws::Redshift::Model::ReservedNode::GetReservedNodeOfferingId
const Aws::String & GetReservedNodeOfferingId() const
Definition: ReservedNode.h:92
Aws::Redshift::Model::ReservedNode::FixedPriceHasBeenSet
bool FixedPriceHasBeenSet() const
Definition: ReservedNode.h:237
Aws::Redshift::Model::ReservedNode::GetNodeCount
int GetNodeCount() const
Definition: ReservedNode.h:315
Aws::Redshift::Model::ReservedNode::SetNodeType
void SetNodeType(Aws::String &&value)
Definition: ReservedNode.h:148
Aws::Redshift::Model::ReservedNode::WithReservedNodeId
ReservedNode & WithReservedNodeId(const Aws::String &value)
Definition: ReservedNode.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::ReservedNode::SetCurrencyCode
void SetCurrencyCode(const Aws::String &value)
Definition: ReservedNode.h:284
Aws::Redshift::Model::ReservedNode::GetReservedNodeId
const Aws::String & GetReservedNodeId() const
Definition: ReservedNode.h:51
Aws::Redshift::Model::ReservedNode::ReservedNode
ReservedNode()
Redshift_EXPORTS.h
Aws::Redshift::Model::ReservedNode::WithNodeType
ReservedNode & WithNodeType(Aws::String &&value)
Definition: ReservedNode.h:163
Aws::Redshift::Model::ReservedNode::WithRecurringCharges
ReservedNode & WithRecurringCharges(Aws::Vector< RecurringCharge > &&value)
Definition: ReservedNode.h:507
Aws::Redshift::Model::ReservedNode::SetReservedNodeId
void SetReservedNodeId(const char *value)
Definition: ReservedNode.h:71
Aws::Redshift::Model::ReservedNode::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ReservedNode.h:181
Aws::Redshift::Model::ReservedNode::WithCurrencyCode
ReservedNode & WithCurrencyCode(Aws::String &&value)
Definition: ReservedNode.h:304
Aws::Redshift::Model::ReservedNode::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ReservedNode.h:187
Aws::Redshift::Model::ReservedNode::SetRecurringCharges
void SetRecurringCharges(const Aws::Vector< RecurringCharge > &value)
Definition: ReservedNode.h:492
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Redshift::Model::ReservedNode::WithReservedNodeOfferingId
ReservedNode & WithReservedNodeOfferingId(Aws::String &&value)
Definition: ReservedNode.h:122
Aws::Redshift::Model::ReservedNode::UsagePriceHasBeenSet
bool UsagePriceHasBeenSet() const
Definition: ReservedNode.h:258
index
int index
Definition: cJSON.h:181
Aws::Redshift::Model::ReservedNode::SetState
void SetState(const Aws::String &value)
Definition: ReservedNode.h:367
Aws::Redshift::Model::ReservedNode::AddRecurringCharges
ReservedNode & AddRecurringCharges(RecurringCharge &&value)
Definition: ReservedNode.h:517
RecurringCharge.h
Aws::Redshift::Model::ReservedNode::SetCurrencyCode
void SetCurrencyCode(const char *value)
Definition: ReservedNode.h:294
ReservedNodeOfferingType.h
Aws::Redshift::Model::ReservedNode::WithOfferingType
ReservedNode & WithOfferingType(Aws::String &&value)
Definition: ReservedNode.h:470
Aws::Redshift::Model::ReservedNode::SetReservedNodeOfferingType
void SetReservedNodeOfferingType(ReservedNodeOfferingType &&value)
Definition: ReservedNode.h:538
Aws::Redshift::Model::ReservedNode::SetCurrencyCode
void SetCurrencyCode(Aws::String &&value)
Definition: ReservedNode.h:289
Aws::Redshift::Model::ReservedNode::NodeCountHasBeenSet
bool NodeCountHasBeenSet() const
Definition: ReservedNode.h:320
Aws::Redshift::Model::ReservedNode::WithNodeCount
ReservedNode & WithNodeCount(int value)
Definition: ReservedNode.h:330
Aws::Redshift::Model::ReservedNode::ReservedNode
ReservedNode(const Aws::Utils::Xml::XmlNode &xmlNode)
Aws::Redshift::Model::ReservedNode::SetNodeCount
void SetNodeCount(int value)
Definition: ReservedNode.h:325
Aws::Redshift::Model::ReservedNode::WithNodeType
ReservedNode & WithNodeType(const char *value)
Definition: ReservedNode.h:168
Aws::Redshift::Model::ReservedNode::WithReservedNodeId
ReservedNode & WithReservedNodeId(const char *value)
Definition: ReservedNode.h:86
Aws::Redshift::Model::ReservedNode::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ReservedNode.h:175
Aws::Redshift::Model::ReservedNode::SetFixedPrice
void SetFixedPrice(double value)
Definition: ReservedNode.h:242
Aws::Redshift::Model::ReservedNode::SetReservedNodeOfferingId
void SetReservedNodeOfferingId(const Aws::String &value)
Definition: ReservedNode.h:102
Aws::Redshift::Model::ReservedNode::WithOfferingType
ReservedNode & WithOfferingType(const char *value)
Definition: ReservedNode.h:476
Aws::Redshift::Model::ReservedNode::GetUsagePrice
double GetUsagePrice() const
Definition: ReservedNode.h:253