AWS SDK for C++  1.9.94
AWS SDK for C++
DeleteVolumeResult.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 {
34  {
35  public:
39 
40 
45  inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; }
46 
51  inline void SetVolumeARN(const Aws::String& value) { m_volumeARN = value; }
52 
57  inline void SetVolumeARN(Aws::String&& value) { m_volumeARN = std::move(value); }
58 
63  inline void SetVolumeARN(const char* value) { m_volumeARN.assign(value); }
64 
69  inline DeleteVolumeResult& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
70 
75  inline DeleteVolumeResult& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;}
76 
81  inline DeleteVolumeResult& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
82 
83  private:
84 
85  Aws::String m_volumeARN;
86  };
87 
88 } // namespace Model
89 } // namespace StorageGateway
90 } // namespace Aws
Aws::StorageGateway::Model::DeleteVolumeResult::SetVolumeARN
void SetVolumeARN(Aws::String &&value)
Definition: DeleteVolumeResult.h:57
Aws::StorageGateway::Model::DeleteVolumeResult::WithVolumeARN
DeleteVolumeResult & WithVolumeARN(const char *value)
Definition: DeleteVolumeResult.h:81
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DeleteVolumeResult::operator=
DeleteVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DeleteVolumeResult
Definition: DeleteVolumeResult.h:34
Aws::StorageGateway::Model::DeleteVolumeResult::GetVolumeARN
const Aws::String & GetVolumeARN() const
Definition: DeleteVolumeResult.h:45
Aws::StorageGateway::Model::DeleteVolumeResult::WithVolumeARN
DeleteVolumeResult & WithVolumeARN(const Aws::String &value)
Definition: DeleteVolumeResult.h:69
Aws::StorageGateway::Model::DeleteVolumeResult::SetVolumeARN
void SetVolumeARN(const Aws::String &value)
Definition: DeleteVolumeResult.h:51
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DeleteVolumeResult::WithVolumeARN
DeleteVolumeResult & WithVolumeARN(Aws::String &&value)
Definition: DeleteVolumeResult.h:75
Aws::StorageGateway::Model::DeleteVolumeResult::SetVolumeARN
void SetVolumeARN(const char *value)
Definition: DeleteVolumeResult.h:63
Aws::StorageGateway::Model::DeleteVolumeResult::DeleteVolumeResult
DeleteVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
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::DeleteVolumeResult::DeleteVolumeResult
DeleteVolumeResult()