/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Indicates the slot configuration and global identifier for a slice
* group.See Also:
AWS
* API Reference
The name of the global node group
*/ inline const Aws::String& GetGlobalNodeGroupId() const{ return m_globalNodeGroupId; } /** *The name of the global node group
*/ inline bool GlobalNodeGroupIdHasBeenSet() const { return m_globalNodeGroupIdHasBeenSet; } /** *The name of the global node group
*/ inline void SetGlobalNodeGroupId(const Aws::String& value) { m_globalNodeGroupIdHasBeenSet = true; m_globalNodeGroupId = value; } /** *The name of the global node group
*/ inline void SetGlobalNodeGroupId(Aws::String&& value) { m_globalNodeGroupIdHasBeenSet = true; m_globalNodeGroupId = std::move(value); } /** *The name of the global node group
*/ inline void SetGlobalNodeGroupId(const char* value) { m_globalNodeGroupIdHasBeenSet = true; m_globalNodeGroupId.assign(value); } /** *The name of the global node group
*/ inline GlobalNodeGroup& WithGlobalNodeGroupId(const Aws::String& value) { SetGlobalNodeGroupId(value); return *this;} /** *The name of the global node group
*/ inline GlobalNodeGroup& WithGlobalNodeGroupId(Aws::String&& value) { SetGlobalNodeGroupId(std::move(value)); return *this;} /** *The name of the global node group
*/ inline GlobalNodeGroup& WithGlobalNodeGroupId(const char* value) { SetGlobalNodeGroupId(value); return *this;} /** *The keyspace for this node group
*/ inline const Aws::String& GetSlots() const{ return m_slots; } /** *The keyspace for this node group
*/ inline bool SlotsHasBeenSet() const { return m_slotsHasBeenSet; } /** *The keyspace for this node group
*/ inline void SetSlots(const Aws::String& value) { m_slotsHasBeenSet = true; m_slots = value; } /** *The keyspace for this node group
*/ inline void SetSlots(Aws::String&& value) { m_slotsHasBeenSet = true; m_slots = std::move(value); } /** *The keyspace for this node group
*/ inline void SetSlots(const char* value) { m_slotsHasBeenSet = true; m_slots.assign(value); } /** *The keyspace for this node group
*/ inline GlobalNodeGroup& WithSlots(const Aws::String& value) { SetSlots(value); return *this;} /** *The keyspace for this node group
*/ inline GlobalNodeGroup& WithSlots(Aws::String&& value) { SetSlots(std::move(value)); return *this;} /** *The keyspace for this node group
*/ inline GlobalNodeGroup& WithSlots(const char* value) { SetSlots(value); return *this;} private: Aws::String m_globalNodeGroupId; bool m_globalNodeGroupIdHasBeenSet = false; Aws::String m_slots; bool m_slotsHasBeenSet = false; }; } // namespace Model } // namespace ElastiCache } // namespace Aws