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>
49 template<
typename GlobalNodeGroupIdT = Aws::String>
50 void SetGlobalNodeGroupId(GlobalNodeGroupIdT&& value) { m_globalNodeGroupIdHasBeenSet =
true; m_globalNodeGroupId = std::forward<GlobalNodeGroupIdT>(value); }
51 template<
typename GlobalNodeGroupIdT = Aws::String>
61 template<
typename SlotsT = Aws::String>
62 void SetSlots(SlotsT&& value) { m_slotsHasBeenSet =
true; m_slots = std::forward<SlotsT>(value); }
63 template<
typename SlotsT = Aws::String>
69 bool m_globalNodeGroupIdHasBeenSet =
false;
72 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