AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ProcessedUpdateAction.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10#include <aws/elasticache/model/UpdateActionStatus.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Xml {
17class XmlNode;
18} // namespace Xml
19} // namespace Utils
20namespace ElastiCache {
21namespace Model {
22
30 public:
31 AWS_ELASTICACHE_API ProcessedUpdateAction() = default;
32 AWS_ELASTICACHE_API ProcessedUpdateAction(const Aws::Utils::Xml::XmlNode& xmlNode);
33 AWS_ELASTICACHE_API ProcessedUpdateAction& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
34
35 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
36 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
37
39
42 inline const Aws::String& GetReplicationGroupId() const { return m_replicationGroupId; }
43 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
44 template <typename ReplicationGroupIdT = Aws::String>
45 void SetReplicationGroupId(ReplicationGroupIdT&& value) {
46 m_replicationGroupIdHasBeenSet = true;
47 m_replicationGroupId = std::forward<ReplicationGroupIdT>(value);
48 }
49 template <typename ReplicationGroupIdT = Aws::String>
50 ProcessedUpdateAction& WithReplicationGroupId(ReplicationGroupIdT&& value) {
51 SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetCacheClusterId() const { return m_cacheClusterId; }
61 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
62 template <typename CacheClusterIdT = Aws::String>
63 void SetCacheClusterId(CacheClusterIdT&& value) {
64 m_cacheClusterIdHasBeenSet = true;
65 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
66 }
67 template <typename CacheClusterIdT = Aws::String>
68 ProcessedUpdateAction& WithCacheClusterId(CacheClusterIdT&& value) {
69 SetCacheClusterId(std::forward<CacheClusterIdT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::String& GetServiceUpdateName() const { return m_serviceUpdateName; }
79 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
80 template <typename ServiceUpdateNameT = Aws::String>
81 void SetServiceUpdateName(ServiceUpdateNameT&& value) {
82 m_serviceUpdateNameHasBeenSet = true;
83 m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value);
84 }
85 template <typename ServiceUpdateNameT = Aws::String>
86 ProcessedUpdateAction& WithServiceUpdateName(ServiceUpdateNameT&& value) {
87 SetServiceUpdateName(std::forward<ServiceUpdateNameT>(value));
88 return *this;
89 }
91
93
96 inline UpdateActionStatus GetUpdateActionStatus() const { return m_updateActionStatus; }
97 inline bool UpdateActionStatusHasBeenSet() const { return m_updateActionStatusHasBeenSet; }
99 m_updateActionStatusHasBeenSet = true;
100 m_updateActionStatus = value;
101 }
104 return *this;
105 }
107 private:
108 Aws::String m_replicationGroupId;
109
110 Aws::String m_cacheClusterId;
111
112 Aws::String m_serviceUpdateName;
113
115 bool m_replicationGroupIdHasBeenSet = false;
116 bool m_cacheClusterIdHasBeenSet = false;
117 bool m_serviceUpdateNameHasBeenSet = false;
118 bool m_updateActionStatusHasBeenSet = false;
119};
120
121} // namespace Model
122} // namespace ElastiCache
123} // namespace Aws
ProcessedUpdateAction & WithServiceUpdateName(ServiceUpdateNameT &&value)
ProcessedUpdateAction & WithReplicationGroupId(ReplicationGroupIdT &&value)
AWS_ELASTICACHE_API ProcessedUpdateAction()=default
void SetServiceUpdateName(ServiceUpdateNameT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICACHE_API ProcessedUpdateAction(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetReplicationGroupId(ReplicationGroupIdT &&value)
ProcessedUpdateAction & WithCacheClusterId(CacheClusterIdT &&value)
AWS_ELASTICACHE_API ProcessedUpdateAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
ProcessedUpdateAction & WithUpdateActionStatus(UpdateActionStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream