AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
DescribeFileCachesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/fsx/FSx_EXPORTS.h>
11#include <aws/fsx/model/FileCache.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace FSx {
25namespace Model {
27 public:
28 AWS_FSX_API DescribeFileCachesResult() = default;
31
33
36 inline const Aws::Vector<FileCache>& GetFileCaches() const { return m_fileCaches; }
37 template <typename FileCachesT = Aws::Vector<FileCache>>
38 void SetFileCaches(FileCachesT&& value) {
39 m_fileCachesHasBeenSet = true;
40 m_fileCaches = std::forward<FileCachesT>(value);
41 }
42 template <typename FileCachesT = Aws::Vector<FileCache>>
44 SetFileCaches(std::forward<FileCachesT>(value));
45 return *this;
46 }
47 template <typename FileCachesT = FileCache>
49 m_fileCachesHasBeenSet = true;
50 m_fileCaches.emplace_back(std::forward<FileCachesT>(value));
51 return *this;
52 }
54
56
57 inline const Aws::String& GetNextToken() const { return m_nextToken; }
58 template <typename NextTokenT = Aws::String>
59 void SetNextToken(NextTokenT&& value) {
60 m_nextTokenHasBeenSet = true;
61 m_nextToken = std::forward<NextTokenT>(value);
62 }
63 template <typename NextTokenT = Aws::String>
65 SetNextToken(std::forward<NextTokenT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 Aws::Vector<FileCache> m_fileCaches;
88
89 Aws::String m_nextToken;
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_fileCachesHasBeenSet = false;
94 bool m_nextTokenHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace FSx
100} // namespace Aws
DescribeFileCachesResult & WithRequestId(RequestIdT &&value)
AWS_FSX_API DescribeFileCachesResult()=default
DescribeFileCachesResult & WithNextToken(NextTokenT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_FSX_API DescribeFileCachesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeFileCachesResult & AddFileCaches(FileCachesT &&value)
AWS_FSX_API DescribeFileCachesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< FileCache > & GetFileCaches() const
DescribeFileCachesResult & WithFileCaches(FileCachesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue