AWS SDK for C++

AWS SDK for C++ Version 1.11.779

Loading...
Searching...
No Matches
DeleteFileCacheResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/FSx_EXPORTS.h>
10#include <aws/fsx/model/FileCacheLifecycle.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace FSx {
24namespace Model {
26 public:
27 AWS_FSX_API DeleteFileCacheResult() = default;
30
32
35 inline const Aws::String& GetFileCacheId() const { return m_fileCacheId; }
36 template <typename FileCacheIdT = Aws::String>
37 void SetFileCacheId(FileCacheIdT&& value) {
38 m_fileCacheIdHasBeenSet = true;
39 m_fileCacheId = std::forward<FileCacheIdT>(value);
40 }
41 template <typename FileCacheIdT = Aws::String>
42 DeleteFileCacheResult& WithFileCacheId(FileCacheIdT&& value) {
43 SetFileCacheId(std::forward<FileCacheIdT>(value));
44 return *this;
45 }
47
49
54 inline FileCacheLifecycle GetLifecycle() const { return m_lifecycle; }
55 inline void SetLifecycle(FileCacheLifecycle value) {
56 m_lifecycleHasBeenSet = true;
57 m_lifecycle = value;
58 }
60 SetLifecycle(value);
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
74 DeleteFileCacheResult& WithRequestId(RequestIdT&& value) {
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
80
81 private:
82 Aws::String m_fileCacheId;
83
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_fileCacheIdHasBeenSet = false;
89 bool m_lifecycleHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace FSx
95} // namespace Aws
AWS_FSX_API DeleteFileCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteFileCacheResult & WithFileCacheId(FileCacheIdT &&value)
void SetLifecycle(FileCacheLifecycle value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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