AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingModifiedValues.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/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/elasticache/model/AuthTokenUpdateStatus.h>
12#include <aws/elasticache/model/TransitEncryptionMode.h>
13#include <aws/elasticache/model/PendingLogDeliveryConfiguration.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace ElastiCache
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_ELASTICACHE_API PendingModifiedValues();
40 AWS_ELASTICACHE_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode& xmlNode);
41 AWS_ELASTICACHE_API PendingModifiedValues& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
42
43 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
44 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
45
46
48
53 inline int GetNumCacheNodes() const{ return m_numCacheNodes; }
54 inline bool NumCacheNodesHasBeenSet() const { return m_numCacheNodesHasBeenSet; }
55 inline void SetNumCacheNodes(int value) { m_numCacheNodesHasBeenSet = true; m_numCacheNodes = value; }
56 inline PendingModifiedValues& WithNumCacheNodes(int value) { SetNumCacheNodes(value); return *this;}
58
60
64 inline const Aws::Vector<Aws::String>& GetCacheNodeIdsToRemove() const{ return m_cacheNodeIdsToRemove; }
65 inline bool CacheNodeIdsToRemoveHasBeenSet() const { return m_cacheNodeIdsToRemoveHasBeenSet; }
66 inline void SetCacheNodeIdsToRemove(const Aws::Vector<Aws::String>& value) { m_cacheNodeIdsToRemoveHasBeenSet = true; m_cacheNodeIdsToRemove = value; }
67 inline void SetCacheNodeIdsToRemove(Aws::Vector<Aws::String>&& value) { m_cacheNodeIdsToRemoveHasBeenSet = true; m_cacheNodeIdsToRemove = std::move(value); }
70 inline PendingModifiedValues& AddCacheNodeIdsToRemove(const Aws::String& value) { m_cacheNodeIdsToRemoveHasBeenSet = true; m_cacheNodeIdsToRemove.push_back(value); return *this; }
71 inline PendingModifiedValues& AddCacheNodeIdsToRemove(Aws::String&& value) { m_cacheNodeIdsToRemoveHasBeenSet = true; m_cacheNodeIdsToRemove.push_back(std::move(value)); return *this; }
72 inline PendingModifiedValues& AddCacheNodeIdsToRemove(const char* value) { m_cacheNodeIdsToRemoveHasBeenSet = true; m_cacheNodeIdsToRemove.push_back(value); return *this; }
74
76
79 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
80 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
81 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
82 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
83 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
84 inline PendingModifiedValues& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
85 inline PendingModifiedValues& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
86 inline PendingModifiedValues& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
88
90
93 inline const Aws::String& GetCacheNodeType() const{ return m_cacheNodeType; }
94 inline bool CacheNodeTypeHasBeenSet() const { return m_cacheNodeTypeHasBeenSet; }
95 inline void SetCacheNodeType(const Aws::String& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = value; }
96 inline void SetCacheNodeType(Aws::String&& value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType = std::move(value); }
97 inline void SetCacheNodeType(const char* value) { m_cacheNodeTypeHasBeenSet = true; m_cacheNodeType.assign(value); }
98 inline PendingModifiedValues& WithCacheNodeType(const Aws::String& value) { SetCacheNodeType(value); return *this;}
99 inline PendingModifiedValues& WithCacheNodeType(Aws::String&& value) { SetCacheNodeType(std::move(value)); return *this;}
100 inline PendingModifiedValues& WithCacheNodeType(const char* value) { SetCacheNodeType(value); return *this;}
102
104
107 inline const AuthTokenUpdateStatus& GetAuthTokenStatus() const{ return m_authTokenStatus; }
108 inline bool AuthTokenStatusHasBeenSet() const { return m_authTokenStatusHasBeenSet; }
109 inline void SetAuthTokenStatus(const AuthTokenUpdateStatus& value) { m_authTokenStatusHasBeenSet = true; m_authTokenStatus = value; }
110 inline void SetAuthTokenStatus(AuthTokenUpdateStatus&& value) { m_authTokenStatusHasBeenSet = true; m_authTokenStatus = std::move(value); }
112 inline PendingModifiedValues& WithAuthTokenStatus(AuthTokenUpdateStatus&& value) { SetAuthTokenStatus(std::move(value)); return *this;}
114
116
119 inline const Aws::Vector<PendingLogDeliveryConfiguration>& GetLogDeliveryConfigurations() const{ return m_logDeliveryConfigurations; }
120 inline bool LogDeliveryConfigurationsHasBeenSet() const { return m_logDeliveryConfigurationsHasBeenSet; }
121 inline void SetLogDeliveryConfigurations(const Aws::Vector<PendingLogDeliveryConfiguration>& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = value; }
122 inline void SetLogDeliveryConfigurations(Aws::Vector<PendingLogDeliveryConfiguration>&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = std::move(value); }
125 inline PendingModifiedValues& AddLogDeliveryConfigurations(const PendingLogDeliveryConfiguration& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.push_back(value); return *this; }
126 inline PendingModifiedValues& AddLogDeliveryConfigurations(PendingLogDeliveryConfiguration&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.push_back(std::move(value)); return *this; }
128
130
133 inline bool GetTransitEncryptionEnabled() const{ return m_transitEncryptionEnabled; }
134 inline bool TransitEncryptionEnabledHasBeenSet() const { return m_transitEncryptionEnabledHasBeenSet; }
135 inline void SetTransitEncryptionEnabled(bool value) { m_transitEncryptionEnabledHasBeenSet = true; m_transitEncryptionEnabled = value; }
138
140
144 inline const TransitEncryptionMode& GetTransitEncryptionMode() const{ return m_transitEncryptionMode; }
145 inline bool TransitEncryptionModeHasBeenSet() const { return m_transitEncryptionModeHasBeenSet; }
146 inline void SetTransitEncryptionMode(const TransitEncryptionMode& value) { m_transitEncryptionModeHasBeenSet = true; m_transitEncryptionMode = value; }
147 inline void SetTransitEncryptionMode(TransitEncryptionMode&& value) { m_transitEncryptionModeHasBeenSet = true; m_transitEncryptionMode = std::move(value); }
151 private:
152
153 int m_numCacheNodes;
154 bool m_numCacheNodesHasBeenSet = false;
155
156 Aws::Vector<Aws::String> m_cacheNodeIdsToRemove;
157 bool m_cacheNodeIdsToRemoveHasBeenSet = false;
158
159 Aws::String m_engineVersion;
160 bool m_engineVersionHasBeenSet = false;
161
162 Aws::String m_cacheNodeType;
163 bool m_cacheNodeTypeHasBeenSet = false;
164
165 AuthTokenUpdateStatus m_authTokenStatus;
166 bool m_authTokenStatusHasBeenSet = false;
167
168 Aws::Vector<PendingLogDeliveryConfiguration> m_logDeliveryConfigurations;
169 bool m_logDeliveryConfigurationsHasBeenSet = false;
170
171 bool m_transitEncryptionEnabled;
172 bool m_transitEncryptionEnabledHasBeenSet = false;
173
174 TransitEncryptionMode m_transitEncryptionMode;
175 bool m_transitEncryptionModeHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace ElastiCache
180} // namespace Aws
void SetCacheNodeIdsToRemove(const Aws::Vector< Aws::String > &value)
PendingModifiedValues & AddCacheNodeIdsToRemove(Aws::String &&value)
PendingModifiedValues & AddCacheNodeIdsToRemove(const Aws::String &value)
void SetLogDeliveryConfigurations(const Aws::Vector< PendingLogDeliveryConfiguration > &value)
PendingModifiedValues & WithEngineVersion(const char *value)
void SetAuthTokenStatus(const AuthTokenUpdateStatus &value)
void SetTransitEncryptionMode(TransitEncryptionMode &&value)
PendingModifiedValues & WithLogDeliveryConfigurations(const Aws::Vector< PendingLogDeliveryConfiguration > &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PendingModifiedValues & WithEngineVersion(const Aws::String &value)
PendingModifiedValues & WithTransitEncryptionMode(const TransitEncryptionMode &value)
PendingModifiedValues & WithCacheNodeIdsToRemove(const Aws::Vector< Aws::String > &value)
void SetTransitEncryptionMode(const TransitEncryptionMode &value)
PendingModifiedValues & WithCacheNodeIdsToRemove(Aws::Vector< Aws::String > &&value)
const AuthTokenUpdateStatus & GetAuthTokenStatus() const
const Aws::Vector< Aws::String > & GetCacheNodeIdsToRemove() const
void SetCacheNodeIdsToRemove(Aws::Vector< Aws::String > &&value)
PendingModifiedValues & WithCacheNodeType(const Aws::String &value)
PendingModifiedValues & AddLogDeliveryConfigurations(PendingLogDeliveryConfiguration &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PendingModifiedValues & WithNumCacheNodes(int value)
PendingModifiedValues & AddCacheNodeIdsToRemove(const char *value)
AWS_ELASTICACHE_API PendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
PendingModifiedValues & WithTransitEncryptionMode(TransitEncryptionMode &&value)
PendingModifiedValues & WithLogDeliveryConfigurations(Aws::Vector< PendingLogDeliveryConfiguration > &&value)
void SetLogDeliveryConfigurations(Aws::Vector< PendingLogDeliveryConfiguration > &&value)
PendingModifiedValues & AddLogDeliveryConfigurations(const PendingLogDeliveryConfiguration &value)
PendingModifiedValues & WithAuthTokenStatus(const AuthTokenUpdateStatus &value)
PendingModifiedValues & WithCacheNodeType(Aws::String &&value)
void SetAuthTokenStatus(AuthTokenUpdateStatus &&value)
const TransitEncryptionMode & GetTransitEncryptionMode() const
PendingModifiedValues & WithTransitEncryptionEnabled(bool value)
PendingModifiedValues & WithCacheNodeType(const char *value)
PendingModifiedValues & WithEngineVersion(Aws::String &&value)
PendingModifiedValues & WithAuthTokenStatus(AuthTokenUpdateStatus &&value)
const Aws::Vector< PendingLogDeliveryConfiguration > & GetLogDeliveryConfigurations() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream