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/core/utils/DateTime.h>
11#include <aws/elasticache/model/AutomaticFailoverStatus.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/elasticache/model/DataTieringStatus.h>
14#include <aws/elasticache/model/NodeSnapshot.h>
57 inline void SetSnapshotName(
const char* value) { m_snapshotNameHasBeenSet =
true; m_snapshotName.assign(value); }
71 inline void SetReplicationGroupId(
const char* value) { m_replicationGroupIdHasBeenSet =
true; m_replicationGroupId.assign(value); }
85 inline void SetReplicationGroupDescription(
const char* value) { m_replicationGroupDescriptionHasBeenSet =
true; m_replicationGroupDescription.assign(value); }
99 inline void SetCacheClusterId(
const char* value) { m_cacheClusterIdHasBeenSet =
true; m_cacheClusterId.assign(value); }
115 inline void SetSnapshotStatus(
const char* value) { m_snapshotStatusHasBeenSet =
true; m_snapshotStatus.assign(value); }
130 inline void SetSnapshotSource(
const char* value) { m_snapshotSourceHasBeenSet =
true; m_snapshotSource.assign(value); }
216 inline void SetCacheNodeType(
const char* value) { m_cacheNodeTypeHasBeenSet =
true; m_cacheNodeType.assign(value); }
231 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
246 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
260 inline void SetNumCacheNodes(
int value) { m_numCacheNodesHasBeenSet =
true; m_numCacheNodes = value; }
272 inline void SetPreferredAvailabilityZone(
const char* value) { m_preferredAvailabilityZoneHasBeenSet =
true; m_preferredAvailabilityZone.assign(value); }
286 inline void SetPreferredOutpostArn(
const char* value) { m_preferredOutpostArnHasBeenSet =
true; m_preferredOutpostArn.assign(value); }
334 inline void SetTopicArn(
const char* value) { m_topicArnHasBeenSet =
true; m_topicArn.assign(value); }
346 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
358 inline void SetCacheParameterGroupName(
const char* value) { m_cacheParameterGroupNameHasBeenSet =
true; m_cacheParameterGroupName.assign(value); }
372 inline void SetCacheSubnetGroupName(
const char* value) { m_cacheSubnetGroupNameHasBeenSet =
true; m_cacheSubnetGroupName.assign(value); }
387 inline void SetVpcId(
const char* value) { m_vpcIdHasBeenSet =
true; m_vpcId.assign(value); }
431 inline void SetSnapshotWindow(
const char* value) { m_snapshotWindowHasBeenSet =
true; m_snapshotWindow.assign(value); }
445 inline void SetNumNodeGroups(
int value) { m_numNodeGroupsHasBeenSet =
true; m_numNodeGroups = value; }
484 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
498 inline void SetARN(
const char* value) { m_aRNHasBeenSet =
true; m_aRN.assign(value); }
522 bool m_snapshotNameHasBeenSet =
false;
525 bool m_replicationGroupIdHasBeenSet =
false;
528 bool m_replicationGroupDescriptionHasBeenSet =
false;
531 bool m_cacheClusterIdHasBeenSet =
false;
534 bool m_snapshotStatusHasBeenSet =
false;
537 bool m_snapshotSourceHasBeenSet =
false;
540 bool m_cacheNodeTypeHasBeenSet =
false;
543 bool m_engineHasBeenSet =
false;
546 bool m_engineVersionHasBeenSet =
false;
549 bool m_numCacheNodesHasBeenSet =
false;
552 bool m_preferredAvailabilityZoneHasBeenSet =
false;
555 bool m_preferredOutpostArnHasBeenSet =
false;
558 bool m_cacheClusterCreateTimeHasBeenSet =
false;
561 bool m_preferredMaintenanceWindowHasBeenSet =
false;
564 bool m_topicArnHasBeenSet =
false;
567 bool m_portHasBeenSet =
false;
570 bool m_cacheParameterGroupNameHasBeenSet =
false;
573 bool m_cacheSubnetGroupNameHasBeenSet =
false;
576 bool m_vpcIdHasBeenSet =
false;
578 bool m_autoMinorVersionUpgrade;
579 bool m_autoMinorVersionUpgradeHasBeenSet =
false;
581 int m_snapshotRetentionLimit;
582 bool m_snapshotRetentionLimitHasBeenSet =
false;
585 bool m_snapshotWindowHasBeenSet =
false;
588 bool m_numNodeGroupsHasBeenSet =
false;
591 bool m_automaticFailoverHasBeenSet =
false;
594 bool m_nodeSnapshotsHasBeenSet =
false;
597 bool m_kmsKeyIdHasBeenSet =
false;
600 bool m_aRNHasBeenSet =
false;
603 bool m_dataTieringHasBeenSet =
false;
void SetVpcId(Aws::String &&value)
Snapshot & WithCacheParameterGroupName(const Aws::String &value)
Snapshot & WithReplicationGroupDescription(const char *value)
void SetTopicArn(const char *value)
void SetAutomaticFailover(AutomaticFailoverStatus &&value)
const Aws::String & GetReplicationGroupId() const
void SetSnapshotStatus(const Aws::String &value)
const Aws::String & GetSnapshotSource() const
Snapshot & WithReplicationGroupId(const char *value)
void SetSnapshotWindow(const char *value)
const Aws::String & GetCacheParameterGroupName() const
Snapshot & WithPreferredOutpostArn(const Aws::String &value)
bool NumCacheNodesHasBeenSet() const
Snapshot & WithSnapshotWindow(const Aws::String &value)
void SetEngineVersion(Aws::String &&value)
bool PortHasBeenSet() const
Snapshot & WithEngineVersion(Aws::String &&value)
Snapshot & WithPort(int value)
Snapshot & WithSnapshotName(const Aws::String &value)
Snapshot & WithPreferredMaintenanceWindow(const Aws::String &value)
Snapshot & WithDataTiering(DataTieringStatus &&value)
Snapshot & WithEngine(const char *value)
bool CacheNodeTypeHasBeenSet() const
const Aws::String & GetVpcId() const
bool EngineHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetReplicationGroupDescription(const Aws::String &value)
void SetEngine(const Aws::String &value)
Snapshot & AddNodeSnapshots(const NodeSnapshot &value)
Snapshot & WithEngineVersion(const char *value)
bool TopicArnHasBeenSet() const
const Aws::String & GetCacheSubnetGroupName() const
bool SnapshotSourceHasBeenSet() const
const AutomaticFailoverStatus & GetAutomaticFailover() const
AWS_ELASTICACHE_API Snapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
Snapshot & WithCacheClusterId(Aws::String &&value)
void SetPreferredAvailabilityZone(const char *value)
bool AutoMinorVersionUpgradeHasBeenSet() const
Snapshot & WithKmsKeyId(const char *value)
Snapshot & WithSnapshotWindow(Aws::String &&value)
const DataTieringStatus & GetDataTiering() const
void SetSnapshotStatus(const char *value)
void SetPreferredOutpostArn(Aws::String &&value)
Snapshot & WithAutomaticFailover(const AutomaticFailoverStatus &value)
void SetReplicationGroupId(Aws::String &&value)
void SetSnapshotWindow(Aws::String &&value)
Snapshot & WithSnapshotSource(Aws::String &&value)
Snapshot & WithReplicationGroupId(Aws::String &&value)
bool CacheClusterIdHasBeenSet() const
Snapshot & WithPreferredMaintenanceWindow(Aws::String &&value)
bool CacheParameterGroupNameHasBeenSet() const
Snapshot & WithSnapshotStatus(Aws::String &&value)
Snapshot & WithTopicArn(const Aws::String &value)
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetReplicationGroupDescription() const
Snapshot & WithSnapshotName(const char *value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Snapshot & WithARN(const char *value)
void SetNumCacheNodes(int value)
Snapshot & WithTopicArn(const char *value)
Snapshot & WithCacheClusterCreateTime(const Aws::Utils::DateTime &value)
Snapshot & WithNumCacheNodes(int value)
Snapshot & WithCacheClusterId(const char *value)
Snapshot & WithTopicArn(Aws::String &&value)
void SetARN(const Aws::String &value)
Snapshot & WithARN(Aws::String &&value)
const Aws::String & GetEngine() const
int GetNumCacheNodes() const
Snapshot & WithCacheParameterGroupName(const char *value)
Snapshot & WithCacheNodeType(const char *value)
void SetTopicArn(Aws::String &&value)
void SetVpcId(const char *value)
bool VpcIdHasBeenSet() const
void SetEngineVersion(const char *value)
bool GetAutoMinorVersionUpgrade() const
const Aws::String & GetSnapshotWindow() const
Snapshot & WithEngine(const Aws::String &value)
void SetCacheClusterCreateTime(Aws::Utils::DateTime &&value)
void SetReplicationGroupId(const Aws::String &value)
const Aws::String & GetTopicArn() const
AWS_ELASTICACHE_API Snapshot()
Snapshot & WithSnapshotSource(const char *value)
const Aws::String & GetCacheClusterId() const
Snapshot & WithVpcId(Aws::String &&value)
void SetCacheSubnetGroupName(const char *value)
const Aws::String & GetSnapshotStatus() const
const Aws::String & GetPreferredOutpostArn() const
void SetNodeSnapshots(Aws::Vector< NodeSnapshot > &&value)
const Aws::String & GetPreferredAvailabilityZone() const
Snapshot & WithNumNodeGroups(int value)
void SetCacheParameterGroupName(Aws::String &&value)
Snapshot & WithReplicationGroupId(const Aws::String &value)
Snapshot & WithPreferredAvailabilityZone(const char *value)
void SetCacheNodeType(Aws::String &&value)
void SetPreferredOutpostArn(const Aws::String &value)
void SetARN(const char *value)
int GetNumNodeGroups() const
void SetPreferredAvailabilityZone(const Aws::String &value)
void SetSnapshotSource(Aws::String &&value)
Snapshot & WithVpcId(const char *value)
const Aws::String & GetCacheNodeType() const
void SetCacheClusterId(const char *value)
void SetPreferredMaintenanceWindow(const Aws::String &value)
bool DataTieringHasBeenSet() const
Snapshot & WithSnapshotName(Aws::String &&value)
void SetKmsKeyId(const Aws::String &value)
Snapshot & WithReplicationGroupDescription(const Aws::String &value)
void SetCacheNodeType(const Aws::String &value)
void SetCacheParameterGroupName(const Aws::String &value)
void SetPreferredMaintenanceWindow(const char *value)
void SetCacheClusterId(const Aws::String &value)
void SetSnapshotRetentionLimit(int value)
Snapshot & WithSnapshotSource(const Aws::String &value)
void SetSnapshotStatus(Aws::String &&value)
void SetNodeSnapshots(const Aws::Vector< NodeSnapshot > &value)
bool PreferredAvailabilityZoneHasBeenSet() const
Snapshot & WithPreferredOutpostArn(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
bool AutomaticFailoverHasBeenSet() const
void SetSnapshotSource(const Aws::String &value)
bool EngineVersionHasBeenSet() const
bool SnapshotRetentionLimitHasBeenSet() const
Snapshot & WithVpcId(const Aws::String &value)
void SetPreferredOutpostArn(const char *value)
bool ARNHasBeenSet() const
Snapshot & WithCacheSubnetGroupName(const Aws::String &value)
void SetAutomaticFailover(const AutomaticFailoverStatus &value)
Snapshot & WithAutomaticFailover(AutomaticFailoverStatus &&value)
void SetCacheClusterCreateTime(const Aws::Utils::DateTime &value)
bool NumNodeGroupsHasBeenSet() const
bool PreferredOutpostArnHasBeenSet() const
const Aws::String & GetARN() const
Snapshot & WithCacheNodeType(const Aws::String &value)
void SetPreferredMaintenanceWindow(Aws::String &&value)
Snapshot & WithCacheParameterGroupName(Aws::String &&value)
void SetReplicationGroupId(const char *value)
void SetTopicArn(const Aws::String &value)
void SetARN(Aws::String &&value)
int GetSnapshotRetentionLimit() const
void SetReplicationGroupDescription(const char *value)
Snapshot & WithReplicationGroupDescription(Aws::String &&value)
Snapshot & WithKmsKeyId(const Aws::String &value)
bool SnapshotStatusHasBeenSet() const
Snapshot & WithEngine(Aws::String &&value)
const Aws::Vector< NodeSnapshot > & GetNodeSnapshots() const
void SetKmsKeyId(const char *value)
void SetCacheSubnetGroupName(Aws::String &&value)
Snapshot & WithNodeSnapshots(const Aws::Vector< NodeSnapshot > &value)
void SetCacheParameterGroupName(const char *value)
bool CacheClusterCreateTimeHasBeenSet() const
Snapshot & WithARN(const Aws::String &value)
Snapshot & WithCacheSubnetGroupName(const char *value)
void SetEngineVersion(const Aws::String &value)
Snapshot & WithPreferredAvailabilityZone(Aws::String &&value)
void SetEngine(Aws::String &&value)
bool ReplicationGroupIdHasBeenSet() const
void SetSnapshotWindow(const Aws::String &value)
void SetEngine(const char *value)
void SetSnapshotName(const Aws::String &value)
void SetNumNodeGroups(int value)
Snapshot & AddNodeSnapshots(NodeSnapshot &&value)
void SetSnapshotName(const char *value)
Snapshot & WithCacheSubnetGroupName(Aws::String &&value)
bool SnapshotWindowHasBeenSet() const
void SetVpcId(const Aws::String &value)
const Aws::String & GetPreferredMaintenanceWindow() const
const Aws::String & GetKmsKeyId() const
void SetCacheNodeType(const char *value)
Snapshot & WithDataTiering(const DataTieringStatus &value)
Snapshot & WithSnapshotStatus(const Aws::String &value)
Snapshot & WithPreferredAvailabilityZone(const Aws::String &value)
Snapshot & WithSnapshotStatus(const char *value)
Snapshot & WithSnapshotWindow(const char *value)
bool CacheSubnetGroupNameHasBeenSet() const
void SetDataTiering(DataTieringStatus &&value)
bool ReplicationGroupDescriptionHasBeenSet() const
void SetCacheClusterId(Aws::String &&value)
AWS_ELASTICACHE_API Snapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSnapshotName(Aws::String &&value)
Snapshot & WithSnapshotRetentionLimit(int value)
Snapshot & WithAutoMinorVersionUpgrade(bool value)
void SetAutoMinorVersionUpgrade(bool value)
Snapshot & WithEngineVersion(const Aws::String &value)
bool NodeSnapshotsHasBeenSet() const
Snapshot & WithPreferredMaintenanceWindow(const char *value)
Snapshot & WithPreferredOutpostArn(const char *value)
const Aws::String & GetEngineVersion() const
void SetPreferredAvailabilityZone(Aws::String &&value)
Snapshot & WithNodeSnapshots(Aws::Vector< NodeSnapshot > &&value)
void SetDataTiering(const DataTieringStatus &value)
Snapshot & WithCacheNodeType(Aws::String &&value)
Snapshot & WithKmsKeyId(Aws::String &&value)
bool SnapshotNameHasBeenSet() const
void SetSnapshotSource(const char *value)
Snapshot & WithCacheClusterCreateTime(Aws::Utils::DateTime &&value)
const Aws::String & GetSnapshotName() const
Snapshot & WithCacheClusterId(const Aws::String &value)
void SetReplicationGroupDescription(Aws::String &&value)
const Aws::Utils::DateTime & GetCacheClusterCreateTime() const
bool PreferredMaintenanceWindowHasBeenSet() const
void SetCacheSubnetGroupName(const Aws::String &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