AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteFileCacheResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/fsx/FSx_EXPORTS.h>
9#include <aws/fsx/model/FileCacheLifecycle.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace FSx {
23namespace Model {
25 public:
26 AWS_FSX_API DeleteFileCacheResult() = default;
29
31
34 inline const Aws::String& GetFileCacheId() const { return m_fileCacheId; }
35 template <typename FileCacheIdT = Aws::String>
36 void SetFileCacheId(FileCacheIdT&& value) {
37 m_fileCacheIdHasBeenSet = true;
38 m_fileCacheId = std::forward<FileCacheIdT>(value);
39 }
40 template <typename FileCacheIdT = Aws::String>
41 DeleteFileCacheResult& WithFileCacheId(FileCacheIdT&& value) {
42 SetFileCacheId(std::forward<FileCacheIdT>(value));
43 return *this;
44 }
46
48
53 inline FileCacheLifecycle GetLifecycle() const { return m_lifecycle; }
54 inline void SetLifecycle(FileCacheLifecycle value) {
55 m_lifecycleHasBeenSet = true;
56 m_lifecycle = value;
57 }
59 SetLifecycle(value);
60 return *this;
61 }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template <typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) {
69 m_requestIdHasBeenSet = true;
70 m_requestId = std::forward<RequestIdT>(value);
71 }
72 template <typename RequestIdT = Aws::String>
73 DeleteFileCacheResult& WithRequestId(RequestIdT&& value) {
74 SetRequestId(std::forward<RequestIdT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_fileCacheId;
80
82
83 Aws::String m_requestId;
84 bool m_fileCacheIdHasBeenSet = false;
85 bool m_lifecycleHasBeenSet = false;
86 bool m_requestIdHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace FSx
91} // namespace Aws
AWS_FSX_API DeleteFileCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteFileCacheResult & WithFileCacheId(FileCacheIdT &&value)
void SetLifecycle(FileCacheLifecycle value)
AWS_FSX_API DeleteFileCacheResult()=default
AWS_FSX_API DeleteFileCacheResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteFileCacheResult & WithLifecycle(FileCacheLifecycle value)
DeleteFileCacheResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue