AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateCacheSubnetGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/elasticache/ElastiCache_EXPORTS.h>
9#include <aws/elasticache/model/CacheSubnetGroup.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 {
26 public:
27 AWS_ELASTICACHE_API CreateCacheSubnetGroupResult() = default;
30
32
33 inline const CacheSubnetGroup& GetCacheSubnetGroup() const { return m_cacheSubnetGroup; }
34 template <typename CacheSubnetGroupT = CacheSubnetGroup>
35 void SetCacheSubnetGroup(CacheSubnetGroupT&& value) {
36 m_cacheSubnetGroupHasBeenSet = true;
37 m_cacheSubnetGroup = std::forward<CacheSubnetGroupT>(value);
38 }
39 template <typename CacheSubnetGroupT = CacheSubnetGroup>
41 SetCacheSubnetGroup(std::forward<CacheSubnetGroupT>(value));
42 return *this;
43 }
45
47
48 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
49 template <typename ResponseMetadataT = ResponseMetadata>
50 void SetResponseMetadata(ResponseMetadataT&& value) {
51 m_responseMetadataHasBeenSet = true;
52 m_responseMetadata = std::forward<ResponseMetadataT>(value);
53 }
54 template <typename ResponseMetadataT = ResponseMetadata>
56 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
57 return *this;
58 }
60 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
61
62 private:
63 CacheSubnetGroup m_cacheSubnetGroup;
64
65 ResponseMetadata m_responseMetadata;
66 Aws::Http::HttpResponseCode m_HttpResponseCode;
67 bool m_cacheSubnetGroupHasBeenSet = false;
68 bool m_responseMetadataHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace ElastiCache
73} // namespace Aws
CreateCacheSubnetGroupResult & WithCacheSubnetGroup(CacheSubnetGroupT &&value)
AWS_ELASTICACHE_API CreateCacheSubnetGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICACHE_API CreateCacheSubnetGroupResult()=default
AWS_ELASTICACHE_API CreateCacheSubnetGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateCacheSubnetGroupResult & WithResponseMetadata(ResponseMetadataT &&value)
Aws::Utils::Xml::XmlDocument XmlDocument