AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
ModifyCacheSubnetGroupResult.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/model/CacheSubnetGroup.h>
9#include <aws/elasticache/model/ResponseMetadata.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Xml {
19class XmlDocument;
20} // namespace Xml
21} // namespace Utils
22namespace ElastiCache {
23namespace Model {
25 public:
26 AWS_ELASTICACHE_API ModifyCacheSubnetGroupResult() = default;
29
31
32 inline const CacheSubnetGroup& GetCacheSubnetGroup() const { return m_cacheSubnetGroup; }
33 template <typename CacheSubnetGroupT = CacheSubnetGroup>
34 void SetCacheSubnetGroup(CacheSubnetGroupT&& value) {
35 m_cacheSubnetGroupHasBeenSet = true;
36 m_cacheSubnetGroup = std::forward<CacheSubnetGroupT>(value);
37 }
38 template <typename CacheSubnetGroupT = CacheSubnetGroup>
40 SetCacheSubnetGroup(std::forward<CacheSubnetGroupT>(value));
41 return *this;
42 }
44
46
47 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
48 template <typename ResponseMetadataT = ResponseMetadata>
49 void SetResponseMetadata(ResponseMetadataT&& value) {
50 m_responseMetadataHasBeenSet = true;
51 m_responseMetadata = std::forward<ResponseMetadataT>(value);
52 }
53 template <typename ResponseMetadataT = ResponseMetadata>
55 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
56 return *this;
57 }
59 private:
60 CacheSubnetGroup m_cacheSubnetGroup;
61
62 ResponseMetadata m_responseMetadata;
63 bool m_cacheSubnetGroupHasBeenSet = false;
64 bool m_responseMetadataHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace ElastiCache
69} // namespace Aws
AWS_ELASTICACHE_API ModifyCacheSubnetGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
ModifyCacheSubnetGroupResult & WithResponseMetadata(ResponseMetadataT &&value)
ModifyCacheSubnetGroupResult & WithCacheSubnetGroup(CacheSubnetGroupT &&value)
AWS_ELASTICACHE_API ModifyCacheSubnetGroupResult()=default
AWS_ELASTICACHE_API ModifyCacheSubnetGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Utils::Xml::XmlDocument XmlDocument