AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GlobalNodeGroup.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 <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Xml
17{
18 class XmlNode;
19} // namespace Xml
20} // namespace Utils
21namespace ElastiCache
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_ELASTICACHE_API GlobalNodeGroup();
36 AWS_ELASTICACHE_API GlobalNodeGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICACHE_API GlobalNodeGroup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
42
44
47 inline const Aws::String& GetGlobalNodeGroupId() const{ return m_globalNodeGroupId; }
48 inline bool GlobalNodeGroupIdHasBeenSet() const { return m_globalNodeGroupIdHasBeenSet; }
49 inline void SetGlobalNodeGroupId(const Aws::String& value) { m_globalNodeGroupIdHasBeenSet = true; m_globalNodeGroupId = value; }
50 inline void SetGlobalNodeGroupId(Aws::String&& value) { m_globalNodeGroupIdHasBeenSet = true; m_globalNodeGroupId = std::move(value); }
51 inline void SetGlobalNodeGroupId(const char* value) { m_globalNodeGroupIdHasBeenSet = true; m_globalNodeGroupId.assign(value); }
52 inline GlobalNodeGroup& WithGlobalNodeGroupId(const Aws::String& value) { SetGlobalNodeGroupId(value); return *this;}
53 inline GlobalNodeGroup& WithGlobalNodeGroupId(Aws::String&& value) { SetGlobalNodeGroupId(std::move(value)); return *this;}
54 inline GlobalNodeGroup& WithGlobalNodeGroupId(const char* value) { SetGlobalNodeGroupId(value); return *this;}
56
58
61 inline const Aws::String& GetSlots() const{ return m_slots; }
62 inline bool SlotsHasBeenSet() const { return m_slotsHasBeenSet; }
63 inline void SetSlots(const Aws::String& value) { m_slotsHasBeenSet = true; m_slots = value; }
64 inline void SetSlots(Aws::String&& value) { m_slotsHasBeenSet = true; m_slots = std::move(value); }
65 inline void SetSlots(const char* value) { m_slotsHasBeenSet = true; m_slots.assign(value); }
66 inline GlobalNodeGroup& WithSlots(const Aws::String& value) { SetSlots(value); return *this;}
67 inline GlobalNodeGroup& WithSlots(Aws::String&& value) { SetSlots(std::move(value)); return *this;}
68 inline GlobalNodeGroup& WithSlots(const char* value) { SetSlots(value); return *this;}
70 private:
71
72 Aws::String m_globalNodeGroupId;
73 bool m_globalNodeGroupIdHasBeenSet = false;
74
75 Aws::String m_slots;
76 bool m_slotsHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ElastiCache
81} // namespace Aws
void SetGlobalNodeGroupId(const Aws::String &value)
void SetGlobalNodeGroupId(const char *value)
void SetSlots(const Aws::String &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
GlobalNodeGroup & WithSlots(const Aws::String &value)
GlobalNodeGroup & WithGlobalNodeGroupId(const char *value)
GlobalNodeGroup & WithGlobalNodeGroupId(Aws::String &&value)
GlobalNodeGroup & WithSlots(Aws::String &&value)
const Aws::String & GetGlobalNodeGroupId() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetGlobalNodeGroupId(Aws::String &&value)
AWS_ELASTICACHE_API GlobalNodeGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API GlobalNodeGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
GlobalNodeGroup & WithSlots(const char *value)
GlobalNodeGroup & WithGlobalNodeGroupId(const Aws::String &value)
const Aws::String & GetSlots() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream