AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ReplicationGroupPendingModifiedValues.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/PendingAutomaticFailoverStatus.h>
11#include <aws/elasticache/model/ReshardingStatus.h>
12#include <aws/elasticache/model/AuthTokenUpdateStatus.h>
13#include <aws/elasticache/model/UserGroupsUpdateStatus.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/elasticache/model/TransitEncryptionMode.h>
16#include <aws/elasticache/model/ClusterMode.h>
17#include <aws/elasticache/model/PendingLogDeliveryConfiguration.h>
18#include <utility>
19
20namespace Aws
21{
22namespace Utils
23{
24namespace Xml
25{
26 class XmlNode;
27} // namespace Xml
28} // namespace Utils
29namespace ElastiCache
30{
31namespace Model
32{
33
42 {
43 public:
47
48 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
50
51
53
58 inline const Aws::String& GetPrimaryClusterId() const{ return m_primaryClusterId; }
59 inline bool PrimaryClusterIdHasBeenSet() const { return m_primaryClusterIdHasBeenSet; }
60 inline void SetPrimaryClusterId(const Aws::String& value) { m_primaryClusterIdHasBeenSet = true; m_primaryClusterId = value; }
61 inline void SetPrimaryClusterId(Aws::String&& value) { m_primaryClusterIdHasBeenSet = true; m_primaryClusterId = std::move(value); }
62 inline void SetPrimaryClusterId(const char* value) { m_primaryClusterIdHasBeenSet = true; m_primaryClusterId.assign(value); }
65 inline ReplicationGroupPendingModifiedValues& WithPrimaryClusterId(const char* value) { SetPrimaryClusterId(value); return *this;}
67
69
73 inline const PendingAutomaticFailoverStatus& GetAutomaticFailoverStatus() const{ return m_automaticFailoverStatus; }
74 inline bool AutomaticFailoverStatusHasBeenSet() const { return m_automaticFailoverStatusHasBeenSet; }
75 inline void SetAutomaticFailoverStatus(const PendingAutomaticFailoverStatus& value) { m_automaticFailoverStatusHasBeenSet = true; m_automaticFailoverStatus = value; }
76 inline void SetAutomaticFailoverStatus(PendingAutomaticFailoverStatus&& value) { m_automaticFailoverStatusHasBeenSet = true; m_automaticFailoverStatus = std::move(value); }
80
82
85 inline const ReshardingStatus& GetResharding() const{ return m_resharding; }
86 inline bool ReshardingHasBeenSet() const { return m_reshardingHasBeenSet; }
87 inline void SetResharding(const ReshardingStatus& value) { m_reshardingHasBeenSet = true; m_resharding = value; }
88 inline void SetResharding(ReshardingStatus&& value) { m_reshardingHasBeenSet = true; m_resharding = std::move(value); }
90 inline ReplicationGroupPendingModifiedValues& WithResharding(ReshardingStatus&& value) { SetResharding(std::move(value)); return *this;}
92
94
97 inline const AuthTokenUpdateStatus& GetAuthTokenStatus() const{ return m_authTokenStatus; }
98 inline bool AuthTokenStatusHasBeenSet() const { return m_authTokenStatusHasBeenSet; }
99 inline void SetAuthTokenStatus(const AuthTokenUpdateStatus& value) { m_authTokenStatusHasBeenSet = true; m_authTokenStatus = value; }
100 inline void SetAuthTokenStatus(AuthTokenUpdateStatus&& value) { m_authTokenStatusHasBeenSet = true; m_authTokenStatus = std::move(value); }
104
106
109 inline const UserGroupsUpdateStatus& GetUserGroups() const{ return m_userGroups; }
110 inline bool UserGroupsHasBeenSet() const { return m_userGroupsHasBeenSet; }
111 inline void SetUserGroups(const UserGroupsUpdateStatus& value) { m_userGroupsHasBeenSet = true; m_userGroups = value; }
112 inline void SetUserGroups(UserGroupsUpdateStatus&& value) { m_userGroupsHasBeenSet = true; m_userGroups = std::move(value); }
116
118
121 inline const Aws::Vector<PendingLogDeliveryConfiguration>& GetLogDeliveryConfigurations() const{ return m_logDeliveryConfigurations; }
122 inline bool LogDeliveryConfigurationsHasBeenSet() const { return m_logDeliveryConfigurationsHasBeenSet; }
123 inline void SetLogDeliveryConfigurations(const Aws::Vector<PendingLogDeliveryConfiguration>& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = value; }
124 inline void SetLogDeliveryConfigurations(Aws::Vector<PendingLogDeliveryConfiguration>&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations = std::move(value); }
127 inline ReplicationGroupPendingModifiedValues& AddLogDeliveryConfigurations(const PendingLogDeliveryConfiguration& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.push_back(value); return *this; }
128 inline ReplicationGroupPendingModifiedValues& AddLogDeliveryConfigurations(PendingLogDeliveryConfiguration&& value) { m_logDeliveryConfigurationsHasBeenSet = true; m_logDeliveryConfigurations.push_back(std::move(value)); return *this; }
130
132
135 inline bool GetTransitEncryptionEnabled() const{ return m_transitEncryptionEnabled; }
136 inline bool TransitEncryptionEnabledHasBeenSet() const { return m_transitEncryptionEnabledHasBeenSet; }
137 inline void SetTransitEncryptionEnabled(bool value) { m_transitEncryptionEnabledHasBeenSet = true; m_transitEncryptionEnabled = value; }
140
142
146 inline const TransitEncryptionMode& GetTransitEncryptionMode() const{ return m_transitEncryptionMode; }
147 inline bool TransitEncryptionModeHasBeenSet() const { return m_transitEncryptionModeHasBeenSet; }
148 inline void SetTransitEncryptionMode(const TransitEncryptionMode& value) { m_transitEncryptionModeHasBeenSet = true; m_transitEncryptionMode = value; }
149 inline void SetTransitEncryptionMode(TransitEncryptionMode&& value) { m_transitEncryptionModeHasBeenSet = true; m_transitEncryptionMode = std::move(value); }
153
155
163 inline const ClusterMode& GetClusterMode() const{ return m_clusterMode; }
164 inline bool ClusterModeHasBeenSet() const { return m_clusterModeHasBeenSet; }
165 inline void SetClusterMode(const ClusterMode& value) { m_clusterModeHasBeenSet = true; m_clusterMode = value; }
166 inline void SetClusterMode(ClusterMode&& value) { m_clusterModeHasBeenSet = true; m_clusterMode = std::move(value); }
168 inline ReplicationGroupPendingModifiedValues& WithClusterMode(ClusterMode&& value) { SetClusterMode(std::move(value)); return *this;}
170 private:
171
172 Aws::String m_primaryClusterId;
173 bool m_primaryClusterIdHasBeenSet = false;
174
175 PendingAutomaticFailoverStatus m_automaticFailoverStatus;
176 bool m_automaticFailoverStatusHasBeenSet = false;
177
178 ReshardingStatus m_resharding;
179 bool m_reshardingHasBeenSet = false;
180
181 AuthTokenUpdateStatus m_authTokenStatus;
182 bool m_authTokenStatusHasBeenSet = false;
183
184 UserGroupsUpdateStatus m_userGroups;
185 bool m_userGroupsHasBeenSet = false;
186
187 Aws::Vector<PendingLogDeliveryConfiguration> m_logDeliveryConfigurations;
188 bool m_logDeliveryConfigurationsHasBeenSet = false;
189
190 bool m_transitEncryptionEnabled;
191 bool m_transitEncryptionEnabledHasBeenSet = false;
192
193 TransitEncryptionMode m_transitEncryptionMode;
194 bool m_transitEncryptionModeHasBeenSet = false;
195
196 ClusterMode m_clusterMode;
197 bool m_clusterModeHasBeenSet = false;
198 };
199
200} // namespace Model
201} // namespace ElastiCache
202} // namespace Aws
ReplicationGroupPendingModifiedValues & WithAutomaticFailoverStatus(PendingAutomaticFailoverStatus &&value)
ReplicationGroupPendingModifiedValues & WithTransitEncryptionMode(TransitEncryptionMode &&value)
ReplicationGroupPendingModifiedValues & AddLogDeliveryConfigurations(const PendingLogDeliveryConfiguration &value)
ReplicationGroupPendingModifiedValues & AddLogDeliveryConfigurations(PendingLogDeliveryConfiguration &&value)
ReplicationGroupPendingModifiedValues & WithAuthTokenStatus(const AuthTokenUpdateStatus &value)
ReplicationGroupPendingModifiedValues & WithLogDeliveryConfigurations(const Aws::Vector< PendingLogDeliveryConfiguration > &value)
ReplicationGroupPendingModifiedValues & WithClusterMode(ClusterMode &&value)
AWS_ELASTICACHE_API ReplicationGroupPendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationGroupPendingModifiedValues & WithResharding(const ReshardingStatus &value)
ReplicationGroupPendingModifiedValues & WithPrimaryClusterId(const char *value)
ReplicationGroupPendingModifiedValues & WithTransitEncryptionEnabled(bool value)
ReplicationGroupPendingModifiedValues & WithResharding(ReshardingStatus &&value)
ReplicationGroupPendingModifiedValues & WithLogDeliveryConfigurations(Aws::Vector< PendingLogDeliveryConfiguration > &&value)
AWS_ELASTICACHE_API ReplicationGroupPendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
ReplicationGroupPendingModifiedValues & WithPrimaryClusterId(Aws::String &&value)
const Aws::Vector< PendingLogDeliveryConfiguration > & GetLogDeliveryConfigurations() const
ReplicationGroupPendingModifiedValues & WithTransitEncryptionMode(const TransitEncryptionMode &value)
ReplicationGroupPendingModifiedValues & WithClusterMode(const ClusterMode &value)
ReplicationGroupPendingModifiedValues & WithAutomaticFailoverStatus(const PendingAutomaticFailoverStatus &value)
void SetLogDeliveryConfigurations(Aws::Vector< PendingLogDeliveryConfiguration > &&value)
ReplicationGroupPendingModifiedValues & WithUserGroups(const UserGroupsUpdateStatus &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReplicationGroupPendingModifiedValues & WithAuthTokenStatus(AuthTokenUpdateStatus &&value)
ReplicationGroupPendingModifiedValues & WithUserGroups(UserGroupsUpdateStatus &&value)
ReplicationGroupPendingModifiedValues & WithPrimaryClusterId(const Aws::String &value)
void SetLogDeliveryConfigurations(const Aws::Vector< PendingLogDeliveryConfiguration > &value)
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