AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UnprocessedUpdateAction.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElastiCache
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICACHE_API UnprocessedUpdateAction() = default;
36 AWS_ELASTICACHE_API UnprocessedUpdateAction(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICACHE_API UnprocessedUpdateAction& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetReplicationGroupId() const { return m_replicationGroupId; }
48 inline bool ReplicationGroupIdHasBeenSet() const { return m_replicationGroupIdHasBeenSet; }
49 template<typename ReplicationGroupIdT = Aws::String>
50 void SetReplicationGroupId(ReplicationGroupIdT&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::forward<ReplicationGroupIdT>(value); }
51 template<typename ReplicationGroupIdT = Aws::String>
52 UnprocessedUpdateAction& WithReplicationGroupId(ReplicationGroupIdT&& value) { SetReplicationGroupId(std::forward<ReplicationGroupIdT>(value)); return *this;}
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) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::forward<CacheClusterIdT>(value); }
63 template<typename CacheClusterIdT = Aws::String>
64 UnprocessedUpdateAction& WithCacheClusterId(CacheClusterIdT&& value) { SetCacheClusterId(std::forward<CacheClusterIdT>(value)); return *this;}
66
68
71 inline const Aws::String& GetServiceUpdateName() const { return m_serviceUpdateName; }
72 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
73 template<typename ServiceUpdateNameT = Aws::String>
74 void SetServiceUpdateName(ServiceUpdateNameT&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::forward<ServiceUpdateNameT>(value); }
75 template<typename ServiceUpdateNameT = Aws::String>
76 UnprocessedUpdateAction& WithServiceUpdateName(ServiceUpdateNameT&& value) { SetServiceUpdateName(std::forward<ServiceUpdateNameT>(value)); return *this;}
78
80
83 inline const Aws::String& GetErrorType() const { return m_errorType; }
84 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
85 template<typename ErrorTypeT = Aws::String>
86 void SetErrorType(ErrorTypeT&& value) { m_errorTypeHasBeenSet = true; m_errorType = std::forward<ErrorTypeT>(value); }
87 template<typename ErrorTypeT = Aws::String>
88 UnprocessedUpdateAction& WithErrorType(ErrorTypeT&& value) { SetErrorType(std::forward<ErrorTypeT>(value)); return *this;}
90
92
95 inline const Aws::String& GetErrorMessage() const { return m_errorMessage; }
96 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
97 template<typename ErrorMessageT = Aws::String>
98 void SetErrorMessage(ErrorMessageT&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::forward<ErrorMessageT>(value); }
99 template<typename ErrorMessageT = Aws::String>
100 UnprocessedUpdateAction& WithErrorMessage(ErrorMessageT&& value) { SetErrorMessage(std::forward<ErrorMessageT>(value)); return *this;}
102 private:
103
104 Aws::String m_replicationGroupId;
105 bool m_replicationGroupIdHasBeenSet = false;
106
107 Aws::String m_cacheClusterId;
108 bool m_cacheClusterIdHasBeenSet = false;
109
110 Aws::String m_serviceUpdateName;
111 bool m_serviceUpdateNameHasBeenSet = false;
112
113 Aws::String m_errorType;
114 bool m_errorTypeHasBeenSet = false;
115
116 Aws::String m_errorMessage;
117 bool m_errorMessageHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace ElastiCache
122} // 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