AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchStopUpdateActionRequest.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace ElastiCache
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ELASTICACHE_API BatchStopUpdateActionRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "BatchStopUpdateAction"; }
32
33 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
37
38 public:
39
41
44 inline const Aws::Vector<Aws::String>& GetReplicationGroupIds() const{ return m_replicationGroupIds; }
45 inline bool ReplicationGroupIdsHasBeenSet() const { return m_replicationGroupIdsHasBeenSet; }
46 inline void SetReplicationGroupIds(const Aws::Vector<Aws::String>& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds = value; }
47 inline void SetReplicationGroupIds(Aws::Vector<Aws::String>&& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds = std::move(value); }
50 inline BatchStopUpdateActionRequest& AddReplicationGroupIds(const Aws::String& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.push_back(value); return *this; }
51 inline BatchStopUpdateActionRequest& AddReplicationGroupIds(Aws::String&& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.push_back(std::move(value)); return *this; }
52 inline BatchStopUpdateActionRequest& AddReplicationGroupIds(const char* value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.push_back(value); return *this; }
54
56
59 inline const Aws::Vector<Aws::String>& GetCacheClusterIds() const{ return m_cacheClusterIds; }
60 inline bool CacheClusterIdsHasBeenSet() const { return m_cacheClusterIdsHasBeenSet; }
61 inline void SetCacheClusterIds(const Aws::Vector<Aws::String>& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds = value; }
62 inline void SetCacheClusterIds(Aws::Vector<Aws::String>&& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds = std::move(value); }
65 inline BatchStopUpdateActionRequest& AddCacheClusterIds(const Aws::String& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(value); return *this; }
66 inline BatchStopUpdateActionRequest& AddCacheClusterIds(Aws::String&& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(std::move(value)); return *this; }
67 inline BatchStopUpdateActionRequest& AddCacheClusterIds(const char* value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(value); return *this; }
69
71
74 inline const Aws::String& GetServiceUpdateName() const{ return m_serviceUpdateName; }
75 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
76 inline void SetServiceUpdateName(const Aws::String& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = value; }
77 inline void SetServiceUpdateName(Aws::String&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::move(value); }
78 inline void SetServiceUpdateName(const char* value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName.assign(value); }
80 inline BatchStopUpdateActionRequest& WithServiceUpdateName(Aws::String&& value) { SetServiceUpdateName(std::move(value)); return *this;}
81 inline BatchStopUpdateActionRequest& WithServiceUpdateName(const char* value) { SetServiceUpdateName(value); return *this;}
83 private:
84
85 Aws::Vector<Aws::String> m_replicationGroupIds;
86 bool m_replicationGroupIdsHasBeenSet = false;
87
88 Aws::Vector<Aws::String> m_cacheClusterIds;
89 bool m_cacheClusterIdsHasBeenSet = false;
90
91 Aws::String m_serviceUpdateName;
92 bool m_serviceUpdateNameHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace ElastiCache
97} // namespace Aws
BatchStopUpdateActionRequest & WithReplicationGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetReplicationGroupIds() const
void SetCacheClusterIds(const Aws::Vector< Aws::String > &value)
BatchStopUpdateActionRequest & WithCacheClusterIds(const Aws::Vector< Aws::String > &value)
BatchStopUpdateActionRequest & WithServiceUpdateName(Aws::String &&value)
BatchStopUpdateActionRequest & WithCacheClusterIds(Aws::Vector< Aws::String > &&value)
BatchStopUpdateActionRequest & WithReplicationGroupIds(Aws::Vector< Aws::String > &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetReplicationGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetCacheClusterIds() const
BatchStopUpdateActionRequest & AddReplicationGroupIds(const Aws::String &value)
BatchStopUpdateActionRequest & AddReplicationGroupIds(Aws::String &&value)
BatchStopUpdateActionRequest & AddCacheClusterIds(Aws::String &&value)
BatchStopUpdateActionRequest & WithServiceUpdateName(const Aws::String &value)
BatchStopUpdateActionRequest & AddCacheClusterIds(const Aws::String &value)
BatchStopUpdateActionRequest & WithServiceUpdateName(const char *value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
BatchStopUpdateActionRequest & AddReplicationGroupIds(const char *value)
BatchStopUpdateActionRequest & AddCacheClusterIds(const char *value)
void SetReplicationGroupIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector