AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchApplyUpdateActionRequest.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 BatchApplyUpdateActionRequest();
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 "BatchApplyUpdateAction"; }
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 BatchApplyUpdateActionRequest& AddReplicationGroupIds(const Aws::String& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.push_back(value); return *this; }
51 inline BatchApplyUpdateActionRequest& AddReplicationGroupIds(Aws::String&& value) { m_replicationGroupIdsHasBeenSet = true; m_replicationGroupIds.push_back(std::move(value)); return *this; }
52 inline BatchApplyUpdateActionRequest& 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 BatchApplyUpdateActionRequest& AddCacheClusterIds(const Aws::String& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(value); return *this; }
66 inline BatchApplyUpdateActionRequest& AddCacheClusterIds(Aws::String&& value) { m_cacheClusterIdsHasBeenSet = true; m_cacheClusterIds.push_back(std::move(value)); return *this; }
67 inline BatchApplyUpdateActionRequest& 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 BatchApplyUpdateActionRequest& WithServiceUpdateName(Aws::String&& value) { SetServiceUpdateName(std::move(value)); return *this;}
81 inline BatchApplyUpdateActionRequest& 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
BatchApplyUpdateActionRequest & WithCacheClusterIds(const Aws::Vector< Aws::String > &value)
BatchApplyUpdateActionRequest & AddReplicationGroupIds(const char *value)
BatchApplyUpdateActionRequest & AddCacheClusterIds(const char *value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetReplicationGroupIds() const
void SetCacheClusterIds(const Aws::Vector< Aws::String > &value)
BatchApplyUpdateActionRequest & AddReplicationGroupIds(const Aws::String &value)
BatchApplyUpdateActionRequest & WithServiceUpdateName(const char *value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
BatchApplyUpdateActionRequest & WithReplicationGroupIds(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetCacheClusterIds() const
BatchApplyUpdateActionRequest & WithServiceUpdateName(Aws::String &&value)
BatchApplyUpdateActionRequest & WithCacheClusterIds(Aws::Vector< Aws::String > &&value)
BatchApplyUpdateActionRequest & WithReplicationGroupIds(Aws::Vector< Aws::String > &&value)
BatchApplyUpdateActionRequest & AddReplicationGroupIds(Aws::String &&value)
BatchApplyUpdateActionRequest & WithServiceUpdateName(const Aws::String &value)
void SetReplicationGroupIds(const Aws::Vector< Aws::String > &value)
BatchApplyUpdateActionRequest & AddCacheClusterIds(const Aws::String &value)
BatchApplyUpdateActionRequest & AddCacheClusterIds(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector