AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCacheParameterGroupName(const Aws::String& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = value; }
50 inline void SetCacheParameterGroupName(Aws::String&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::move(value); }
51 inline void SetCacheParameterGroupName(const char* value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName.assign(value); }
54 inline CacheParameterGroupStatus& WithCacheParameterGroupName(const char* value) { SetCacheParameterGroupName(value); return *this;}
56
58
61 inline const Aws::String& GetParameterApplyStatus() const{ return m_parameterApplyStatus; }
62 inline bool ParameterApplyStatusHasBeenSet() const { return m_parameterApplyStatusHasBeenSet; }
63 inline void SetParameterApplyStatus(const Aws::String& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = value; }
64 inline void SetParameterApplyStatus(Aws::String&& value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus = std::move(value); }
65 inline void SetParameterApplyStatus(const char* value) { m_parameterApplyStatusHasBeenSet = true; m_parameterApplyStatus.assign(value); }
68 inline CacheParameterGroupStatus& WithParameterApplyStatus(const char* value) { SetParameterApplyStatus(value); return *this;}
70
72
76 inline const Aws::Vector<Aws::String>& GetCacheNodeIdsToReboot() const{ return m_cacheNodeIdsToReboot; }
77 inline bool CacheNodeIdsToRebootHasBeenSet() const { return m_cacheNodeIdsToRebootHasBeenSet; }
78 inline void SetCacheNodeIdsToReboot(const Aws::Vector<Aws::String>& value) { m_cacheNodeIdsToRebootHasBeenSet = true; m_cacheNodeIdsToReboot = value; }
79 inline void SetCacheNodeIdsToReboot(Aws::Vector<Aws::String>&& value) { m_cacheNodeIdsToRebootHasBeenSet = true; m_cacheNodeIdsToReboot = std::move(value); }
82 inline CacheParameterGroupStatus& AddCacheNodeIdsToReboot(const Aws::String& value) { m_cacheNodeIdsToRebootHasBeenSet = true; m_cacheNodeIdsToReboot.push_back(value); return *this; }
83 inline CacheParameterGroupStatus& AddCacheNodeIdsToReboot(Aws::String&& value) { m_cacheNodeIdsToRebootHasBeenSet = true; m_cacheNodeIdsToReboot.push_back(std::move(value)); return *this; }
84 inline CacheParameterGroupStatus& AddCacheNodeIdsToReboot(const char* value) { m_cacheNodeIdsToRebootHasBeenSet = true; m_cacheNodeIdsToReboot.push_back(value); return *this; }
86 private:
87
88 Aws::String m_cacheParameterGroupName;
89 bool m_cacheParameterGroupNameHasBeenSet = false;
90
91 Aws::String m_parameterApplyStatus;
92 bool m_parameterApplyStatusHasBeenSet = false;
93
94 Aws::Vector<Aws::String> m_cacheNodeIdsToReboot;
95 bool m_cacheNodeIdsToRebootHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace ElastiCache
100} // namespace Aws
CacheParameterGroupStatus & AddCacheNodeIdsToReboot(const char *value)
CacheParameterGroupStatus & WithCacheParameterGroupName(const char *value)
CacheParameterGroupStatus & WithCacheNodeIdsToReboot(Aws::Vector< Aws::String > &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
CacheParameterGroupStatus & AddCacheNodeIdsToReboot(const Aws::String &value)
CacheParameterGroupStatus & WithParameterApplyStatus(Aws::String &&value)
AWS_ELASTICACHE_API CacheParameterGroupStatus(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< Aws::String > & GetCacheNodeIdsToReboot() const
void SetCacheNodeIdsToReboot(Aws::Vector< Aws::String > &&value)
void SetCacheNodeIdsToReboot(const Aws::Vector< Aws::String > &value)
CacheParameterGroupStatus & WithParameterApplyStatus(const Aws::String &value)
CacheParameterGroupStatus & WithCacheNodeIdsToReboot(const Aws::Vector< Aws::String > &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICACHE_API CacheParameterGroupStatus & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheParameterGroupStatus & AddCacheNodeIdsToReboot(Aws::String &&value)
CacheParameterGroupStatus & WithParameterApplyStatus(const char *value)
CacheParameterGroupStatus & WithCacheParameterGroupName(const Aws::String &value)
CacheParameterGroupStatus & WithCacheParameterGroupName(Aws::String &&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