AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteServerlessCacheRequest.h
1
6#pragma once
7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ElastiCache
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_ELASTICACHE_API DeleteServerlessCacheRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "DeleteServerlessCache"; }
31
32 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
43 inline const Aws::String& GetServerlessCacheName() const { return m_serverlessCacheName; }
44 inline bool ServerlessCacheNameHasBeenSet() const { return m_serverlessCacheNameHasBeenSet; }
45 template<typename ServerlessCacheNameT = Aws::String>
46 void SetServerlessCacheName(ServerlessCacheNameT&& value) { m_serverlessCacheNameHasBeenSet = true; m_serverlessCacheName = std::forward<ServerlessCacheNameT>(value); }
47 template<typename ServerlessCacheNameT = Aws::String>
48 DeleteServerlessCacheRequest& WithServerlessCacheName(ServerlessCacheNameT&& value) { SetServerlessCacheName(std::forward<ServerlessCacheNameT>(value)); return *this;}
50
52
57 inline const Aws::String& GetFinalSnapshotName() const { return m_finalSnapshotName; }
58 inline bool FinalSnapshotNameHasBeenSet() const { return m_finalSnapshotNameHasBeenSet; }
59 template<typename FinalSnapshotNameT = Aws::String>
60 void SetFinalSnapshotName(FinalSnapshotNameT&& value) { m_finalSnapshotNameHasBeenSet = true; m_finalSnapshotName = std::forward<FinalSnapshotNameT>(value); }
61 template<typename FinalSnapshotNameT = Aws::String>
62 DeleteServerlessCacheRequest& WithFinalSnapshotName(FinalSnapshotNameT&& value) { SetFinalSnapshotName(std::forward<FinalSnapshotNameT>(value)); return *this;}
64 private:
65
66 Aws::String m_serverlessCacheName;
67 bool m_serverlessCacheNameHasBeenSet = false;
68
69 Aws::String m_finalSnapshotName;
70 bool m_finalSnapshotNameHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace ElastiCache
75} // namespace Aws
DeleteServerlessCacheRequest & WithServerlessCacheName(ServerlessCacheNameT &&value)
DeleteServerlessCacheRequest & WithFinalSnapshotName(FinalSnapshotNameT &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_ELASTICACHE_API DeleteServerlessCacheRequest()=default
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String