AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetServerlessCacheName(const Aws::String& value) { m_serverlessCacheNameHasBeenSet = true; m_serverlessCacheName = value; }
46 inline void SetServerlessCacheName(Aws::String&& value) { m_serverlessCacheNameHasBeenSet = true; m_serverlessCacheName = std::move(value); }
47 inline void SetServerlessCacheName(const char* value) { m_serverlessCacheNameHasBeenSet = true; m_serverlessCacheName.assign(value); }
50 inline DeleteServerlessCacheRequest& WithServerlessCacheName(const char* value) { SetServerlessCacheName(value); return *this;}
52
54
59 inline const Aws::String& GetFinalSnapshotName() const{ return m_finalSnapshotName; }
60 inline bool FinalSnapshotNameHasBeenSet() const { return m_finalSnapshotNameHasBeenSet; }
61 inline void SetFinalSnapshotName(const Aws::String& value) { m_finalSnapshotNameHasBeenSet = true; m_finalSnapshotName = value; }
62 inline void SetFinalSnapshotName(Aws::String&& value) { m_finalSnapshotNameHasBeenSet = true; m_finalSnapshotName = std::move(value); }
63 inline void SetFinalSnapshotName(const char* value) { m_finalSnapshotNameHasBeenSet = true; m_finalSnapshotName.assign(value); }
65 inline DeleteServerlessCacheRequest& WithFinalSnapshotName(Aws::String&& value) { SetFinalSnapshotName(std::move(value)); return *this;}
66 inline DeleteServerlessCacheRequest& WithFinalSnapshotName(const char* value) { SetFinalSnapshotName(value); return *this;}
68 private:
69
70 Aws::String m_serverlessCacheName;
71 bool m_serverlessCacheNameHasBeenSet = false;
72
73 Aws::String m_finalSnapshotName;
74 bool m_finalSnapshotNameHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ElastiCache
79} // namespace Aws
DeleteServerlessCacheRequest & WithFinalSnapshotName(const Aws::String &value)
DeleteServerlessCacheRequest & WithServerlessCacheName(Aws::String &&value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteServerlessCacheRequest & WithFinalSnapshotName(const char *value)
DeleteServerlessCacheRequest & WithFinalSnapshotName(Aws::String &&value)
DeleteServerlessCacheRequest & WithServerlessCacheName(const char *value)
DeleteServerlessCacheRequest & WithServerlessCacheName(const Aws::String &value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String