AWS SDK for C++  1.9.20
AWS SDK for C++
ListBackupVaultsResult.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 Backup
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
43  inline const Aws::Vector<BackupVaultListMember>& GetBackupVaultList() const{ return m_backupVaultList; }
44 
51  inline void SetBackupVaultList(const Aws::Vector<BackupVaultListMember>& value) { m_backupVaultList = value; }
52 
59  inline void SetBackupVaultList(Aws::Vector<BackupVaultListMember>&& value) { m_backupVaultList = std::move(value); }
60 
67  inline ListBackupVaultsResult& WithBackupVaultList(const Aws::Vector<BackupVaultListMember>& value) { SetBackupVaultList(value); return *this;}
68 
75  inline ListBackupVaultsResult& WithBackupVaultList(Aws::Vector<BackupVaultListMember>&& value) { SetBackupVaultList(std::move(value)); return *this;}
76 
83  inline ListBackupVaultsResult& AddBackupVaultList(const BackupVaultListMember& value) { m_backupVaultList.push_back(value); return *this; }
84 
91  inline ListBackupVaultsResult& AddBackupVaultList(BackupVaultListMember&& value) { m_backupVaultList.push_back(std::move(value)); return *this; }
92 
93 
100  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
101 
108  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
109 
116  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
117 
124  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
125 
132  inline ListBackupVaultsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
133 
140  inline ListBackupVaultsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
141 
148  inline ListBackupVaultsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
149 
150  private:
151 
152  Aws::Vector<BackupVaultListMember> m_backupVaultList;
153 
154  Aws::String m_nextToken;
155  };
156 
157 } // namespace Model
158 } // namespace Backup
159 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Backup::Model::ListBackupVaultsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListBackupVaultsResult.h:124
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::ListBackupVaultsResult::ListBackupVaultsResult
ListBackupVaultsResult()
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Backup::Model::ListBackupVaultsResult::WithBackupVaultList
ListBackupVaultsResult & WithBackupVaultList(Aws::Vector< BackupVaultListMember > &&value)
Definition: ListBackupVaultsResult.h:75
Aws::Backup::Model::ListBackupVaultsResult::AddBackupVaultList
ListBackupVaultsResult & AddBackupVaultList(const BackupVaultListMember &value)
Definition: ListBackupVaultsResult.h:83
Aws::Backup::Model::ListBackupVaultsResult::WithNextToken
ListBackupVaultsResult & WithNextToken(const char *value)
Definition: ListBackupVaultsResult.h:148
AWSVector.h
Aws::Backup::Model::ListBackupVaultsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListBackupVaultsResult.h:116
Aws::Backup::Model::ListBackupVaultsResult::SetBackupVaultList
void SetBackupVaultList(Aws::Vector< BackupVaultListMember > &&value)
Definition: ListBackupVaultsResult.h:59
Aws::Backup::Model::BackupVaultListMember
Definition: BackupVaultListMember.h:33
Aws::Backup::Model::ListBackupVaultsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListBackupVaultsResult.h:100
Aws::Backup::Model::ListBackupVaultsResult::WithBackupVaultList
ListBackupVaultsResult & WithBackupVaultList(const Aws::Vector< BackupVaultListMember > &value)
Definition: ListBackupVaultsResult.h:67
AWSString.h
Aws::Backup::Model::ListBackupVaultsResult::GetBackupVaultList
const Aws::Vector< BackupVaultListMember > & GetBackupVaultList() const
Definition: ListBackupVaultsResult.h:43
Aws::Backup::Model::ListBackupVaultsResult
Definition: ListBackupVaultsResult.h:30
Aws::Backup::Model::ListBackupVaultsResult::operator=
ListBackupVaultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Backup::Model::ListBackupVaultsResult::AddBackupVaultList
ListBackupVaultsResult & AddBackupVaultList(BackupVaultListMember &&value)
Definition: ListBackupVaultsResult.h:91
Aws::Backup::Model::ListBackupVaultsResult::WithNextToken
ListBackupVaultsResult & WithNextToken(const Aws::String &value)
Definition: ListBackupVaultsResult.h:132
Backup_EXPORTS.h
Aws::Backup::Model::ListBackupVaultsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListBackupVaultsResult.h:108
Aws::Backup::Model::ListBackupVaultsResult::WithNextToken
ListBackupVaultsResult & WithNextToken(Aws::String &&value)
Definition: ListBackupVaultsResult.h:140
Aws
Definition: AccessManagementClient.h:15
Aws::Backup::Model::ListBackupVaultsResult::SetBackupVaultList
void SetBackupVaultList(const Aws::Vector< BackupVaultListMember > &value)
Definition: ListBackupVaultsResult.h:51
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
BackupVaultListMember.h
Aws::Backup::Model::ListBackupVaultsResult::ListBackupVaultsResult
ListBackupVaultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)