AWS SDK for C++  1.9.125
AWS SDK for C++
DetachVolumeResult.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 DetachVolumeResult& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
64 
68  inline DetachVolumeResult& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;}
69 
73  inline DetachVolumeResult& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
74 
75  private:
76 
77  Aws::String m_volumeARN;
78  };
79 
80 } // namespace Model
81 } // namespace StorageGateway
82 } // namespace Aws
Aws::StorageGateway::Model::DetachVolumeResult::WithVolumeARN
DetachVolumeResult & WithVolumeARN(const char *value)
Definition: DetachVolumeResult.h:73
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::DetachVolumeResult
Definition: DetachVolumeResult.h:33
Aws::StorageGateway::Model::DetachVolumeResult::DetachVolumeResult
DetachVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::DetachVolumeResult::operator=
DetachVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DetachVolumeResult::DetachVolumeResult
DetachVolumeResult()
Aws::StorageGateway::Model::DetachVolumeResult::SetVolumeARN
void SetVolumeARN(const Aws::String &value)
Definition: DetachVolumeResult.h:48
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DetachVolumeResult::WithVolumeARN
DetachVolumeResult & WithVolumeARN(Aws::String &&value)
Definition: DetachVolumeResult.h:68
Aws::StorageGateway::Model::DetachVolumeResult::SetVolumeARN
void SetVolumeARN(Aws::String &&value)
Definition: DetachVolumeResult.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DetachVolumeResult::SetVolumeARN
void SetVolumeARN(const char *value)
Definition: DetachVolumeResult.h:58
Aws::StorageGateway::Model::DetachVolumeResult::WithVolumeARN
DetachVolumeResult & WithVolumeARN(const Aws::String &value)
Definition: DetachVolumeResult.h:63
Aws::StorageGateway::Model::DetachVolumeResult::GetVolumeARN
const Aws::String & GetVolumeARN() const
Definition: DetachVolumeResult.h:43