AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
UnprocessedUpdateAction.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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace ElastiCache {
20namespace Model {
21
29 public:
30 AWS_ELASTICACHE_API UnprocessedUpdateAction() = default;
31 AWS_ELASTICACHE_API UnprocessedUpdateAction(const Aws::Utils::Xml::XmlNode& xmlNode);
32 AWS_ELASTICACHE_API UnprocessedUpdateAction& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
33
34 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
35 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
36
38
41 inline const Aws::String& GetReplicationGroupId() const { return m_replicationGroupId; }
42 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
43 template <typename ReplicationGroupIdT = Aws::String>
44 void SetReplicationGroupId(ReplicationGroupIdT&& value) {
45 m_replicationGroupIdHasBeenSet = true;
46 m_replicationGroupId = std::forward<ReplicationGroupIdT>(value);
47 }
48 template <typename ReplicationGroupIdT = Aws::String>
49 UnprocessedUpdateAction& WithReplicationGroupId(ReplicationGroupIdT&& value) {
50 SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCacheClusterId() const { return m_cacheClusterId; }
60 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
61 template <typename CacheClusterIdT = Aws::String>
62 void SetCacheClusterId(CacheClusterIdT&& value) {
63 m_cacheClusterIdHasBeenSet = true;
64 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
65 }
66 template <typename CacheClusterIdT = Aws::String>
67 UnprocessedUpdateAction& WithCacheClusterId(CacheClusterIdT&& value) {
68 SetCacheClusterId(std::forward<CacheClusterIdT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetServiceUpdateName() const { return m_serviceUpdateName; }
78 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
79 template <typename ServiceUpdateNameT = Aws::String>
80 void SetServiceUpdateName(ServiceUpdateNameT&& value) {
81 m_serviceUpdateNameHasBeenSet = true;
82 m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value);
83 }
84 template <typename ServiceUpdateNameT = Aws::String>
85 UnprocessedUpdateAction& WithServiceUpdateName(ServiceUpdateNameT&& value) {
86 SetServiceUpdateName(std::forward<ServiceUpdateNameT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::String& GetErrorType() const { return m_errorType; }
96 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
97 template <typename ErrorTypeT = Aws::String>
98 void SetErrorType(ErrorTypeT&& value) {
99 m_errorTypeHasBeenSet = true;
100 m_errorType = std::forward<ErrorTypeT>(value);
101 }
102 template <typename ErrorTypeT = Aws::String>
104 SetErrorType(std::forward<ErrorTypeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
114 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
115 template <typename ErrorMessageT = Aws::String>
116 void SetErrorMessage(ErrorMessageT&& value) {
117 m_errorMessageHasBeenSet = true;
118 m_errorMessage = std::forward<ErrorMessageT>(value);
119 }
120 template <typename ErrorMessageT = Aws::String>
122 SetErrorMessage(std::forward<ErrorMessageT>(value));
123 return *this;
124 }
126 private:
127 Aws::String m_replicationGroupId;
128
129 Aws::String m_cacheClusterId;
130
131 Aws::String m_serviceUpdateName;
132
133 Aws::String m_errorType;
134
135 Aws::String m_errorMessage;
136 bool m_replicationGroupIdHasBeenSet = false;
137 bool m_cacheClusterIdHasBeenSet = false;
138 bool m_serviceUpdateNameHasBeenSet = false;
139 bool m_errorTypeHasBeenSet = false;
140 bool m_errorMessageHasBeenSet = false;
141};
142
143} // namespace Model
144} // namespace ElastiCache
145} // namespace Aws
AWS_ELASTICACHE_API UnprocessedUpdateAction()=default
UnprocessedUpdateAction & WithErrorMessage(ErrorMessageT &&value)
UnprocessedUpdateAction & WithCacheClusterId(CacheClusterIdT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
UnprocessedUpdateAction & WithReplicationGroupId(ReplicationGroupIdT &&value)
AWS_ELASTICACHE_API UnprocessedUpdateAction(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
UnprocessedUpdateAction & WithErrorType(ErrorTypeT &&value)
void SetReplicationGroupId(ReplicationGroupIdT &&value)
AWS_ELASTICACHE_API UnprocessedUpdateAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
UnprocessedUpdateAction & WithServiceUpdateName(ServiceUpdateNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream