AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateServerlessCacheResult.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/model/ServerlessCache.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{
29 {
30 public:
31 AWS_ELASTICACHE_API CreateServerlessCacheResult();
34
35
37
40 inline const ServerlessCache& GetServerlessCache() const{ return m_serverlessCache; }
41 inline void SetServerlessCache(const ServerlessCache& value) { m_serverlessCache = value; }
42 inline void SetServerlessCache(ServerlessCache&& value) { m_serverlessCache = std::move(value); }
44 inline CreateServerlessCacheResult& WithServerlessCache(ServerlessCache&& value) { SetServerlessCache(std::move(value)); return *this;}
46
48
49 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
50 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
51 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
53 inline CreateServerlessCacheResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
55 private:
56
57 ServerlessCache m_serverlessCache;
58
59 ResponseMetadata m_responseMetadata;
60 };
61
62} // namespace Model
63} // namespace ElastiCache
64} // namespace Aws
CreateServerlessCacheResult & WithResponseMetadata(const ResponseMetadata &value)
CreateServerlessCacheResult & WithResponseMetadata(ResponseMetadata &&value)
AWS_ELASTICACHE_API CreateServerlessCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_ELASTICACHE_API CreateServerlessCacheResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateServerlessCacheResult & WithServerlessCache(ServerlessCache &&value)
CreateServerlessCacheResult & WithServerlessCache(const ServerlessCache &value)
Aws::Utils::Xml::XmlDocument XmlDocument