AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DescribeServiceUpdatesRequest.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/ServiceUpdateStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElastiCache
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ELASTICACHE_API DescribeServiceUpdatesRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeServiceUpdates"; }
33
34 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
45 inline const Aws::String& GetServiceUpdateName() const { return m_serviceUpdateName; }
46 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
47 template<typename ServiceUpdateNameT = Aws::String>
48 void SetServiceUpdateName(ServiceUpdateNameT&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value); }
49 template<typename ServiceUpdateNameT = Aws::String>
50 DescribeServiceUpdatesRequest& WithServiceUpdateName(ServiceUpdateNameT&& value) { SetServiceUpdateName(std::forward<ServiceUpdateNameT>(value)); return *this;}
52
54
57 inline const Aws::Vector<ServiceUpdateStatus>& GetServiceUpdateStatus() const { return m_serviceUpdateStatus; }
58 inline bool ServiceUpdateStatusHasBeenSet() const { return m_serviceUpdateStatusHasBeenSet; }
59 template<typename ServiceUpdateStatusT = Aws::Vector<ServiceUpdateStatus>>
60 void SetServiceUpdateStatus(ServiceUpdateStatusT&& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus = std::forward<ServiceUpdateStatusT>(value); }
61 template<typename ServiceUpdateStatusT = Aws::Vector<ServiceUpdateStatus>>
62 DescribeServiceUpdatesRequest& WithServiceUpdateStatus(ServiceUpdateStatusT&& value) { SetServiceUpdateStatus(std::forward<ServiceUpdateStatusT>(value)); return *this;}
63 inline DescribeServiceUpdatesRequest& AddServiceUpdateStatus(ServiceUpdateStatus value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus.push_back(value); return *this; }
65
67
70 inline int GetMaxRecords() const { return m_maxRecords; }
71 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
72 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
73 inline DescribeServiceUpdatesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
75
77
83 inline const Aws::String& GetMarker() const { return m_marker; }
84 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
85 template<typename MarkerT = Aws::String>
86 void SetMarker(MarkerT&& value) { m_markerHasBeenSet = true; m_marker = std::forward<MarkerT>(value); }
87 template<typename MarkerT = Aws::String>
88 DescribeServiceUpdatesRequest& WithMarker(MarkerT&& value) { SetMarker(std::forward<MarkerT>(value)); return *this;}
90 private:
91
92 Aws::String m_serviceUpdateName;
93 bool m_serviceUpdateNameHasBeenSet = false;
94
95 Aws::Vector<ServiceUpdateStatus> m_serviceUpdateStatus;
96 bool m_serviceUpdateStatusHasBeenSet = false;
97
98 int m_maxRecords{0};
99 bool m_maxRecordsHasBeenSet = false;
100
101 Aws::String m_marker;
102 bool m_markerHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace ElastiCache
107} // 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