AWS SDK for C++  1.9.129
AWS SDK for C++
CreateSnapshotFromVolumeRecoveryPointResult.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 {
28  {
29  public:
33 
34 
38  inline const Aws::String& GetSnapshotId() const{ return m_snapshotId; }
39 
43  inline void SetSnapshotId(const Aws::String& value) { m_snapshotId = value; }
44 
48  inline void SetSnapshotId(Aws::String&& value) { m_snapshotId = std::move(value); }
49 
53  inline void SetSnapshotId(const char* value) { m_snapshotId.assign(value); }
54 
58  inline CreateSnapshotFromVolumeRecoveryPointResult& WithSnapshotId(const Aws::String& value) { SetSnapshotId(value); return *this;}
59 
63  inline CreateSnapshotFromVolumeRecoveryPointResult& WithSnapshotId(Aws::String&& value) { SetSnapshotId(std::move(value)); return *this;}
64 
68  inline CreateSnapshotFromVolumeRecoveryPointResult& WithSnapshotId(const char* value) { SetSnapshotId(value); return *this;}
69 
70 
76  inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; }
77 
83  inline void SetVolumeARN(const Aws::String& value) { m_volumeARN = value; }
84 
90  inline void SetVolumeARN(Aws::String&& value) { m_volumeARN = std::move(value); }
91 
97  inline void SetVolumeARN(const char* value) { m_volumeARN.assign(value); }
98 
104  inline CreateSnapshotFromVolumeRecoveryPointResult& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
105 
111  inline CreateSnapshotFromVolumeRecoveryPointResult& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;}
112 
118  inline CreateSnapshotFromVolumeRecoveryPointResult& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
119 
120 
124  inline const Aws::String& GetVolumeRecoveryPointTime() const{ return m_volumeRecoveryPointTime; }
125 
129  inline void SetVolumeRecoveryPointTime(const Aws::String& value) { m_volumeRecoveryPointTime = value; }
130 
134  inline void SetVolumeRecoveryPointTime(Aws::String&& value) { m_volumeRecoveryPointTime = std::move(value); }
135 
139  inline void SetVolumeRecoveryPointTime(const char* value) { m_volumeRecoveryPointTime.assign(value); }
140 
144  inline CreateSnapshotFromVolumeRecoveryPointResult& WithVolumeRecoveryPointTime(const Aws::String& value) { SetVolumeRecoveryPointTime(value); return *this;}
145 
149  inline CreateSnapshotFromVolumeRecoveryPointResult& WithVolumeRecoveryPointTime(Aws::String&& value) { SetVolumeRecoveryPointTime(std::move(value)); return *this;}
150 
154  inline CreateSnapshotFromVolumeRecoveryPointResult& WithVolumeRecoveryPointTime(const char* value) { SetVolumeRecoveryPointTime(value); return *this;}
155 
156  private:
157 
158  Aws::String m_snapshotId;
159 
160  Aws::String m_volumeARN;
161 
162  Aws::String m_volumeRecoveryPointTime;
163  };
164 
165 } // namespace Model
166 } // namespace StorageGateway
167 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::GetVolumeARN
const Aws::String & GetVolumeARN() const
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:76
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::WithVolumeARN
CreateSnapshotFromVolumeRecoveryPointResult & WithVolumeARN(Aws::String &&value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:111
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::SetVolumeARN
void SetVolumeARN(const Aws::String &value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:83
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::SetVolumeARN
void SetVolumeARN(const char *value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:97
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::SetVolumeRecoveryPointTime
void SetVolumeRecoveryPointTime(const char *value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:139
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::WithVolumeRecoveryPointTime
CreateSnapshotFromVolumeRecoveryPointResult & WithVolumeRecoveryPointTime(const char *value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:154
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::WithSnapshotId
CreateSnapshotFromVolumeRecoveryPointResult & WithSnapshotId(const char *value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:68
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::WithSnapshotId
CreateSnapshotFromVolumeRecoveryPointResult & WithSnapshotId(const Aws::String &value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:58
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::SetVolumeRecoveryPointTime
void SetVolumeRecoveryPointTime(Aws::String &&value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:134
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::SetVolumeARN
void SetVolumeARN(Aws::String &&value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:90
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::SetSnapshotId
void SetSnapshotId(Aws::String &&value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:48
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::SetSnapshotId
void SetSnapshotId(const Aws::String &value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:43
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::CreateSnapshotFromVolumeRecoveryPointResult
CreateSnapshotFromVolumeRecoveryPointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::operator=
CreateSnapshotFromVolumeRecoveryPointResult & 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::CreateSnapshotFromVolumeRecoveryPointResult::WithVolumeRecoveryPointTime
CreateSnapshotFromVolumeRecoveryPointResult & WithVolumeRecoveryPointTime(const Aws::String &value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:144
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::WithVolumeARN
CreateSnapshotFromVolumeRecoveryPointResult & WithVolumeARN(const char *value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:118
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::SetVolumeRecoveryPointTime
void SetVolumeRecoveryPointTime(const Aws::String &value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:129
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::SetSnapshotId
void SetSnapshotId(const char *value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:53
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::WithVolumeRecoveryPointTime
CreateSnapshotFromVolumeRecoveryPointResult & WithVolumeRecoveryPointTime(Aws::String &&value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:149
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::GetSnapshotId
const Aws::String & GetSnapshotId() const
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:38
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::CreateSnapshotFromVolumeRecoveryPointResult::GetVolumeRecoveryPointTime
const Aws::String & GetVolumeRecoveryPointTime() const
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:124
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:28
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::CreateSnapshotFromVolumeRecoveryPointResult
CreateSnapshotFromVolumeRecoveryPointResult()
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::WithSnapshotId
CreateSnapshotFromVolumeRecoveryPointResult & WithSnapshotId(Aws::String &&value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:63
Aws::StorageGateway::Model::CreateSnapshotFromVolumeRecoveryPointResult::WithVolumeARN
CreateSnapshotFromVolumeRecoveryPointResult & WithVolumeARN(const Aws::String &value)
Definition: CreateSnapshotFromVolumeRecoveryPointResult.h:104