AWS SDK for C++  1.9.106
AWS SDK for C++
ListFileSharesResult.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 {
35  {
36  public:
40 
41 
46  inline const Aws::String& GetMarker() const{ return m_marker; }
47 
52  inline void SetMarker(const Aws::String& value) { m_marker = value; }
53 
58  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
59 
64  inline void SetMarker(const char* value) { m_marker.assign(value); }
65 
70  inline ListFileSharesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
71 
76  inline ListFileSharesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
77 
82  inline ListFileSharesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
83 
84 
90  inline const Aws::String& GetNextMarker() const{ return m_nextMarker; }
91 
97  inline void SetNextMarker(const Aws::String& value) { m_nextMarker = value; }
98 
104  inline void SetNextMarker(Aws::String&& value) { m_nextMarker = std::move(value); }
105 
111  inline void SetNextMarker(const char* value) { m_nextMarker.assign(value); }
112 
118  inline ListFileSharesResult& WithNextMarker(const Aws::String& value) { SetNextMarker(value); return *this;}
119 
125  inline ListFileSharesResult& WithNextMarker(Aws::String&& value) { SetNextMarker(std::move(value)); return *this;}
126 
132  inline ListFileSharesResult& WithNextMarker(const char* value) { SetNextMarker(value); return *this;}
133 
134 
138  inline const Aws::Vector<FileShareInfo>& GetFileShareInfoList() const{ return m_fileShareInfoList; }
139 
143  inline void SetFileShareInfoList(const Aws::Vector<FileShareInfo>& value) { m_fileShareInfoList = value; }
144 
148  inline void SetFileShareInfoList(Aws::Vector<FileShareInfo>&& value) { m_fileShareInfoList = std::move(value); }
149 
153  inline ListFileSharesResult& WithFileShareInfoList(const Aws::Vector<FileShareInfo>& value) { SetFileShareInfoList(value); return *this;}
154 
158  inline ListFileSharesResult& WithFileShareInfoList(Aws::Vector<FileShareInfo>&& value) { SetFileShareInfoList(std::move(value)); return *this;}
159 
163  inline ListFileSharesResult& AddFileShareInfoList(const FileShareInfo& value) { m_fileShareInfoList.push_back(value); return *this; }
164 
168  inline ListFileSharesResult& AddFileShareInfoList(FileShareInfo&& value) { m_fileShareInfoList.push_back(std::move(value)); return *this; }
169 
170  private:
171 
172  Aws::String m_marker;
173 
174  Aws::String m_nextMarker;
175 
176  Aws::Vector<FileShareInfo> m_fileShareInfoList;
177  };
178 
179 } // namespace Model
180 } // namespace StorageGateway
181 } // namespace Aws
Aws::StorageGateway::Model::ListFileSharesResult::WithFileShareInfoList
ListFileSharesResult & WithFileShareInfoList(Aws::Vector< FileShareInfo > &&value)
Definition: ListFileSharesResult.h:158
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::StorageGateway::Model::ListFileSharesResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListFileSharesResult.h:46
Aws::StorageGateway::Model::FileShareInfo
Definition: FileShareInfo.h:34
Aws::StorageGateway::Model::ListFileSharesResult::ListFileSharesResult
ListFileSharesResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::StorageGateway::Model::ListFileSharesResult::WithMarker
ListFileSharesResult & WithMarker(Aws::String &&value)
Definition: ListFileSharesResult.h:76
AWSVector.h
Aws::StorageGateway::Model::ListFileSharesResult::WithMarker
ListFileSharesResult & WithMarker(const Aws::String &value)
Definition: ListFileSharesResult.h:70
Aws::StorageGateway::Model::ListFileSharesResult::AddFileShareInfoList
ListFileSharesResult & AddFileShareInfoList(FileShareInfo &&value)
Definition: ListFileSharesResult.h:168
Aws::StorageGateway::Model::ListFileSharesResult::WithNextMarker
ListFileSharesResult & WithNextMarker(Aws::String &&value)
Definition: ListFileSharesResult.h:125
Aws::StorageGateway::Model::ListFileSharesResult::SetMarker
void SetMarker(const char *value)
Definition: ListFileSharesResult.h:64
Aws::StorageGateway::Model::ListFileSharesResult::WithNextMarker
ListFileSharesResult & WithNextMarker(const char *value)
Definition: ListFileSharesResult.h:132
Aws::StorageGateway::Model::ListFileSharesResult::SetFileShareInfoList
void SetFileShareInfoList(const Aws::Vector< FileShareInfo > &value)
Definition: ListFileSharesResult.h:143
Aws::StorageGateway::Model::ListFileSharesResult::AddFileShareInfoList
ListFileSharesResult & AddFileShareInfoList(const FileShareInfo &value)
Definition: ListFileSharesResult.h:163
Aws::StorageGateway::Model::ListFileSharesResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListFileSharesResult.h:58
Aws::StorageGateway::Model::ListFileSharesResult::WithMarker
ListFileSharesResult & WithMarker(const char *value)
Definition: ListFileSharesResult.h:82
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::ListFileSharesResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListFileSharesResult.h:52
Aws::StorageGateway::Model::ListFileSharesResult::WithFileShareInfoList
ListFileSharesResult & WithFileShareInfoList(const Aws::Vector< FileShareInfo > &value)
Definition: ListFileSharesResult.h:153
FileShareInfo.h
Aws::StorageGateway::Model::ListFileSharesResult
Definition: ListFileSharesResult.h:35
Aws::StorageGateway::Model::ListFileSharesResult::SetNextMarker
void SetNextMarker(Aws::String &&value)
Definition: ListFileSharesResult.h:104
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::ListFileSharesResult::ListFileSharesResult
ListFileSharesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::ListFileSharesResult::operator=
ListFileSharesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::StorageGateway::Model::ListFileSharesResult::SetNextMarker
void SetNextMarker(const Aws::String &value)
Definition: ListFileSharesResult.h:97
Aws::StorageGateway::Model::ListFileSharesResult::WithNextMarker
ListFileSharesResult & WithNextMarker(const Aws::String &value)
Definition: ListFileSharesResult.h:118
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::ListFileSharesResult::SetNextMarker
void SetNextMarker(const char *value)
Definition: ListFileSharesResult.h:111
Aws::StorageGateway::Model::ListFileSharesResult::SetFileShareInfoList
void SetFileShareInfoList(Aws::Vector< FileShareInfo > &&value)
Definition: ListFileSharesResult.h:148
Aws::StorageGateway::Model::ListFileSharesResult::GetFileShareInfoList
const Aws::Vector< FileShareInfo > & GetFileShareInfoList() const
Definition: ListFileSharesResult.h:138
Aws::StorageGateway::Model::ListFileSharesResult::GetNextMarker
const Aws::String & GetNextMarker() const
Definition: ListFileSharesResult.h:90