AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReplicationGroupId(const Aws::String& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; }
50 inline void SetReplicationGroupId(Aws::String&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::move(value); }
51 inline void SetReplicationGroupId(const char* value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId.assign(value); }
53 inline UnprocessedUpdateAction& WithReplicationGroupId(Aws::String&& value) { SetReplicationGroupId(std::move(value)); return *this;}
54 inline UnprocessedUpdateAction& WithReplicationGroupId(const char* value) { SetReplicationGroupId(value); return *this;}
56
58
61 inline const Aws::String& GetCacheClusterId() const{ return m_cacheClusterId; }
62 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
63 inline void SetCacheClusterId(const Aws::String& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; }
64 inline void SetCacheClusterId(Aws::String&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::move(value); }
65 inline void SetCacheClusterId(const char* value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId.assign(value); }
66 inline UnprocessedUpdateAction& WithCacheClusterId(const Aws::String& value) { SetCacheClusterId(value); return *this;}
67 inline UnprocessedUpdateAction& WithCacheClusterId(Aws::String&& value) { SetCacheClusterId(std::move(value)); return *this;}
68 inline UnprocessedUpdateAction& WithCacheClusterId(const char* value) { SetCacheClusterId(value); return *this;}
70
72
75 inline const Aws::String& GetServiceUpdateName() const{ return m_serviceUpdateName; }
76 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
77 inline void SetServiceUpdateName(const Aws::String& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = value; }
78 inline void SetServiceUpdateName(Aws::String&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::move(value); }
79 inline void SetServiceUpdateName(const char* value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName.assign(value); }
81 inline UnprocessedUpdateAction& WithServiceUpdateName(Aws::String&& value) { SetServiceUpdateName(std::move(value)); return *this;}
82 inline UnprocessedUpdateAction& WithServiceUpdateName(const char* value) { SetServiceUpdateName(value); return *this;}
84
86
89 inline const Aws::String& GetErrorType() const{ return m_errorType; }
90 inline bool ErrorTypeHasBeenSet() const { return m_errorTypeHasBeenSet; }
91 inline void SetErrorType(const Aws::String& value) { m_errorTypeHasBeenSet = true; m_errorType = value; }
92 inline void SetErrorType(Aws::String&& value) { m_errorTypeHasBeenSet = true; m_errorType = std::move(value); }
93 inline void SetErrorType(const char* value) { m_errorTypeHasBeenSet = true; m_errorType.assign(value); }
94 inline UnprocessedUpdateAction& WithErrorType(const Aws::String& value) { SetErrorType(value); return *this;}
95 inline UnprocessedUpdateAction& WithErrorType(Aws::String&& value) { SetErrorType(std::move(value)); return *this;}
96 inline UnprocessedUpdateAction& WithErrorType(const char* value) { SetErrorType(value); return *this;}
98
100
103 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
104 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
105 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
106 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
107 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
108 inline UnprocessedUpdateAction& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
109 inline UnprocessedUpdateAction& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
110 inline UnprocessedUpdateAction& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
112 private:
113
114 Aws::String m_replicationGroupId;
115 bool m_replicationGroupIdHasBeenSet = false;
116
117 Aws::String m_cacheClusterId;
118 bool m_cacheClusterIdHasBeenSet = false;
119
120 Aws::String m_serviceUpdateName;
121 bool m_serviceUpdateNameHasBeenSet = false;
122
123 Aws::String m_errorType;
124 bool m_errorTypeHasBeenSet = false;
125
126 Aws::String m_errorMessage;
127 bool m_errorMessageHasBeenSet = false;
128 };
129
130} // namespace Model
131} // namespace ElastiCache
132} // namespace Aws
UnprocessedUpdateAction & WithReplicationGroupId(Aws::String &&value)
UnprocessedUpdateAction & WithErrorMessage(const char *value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
UnprocessedUpdateAction & WithErrorType(Aws::String &&value)
UnprocessedUpdateAction & WithErrorMessage(const Aws::String &value)
UnprocessedUpdateAction & WithReplicationGroupId(const Aws::String &value)
UnprocessedUpdateAction & WithCacheClusterId(const char *value)
UnprocessedUpdateAction & WithServiceUpdateName(const Aws::String &value)
AWS_ELASTICACHE_API UnprocessedUpdateAction(const Aws::Utils::Xml::XmlNode &xmlNode)
UnprocessedUpdateAction & WithErrorMessage(Aws::String &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
UnprocessedUpdateAction & WithServiceUpdateName(const char *value)
UnprocessedUpdateAction & WithErrorType(const Aws::String &value)
UnprocessedUpdateAction & WithCacheClusterId(Aws::String &&value)
UnprocessedUpdateAction & WithReplicationGroupId(const char *value)
UnprocessedUpdateAction & WithErrorType(const char *value)
AWS_ELASTICACHE_API UnprocessedUpdateAction & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
UnprocessedUpdateAction & WithCacheClusterId(const Aws::String &value)
UnprocessedUpdateAction & WithServiceUpdateName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream