AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeCachediSCSIVolumesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace StorageGateway
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "DescribeCachediSCSIVolumes"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
43  inline const Aws::Vector<Aws::String>& GetVolumeARNs() const{ return m_volumeARNs; }
44 
50  inline bool VolumeARNsHasBeenSet() const { return m_volumeARNsHasBeenSet; }
51 
57  inline void SetVolumeARNs(const Aws::Vector<Aws::String>& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs = value; }
58 
64  inline void SetVolumeARNs(Aws::Vector<Aws::String>&& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs = std::move(value); }
65 
71  inline DescribeCachediSCSIVolumesRequest& WithVolumeARNs(const Aws::Vector<Aws::String>& value) { SetVolumeARNs(value); return *this;}
72 
78  inline DescribeCachediSCSIVolumesRequest& WithVolumeARNs(Aws::Vector<Aws::String>&& value) { SetVolumeARNs(std::move(value)); return *this;}
79 
85  inline DescribeCachediSCSIVolumesRequest& AddVolumeARNs(const Aws::String& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs.push_back(value); return *this; }
86 
92  inline DescribeCachediSCSIVolumesRequest& AddVolumeARNs(Aws::String&& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs.push_back(std::move(value)); return *this; }
93 
99  inline DescribeCachediSCSIVolumesRequest& AddVolumeARNs(const char* value) { m_volumeARNsHasBeenSet = true; m_volumeARNs.push_back(value); return *this; }
100 
101  private:
102 
103  Aws::Vector<Aws::String> m_volumeARNs;
104  bool m_volumeARNsHasBeenSet;
105  };
106 
107 } // namespace Model
108 } // namespace StorageGateway
109 } // namespace Aws
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::GetVolumeARNs
const Aws::Vector< Aws::String > & GetVolumeARNs() const
Definition: DescribeCachediSCSIVolumesRequest.h:43
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::WithVolumeARNs
DescribeCachediSCSIVolumesRequest & WithVolumeARNs(const Aws::Vector< Aws::String > &value)
Definition: DescribeCachediSCSIVolumesRequest.h:71
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeCachediSCSIVolumesRequest.h:31
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest
Definition: DescribeCachediSCSIVolumesRequest.h:23
AWSVector.h
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::SetVolumeARNs
void SetVolumeARNs(const Aws::Vector< Aws::String > &value)
Definition: DescribeCachediSCSIVolumesRequest.h:57
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::DescribeCachediSCSIVolumesRequest
DescribeCachediSCSIVolumesRequest()
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::VolumeARNsHasBeenSet
bool VolumeARNsHasBeenSet() const
Definition: DescribeCachediSCSIVolumesRequest.h:50
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::AddVolumeARNs
DescribeCachediSCSIVolumesRequest & AddVolumeARNs(Aws::String &&value)
Definition: DescribeCachediSCSIVolumesRequest.h:92
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::SetVolumeARNs
void SetVolumeARNs(Aws::Vector< Aws::String > &&value)
Definition: DescribeCachediSCSIVolumesRequest.h:64
StorageGatewayRequest.h
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::AddVolumeARNs
DescribeCachediSCSIVolumesRequest & AddVolumeARNs(const Aws::String &value)
Definition: DescribeCachediSCSIVolumesRequest.h:85
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::DescribeCachediSCSIVolumesRequest::AddVolumeARNs
DescribeCachediSCSIVolumesRequest & AddVolumeARNs(const char *value)
Definition: DescribeCachediSCSIVolumesRequest.h:99
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesRequest::WithVolumeARNs
DescribeCachediSCSIVolumesRequest & WithVolumeARNs(Aws::Vector< Aws::String > &&value)
Definition: DescribeCachediSCSIVolumesRequest.h:78