AWS SDK for C++

AWS SDK for C++ Version 1.11.927

Loading...
Searching...
No Matches
NotifyWhenUploadedResult.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 {
25 public:
26 AWS_STORAGEGATEWAY_API NotifyWhenUploadedResult() = default;
29
31
32 inline const Aws::String& GetFileShareARN() const { return m_fileShareARN; }
33 template <typename FileShareARNT = Aws::String>
34 void SetFileShareARN(FileShareARNT&& value) {
35 m_fileShareARNHasBeenSet = true;
36 m_fileShareARN = std::forward<FileShareARNT>(value);
37 }
38 template <typename FileShareARNT = Aws::String>
40 SetFileShareARN(std::forward<FileShareARNT>(value));
41 return *this;
42 }
44
46
47 inline const Aws::String& GetNotificationId() const { return m_notificationId; }
48 template <typename NotificationIdT = Aws::String>
49 void SetNotificationId(NotificationIdT&& value) {
50 m_notificationIdHasBeenSet = true;
51 m_notificationId = std::forward<NotificationIdT>(value);
52 }
53 template <typename NotificationIdT = Aws::String>
54 NotifyWhenUploadedResult& WithNotificationId(NotificationIdT&& value) {
55 SetNotificationId(std::forward<NotificationIdT>(value));
56 return *this;
57 }
59
61
62 inline const Aws::String& GetRequestId() const { return m_requestId; }
63 template <typename RequestIdT = Aws::String>
64 void SetRequestId(RequestIdT&& value) {
65 m_requestIdHasBeenSet = true;
66 m_requestId = std::forward<RequestIdT>(value);
67 }
68 template <typename RequestIdT = Aws::String>
70 SetRequestId(std::forward<RequestIdT>(value));
71 return *this;
72 }
74 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
75
76 private:
77 Aws::String m_fileShareARN;
78
79 Aws::String m_notificationId;
80
81 Aws::String m_requestId;
82 Aws::Http::HttpResponseCode m_HttpResponseCode;
83 bool m_fileShareARNHasBeenSet = false;
84 bool m_notificationIdHasBeenSet = false;
85 bool m_requestIdHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace StorageGateway
90} // namespace Aws
AWS_STORAGEGATEWAY_API NotifyWhenUploadedResult()=default
AWS_STORAGEGATEWAY_API NotifyWhenUploadedResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
NotifyWhenUploadedResult & WithFileShareARN(FileShareARNT &&value)
AWS_STORAGEGATEWAY_API NotifyWhenUploadedResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
NotifyWhenUploadedResult & WithNotificationId(NotificationIdT &&value)
NotifyWhenUploadedResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue