AWS SDK for C++  1.9.103
AWS SDK for C++
ListVaultsResult.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 Glacier
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<DescribeVaultOutput>& GetVaultList() const{ return m_vaultList; }
47 
51  inline void SetVaultList(const Aws::Vector<DescribeVaultOutput>& value) { m_vaultList = value; }
52 
56  inline void SetVaultList(Aws::Vector<DescribeVaultOutput>&& value) { m_vaultList = std::move(value); }
57 
61  inline ListVaultsResult& WithVaultList(const Aws::Vector<DescribeVaultOutput>& value) { SetVaultList(value); return *this;}
62 
66  inline ListVaultsResult& WithVaultList(Aws::Vector<DescribeVaultOutput>&& value) { SetVaultList(std::move(value)); return *this;}
67 
71  inline ListVaultsResult& AddVaultList(const DescribeVaultOutput& value) { m_vaultList.push_back(value); return *this; }
72 
76  inline ListVaultsResult& AddVaultList(DescribeVaultOutput&& value) { m_vaultList.push_back(std::move(value)); return *this; }
77 
78 
83  inline const Aws::String& GetMarker() const{ return m_marker; }
84 
89  inline void SetMarker(const Aws::String& value) { m_marker = value; }
90 
95  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
96 
101  inline void SetMarker(const char* value) { m_marker.assign(value); }
102 
107  inline ListVaultsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
108 
113  inline ListVaultsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
114 
119  inline ListVaultsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
120 
121  private:
122 
124 
125  Aws::String m_marker;
126  };
127 
128 } // namespace Model
129 } // namespace Glacier
130 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glacier::Model::ListVaultsResult
Definition: ListVaultsResult.h:36
Aws::Glacier::Model::ListVaultsResult::GetVaultList
const Aws::Vector< DescribeVaultOutput > & GetVaultList() const
Definition: ListVaultsResult.h:46
Aws::Glacier::Model::ListVaultsResult::ListVaultsResult
ListVaultsResult()
Aws::Glacier::Model::ListVaultsResult::SetVaultList
void SetVaultList(Aws::Vector< DescribeVaultOutput > &&value)
Definition: ListVaultsResult.h:56
Aws::Glacier::Model::ListVaultsResult::WithVaultList
ListVaultsResult & WithVaultList(const Aws::Vector< DescribeVaultOutput > &value)
Definition: ListVaultsResult.h:61
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Glacier::Model::ListVaultsResult::ListVaultsResult
ListVaultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::ListVaultsResult::WithMarker
ListVaultsResult & WithMarker(const char *value)
Definition: ListVaultsResult.h:119
AWS_GLACIER_API
#define AWS_GLACIER_API
Definition: Glacier_EXPORTS.h:28
DescribeVaultOutput.h
Aws::Glacier::Model::DescribeVaultOutput
Definition: DescribeVaultOutput.h:33
Aws::Glacier::Model::ListVaultsResult::WithVaultList
ListVaultsResult & WithVaultList(Aws::Vector< DescribeVaultOutput > &&value)
Definition: ListVaultsResult.h:66
Aws::Glacier::Model::ListVaultsResult::AddVaultList
ListVaultsResult & AddVaultList(const DescribeVaultOutput &value)
Definition: ListVaultsResult.h:71
AWSString.h
Aws::Glacier::Model::ListVaultsResult::operator=
ListVaultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Glacier::Model::ListVaultsResult::GetMarker
const Aws::String & GetMarker() const
Definition: ListVaultsResult.h:83
Aws::Glacier::Model::ListVaultsResult::WithMarker
ListVaultsResult & WithMarker(const Aws::String &value)
Definition: ListVaultsResult.h:107
Aws::Glacier::Model::ListVaultsResult::SetVaultList
void SetVaultList(const Aws::Vector< DescribeVaultOutput > &value)
Definition: ListVaultsResult.h:51
Aws::Glacier::Model::ListVaultsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: ListVaultsResult.h:95
Aws
Definition: AccessManagementClient.h:15
Aws::Glacier::Model::ListVaultsResult::AddVaultList
ListVaultsResult & AddVaultList(DescribeVaultOutput &&value)
Definition: ListVaultsResult.h:76
Aws::Glacier::Model::ListVaultsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: ListVaultsResult.h:89
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Glacier::Model::ListVaultsResult::SetMarker
void SetMarker(const char *value)
Definition: ListVaultsResult.h:101
Aws::Glacier::Model::ListVaultsResult::WithMarker
ListVaultsResult & WithMarker(Aws::String &&value)
Definition: ListVaultsResult.h:113
Glacier_EXPORTS.h