AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DescribeServiceUpdatesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCacheRequest.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/ServiceUpdateStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace ElastiCache {
17namespace Model {
18
22 public:
23 AWS_ELASTICACHE_API DescribeServiceUpdatesRequest() = default;
24
25 // Service request name is the Operation name which will send this request out,
26 // each operation should has unique request name, so that we can get operation's name from this request.
27 // Note: this is not true for response, multiple operations may have the same response name,
28 // so we can not get operation's name from response.
29 inline virtual const char* GetServiceRequestName() const override { return "DescribeServiceUpdates"; }
30
31 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
32
33 protected:
34 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
35
36 public:
38
41 inline const Aws::String& GetServiceUpdateName() const { return m_serviceUpdateName; }
42 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
43 template <typename ServiceUpdateNameT = Aws::String>
44 void SetServiceUpdateName(ServiceUpdateNameT&& value) {
45 m_serviceUpdateNameHasBeenSet = true;
46 m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value);
47 }
48 template <typename ServiceUpdateNameT = Aws::String>
50 SetServiceUpdateName(std::forward<ServiceUpdateNameT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<ServiceUpdateStatus>& GetServiceUpdateStatus() const { return m_serviceUpdateStatus; }
60 inline bool ServiceUpdateStatusHasBeenSet() const { return m_serviceUpdateStatusHasBeenSet; }
61 template <typename ServiceUpdateStatusT = Aws::Vector<ServiceUpdateStatus>>
62 void SetServiceUpdateStatus(ServiceUpdateStatusT&& value) {
63 m_serviceUpdateStatusHasBeenSet = true;
64 m_serviceUpdateStatus = std::forward<ServiceUpdateStatusT>(value);
65 }
66 template <typename ServiceUpdateStatusT = Aws::Vector<ServiceUpdateStatus>>
68 SetServiceUpdateStatus(std::forward<ServiceUpdateStatusT>(value));
69 return *this;
70 }
72 m_serviceUpdateStatusHasBeenSet = true;
73 m_serviceUpdateStatus.push_back(value);
74 return *this;
75 }
77
79
82 inline int GetMaxRecords() const { return m_maxRecords; }
83 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
84 inline void SetMaxRecords(int value) {
85 m_maxRecordsHasBeenSet = true;
86 m_maxRecords = value;
87 }
89 SetMaxRecords(value);
90 return *this;
91 }
93
95
101 inline const Aws::String& GetMarker() const { return m_marker; }
102 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
103 template <typename MarkerT = Aws::String>
104 void SetMarker(MarkerT&& value) {
105 m_markerHasBeenSet = true;
106 m_marker = std::forward<MarkerT>(value);
107 }
108 template <typename MarkerT = Aws::String>
110 SetMarker(std::forward<MarkerT>(value));
111 return *this;
112 }
114 private:
115 Aws::String m_serviceUpdateName;
116
117 Aws::Vector<ServiceUpdateStatus> m_serviceUpdateStatus;
118
119 int m_maxRecords{0};
120
121 Aws::String m_marker;
122 bool m_serviceUpdateNameHasBeenSet = false;
123 bool m_serviceUpdateStatusHasBeenSet = false;
124 bool m_maxRecordsHasBeenSet = false;
125 bool m_markerHasBeenSet = false;
126};
127
128} // namespace Model
129} // namespace ElastiCache
130} // namespace Aws
DescribeServiceUpdatesRequest & WithMarker(MarkerT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeServiceUpdatesRequest & AddServiceUpdateStatus(ServiceUpdateStatus value)
DescribeServiceUpdatesRequest & WithServiceUpdateStatus(ServiceUpdateStatusT &&value)
AWS_ELASTICACHE_API DescribeServiceUpdatesRequest()=default
const Aws::Vector< ServiceUpdateStatus > & GetServiceUpdateStatus() const
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeServiceUpdatesRequest & WithServiceUpdateName(ServiceUpdateNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector