AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CacheParameterGroupStatus.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace ElastiCache
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_ELASTICACHE_API CacheParameterGroupStatus() = default;
36 AWS_ELASTICACHE_API CacheParameterGroupStatus(const Aws::Utils::Xml::XmlNode& xmlNode);
37 AWS_ELASTICACHE_API CacheParameterGroupStatus& 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& GetCacheParameterGroupName() const { return m_cacheParameterGroupName; }
48 inline bool CacheParameterGroupNameHasBeenSet() const { return m_cacheParameterGroupNameHasBeenSet; }
49 template<typename CacheParameterGroupNameT = Aws::String>
50 void SetCacheParameterGroupName(CacheParameterGroupNameT&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value); }
51 template<typename CacheParameterGroupNameT = Aws::String>
52 CacheParameterGroupStatus& WithCacheParameterGroupName(CacheParameterGroupNameT&& value) { SetCacheParameterGroupName(std::forward<CacheParameterGroupNameT>(value)); return *this;}
54
56
59 inline const Aws::String& GetParameterApplyStatus() const { return m_parameterApplyStatus; }
60 inline bool ParameterApplyStatusHasBeenSet() const { return m_parameterApplyStatusHasBeenSet; }
61 template<typename ParameterApplyStatusT = Aws::String>
62 void SetParameterApplyStatus(ParameterApplyStatusT&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = std::forward<ParameterApplyStatusT>(value); }
63 template<typename ParameterApplyStatusT = Aws::String>
64 CacheParameterGroupStatus& WithParameterApplyStatus(ParameterApplyStatusT&& value) { SetParameterApplyStatus(std::forward<ParameterApplyStatusT>(value)); return *this;}
66
68
72 inline const Aws::Vector<Aws::String>& GetCacheNodeIdsToReboot() const { return m_cacheNodeIdsToReboot; }
73 inline bool CacheNodeIdsToRebootHasBeenSet() const { return m_cacheNodeIdsToRebootHasBeenSet; }
74 template<typename CacheNodeIdsToRebootT = Aws::Vector<Aws::String>>
75 void SetCacheNodeIdsToReboot(CacheNodeIdsToRebootT&& value) { m_cacheNodeIdsToRebootHasBeenSet = true; m_cacheNodeIdsToReboot = std::forward<CacheNodeIdsToRebootT>(value); }
76 template<typename CacheNodeIdsToRebootT = Aws::Vector<Aws::String>>
77 CacheParameterGroupStatus& WithCacheNodeIdsToReboot(CacheNodeIdsToRebootT&& value) { SetCacheNodeIdsToReboot(std::forward<CacheNodeIdsToRebootT>(value)); return *this;}
78 template<typename CacheNodeIdsToRebootT = Aws::String>
79 CacheParameterGroupStatus& AddCacheNodeIdsToReboot(CacheNodeIdsToRebootT&& value) { m_cacheNodeIdsToRebootHasBeenSet = true; m_cacheNodeIdsToReboot.emplace_back(std::forward<CacheNodeIdsToRebootT>(value)); return *this; }
81 private:
82
83 Aws::String m_cacheParameterGroupName;
84 bool m_cacheParameterGroupNameHasBeenSet = false;
85
86 Aws::String m_parameterApplyStatus;
87 bool m_parameterApplyStatusHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_cacheNodeIdsToReboot;
90 bool m_cacheNodeIdsToRebootHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace ElastiCache
95} // namespace Aws
AWS_ELASTICACHE_API CacheParameterGroupStatus()=default
CacheParameterGroupStatus & WithCacheNodeIdsToReboot(CacheNodeIdsToRebootT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CacheParameterGroupStatus & AddCacheNodeIdsToReboot(CacheNodeIdsToRebootT &&value)
AWS_ELASTICACHE_API CacheParameterGroupStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Aws::String > & GetCacheNodeIdsToReboot() const
CacheParameterGroupStatus & WithParameterApplyStatus(ParameterApplyStatusT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
CacheParameterGroupStatus & WithCacheParameterGroupName(CacheParameterGroupNameT &&value)
void SetParameterApplyStatus(ParameterApplyStatusT &&value)
AWS_ELASTICACHE_API CacheParameterGroupStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCacheParameterGroupName(CacheParameterGroupNameT &&value)
void SetCacheNodeIdsToReboot(CacheNodeIdsToRebootT &&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