AWS SDK for C++  1.9.107
AWS SDK for C++
DescribeStorediSCSIVolumesRequest.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 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "DescribeStorediSCSIVolumes"; }
36 
37  Aws::String SerializePayload() const override;
38 
40 
41 
47  inline const Aws::Vector<Aws::String>& GetVolumeARNs() const{ return m_volumeARNs; }
48 
54  inline bool VolumeARNsHasBeenSet() const { return m_volumeARNsHasBeenSet; }
55 
61  inline void SetVolumeARNs(const Aws::Vector<Aws::String>& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs = value; }
62 
68  inline void SetVolumeARNs(Aws::Vector<Aws::String>&& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs = std::move(value); }
69 
75  inline DescribeStorediSCSIVolumesRequest& WithVolumeARNs(const Aws::Vector<Aws::String>& value) { SetVolumeARNs(value); return *this;}
76 
82  inline DescribeStorediSCSIVolumesRequest& WithVolumeARNs(Aws::Vector<Aws::String>&& value) { SetVolumeARNs(std::move(value)); return *this;}
83 
89  inline DescribeStorediSCSIVolumesRequest& AddVolumeARNs(const Aws::String& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs.push_back(value); return *this; }
90 
96  inline DescribeStorediSCSIVolumesRequest& AddVolumeARNs(Aws::String&& value) { m_volumeARNsHasBeenSet = true; m_volumeARNs.push_back(std::move(value)); return *this; }
97 
103  inline DescribeStorediSCSIVolumesRequest& AddVolumeARNs(const char* value) { m_volumeARNsHasBeenSet = true; m_volumeARNs.push_back(value); return *this; }
104 
105  private:
106 
107  Aws::Vector<Aws::String> m_volumeARNs;
108  bool m_volumeARNsHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace StorageGateway
113 } // namespace Aws
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::AddVolumeARNs
DescribeStorediSCSIVolumesRequest & AddVolumeARNs(const char *value)
Definition: DescribeStorediSCSIVolumesRequest.h:103
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::WithVolumeARNs
DescribeStorediSCSIVolumesRequest & WithVolumeARNs(const Aws::Vector< Aws::String > &value)
Definition: DescribeStorediSCSIVolumesRequest.h:75
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::DescribeStorediSCSIVolumesRequest
DescribeStorediSCSIVolumesRequest()
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::AddVolumeARNs
DescribeStorediSCSIVolumesRequest & AddVolumeARNs(const Aws::String &value)
Definition: DescribeStorediSCSIVolumesRequest.h:89
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::GetVolumeARNs
const Aws::Vector< Aws::String > & GetVolumeARNs() const
Definition: DescribeStorediSCSIVolumesRequest.h:47
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::AddVolumeARNs
DescribeStorediSCSIVolumesRequest & AddVolumeARNs(Aws::String &&value)
Definition: DescribeStorediSCSIVolumesRequest.h:96
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeStorediSCSIVolumesRequest.h:35
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest
Definition: DescribeStorediSCSIVolumesRequest.h:27
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::SetVolumeARNs
void SetVolumeARNs(const Aws::Vector< Aws::String > &value)
Definition: DescribeStorediSCSIVolumesRequest.h:61
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::WithVolumeARNs
DescribeStorediSCSIVolumesRequest & WithVolumeARNs(Aws::Vector< Aws::String > &&value)
Definition: DescribeStorediSCSIVolumesRequest.h:82
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::VolumeARNsHasBeenSet
bool VolumeARNsHasBeenSet() const
Definition: DescribeStorediSCSIVolumesRequest.h:54
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::SetVolumeARNs
void SetVolumeARNs(Aws::Vector< Aws::String > &&value)
Definition: DescribeStorediSCSIVolumesRequest.h:68
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override