AWS SDK for C++  1.9.129
AWS SDK for C++
ListVolumeRecoveryPointsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace StorageGateway
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
37 
38  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
39 
40 
41  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
42 
43 
44  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
45 
46 
47  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
48 
49 
50  inline ListVolumeRecoveryPointsResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
51 
52 
53  inline ListVolumeRecoveryPointsResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
54 
55 
56  inline ListVolumeRecoveryPointsResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
57 
58 
62  inline const Aws::Vector<VolumeRecoveryPointInfo>& GetVolumeRecoveryPointInfos() const{ return m_volumeRecoveryPointInfos; }
63 
67  inline void SetVolumeRecoveryPointInfos(const Aws::Vector<VolumeRecoveryPointInfo>& value) { m_volumeRecoveryPointInfos = value; }
68 
72  inline void SetVolumeRecoveryPointInfos(Aws::Vector<VolumeRecoveryPointInfo>&& value) { m_volumeRecoveryPointInfos = std::move(value); }
73 
77  inline ListVolumeRecoveryPointsResult& WithVolumeRecoveryPointInfos(const Aws::Vector<VolumeRecoveryPointInfo>& value) { SetVolumeRecoveryPointInfos(value); return *this;}
78 
82  inline ListVolumeRecoveryPointsResult& WithVolumeRecoveryPointInfos(Aws::Vector<VolumeRecoveryPointInfo>&& value) { SetVolumeRecoveryPointInfos(std::move(value)); return *this;}
83 
87  inline ListVolumeRecoveryPointsResult& AddVolumeRecoveryPointInfos(const VolumeRecoveryPointInfo& value) { m_volumeRecoveryPointInfos.push_back(value); return *this; }
88 
92  inline ListVolumeRecoveryPointsResult& AddVolumeRecoveryPointInfos(VolumeRecoveryPointInfo&& value) { m_volumeRecoveryPointInfos.push_back(std::move(value)); return *this; }
93 
94  private:
95 
96  Aws::String m_gatewayARN;
97 
98  Aws::Vector<VolumeRecoveryPointInfo> m_volumeRecoveryPointInfos;
99  };
100 
101 } // namespace Model
102 } // namespace StorageGateway
103 } // namespace Aws
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::SetVolumeRecoveryPointInfos
void SetVolumeRecoveryPointInfos(const Aws::Vector< VolumeRecoveryPointInfo > &value)
Definition: ListVolumeRecoveryPointsResult.h:67
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
VolumeRecoveryPointInfo.h
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::GetVolumeRecoveryPointInfos
const Aws::Vector< VolumeRecoveryPointInfo > & GetVolumeRecoveryPointInfos() const
Definition: ListVolumeRecoveryPointsResult.h:62
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::ListVolumeRecoveryPointsResult
ListVolumeRecoveryPointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::WithGatewayARN
ListVolumeRecoveryPointsResult & WithGatewayARN(const Aws::String &value)
Definition: ListVolumeRecoveryPointsResult.h:50
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: ListVolumeRecoveryPointsResult.h:41
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::ListVolumeRecoveryPointsResult
ListVolumeRecoveryPointsResult()
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::operator=
ListVolumeRecoveryPointsResult & operator=(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::ListVolumeRecoveryPointsResult::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: ListVolumeRecoveryPointsResult.h:44
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: ListVolumeRecoveryPointsResult.h:38
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::AddVolumeRecoveryPointInfos
ListVolumeRecoveryPointsResult & AddVolumeRecoveryPointInfos(const VolumeRecoveryPointInfo &value)
Definition: ListVolumeRecoveryPointsResult.h:87
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::WithVolumeRecoveryPointInfos
ListVolumeRecoveryPointsResult & WithVolumeRecoveryPointInfos(Aws::Vector< VolumeRecoveryPointInfo > &&value)
Definition: ListVolumeRecoveryPointsResult.h:82
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::WithVolumeRecoveryPointInfos
ListVolumeRecoveryPointsResult & WithVolumeRecoveryPointInfos(const Aws::Vector< VolumeRecoveryPointInfo > &value)
Definition: ListVolumeRecoveryPointsResult.h:77
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult
Definition: ListVolumeRecoveryPointsResult.h:30
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::WithGatewayARN
ListVolumeRecoveryPointsResult & WithGatewayARN(Aws::String &&value)
Definition: ListVolumeRecoveryPointsResult.h:53
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::AddVolumeRecoveryPointInfos
ListVolumeRecoveryPointsResult & AddVolumeRecoveryPointInfos(VolumeRecoveryPointInfo &&value)
Definition: ListVolumeRecoveryPointsResult.h:92
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::WithGatewayARN
ListVolumeRecoveryPointsResult & WithGatewayARN(const char *value)
Definition: ListVolumeRecoveryPointsResult.h:56
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: ListVolumeRecoveryPointsResult.h:47
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::ListVolumeRecoveryPointsResult::SetVolumeRecoveryPointInfos
void SetVolumeRecoveryPointInfos(Aws::Vector< VolumeRecoveryPointInfo > &&value)
Definition: ListVolumeRecoveryPointsResult.h:72
Aws::StorageGateway::Model::VolumeRecoveryPointInfo
Definition: VolumeRecoveryPointInfo.h:33