AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ModifyCacheParameterGroupResult.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticache/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElastiCache
25{
26namespace Model
27{
36 {
37 public:
38 AWS_ELASTICACHE_API ModifyCacheParameterGroupResult() = default;
41
42
44
47 inline const Aws::String& GetCacheParameterGroupName() const { return m_cacheParameterGroupName; }
48 template<typename CacheParameterGroupNameT = Aws::String>
49 void SetCacheParameterGroupName(CacheParameterGroupNameT&& value) { m_cacheParameterGroupNameHasBeenSet = true; m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value); }
50 template<typename CacheParameterGroupNameT = Aws::String>
51 ModifyCacheParameterGroupResult& WithCacheParameterGroupName(CacheParameterGroupNameT&& value) { SetCacheParameterGroupName(std::forward<CacheParameterGroupNameT>(value)); return *this;}
53
55
56 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
57 template<typename ResponseMetadataT = ResponseMetadata>
58 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
59 template<typename ResponseMetadataT = ResponseMetadata>
60 ModifyCacheParameterGroupResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
62 private:
63
64 Aws::String m_cacheParameterGroupName;
65 bool m_cacheParameterGroupNameHasBeenSet = false;
66
67 ResponseMetadata m_responseMetadata;
68 bool m_responseMetadataHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace ElastiCache
73} // namespace Aws
AWS_ELASTICACHE_API ModifyCacheParameterGroupResult()=default
AWS_ELASTICACHE_API ModifyCacheParameterGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICACHE_API ModifyCacheParameterGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyCacheParameterGroupResult & WithCacheParameterGroupName(CacheParameterGroupNameT &&value)
ModifyCacheParameterGroupResult & WithResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument