AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteCacheClusterRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ElastiCache {
15namespace Model {
16
24 public:
25 AWS_ELASTICACHE_API DeleteCacheClusterRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteCacheCluster"; }
32
33 AWS_ELASTICACHE_API Aws::String SerializePayload() const override;
34
35 protected:
36 AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
37
38 public:
40
44 inline const Aws::String& GetCacheClusterId() const { return m_cacheClusterId; }
45 inline bool CacheClusterIdHasBeenSet() const { return m_cacheClusterIdHasBeenSet; }
46 template <typename CacheClusterIdT = Aws::String>
47 void SetCacheClusterId(CacheClusterIdT&& value) {
48 m_cacheClusterIdHasBeenSet = true;
49 m_cacheClusterId = std::forward<CacheClusterIdT>(value);
50 }
51 template <typename CacheClusterIdT = Aws::String>
53 SetCacheClusterId(std::forward<CacheClusterIdT>(value));
54 return *this;
55 }
57
59
64 inline const Aws::String& GetFinalSnapshotIdentifier() const { return m_finalSnapshotIdentifier; }
65 inline bool FinalSnapshotIdentifierHasBeenSet() const { return m_finalSnapshotIdentifierHasBeenSet; }
66 template <typename FinalSnapshotIdentifierT = Aws::String>
67 void SetFinalSnapshotIdentifier(FinalSnapshotIdentifierT&& value) {
68 m_finalSnapshotIdentifierHasBeenSet = true;
69 m_finalSnapshotIdentifier = std::forward<FinalSnapshotIdentifierT>(value);
70 }
71 template <typename FinalSnapshotIdentifierT = Aws::String>
72 DeleteCacheClusterRequest& WithFinalSnapshotIdentifier(FinalSnapshotIdentifierT&& value) {
73 SetFinalSnapshotIdentifier(std::forward<FinalSnapshotIdentifierT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_cacheClusterId;
79
80 Aws::String m_finalSnapshotIdentifier;
81 bool m_cacheClusterIdHasBeenSet = false;
82 bool m_finalSnapshotIdentifierHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace ElastiCache
87} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
DeleteCacheClusterRequest & WithCacheClusterId(CacheClusterIdT &&value)
void SetFinalSnapshotIdentifier(FinalSnapshotIdentifierT &&value)
DeleteCacheClusterRequest & WithFinalSnapshotIdentifier(FinalSnapshotIdentifierT &&value)
AWS_ELASTICACHE_API DeleteCacheClusterRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String