AWS SDK for C++  1.9.109
AWS SDK for C++
DescribeCachediSCSIVolumesResult.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 {
34  {
35  public:
39 
40 
45  inline const Aws::Vector<CachediSCSIVolume>& GetCachediSCSIVolumes() const{ return m_cachediSCSIVolumes; }
46 
51  inline void SetCachediSCSIVolumes(const Aws::Vector<CachediSCSIVolume>& value) { m_cachediSCSIVolumes = value; }
52 
57  inline void SetCachediSCSIVolumes(Aws::Vector<CachediSCSIVolume>&& value) { m_cachediSCSIVolumes = std::move(value); }
58 
63  inline DescribeCachediSCSIVolumesResult& WithCachediSCSIVolumes(const Aws::Vector<CachediSCSIVolume>& value) { SetCachediSCSIVolumes(value); return *this;}
64 
69  inline DescribeCachediSCSIVolumesResult& WithCachediSCSIVolumes(Aws::Vector<CachediSCSIVolume>&& value) { SetCachediSCSIVolumes(std::move(value)); return *this;}
70 
75  inline DescribeCachediSCSIVolumesResult& AddCachediSCSIVolumes(const CachediSCSIVolume& value) { m_cachediSCSIVolumes.push_back(value); return *this; }
76 
81  inline DescribeCachediSCSIVolumesResult& AddCachediSCSIVolumes(CachediSCSIVolume&& value) { m_cachediSCSIVolumes.push_back(std::move(value)); return *this; }
82 
83  private:
84 
85  Aws::Vector<CachediSCSIVolume> m_cachediSCSIVolumes;
86  };
87 
88 } // namespace Model
89 } // namespace StorageGateway
90 } // namespace Aws
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesResult::DescribeCachediSCSIVolumesResult
DescribeCachediSCSIVolumesResult()
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesResult::DescribeCachediSCSIVolumesResult
DescribeCachediSCSIVolumesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesResult
Definition: DescribeCachediSCSIVolumesResult.h:34
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesResult::GetCachediSCSIVolumes
const Aws::Vector< CachediSCSIVolume > & GetCachediSCSIVolumes() const
Definition: DescribeCachediSCSIVolumesResult.h:45
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesResult::WithCachediSCSIVolumes
DescribeCachediSCSIVolumesResult & WithCachediSCSIVolumes(Aws::Vector< CachediSCSIVolume > &&value)
Definition: DescribeCachediSCSIVolumesResult.h:69
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesResult::WithCachediSCSIVolumes
DescribeCachediSCSIVolumesResult & WithCachediSCSIVolumes(const Aws::Vector< CachediSCSIVolume > &value)
Definition: DescribeCachediSCSIVolumesResult.h:63
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesResult::operator=
DescribeCachediSCSIVolumesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::CachediSCSIVolume
Definition: CachediSCSIVolume.h:34
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesResult::AddCachediSCSIVolumes
DescribeCachediSCSIVolumesResult & AddCachediSCSIVolumes(CachediSCSIVolume &&value)
Definition: DescribeCachediSCSIVolumesResult.h:81
Aws
Definition: AccessManagementClient.h:15
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesResult::SetCachediSCSIVolumes
void SetCachediSCSIVolumes(Aws::Vector< CachediSCSIVolume > &&value)
Definition: DescribeCachediSCSIVolumesResult.h:57
StorageGateway_EXPORTS.h
CachediSCSIVolume.h
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesResult::SetCachediSCSIVolumes
void SetCachediSCSIVolumes(const Aws::Vector< CachediSCSIVolume > &value)
Definition: DescribeCachediSCSIVolumesResult.h:51
Aws::StorageGateway::Model::DescribeCachediSCSIVolumesResult::AddCachediSCSIVolumes
DescribeCachediSCSIVolumesResult & AddCachediSCSIVolumes(const CachediSCSIVolume &value)
Definition: DescribeCachediSCSIVolumesResult.h:75