AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ProcessedUpdateAction.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticache/model/UpdateActionStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElastiCache
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_ELASTICACHE_API ProcessedUpdateAction() = default;
37 AWS_ELASTICACHE_API ProcessedUpdateAction(const Aws::Utils::Xml::XmlNode& xmlNode);
38 AWS_ELASTICACHE_API ProcessedUpdateAction& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
39
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
48 inline const Aws::String& GetReplicationGroupId() const { return m_replicationGroupId; }
49 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
50 template<typename ReplicationGroupIdT = Aws::String>
51 void SetReplicationGroupId(ReplicationGroupIdT&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::forward<ReplicationGroupIdT>(value); }
52 template<typename ReplicationGroupIdT = Aws::String>
53 ProcessedUpdateAction& WithReplicationGroupId(ReplicationGroupIdT&& value) { SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value)); return *this;}
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) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::forward<CacheClusterIdT>(value); }
64 template<typename CacheClusterIdT = Aws::String>
65 ProcessedUpdateAction& WithCacheClusterId(CacheClusterIdT&& value) { SetCacheClusterId(std::forward<CacheClusterIdT>(value)); return *this;}
67
69
72 inline const Aws::String& GetServiceUpdateName() const { return m_serviceUpdateName; }
73 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
74 template<typename ServiceUpdateNameT = Aws::String>
75 void SetServiceUpdateName(ServiceUpdateNameT&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value); }
76 template<typename ServiceUpdateNameT = Aws::String>
77 ProcessedUpdateAction& WithServiceUpdateName(ServiceUpdateNameT&& value) { SetServiceUpdateName(std::forward<ServiceUpdateNameT>(value)); return *this;}
79
81
84 inline UpdateActionStatus GetUpdateActionStatus() const { return m_updateActionStatus; }
85 inline bool UpdateActionStatusHasBeenSet() const { return m_updateActionStatusHasBeenSet; }
86 inline void SetUpdateActionStatus(UpdateActionStatus value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus = value; }
89 private:
90
91 Aws::String m_replicationGroupId;
92 bool m_replicationGroupIdHasBeenSet = false;
93
94 Aws::String m_cacheClusterId;
95 bool m_cacheClusterIdHasBeenSet = false;
96
97 Aws::String m_serviceUpdateName;
98 bool m_serviceUpdateNameHasBeenSet = false;
99
101 bool m_updateActionStatusHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace ElastiCache
106} // 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