AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchStopUpdateActionRequest.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
12#include <utility>
13
14namespace Aws {
15namespace ElastiCache {
16namespace Model {
17
21 public:
22 AWS_ELASTICACHE_API BatchStopUpdateActionRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "BatchStopUpdateAction"; }
29
30 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
31
32 protected:
33 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
34
35 public:
37
40 inline const Aws::Vector<Aws::String>& GetReplicationGroupIds() const { return m_replicationGroupIds; }
41 inline bool ReplicationGroupIdsHasBeenSet() const { return m_replicationGroupIdsHasBeenSet; }
42 template <typename ReplicationGroupIdsT = Aws::Vector<Aws::String>>
43 void SetReplicationGroupIds(ReplicationGroupIdsT&& value) {
44 m_replicationGroupIdsHasBeenSet = true;
45 m_replicationGroupIds = std::forward<ReplicationGroupIdsT>(value);
46 }
47 template <typename ReplicationGroupIdsT = Aws::Vector<Aws::String>>
49 SetReplicationGroupIds(std::forward<ReplicationGroupIdsT>(value));
50 return *this;
51 }
52 template <typename ReplicationGroupIdsT = Aws::String>
54 m_replicationGroupIdsHasBeenSet = true;
55 m_replicationGroupIds.emplace_back(std::forward<ReplicationGroupIdsT>(value));
56 return *this;
57 }
59
61
64 inline const Aws::Vector<Aws::String>& GetCacheClusterIds() const { return m_cacheClusterIds; }
65 inline bool CacheClusterIdsHasBeenSet() const { return m_cacheClusterIdsHasBeenSet; }
66 template <typename CacheClusterIdsT = Aws::Vector<Aws::String>>
67 void SetCacheClusterIds(CacheClusterIdsT&& value) {
68 m_cacheClusterIdsHasBeenSet = true;
69 m_cacheClusterIds = std::forward<CacheClusterIdsT>(value);
70 }
71 template <typename CacheClusterIdsT = Aws::Vector<Aws::String>>
73 SetCacheClusterIds(std::forward<CacheClusterIdsT>(value));
74 return *this;
75 }
76 template <typename CacheClusterIdsT = Aws::String>
78 m_cacheClusterIdsHasBeenSet = true;
79 m_cacheClusterIds.emplace_back(std::forward<CacheClusterIdsT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetServiceUpdateName() const { return m_serviceUpdateName; }
89 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
90 template <typename ServiceUpdateNameT = Aws::String>
91 void SetServiceUpdateName(ServiceUpdateNameT&& value) {
92 m_serviceUpdateNameHasBeenSet = true;
93 m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value);
94 }
95 template <typename ServiceUpdateNameT = Aws::String>
97 SetServiceUpdateName(std::forward<ServiceUpdateNameT>(value));
98 return *this;
99 }
101 private:
102 Aws::Vector<Aws::String> m_replicationGroupIds;
103
104 Aws::Vector<Aws::String> m_cacheClusterIds;
105
106 Aws::String m_serviceUpdateName;
107 bool m_replicationGroupIdsHasBeenSet = false;
108 bool m_cacheClusterIdsHasBeenSet = false;
109 bool m_serviceUpdateNameHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace ElastiCache
114} // namespace Aws
BatchStopUpdateActionRequest & WithServiceUpdateName(ServiceUpdateNameT &&value)
BatchStopUpdateActionRequest & WithReplicationGroupIds(ReplicationGroupIdsT &&value)
const Aws::Vector< Aws::String > & GetReplicationGroupIds() const
AWS_ELASTICACHE_API BatchStopUpdateActionRequest()=default
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
BatchStopUpdateActionRequest & AddCacheClusterIds(CacheClusterIdsT &&value)
const Aws::Vector< Aws::String > & GetCacheClusterIds() const
BatchStopUpdateActionRequest & WithCacheClusterIds(CacheClusterIdsT &&value)
BatchStopUpdateActionRequest & AddReplicationGroupIds(ReplicationGroupIdsT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector