AWS SDK for C++  1.9.124
AWS SDK for C++
NotifyWhenUploadedResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace StorageGateway
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
35 
36  inline const Aws::String& GetFileShareARN() const{ return m_fileShareARN; }
37 
38 
39  inline void SetFileShareARN(const Aws::String& value) { m_fileShareARN = value; }
40 
41 
42  inline void SetFileShareARN(Aws::String&& value) { m_fileShareARN = std::move(value); }
43 
44 
45  inline void SetFileShareARN(const char* value) { m_fileShareARN.assign(value); }
46 
47 
48  inline NotifyWhenUploadedResult& WithFileShareARN(const Aws::String& value) { SetFileShareARN(value); return *this;}
49 
50 
51  inline NotifyWhenUploadedResult& WithFileShareARN(Aws::String&& value) { SetFileShareARN(std::move(value)); return *this;}
52 
53 
54  inline NotifyWhenUploadedResult& WithFileShareARN(const char* value) { SetFileShareARN(value); return *this;}
55 
56 
57 
58  inline const Aws::String& GetNotificationId() const{ return m_notificationId; }
59 
60 
61  inline void SetNotificationId(const Aws::String& value) { m_notificationId = value; }
62 
63 
64  inline void SetNotificationId(Aws::String&& value) { m_notificationId = std::move(value); }
65 
66 
67  inline void SetNotificationId(const char* value) { m_notificationId.assign(value); }
68 
69 
70  inline NotifyWhenUploadedResult& WithNotificationId(const Aws::String& value) { SetNotificationId(value); return *this;}
71 
72 
73  inline NotifyWhenUploadedResult& WithNotificationId(Aws::String&& value) { SetNotificationId(std::move(value)); return *this;}
74 
75 
76  inline NotifyWhenUploadedResult& WithNotificationId(const char* value) { SetNotificationId(value); return *this;}
77 
78  private:
79 
80  Aws::String m_fileShareARN;
81 
82  Aws::String m_notificationId;
83  };
84 
85 } // namespace Model
86 } // namespace StorageGateway
87 } // namespace Aws
Aws::StorageGateway::Model::NotifyWhenUploadedResult::GetFileShareARN
const Aws::String & GetFileShareARN() const
Definition: NotifyWhenUploadedResult.h:36
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::NotifyWhenUploadedResult::GetNotificationId
const Aws::String & GetNotificationId() const
Definition: NotifyWhenUploadedResult.h:58
Aws::StorageGateway::Model::NotifyWhenUploadedResult::SetNotificationId
void SetNotificationId(Aws::String &&value)
Definition: NotifyWhenUploadedResult.h:64
Aws::StorageGateway::Model::NotifyWhenUploadedResult::WithFileShareARN
NotifyWhenUploadedResult & WithFileShareARN(const Aws::String &value)
Definition: NotifyWhenUploadedResult.h:48
Aws::StorageGateway::Model::NotifyWhenUploadedResult::WithNotificationId
NotifyWhenUploadedResult & WithNotificationId(const char *value)
Definition: NotifyWhenUploadedResult.h:76
Aws::StorageGateway::Model::NotifyWhenUploadedResult::SetNotificationId
void SetNotificationId(const char *value)
Definition: NotifyWhenUploadedResult.h:67
Aws::StorageGateway::Model::NotifyWhenUploadedResult
Definition: NotifyWhenUploadedResult.h:28
Aws::StorageGateway::Model::NotifyWhenUploadedResult::WithNotificationId
NotifyWhenUploadedResult & WithNotificationId(Aws::String &&value)
Definition: NotifyWhenUploadedResult.h:73
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::NotifyWhenUploadedResult::NotifyWhenUploadedResult
NotifyWhenUploadedResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::NotifyWhenUploadedResult::WithNotificationId
NotifyWhenUploadedResult & WithNotificationId(const Aws::String &value)
Definition: NotifyWhenUploadedResult.h:70
Aws::StorageGateway::Model::NotifyWhenUploadedResult::NotifyWhenUploadedResult
NotifyWhenUploadedResult()
Aws::StorageGateway::Model::NotifyWhenUploadedResult::SetFileShareARN
void SetFileShareARN(const Aws::String &value)
Definition: NotifyWhenUploadedResult.h:39
Aws::StorageGateway::Model::NotifyWhenUploadedResult::SetNotificationId
void SetNotificationId(const Aws::String &value)
Definition: NotifyWhenUploadedResult.h:61
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::NotifyWhenUploadedResult::WithFileShareARN
NotifyWhenUploadedResult & WithFileShareARN(Aws::String &&value)
Definition: NotifyWhenUploadedResult.h:51
Aws::StorageGateway::Model::NotifyWhenUploadedResult::operator=
NotifyWhenUploadedResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::NotifyWhenUploadedResult::WithFileShareARN
NotifyWhenUploadedResult & WithFileShareARN(const char *value)
Definition: NotifyWhenUploadedResult.h:54
Aws::StorageGateway::Model::NotifyWhenUploadedResult::SetFileShareARN
void SetFileShareARN(Aws::String &&value)
Definition: NotifyWhenUploadedResult.h:42
Aws::StorageGateway::Model::NotifyWhenUploadedResult::SetFileShareARN
void SetFileShareARN(const char *value)
Definition: NotifyWhenUploadedResult.h:45