AWS SDK for C++  1.9.107
AWS SDK for C++
NotifyWhenUploadedRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace StorageGateway
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "NotifyWhenUploaded"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
37 
38  inline const Aws::String& GetFileShareARN() const{ return m_fileShareARN; }
39 
40 
41  inline bool FileShareARNHasBeenSet() const { return m_fileShareARNHasBeenSet; }
42 
43 
44  inline void SetFileShareARN(const Aws::String& value) { m_fileShareARNHasBeenSet = true; m_fileShareARN = value; }
45 
46 
47  inline void SetFileShareARN(Aws::String&& value) { m_fileShareARNHasBeenSet = true; m_fileShareARN = std::move(value); }
48 
49 
50  inline void SetFileShareARN(const char* value) { m_fileShareARNHasBeenSet = true; m_fileShareARN.assign(value); }
51 
52 
53  inline NotifyWhenUploadedRequest& WithFileShareARN(const Aws::String& value) { SetFileShareARN(value); return *this;}
54 
55 
56  inline NotifyWhenUploadedRequest& WithFileShareARN(Aws::String&& value) { SetFileShareARN(std::move(value)); return *this;}
57 
58 
59  inline NotifyWhenUploadedRequest& WithFileShareARN(const char* value) { SetFileShareARN(value); return *this;}
60 
61  private:
62 
63  Aws::String m_fileShareARN;
64  bool m_fileShareARNHasBeenSet;
65  };
66 
67 } // namespace Model
68 } // namespace StorageGateway
69 } // namespace Aws
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::GetFileShareARN
const Aws::String & GetFileShareARN() const
Definition: NotifyWhenUploadedRequest.h:38
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::WithFileShareARN
NotifyWhenUploadedRequest & WithFileShareARN(const char *value)
Definition: NotifyWhenUploadedRequest.h:59
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::WithFileShareARN
NotifyWhenUploadedRequest & WithFileShareARN(const Aws::String &value)
Definition: NotifyWhenUploadedRequest.h:53
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::SetFileShareARN
void SetFileShareARN(Aws::String &&value)
Definition: NotifyWhenUploadedRequest.h:47
Aws::StorageGateway::Model::NotifyWhenUploadedRequest
Definition: NotifyWhenUploadedRequest.h:22
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::NotifyWhenUploadedRequest
NotifyWhenUploadedRequest()
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::WithFileShareARN
NotifyWhenUploadedRequest & WithFileShareARN(Aws::String &&value)
Definition: NotifyWhenUploadedRequest.h:56
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::FileShareARNHasBeenSet
bool FileShareARNHasBeenSet() const
Definition: NotifyWhenUploadedRequest.h:41
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::SetFileShareARN
void SetFileShareARN(const Aws::String &value)
Definition: NotifyWhenUploadedRequest.h:44
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::SetFileShareARN
void SetFileShareARN(const char *value)
Definition: NotifyWhenUploadedRequest.h:50
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: NotifyWhenUploadedRequest.h:30
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::NotifyWhenUploadedRequest::SerializePayload
Aws::String SerializePayload() const override