AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NodeGroupUpdateStatus.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/NodeGroupMemberUpdateStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace ElastiCache
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_ELASTICACHE_API NodeGroupUpdateStatus();
38 AWS_ELASTICACHE_API NodeGroupUpdateStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
39 AWS_ELASTICACHE_API NodeGroupUpdateStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_ELASTICACHE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
49 inline const Aws::String& GetNodeGroupId() const{ return m_nodeGroupId; }
50 inline bool NodeGroupIdHasBeenSet() const { return m_nodeGroupIdHasBeenSet; }
51 inline void SetNodeGroupId(const Aws::String& value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId = value; }
52 inline void SetNodeGroupId(Aws::String&& value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId = std::move(value); }
53 inline void SetNodeGroupId(const char* value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId.assign(value); }
54 inline NodeGroupUpdateStatus& WithNodeGroupId(const Aws::String& value) { SetNodeGroupId(value); return *this;}
55 inline NodeGroupUpdateStatus& WithNodeGroupId(Aws::String&& value) { SetNodeGroupId(std::move(value)); return *this;}
56 inline NodeGroupUpdateStatus& WithNodeGroupId(const char* value) { SetNodeGroupId(value); return *this;}
58
60
63 inline const Aws::Vector<NodeGroupMemberUpdateStatus>& GetNodeGroupMemberUpdateStatus() const{ return m_nodeGroupMemberUpdateStatus; }
64 inline bool NodeGroupMemberUpdateStatusHasBeenSet() const { return m_nodeGroupMemberUpdateStatusHasBeenSet; }
65 inline void SetNodeGroupMemberUpdateStatus(const Aws::Vector<NodeGroupMemberUpdateStatus>& value) { m_nodeGroupMemberUpdateStatusHasBeenSet = true; m_nodeGroupMemberUpdateStatus = value; }
66 inline void SetNodeGroupMemberUpdateStatus(Aws::Vector<NodeGroupMemberUpdateStatus>&& value) { m_nodeGroupMemberUpdateStatusHasBeenSet = true; m_nodeGroupMemberUpdateStatus = std::move(value); }
69 inline NodeGroupUpdateStatus& AddNodeGroupMemberUpdateStatus(const NodeGroupMemberUpdateStatus& value) { m_nodeGroupMemberUpdateStatusHasBeenSet = true; m_nodeGroupMemberUpdateStatus.push_back(value); return *this; }
70 inline NodeGroupUpdateStatus& AddNodeGroupMemberUpdateStatus(NodeGroupMemberUpdateStatus&& value) { m_nodeGroupMemberUpdateStatusHasBeenSet = true; m_nodeGroupMemberUpdateStatus.push_back(std::move(value)); return *this; }
72 private:
73
74 Aws::String m_nodeGroupId;
75 bool m_nodeGroupIdHasBeenSet = false;
76
77 Aws::Vector<NodeGroupMemberUpdateStatus> m_nodeGroupMemberUpdateStatus;
78 bool m_nodeGroupMemberUpdateStatusHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace ElastiCache
83} // namespace Aws
AWS_ELASTICACHE_API NodeGroupUpdateStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNodeGroupMemberUpdateStatus(const Aws::Vector< NodeGroupMemberUpdateStatus > &value)
NodeGroupUpdateStatus & WithNodeGroupId(Aws::String &&value)
const Aws::Vector< NodeGroupMemberUpdateStatus > & GetNodeGroupMemberUpdateStatus() const
NodeGroupUpdateStatus & AddNodeGroupMemberUpdateStatus(const NodeGroupMemberUpdateStatus &value)
NodeGroupUpdateStatus & WithNodeGroupMemberUpdateStatus(Aws::Vector< NodeGroupMemberUpdateStatus > &&value)
NodeGroupUpdateStatus & WithNodeGroupMemberUpdateStatus(const Aws::Vector< NodeGroupMemberUpdateStatus > &value)
void SetNodeGroupMemberUpdateStatus(Aws::Vector< NodeGroupMemberUpdateStatus > &&value)
NodeGroupUpdateStatus & AddNodeGroupMemberUpdateStatus(NodeGroupMemberUpdateStatus &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
NodeGroupUpdateStatus & WithNodeGroupId(const Aws::String &value)
AWS_ELASTICACHE_API NodeGroupUpdateStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
NodeGroupUpdateStatus & WithNodeGroupId(const char *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