AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetServiceUpdateName(const Aws::String& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = value; }
48 inline void SetServiceUpdateName(Aws::String&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::move(value); }
49 inline void SetServiceUpdateName(const char* value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName.assign(value); }
51 inline DescribeServiceUpdatesRequest& WithServiceUpdateName(Aws::String&& value) { SetServiceUpdateName(std::move(value)); return *this;}
52 inline DescribeServiceUpdatesRequest& WithServiceUpdateName(const char* value) { SetServiceUpdateName(value); return *this;}
54
56
59 inline const Aws::Vector<ServiceUpdateStatus>& GetServiceUpdateStatus() const{ return m_serviceUpdateStatus; }
60 inline bool ServiceUpdateStatusHasBeenSet() const { return m_serviceUpdateStatusHasBeenSet; }
61 inline void SetServiceUpdateStatus(const Aws::Vector<ServiceUpdateStatus>& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus = value; }
62 inline void SetServiceUpdateStatus(Aws::Vector<ServiceUpdateStatus>&& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus = std::move(value); }
65 inline DescribeServiceUpdatesRequest& AddServiceUpdateStatus(const ServiceUpdateStatus& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus.push_back(value); return *this; }
66 inline DescribeServiceUpdatesRequest& AddServiceUpdateStatus(ServiceUpdateStatus&& value) { m_serviceUpdateStatusHasBeenSet = true; m_serviceUpdateStatus.push_back(std::move(value)); return *this; }
68
70
73 inline int GetMaxRecords() const{ return m_maxRecords; }
74 inline bool MaxRecordsHasBeenSet() const { return m_maxRecordsHasBeenSet; }
75 inline void SetMaxRecords(int value) { m_maxRecordsHasBeenSet = true; m_maxRecords = value; }
76 inline DescribeServiceUpdatesRequest& WithMaxRecords(int value) { SetMaxRecords(value); return *this;}
78
80
86 inline const Aws::String& GetMarker() const{ return m_marker; }
87 inline bool MarkerHasBeenSet() const { return m_markerHasBeenSet; }
88 inline void SetMarker(const Aws::String& value) { m_markerHasBeenSet = true; m_marker = value; }
89 inline void SetMarker(Aws::String&& value) { m_markerHasBeenSet = true; m_marker = std::move(value); }
90 inline void SetMarker(const char* value) { m_markerHasBeenSet = true; m_marker.assign(value); }
91 inline DescribeServiceUpdatesRequest& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
92 inline DescribeServiceUpdatesRequest& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
93 inline DescribeServiceUpdatesRequest& WithMarker(const char* value) { SetMarker(value); return *this;}
95 private:
96
97 Aws::String m_serviceUpdateName;
98 bool m_serviceUpdateNameHasBeenSet = false;
99
100 Aws::Vector<ServiceUpdateStatus> m_serviceUpdateStatus;
101 bool m_serviceUpdateStatusHasBeenSet = false;
102
103 int m_maxRecords;
104 bool m_maxRecordsHasBeenSet = false;
105
106 Aws::String m_marker;
107 bool m_markerHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ElastiCache
112} // namespace Aws
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeServiceUpdatesRequest & AddServiceUpdateStatus(ServiceUpdateStatus &&value)
DescribeServiceUpdatesRequest & WithServiceUpdateStatus(const Aws::Vector< ServiceUpdateStatus > &value)
DescribeServiceUpdatesRequest & WithServiceUpdateName(const Aws::String &value)
DescribeServiceUpdatesRequest & WithMarker(const char *value)
void SetServiceUpdateStatus(const Aws::Vector< ServiceUpdateStatus > &value)
DescribeServiceUpdatesRequest & WithMarker(const Aws::String &value)
void SetServiceUpdateStatus(Aws::Vector< ServiceUpdateStatus > &&value)
const Aws::Vector< ServiceUpdateStatus > & GetServiceUpdateStatus() const
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DescribeServiceUpdatesRequest & AddServiceUpdateStatus(const ServiceUpdateStatus &value)
DescribeServiceUpdatesRequest & WithMarker(Aws::String &&value)
DescribeServiceUpdatesRequest & WithServiceUpdateName(Aws::String &&value)
DescribeServiceUpdatesRequest & WithServiceUpdateName(const char *value)
DescribeServiceUpdatesRequest & WithServiceUpdateStatus(Aws::Vector< ServiceUpdateStatus > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector