AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename NodeGroupIdT = Aws::String>
52 void SetNodeGroupId(NodeGroupIdT&& value) { m_nodeGroupIdHasBeenSet = true; m_nodeGroupId = std::forward<NodeGroupIdT>(value); }
53 template<typename NodeGroupIdT = Aws::String>
54 NodeGroupUpdateStatus& WithNodeGroupId(NodeGroupIdT&& value) { SetNodeGroupId(std::forward<NodeGroupIdT>(value)); return *this;}
56
58
61 inline const Aws::Vector<NodeGroupMemberUpdateStatus>& GetNodeGroupMemberUpdateStatus() const { return m_nodeGroupMemberUpdateStatus; }
62 inline bool NodeGroupMemberUpdateStatusHasBeenSet() const { return m_nodeGroupMemberUpdateStatusHasBeenSet; }
63 template<typename NodeGroupMemberUpdateStatusT = Aws::Vector<NodeGroupMemberUpdateStatus>>
64 void SetNodeGroupMemberUpdateStatus(NodeGroupMemberUpdateStatusT&& value) { m_nodeGroupMemberUpdateStatusHasBeenSet = true; m_nodeGroupMemberUpdateStatus = std::forward<NodeGroupMemberUpdateStatusT>(value); }
65 template<typename NodeGroupMemberUpdateStatusT = Aws::Vector<NodeGroupMemberUpdateStatus>>
66 NodeGroupUpdateStatus& WithNodeGroupMemberUpdateStatus(NodeGroupMemberUpdateStatusT&& value) { SetNodeGroupMemberUpdateStatus(std::forward<NodeGroupMemberUpdateStatusT>(value)); return *this;}
67 template<typename NodeGroupMemberUpdateStatusT = NodeGroupMemberUpdateStatus>
68 NodeGroupUpdateStatus& AddNodeGroupMemberUpdateStatus(NodeGroupMemberUpdateStatusT&& value) { m_nodeGroupMemberUpdateStatusHasBeenSet = true; m_nodeGroupMemberUpdateStatus.emplace_back(std::forward<NodeGroupMemberUpdateStatusT>(value)); return *this; }
70 private:
71
72 Aws::String m_nodeGroupId;
73 bool m_nodeGroupIdHasBeenSet = false;
74
75 Aws::Vector<NodeGroupMemberUpdateStatus> m_nodeGroupMemberUpdateStatus;
76 bool m_nodeGroupMemberUpdateStatusHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace ElastiCache
81} // namespace Aws
AWS_ELASTICACHE_API NodeGroupUpdateStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
NodeGroupUpdateStatus & WithNodeGroupMemberUpdateStatus(NodeGroupMemberUpdateStatusT &&value)
const Aws::Vector< NodeGroupMemberUpdateStatus > & GetNodeGroupMemberUpdateStatus() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICACHE_API NodeGroupUpdateStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetNodeGroupMemberUpdateStatus(NodeGroupMemberUpdateStatusT &&value)
AWS_ELASTICACHE_API NodeGroupUpdateStatus()=default
NodeGroupUpdateStatus & AddNodeGroupMemberUpdateStatus(NodeGroupMemberUpdateStatusT &&value)
NodeGroupUpdateStatus & WithNodeGroupId(NodeGroupIdT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
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