AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
ResetCacheParameterGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10#include <aws/elasticache/model/ResponseMetadata.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace ElastiCache {
24namespace Model {
33 public:
34 AWS_ELASTICACHE_API ResetCacheParameterGroupResult() = default;
37
39
42 inline const Aws::String& GetCacheParameterGroupName() const { return m_cacheParameterGroupName; }
43 template <typename CacheParameterGroupNameT = Aws::String>
44 void SetCacheParameterGroupName(CacheParameterGroupNameT&& value) {
45 m_cacheParameterGroupNameHasBeenSet = true;
46 m_cacheParameterGroupName = std::forward<CacheParameterGroupNameT>(value);
47 }
48 template <typename CacheParameterGroupNameT = Aws::String>
50 SetCacheParameterGroupName(std::forward<CacheParameterGroupNameT>(value));
51 return *this;
52 }
54
56
57 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
58 template <typename ResponseMetadataT = ResponseMetadata>
59 void SetResponseMetadata(ResponseMetadataT&& value) {
60 m_responseMetadataHasBeenSet = true;
61 m_responseMetadata = std::forward<ResponseMetadataT>(value);
62 }
63 template <typename ResponseMetadataT = ResponseMetadata>
65 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
66 return *this;
67 }
69 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
70
71 private:
72 Aws::String m_cacheParameterGroupName;
73
74 ResponseMetadata m_responseMetadata;
75 Aws::Http::HttpResponseCode m_HttpResponseCode;
76 bool m_cacheParameterGroupNameHasBeenSet = false;
77 bool m_responseMetadataHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ElastiCache
82} // namespace Aws
AWS_ELASTICACHE_API ResetCacheParameterGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ResetCacheParameterGroupResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICACHE_API ResetCacheParameterGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICACHE_API ResetCacheParameterGroupResult()=default
ResetCacheParameterGroupResult & WithCacheParameterGroupName(CacheParameterGroupNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Xml::XmlDocument XmlDocument