AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeStorediSCSIVolumesResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace StorageGateway
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
70  inline const Aws::Vector<StorediSCSIVolume>& GetStorediSCSIVolumes() const{ return m_storediSCSIVolumes; }
71 
106  inline void SetStorediSCSIVolumes(const Aws::Vector<StorediSCSIVolume>& value) { m_storediSCSIVolumes = value; }
107 
142  inline void SetStorediSCSIVolumes(Aws::Vector<StorediSCSIVolume>&& value) { m_storediSCSIVolumes = std::move(value); }
143 
178  inline DescribeStorediSCSIVolumesResult& WithStorediSCSIVolumes(const Aws::Vector<StorediSCSIVolume>& value) { SetStorediSCSIVolumes(value); return *this;}
179 
214  inline DescribeStorediSCSIVolumesResult& WithStorediSCSIVolumes(Aws::Vector<StorediSCSIVolume>&& value) { SetStorediSCSIVolumes(std::move(value)); return *this;}
215 
250  inline DescribeStorediSCSIVolumesResult& AddStorediSCSIVolumes(const StorediSCSIVolume& value) { m_storediSCSIVolumes.push_back(value); return *this; }
251 
286  inline DescribeStorediSCSIVolumesResult& AddStorediSCSIVolumes(StorediSCSIVolume&& value) { m_storediSCSIVolumes.push_back(std::move(value)); return *this; }
287 
288  private:
289 
290  Aws::Vector<StorediSCSIVolume> m_storediSCSIVolumes;
291  };
292 
293 } // namespace Model
294 } // namespace StorageGateway
295 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesResult::AddStorediSCSIVolumes
DescribeStorediSCSIVolumesResult & AddStorediSCSIVolumes(StorediSCSIVolume &&value)
Definition: DescribeStorediSCSIVolumesResult.h:286
Aws::StorageGateway::Model::StorediSCSIVolume
Definition: StorediSCSIVolume.h:34
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesResult::AddStorediSCSIVolumes
DescribeStorediSCSIVolumesResult & AddStorediSCSIVolumes(const StorediSCSIVolume &value)
Definition: DescribeStorediSCSIVolumesResult.h:250
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesResult
Definition: DescribeStorediSCSIVolumesResult.h:29
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesResult::SetStorediSCSIVolumes
void SetStorediSCSIVolumes(const Aws::Vector< StorediSCSIVolume > &value)
Definition: DescribeStorediSCSIVolumesResult.h:106
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesResult::GetStorediSCSIVolumes
const Aws::Vector< StorediSCSIVolume > & GetStorediSCSIVolumes() const
Definition: DescribeStorediSCSIVolumesResult.h:70
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesResult::WithStorediSCSIVolumes
DescribeStorediSCSIVolumesResult & WithStorediSCSIVolumes(Aws::Vector< StorediSCSIVolume > &&value)
Definition: DescribeStorediSCSIVolumesResult.h:214
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesResult::WithStorediSCSIVolumes
DescribeStorediSCSIVolumesResult & WithStorediSCSIVolumes(const Aws::Vector< StorediSCSIVolume > &value)
Definition: DescribeStorediSCSIVolumesResult.h:178
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesResult::DescribeStorediSCSIVolumesResult
DescribeStorediSCSIVolumesResult()
Aws
Definition: AccessManagementClient.h:15
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesResult::SetStorediSCSIVolumes
void SetStorediSCSIVolumes(Aws::Vector< StorediSCSIVolume > &&value)
Definition: DescribeStorediSCSIVolumesResult.h:142
StorageGateway_EXPORTS.h
StorediSCSIVolume.h
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesResult::operator=
DescribeStorediSCSIVolumesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DescribeStorediSCSIVolumesResult::DescribeStorediSCSIVolumesResult
DescribeStorediSCSIVolumesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)