AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
RefreshCacheResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/storagegateway/StorageGateway_EXPORTS.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 StorageGateway {
23namespace Model {
30 public:
31 AWS_STORAGEGATEWAY_API RefreshCacheResult() = default;
34
36
37 inline const Aws::String& GetFileShareARN() const { return m_fileShareARN; }
38 template <typename FileShareARNT = Aws::String>
39 void SetFileShareARN(FileShareARNT&& value) {
40 m_fileShareARNHasBeenSet = true;
41 m_fileShareARN = std::forward<FileShareARNT>(value);
42 }
43 template <typename FileShareARNT = Aws::String>
44 RefreshCacheResult& WithFileShareARN(FileShareARNT&& value) {
45 SetFileShareARN(std::forward<FileShareARNT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetNotificationId() const { return m_notificationId; }
53 template <typename NotificationIdT = Aws::String>
54 void SetNotificationId(NotificationIdT&& value) {
55 m_notificationIdHasBeenSet = true;
56 m_notificationId = std::forward<NotificationIdT>(value);
57 }
58 template <typename NotificationIdT = Aws::String>
59 RefreshCacheResult& WithNotificationId(NotificationIdT&& value) {
60 SetNotificationId(std::forward<NotificationIdT>(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 RefreshCacheResult& 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_fileShareARN;
83
84 Aws::String m_notificationId;
85
86 Aws::String m_requestId;
87 Aws::Http::HttpResponseCode m_HttpResponseCode;
88 bool m_fileShareARNHasBeenSet = false;
89 bool m_notificationIdHasBeenSet = false;
90 bool m_requestIdHasBeenSet = false;
91};
92
93} // namespace Model
94} // namespace StorageGateway
95} // namespace Aws
RefreshCacheResult & WithRequestId(RequestIdT &&value)
RefreshCacheResult & WithNotificationId(NotificationIdT &&value)
RefreshCacheResult & WithFileShareARN(FileShareARNT &&value)
AWS_STORAGEGATEWAY_API RefreshCacheResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API RefreshCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_STORAGEGATEWAY_API RefreshCacheResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue