AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetReplicationGroupId(const Aws::String& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = value; }
51 inline void SetReplicationGroupId(Aws::String&& value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId = std::move(value); }
52 inline void SetReplicationGroupId(const char* value) { m_replicationGroupIdHasBeenSet = true; m_replicationGroupId.assign(value); }
54 inline ProcessedUpdateAction& WithReplicationGroupId(Aws::String&& value) { SetReplicationGroupId(std::move(value)); return *this;}
55 inline ProcessedUpdateAction& WithReplicationGroupId(const char* value) { SetReplicationGroupId(value); return *this;}
57
59
62 inline const Aws::String& GetCacheClusterId() const{ return m_cacheClusterId; }
63 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
64 inline void SetCacheClusterId(const Aws::String& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = value; }
65 inline void SetCacheClusterId(Aws::String&& value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId = std::move(value); }
66 inline void SetCacheClusterId(const char* value) { m_cacheClusterIdHasBeenSet = true; m_cacheClusterId.assign(value); }
67 inline ProcessedUpdateAction& WithCacheClusterId(const Aws::String& value) { SetCacheClusterId(value); return *this;}
68 inline ProcessedUpdateAction& WithCacheClusterId(Aws::String&& value) { SetCacheClusterId(std::move(value)); return *this;}
69 inline ProcessedUpdateAction& WithCacheClusterId(const char* value) { SetCacheClusterId(value); return *this;}
71
73
76 inline const Aws::String& GetServiceUpdateName() const{ return m_serviceUpdateName; }
77 inline bool ServiceUpdateNameHasBeenSet() const { return m_serviceUpdateNameHasBeenSet; }
78 inline void SetServiceUpdateName(const Aws::String& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = value; }
79 inline void SetServiceUpdateName(Aws::String&& value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName = std::move(value); }
80 inline void SetServiceUpdateName(const char* value) { m_serviceUpdateNameHasBeenSet = true; m_serviceUpdateName.assign(value); }
81 inline ProcessedUpdateAction& WithServiceUpdateName(const Aws::String& value) { SetServiceUpdateName(value); return *this;}
82 inline ProcessedUpdateAction& WithServiceUpdateName(Aws::String&& value) { SetServiceUpdateName(std::move(value)); return *this;}
83 inline ProcessedUpdateAction& WithServiceUpdateName(const char* value) { SetServiceUpdateName(value); return *this;}
85
87
90 inline const UpdateActionStatus& GetUpdateActionStatus() const{ return m_updateActionStatus; }
91 inline bool UpdateActionStatusHasBeenSet() const { return m_updateActionStatusHasBeenSet; }
92 inline void SetUpdateActionStatus(const UpdateActionStatus& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus = value; }
93 inline void SetUpdateActionStatus(UpdateActionStatus&& value) { m_updateActionStatusHasBeenSet = true; m_updateActionStatus = std::move(value); }
95 inline ProcessedUpdateAction& WithUpdateActionStatus(UpdateActionStatus&& value) { SetUpdateActionStatus(std::move(value)); return *this;}
97 private:
98
99 Aws::String m_replicationGroupId;
100 bool m_replicationGroupIdHasBeenSet = false;
101
102 Aws::String m_cacheClusterId;
103 bool m_cacheClusterIdHasBeenSet = false;
104
105 Aws::String m_serviceUpdateName;
106 bool m_serviceUpdateNameHasBeenSet = false;
107
108 UpdateActionStatus m_updateActionStatus;
109 bool m_updateActionStatusHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace ElastiCache
114} // namespace Aws
ProcessedUpdateAction & WithServiceUpdateName(const char *value)
const UpdateActionStatus & GetUpdateActionStatus() const
void SetUpdateActionStatus(UpdateActionStatus &&value)
ProcessedUpdateAction & WithUpdateActionStatus(const UpdateActionStatus &value)
ProcessedUpdateAction & WithCacheClusterId(const char *value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ProcessedUpdateAction & WithReplicationGroupId(const char *value)
ProcessedUpdateAction & WithReplicationGroupId(const Aws::String &value)
AWS_ELASTICACHE_API ProcessedUpdateAction(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetUpdateActionStatus(const UpdateActionStatus &value)
ProcessedUpdateAction & WithServiceUpdateName(const Aws::String &value)
ProcessedUpdateAction & WithReplicationGroupId(Aws::String &&value)
ProcessedUpdateAction & WithUpdateActionStatus(UpdateActionStatus &&value)
ProcessedUpdateAction & WithCacheClusterId(Aws::String &&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 & WithCacheClusterId(const Aws::String &value)
ProcessedUpdateAction & 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