7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
19namespace ElastiCache {
43 template <
typename GlobalNodeGroupIdT = Aws::String>
45 m_globalNodeGroupIdHasBeenSet =
true;
46 m_globalNodeGroupId = std::forward<GlobalNodeGroupIdT>(value);
48 template <
typename GlobalNodeGroupIdT = Aws::String>
61 template <
typename SlotsT = Aws::String>
63 m_slotsHasBeenSet =
true;
64 m_slots = std::forward<SlotsT>(value);
66 template <
typename SlotsT = Aws::String>
68 SetSlots(std::forward<SlotsT>(value));
76 bool m_globalNodeGroupIdHasBeenSet =
false;
77 bool m_slotsHasBeenSet =
false;
void SetSlots(SlotsT &&value)
bool SlotsHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetGlobalNodeGroupId() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_ELASTICACHE_API GlobalNodeGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API GlobalNodeGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
GlobalNodeGroup & WithGlobalNodeGroupId(GlobalNodeGroupIdT &&value)
GlobalNodeGroup & WithSlots(SlotsT &&value)
void SetGlobalNodeGroupId(GlobalNodeGroupIdT &&value)
bool GlobalNodeGroupIdHasBeenSet() const
const Aws::String & GetSlots() const
AWS_ELASTICACHE_API GlobalNodeGroup()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream