AWS SDK for C++  1.9.108
AWS SDK for C++
RefreshCacheResult.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 {
33  {
34  public:
38 
39 
40 
41  inline const Aws::String& GetFileShareARN() const{ return m_fileShareARN; }
42 
43 
44  inline void SetFileShareARN(const Aws::String& value) { m_fileShareARN = value; }
45 
46 
47  inline void SetFileShareARN(Aws::String&& value) { m_fileShareARN = std::move(value); }
48 
49 
50  inline void SetFileShareARN(const char* value) { m_fileShareARN.assign(value); }
51 
52 
53  inline RefreshCacheResult& WithFileShareARN(const Aws::String& value) { SetFileShareARN(value); return *this;}
54 
55 
56  inline RefreshCacheResult& WithFileShareARN(Aws::String&& value) { SetFileShareARN(std::move(value)); return *this;}
57 
58 
59  inline RefreshCacheResult& WithFileShareARN(const char* value) { SetFileShareARN(value); return *this;}
60 
61 
62 
63  inline const Aws::String& GetNotificationId() const{ return m_notificationId; }
64 
65 
66  inline void SetNotificationId(const Aws::String& value) { m_notificationId = value; }
67 
68 
69  inline void SetNotificationId(Aws::String&& value) { m_notificationId = std::move(value); }
70 
71 
72  inline void SetNotificationId(const char* value) { m_notificationId.assign(value); }
73 
74 
75  inline RefreshCacheResult& WithNotificationId(const Aws::String& value) { SetNotificationId(value); return *this;}
76 
77 
78  inline RefreshCacheResult& WithNotificationId(Aws::String&& value) { SetNotificationId(std::move(value)); return *this;}
79 
80 
81  inline RefreshCacheResult& WithNotificationId(const char* value) { SetNotificationId(value); return *this;}
82 
83  private:
84 
85  Aws::String m_fileShareARN;
86 
87  Aws::String m_notificationId;
88  };
89 
90 } // namespace Model
91 } // namespace StorageGateway
92 } // namespace Aws
Aws::StorageGateway::Model::RefreshCacheResult::WithFileShareARN
RefreshCacheResult & WithFileShareARN(const char *value)
Definition: RefreshCacheResult.h:59
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::RefreshCacheResult::SetFileShareARN
void SetFileShareARN(Aws::String &&value)
Definition: RefreshCacheResult.h:47
Aws::StorageGateway::Model::RefreshCacheResult::GetNotificationId
const Aws::String & GetNotificationId() const
Definition: RefreshCacheResult.h:63
Aws::StorageGateway::Model::RefreshCacheResult::RefreshCacheResult
RefreshCacheResult()
Aws::StorageGateway::Model::RefreshCacheResult::RefreshCacheResult
RefreshCacheResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::RefreshCacheResult::GetFileShareARN
const Aws::String & GetFileShareARN() const
Definition: RefreshCacheResult.h:41
Aws::StorageGateway::Model::RefreshCacheResult::WithNotificationId
RefreshCacheResult & WithNotificationId(const Aws::String &value)
Definition: RefreshCacheResult.h:75
Aws::StorageGateway::Model::RefreshCacheResult::SetNotificationId
void SetNotificationId(Aws::String &&value)
Definition: RefreshCacheResult.h:69
Aws::StorageGateway::Model::RefreshCacheResult::WithNotificationId
RefreshCacheResult & WithNotificationId(Aws::String &&value)
Definition: RefreshCacheResult.h:78
Aws::StorageGateway::Model::RefreshCacheResult
Definition: RefreshCacheResult.h:33
Aws::StorageGateway::Model::RefreshCacheResult::SetNotificationId
void SetNotificationId(const Aws::String &value)
Definition: RefreshCacheResult.h:66
Aws::StorageGateway::Model::RefreshCacheResult::WithFileShareARN
RefreshCacheResult & WithFileShareARN(Aws::String &&value)
Definition: RefreshCacheResult.h:56
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::RefreshCacheResult::SetFileShareARN
void SetFileShareARN(const char *value)
Definition: RefreshCacheResult.h:50
Aws::StorageGateway::Model::RefreshCacheResult::SetFileShareARN
void SetFileShareARN(const Aws::String &value)
Definition: RefreshCacheResult.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::StorageGateway::Model::RefreshCacheResult::WithFileShareARN
RefreshCacheResult & WithFileShareARN(const Aws::String &value)
Definition: RefreshCacheResult.h:53
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::RefreshCacheResult::SetNotificationId
void SetNotificationId(const char *value)
Definition: RefreshCacheResult.h:72
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::RefreshCacheResult::operator=
RefreshCacheResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::RefreshCacheResult::WithNotificationId
RefreshCacheResult & WithNotificationId(const char *value)
Definition: RefreshCacheResult.h:81