AWS SDK for C++  1.9.106
AWS SDK for C++
CreateStorediSCSIVolumeResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace StorageGateway
24 {
25 namespace Model
26 {
33  {
34  public:
38 
39 
43  inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; }
44 
48  inline void SetVolumeARN(const Aws::String& value) { m_volumeARN = value; }
49 
53  inline void SetVolumeARN(Aws::String&& value) { m_volumeARN = std::move(value); }
54 
58  inline void SetVolumeARN(const char* value) { m_volumeARN.assign(value); }
59 
63  inline CreateStorediSCSIVolumeResult& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
64 
68  inline CreateStorediSCSIVolumeResult& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;}
69 
73  inline CreateStorediSCSIVolumeResult& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
74 
75 
79  inline long long GetVolumeSizeInBytes() const{ return m_volumeSizeInBytes; }
80 
84  inline void SetVolumeSizeInBytes(long long value) { m_volumeSizeInBytes = value; }
85 
89  inline CreateStorediSCSIVolumeResult& WithVolumeSizeInBytes(long long value) { SetVolumeSizeInBytes(value); return *this;}
90 
91 
96  inline const Aws::String& GetTargetARN() const{ return m_targetARN; }
97 
102  inline void SetTargetARN(const Aws::String& value) { m_targetARN = value; }
103 
108  inline void SetTargetARN(Aws::String&& value) { m_targetARN = std::move(value); }
109 
114  inline void SetTargetARN(const char* value) { m_targetARN.assign(value); }
115 
120  inline CreateStorediSCSIVolumeResult& WithTargetARN(const Aws::String& value) { SetTargetARN(value); return *this;}
121 
126  inline CreateStorediSCSIVolumeResult& WithTargetARN(Aws::String&& value) { SetTargetARN(std::move(value)); return *this;}
127 
132  inline CreateStorediSCSIVolumeResult& WithTargetARN(const char* value) { SetTargetARN(value); return *this;}
133 
134  private:
135 
136  Aws::String m_volumeARN;
137 
138  long long m_volumeSizeInBytes;
139 
140  Aws::String m_targetARN;
141  };
142 
143 } // namespace Model
144 } // namespace StorageGateway
145 } // namespace Aws
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::GetTargetARN
const Aws::String & GetTargetARN() const
Definition: CreateStorediSCSIVolumeResult.h:96
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::WithVolumeARN
CreateStorediSCSIVolumeResult & WithVolumeARN(const char *value)
Definition: CreateStorediSCSIVolumeResult.h:73
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::WithTargetARN
CreateStorediSCSIVolumeResult & WithTargetARN(Aws::String &&value)
Definition: CreateStorediSCSIVolumeResult.h:126
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::WithVolumeARN
CreateStorediSCSIVolumeResult & WithVolumeARN(const Aws::String &value)
Definition: CreateStorediSCSIVolumeResult.h:63
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::CreateStorediSCSIVolumeResult
CreateStorediSCSIVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::GetVolumeSizeInBytes
long long GetVolumeSizeInBytes() const
Definition: CreateStorediSCSIVolumeResult.h:79
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::SetTargetARN
void SetTargetARN(const char *value)
Definition: CreateStorediSCSIVolumeResult.h:114
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult
Definition: CreateStorediSCSIVolumeResult.h:33
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::WithTargetARN
CreateStorediSCSIVolumeResult & WithTargetARN(const char *value)
Definition: CreateStorediSCSIVolumeResult.h:132
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::operator=
CreateStorediSCSIVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::SetTargetARN
void SetTargetARN(Aws::String &&value)
Definition: CreateStorediSCSIVolumeResult.h:108
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::SetVolumeARN
void SetVolumeARN(Aws::String &&value)
Definition: CreateStorediSCSIVolumeResult.h:53
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::WithVolumeARN
CreateStorediSCSIVolumeResult & WithVolumeARN(Aws::String &&value)
Definition: CreateStorediSCSIVolumeResult.h:68
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::WithTargetARN
CreateStorediSCSIVolumeResult & WithTargetARN(const Aws::String &value)
Definition: CreateStorediSCSIVolumeResult.h:120
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::GetVolumeARN
const Aws::String & GetVolumeARN() const
Definition: CreateStorediSCSIVolumeResult.h:43
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::SetTargetARN
void SetTargetARN(const Aws::String &value)
Definition: CreateStorediSCSIVolumeResult.h:102
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::WithVolumeSizeInBytes
CreateStorediSCSIVolumeResult & WithVolumeSizeInBytes(long long value)
Definition: CreateStorediSCSIVolumeResult.h:89
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::CreateStorediSCSIVolumeResult
CreateStorediSCSIVolumeResult()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::SetVolumeSizeInBytes
void SetVolumeSizeInBytes(long long value)
Definition: CreateStorediSCSIVolumeResult.h:84
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::SetVolumeARN
void SetVolumeARN(const Aws::String &value)
Definition: CreateStorediSCSIVolumeResult.h:48
Aws::StorageGateway::Model::CreateStorediSCSIVolumeResult::SetVolumeARN
void SetVolumeARN(const char *value)
Definition: CreateStorediSCSIVolumeResult.h:58