AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListVolumesResult.h
1
6#pragma once
7#include <aws/storagegateway/StorageGateway_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/storagegateway/model/VolumeInfo.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace StorageGateway
26{
27namespace Model
28{
37 {
38 public:
39 AWS_STORAGEGATEWAY_API ListVolumesResult();
42
43
45
46 inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
47 inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
48 inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = std::move(value); }
49 inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
50 inline ListVolumesResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
51 inline ListVolumesResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
52 inline ListVolumesResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
54
56
61 inline const Aws::String& GetMarker() const{ return m_marker; }
62 inline void SetMarker(const Aws::String& value) { m_marker = value; }
63 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
64 inline void SetMarker(const char* value) { m_marker.assign(value); }
65 inline ListVolumesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
66 inline ListVolumesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
67 inline ListVolumesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
69
71
76 inline const Aws::Vector<VolumeInfo>& GetVolumeInfos() const{ return m_volumeInfos; }
77 inline void SetVolumeInfos(const Aws::Vector<VolumeInfo>& value) { m_volumeInfos = value; }
78 inline void SetVolumeInfos(Aws::Vector<VolumeInfo>&& value) { m_volumeInfos = std::move(value); }
79 inline ListVolumesResult& WithVolumeInfos(const Aws::Vector<VolumeInfo>& value) { SetVolumeInfos(value); return *this;}
80 inline ListVolumesResult& WithVolumeInfos(Aws::Vector<VolumeInfo>&& value) { SetVolumeInfos(std::move(value)); return *this;}
81 inline ListVolumesResult& AddVolumeInfos(const VolumeInfo& value) { m_volumeInfos.push_back(value); return *this; }
82 inline ListVolumesResult& AddVolumeInfos(VolumeInfo&& value) { m_volumeInfos.push_back(std::move(value)); return *this; }
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline ListVolumesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline ListVolumesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline ListVolumesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_gatewayARN;
98
99 Aws::String m_marker;
100
101 Aws::Vector<VolumeInfo> m_volumeInfos;
102
103 Aws::String m_requestId;
104 };
105
106} // namespace Model
107} // namespace StorageGateway
108} // namespace Aws
AWS_STORAGEGATEWAY_API ListVolumesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListVolumesResult & AddVolumeInfos(const VolumeInfo &value)
AWS_STORAGEGATEWAY_API ListVolumesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVolumeInfos(const Aws::Vector< VolumeInfo > &value)
void SetVolumeInfos(Aws::Vector< VolumeInfo > &&value)
ListVolumesResult & WithVolumeInfos(const Aws::Vector< VolumeInfo > &value)
ListVolumesResult & WithRequestId(const char *value)
ListVolumesResult & WithRequestId(const Aws::String &value)
ListVolumesResult & WithVolumeInfos(Aws::Vector< VolumeInfo > &&value)
ListVolumesResult & WithGatewayARN(const char *value)
ListVolumesResult & WithMarker(const char *value)
void SetGatewayARN(const Aws::String &value)
ListVolumesResult & AddVolumeInfos(VolumeInfo &&value)
ListVolumesResult & WithMarker(Aws::String &&value)
ListVolumesResult & WithGatewayARN(Aws::String &&value)
ListVolumesResult & WithRequestId(Aws::String &&value)
ListVolumesResult & WithGatewayARN(const Aws::String &value)
void SetRequestId(const Aws::String &value)
const Aws::Vector< VolumeInfo > & GetVolumeInfos() const
ListVolumesResult & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue