AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AddUploadBufferRequest.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/storagegateway/StorageGatewayRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace StorageGateway
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_STORAGEGATEWAY_API AddUploadBufferRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "AddUploadBuffer"; }
32
33 AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override;
34
35 AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
40 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
41 inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
42 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
43 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
44 inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
45 inline AddUploadBufferRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
46 inline AddUploadBufferRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
47 inline AddUploadBufferRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
49
51
56 inline const Aws::Vector<Aws::String>& GetDiskIds() const{ return m_diskIds; }
57 inline bool DiskIdsHasBeenSet() const { return m_diskIdsHasBeenSet; }
58 inline void SetDiskIds(const Aws::Vector<Aws::String>& value) { m_diskIdsHasBeenSet = true; m_diskIds = value; }
59 inline void SetDiskIds(Aws::Vector<Aws::String>&& value) { m_diskIdsHasBeenSet = true; m_diskIds = std::move(value); }
60 inline AddUploadBufferRequest& WithDiskIds(const Aws::Vector<Aws::String>& value) { SetDiskIds(value); return *this;}
61 inline AddUploadBufferRequest& WithDiskIds(Aws::Vector<Aws::String>&& value) { SetDiskIds(std::move(value)); return *this;}
62 inline AddUploadBufferRequest& AddDiskIds(const Aws::String& value) { m_diskIdsHasBeenSet = true; m_diskIds.push_back(value); return *this; }
63 inline AddUploadBufferRequest& AddDiskIds(Aws::String&& value) { m_diskIdsHasBeenSet = true; m_diskIds.push_back(std::move(value)); return *this; }
64 inline AddUploadBufferRequest& AddDiskIds(const char* value) { m_diskIdsHasBeenSet = true; m_diskIds.push_back(value); return *this; }
66 private:
67
68 Aws::String m_gatewayARN;
69 bool m_gatewayARNHasBeenSet = false;
70
72 bool m_diskIdsHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace StorageGateway
77} // namespace Aws
void SetDiskIds(Aws::Vector< Aws::String > &&value)
AWS_STORAGEGATEWAY_API Aws::String SerializePayload() const override
AddUploadBufferRequest & AddDiskIds(const char *value)
AddUploadBufferRequest & WithGatewayARN(Aws::String &&value)
AddUploadBufferRequest & WithGatewayARN(const Aws::String &value)
void SetDiskIds(const Aws::Vector< Aws::String > &value)
AddUploadBufferRequest & WithDiskIds(const Aws::Vector< Aws::String > &value)
AddUploadBufferRequest & WithDiskIds(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
AWS_STORAGEGATEWAY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AddUploadBufferRequest & AddDiskIds(Aws::String &&value)
AddUploadBufferRequest & AddDiskIds(const Aws::String &value)
const Aws::Vector< Aws::String > & GetDiskIds() const
AddUploadBufferRequest & WithGatewayARN(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector