AWS SDK for C++  1.9.66
AWS SDK for C++
DescribeReservedCacheNodesOfferingsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ElastiCache
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeReservedCacheNodesOfferings"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  protected:
39  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
40 
41  public:
42 
48  inline const Aws::String& GetReservedCacheNodesOfferingId() const{ return m_reservedCacheNodesOfferingId; }
49 
55  inline bool ReservedCacheNodesOfferingIdHasBeenSet() const { return m_reservedCacheNodesOfferingIdHasBeenSet; }
56 
62  inline void SetReservedCacheNodesOfferingId(const Aws::String& value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId = value; }
63 
69  inline void SetReservedCacheNodesOfferingId(Aws::String&& value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId = std::move(value); }
70 
76  inline void SetReservedCacheNodesOfferingId(const char* value) { m_reservedCacheNodesOfferingIdHasBeenSet = true; m_reservedCacheNodesOfferingId.assign(value); }
77 
83  inline DescribeReservedCacheNodesOfferingsRequest& WithReservedCacheNodesOfferingId(const Aws::String& value) { SetReservedCacheNodesOfferingId(value); return *this;}
84 
90  inline DescribeReservedCacheNodesOfferingsRequest& WithReservedCacheNodesOfferingId(Aws::String&& value) { SetReservedCacheNodesOfferingId(std::move(value)); return *this;}
91 
97  inline DescribeReservedCacheNodesOfferingsRequest& WithReservedCacheNodesOfferingId(const char* value) { SetReservedCacheNodesOfferingId(value); return *this;}
98 
99 
161  inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
162 
224  inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
225 
287  inline void SetCacheNodeType(const Aws::String& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
288 
350  inline void SetCacheNodeType(Aws::String&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::move(value); }
351 
413  inline void SetCacheNodeType(const char* value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType.assign(value); }
414 
476  inline DescribeReservedCacheNodesOfferingsRequest& WithCacheNodeType(const Aws::String& value) { SetCacheNodeType(value); return *this;}
477 
539  inline DescribeReservedCacheNodesOfferingsRequest& WithCacheNodeType(Aws::String&& value) { SetCacheNodeType(std::move(value)); return *this;}
540 
602  inline DescribeReservedCacheNodesOfferingsRequest& WithCacheNodeType(const char* value) { SetCacheNodeType(value); return *this;}
603 
604 
610  inline const Aws::String& GetDuration() const{ return m_duration; }
611 
617  inline bool DurationHasBeenSet() const { return m_durationHasBeenSet; }
618 
624  inline void SetDuration(const Aws::String& value) { m_durationHasBeenSet = true; m_duration = value; }
625 
631  inline void SetDuration(Aws::String&& value) { m_durationHasBeenSet = true; m_duration = std::move(value); }
632 
638  inline void SetDuration(const char* value) { m_durationHasBeenSet = true; m_duration.assign(value); }
639 
645  inline DescribeReservedCacheNodesOfferingsRequest& WithDuration(const Aws::String& value) { SetDuration(value); return *this;}
646 
652  inline DescribeReservedCacheNodesOfferingsRequest& WithDuration(Aws::String&& value) { SetDuration(std::move(value)); return *this;}
653 
659  inline DescribeReservedCacheNodesOfferingsRequest& WithDuration(const char* value) { SetDuration(value); return *this;}
660 
661 
666  inline const Aws::String& GetProductDescription() const{ return m_productDescription; }
667 
672  inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
673 
678  inline void SetProductDescription(const Aws::String& value) { m_productDescriptionHasBeenSet = true; m_productDescription = value; }
679 
684  inline void SetProductDescription(Aws::String&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = std::move(value); }
685 
690  inline void SetProductDescription(const char* value) { m_productDescriptionHasBeenSet = true; m_productDescription.assign(value); }
691 
696  inline DescribeReservedCacheNodesOfferingsRequest& WithProductDescription(const Aws::String& value) { SetProductDescription(value); return *this;}
697 
702  inline DescribeReservedCacheNodesOfferingsRequest& WithProductDescription(Aws::String&& value) { SetProductDescription(std::move(value)); return *this;}
703 
708  inline DescribeReservedCacheNodesOfferingsRequest& WithProductDescription(const char* value) { SetProductDescription(value); return *this;}
709 
710 
717  inline const Aws::String& GetOfferingType() const{ return m_offeringType; }
718 
725  inline bool OfferingTypeHasBeenSet() const { return m_offeringTypeHasBeenSet; }
726 
733  inline void SetOfferingType(const Aws::String& value) { m_offeringTypeHasBeenSet = true; m_offeringType = value; }
734 
741  inline void SetOfferingType(Aws::String&& value) { m_offeringTypeHasBeenSet = true; m_offeringType = std::move(value); }
742 
749  inline void SetOfferingType(const char* value) { m_offeringTypeHasBeenSet = true; m_offeringType.assign(value); }
750 
757  inline DescribeReservedCacheNodesOfferingsRequest& WithOfferingType(const Aws::String& value) { SetOfferingType(value); return *this;}
758 
765  inline DescribeReservedCacheNodesOfferingsRequest& WithOfferingType(Aws::String&& value) { SetOfferingType(std::move(value)); return *this;}
766 
773  inline DescribeReservedCacheNodesOfferingsRequest& WithOfferingType(const char* value) { SetOfferingType(value); return *this;}
774 
775 
782  inline int GetMaxRecords() const{ return m_maxRecords; }
783 
790  inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
791 
798  inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
799 
806  inline DescribeReservedCacheNodesOfferingsRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
807 
808 
815  inline const Aws::String& GetMarker() const{ return m_marker; }
816 
823  inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
824 
831  inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
832 
839  inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
840 
847  inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
848 
855  inline DescribeReservedCacheNodesOfferingsRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
856 
863  inline DescribeReservedCacheNodesOfferingsRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
864 
871  inline DescribeReservedCacheNodesOfferingsRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
872 
873  private:
874 
875  Aws::String m_reservedCacheNodesOfferingId;
876  bool m_reservedCacheNodesOfferingIdHasBeenSet;
877 
878  Aws::String m_cacheNodeType;
879  bool m_cacheNodeTypeHasBeenSet;
880 
881  Aws::String m_duration;
882  bool m_durationHasBeenSet;
883 
884  Aws::String m_productDescription;
885  bool m_productDescriptionHasBeenSet;
886 
887  Aws::String m_offeringType;
888  bool m_offeringTypeHasBeenSet;
889 
890  int m_maxRecords;
891  bool m_maxRecordsHasBeenSet;
892 
893  Aws::String m_marker;
894  bool m_markerHasBeenSet;
895  };
896 
897 } // namespace Model
898 } // namespace ElastiCache
899 } // namespace Aws
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:831
Aws::Http::URI
Definition: URI.h:32
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeReservedCacheNodesOfferingsRequest.h:34
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::MaxRecordsHasBeenSet
bool MaxRecordsHasBeenSet() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:790
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::ProductDescriptionHasBeenSet
bool ProductDescriptionHasBeenSet() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:672
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetProductDescription
void SetProductDescription(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:678
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::GetReservedCacheNodesOfferingId
const Aws::String & GetReservedCacheNodesOfferingId() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:48
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetProductDescription
void SetProductDescription(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:690
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetMarker
void SetMarker(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:847
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithDuration
DescribeReservedCacheNodesOfferingsRequest & WithDuration(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:645
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::MarkerHasBeenSet
bool MarkerHasBeenSet() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:823
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetReservedCacheNodesOfferingId
void SetReservedCacheNodesOfferingId(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:62
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetOfferingType
void SetOfferingType(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:733
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::DurationHasBeenSet
bool DurationHasBeenSet() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:617
ElastiCacheRequest.h
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithCacheNodeType
DescribeReservedCacheNodesOfferingsRequest & WithCacheNodeType(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:602
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetDuration
void SetDuration(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:638
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithMarker
DescribeReservedCacheNodesOfferingsRequest & WithMarker(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:863
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithCacheNodeType
DescribeReservedCacheNodesOfferingsRequest & WithCacheNodeType(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:539
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithProductDescription
DescribeReservedCacheNodesOfferingsRequest & WithProductDescription(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:696
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithMaxRecords
DescribeReservedCacheNodesOfferingsRequest & WithMaxRecords(int value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:806
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetOfferingType
void SetOfferingType(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:749
ElastiCache_EXPORTS.h
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::GetDuration
const Aws::String & GetDuration() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:610
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetDuration
void SetDuration(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:624
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetCacheNodeType
void SetCacheNodeType(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:413
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithReservedCacheNodesOfferingId
DescribeReservedCacheNodesOfferingsRequest & WithReservedCacheNodesOfferingId(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:97
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetMaxRecords
void SetMaxRecords(int value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:798
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithOfferingType
DescribeReservedCacheNodesOfferingsRequest & WithOfferingType(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:765
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithMarker
DescribeReservedCacheNodesOfferingsRequest & WithMarker(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:855
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithProductDescription
DescribeReservedCacheNodesOfferingsRequest & WithProductDescription(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:708
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::ReservedCacheNodesOfferingIdHasBeenSet
bool ReservedCacheNodesOfferingIdHasBeenSet() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:55
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:839
AWSString.h
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetReservedCacheNodesOfferingId
void SetReservedCacheNodesOfferingId(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:76
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::GetMaxRecords
int GetMaxRecords() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:782
AWS_ELASTICACHE_API
#define AWS_ELASTICACHE_API
Definition: ElastiCache_EXPORTS.h:28
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetReservedCacheNodesOfferingId
void SetReservedCacheNodesOfferingId(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:69
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::CacheNodeTypeHasBeenSet
bool CacheNodeTypeHasBeenSet() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:224
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetCacheNodeType
void SetCacheNodeType(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:350
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithProductDescription
DescribeReservedCacheNodesOfferingsRequest & WithProductDescription(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:702
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:815
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest
Definition: DescribeReservedCacheNodesOfferingsRequest.h:26
Aws
Definition: AccessManagementClient.h:15
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::DescribeReservedCacheNodesOfferingsRequest
DescribeReservedCacheNodesOfferingsRequest()
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithCacheNodeType
DescribeReservedCacheNodesOfferingsRequest & WithCacheNodeType(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:476
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithDuration
DescribeReservedCacheNodesOfferingsRequest & WithDuration(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:652
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithDuration
DescribeReservedCacheNodesOfferingsRequest & WithDuration(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:659
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetDuration
void SetDuration(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:631
Aws::ElastiCache::ElastiCacheRequest
Definition: ElastiCacheRequest.h:17
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithOfferingType
DescribeReservedCacheNodesOfferingsRequest & WithOfferingType(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:773
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::GetCacheNodeType
const Aws::String & GetCacheNodeType() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:161
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithReservedCacheNodesOfferingId
DescribeReservedCacheNodesOfferingsRequest & WithReservedCacheNodesOfferingId(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:83
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::GetOfferingType
const Aws::String & GetOfferingType() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:717
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::GetProductDescription
const Aws::String & GetProductDescription() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:666
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithOfferingType
DescribeReservedCacheNodesOfferingsRequest & WithOfferingType(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:757
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetCacheNodeType
void SetCacheNodeType(const Aws::String &value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:287
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetOfferingType
void SetOfferingType(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:741
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::SetProductDescription
void SetProductDescription(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:684
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithReservedCacheNodesOfferingId
DescribeReservedCacheNodesOfferingsRequest & WithReservedCacheNodesOfferingId(Aws::String &&value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:90
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::WithMarker
DescribeReservedCacheNodesOfferingsRequest & WithMarker(const char *value)
Definition: DescribeReservedCacheNodesOfferingsRequest.h:871
Aws::ElastiCache::Model::DescribeReservedCacheNodesOfferingsRequest::OfferingTypeHasBeenSet
bool OfferingTypeHasBeenSet() const
Definition: DescribeReservedCacheNodesOfferingsRequest.h:725