AWS SDK for C++  1.8.126
AWS SDK for C++
ListBackupSelectionsResult.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::String& GetNextToken() const{ return m_nextToken; }
44 
51  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
52 
59  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
60 
67  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
68 
75  inline ListBackupSelectionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
76 
83  inline ListBackupSelectionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
84 
91  inline ListBackupSelectionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
92 
93 
98  inline const Aws::Vector<BackupSelectionsListMember>& GetBackupSelectionsList() const{ return m_backupSelectionsList; }
99 
104  inline void SetBackupSelectionsList(const Aws::Vector<BackupSelectionsListMember>& value) { m_backupSelectionsList = value; }
105 
110  inline void SetBackupSelectionsList(Aws::Vector<BackupSelectionsListMember>&& value) { m_backupSelectionsList = std::move(value); }
111 
116  inline ListBackupSelectionsResult& WithBackupSelectionsList(const Aws::Vector<BackupSelectionsListMember>& value) { SetBackupSelectionsList(value); return *this;}
117 
122  inline ListBackupSelectionsResult& WithBackupSelectionsList(Aws::Vector<BackupSelectionsListMember>&& value) { SetBackupSelectionsList(std::move(value)); return *this;}
123 
128  inline ListBackupSelectionsResult& AddBackupSelectionsList(const BackupSelectionsListMember& value) { m_backupSelectionsList.push_back(value); return *this; }
129 
134  inline ListBackupSelectionsResult& AddBackupSelectionsList(BackupSelectionsListMember&& value) { m_backupSelectionsList.push_back(std::move(value)); return *this; }
135 
136  private:
137 
138  Aws::String m_nextToken;
139 
140  Aws::Vector<BackupSelectionsListMember> m_backupSelectionsList;
141  };
142 
143 } // namespace Model
144 } // namespace Backup
145 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Backup::Model::ListBackupSelectionsResult::WithNextToken
ListBackupSelectionsResult & WithNextToken(const char *value)
Definition: ListBackupSelectionsResult.h:91
Aws::Backup::Model::ListBackupSelectionsResult::SetBackupSelectionsList
void SetBackupSelectionsList(const Aws::Vector< BackupSelectionsListMember > &value)
Definition: ListBackupSelectionsResult.h:104
AWS_BACKUP_API
#define AWS_BACKUP_API
Definition: Backup_EXPORTS.h:28
Aws::Backup::Model::ListBackupSelectionsResult::WithNextToken
ListBackupSelectionsResult & WithNextToken(const Aws::String &value)
Definition: ListBackupSelectionsResult.h:75
Aws::Backup::Model::ListBackupSelectionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListBackupSelectionsResult.h:59
Aws::Backup::Model::ListBackupSelectionsResult::WithBackupSelectionsList
ListBackupSelectionsResult & WithBackupSelectionsList(Aws::Vector< BackupSelectionsListMember > &&value)
Definition: ListBackupSelectionsResult.h:122
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Backup::Model::ListBackupSelectionsResult::SetBackupSelectionsList
void SetBackupSelectionsList(Aws::Vector< BackupSelectionsListMember > &&value)
Definition: ListBackupSelectionsResult.h:110
Aws::Backup::Model::ListBackupSelectionsResult::ListBackupSelectionsResult
ListBackupSelectionsResult()
Aws::Backup::Model::ListBackupSelectionsResult::GetBackupSelectionsList
const Aws::Vector< BackupSelectionsListMember > & GetBackupSelectionsList() const
Definition: ListBackupSelectionsResult.h:98
Aws::Backup::Model::BackupSelectionsListMember
Definition: BackupSelectionsListMember.h:34
BackupSelectionsListMember.h
Aws::Backup::Model::ListBackupSelectionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListBackupSelectionsResult.h:43
Aws::Backup::Model::ListBackupSelectionsResult::ListBackupSelectionsResult
ListBackupSelectionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Backup::Model::ListBackupSelectionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListBackupSelectionsResult.h:67
AWSString.h
Aws::Backup::Model::ListBackupSelectionsResult::AddBackupSelectionsList
ListBackupSelectionsResult & AddBackupSelectionsList(BackupSelectionsListMember &&value)
Definition: ListBackupSelectionsResult.h:134
Aws::Backup::Model::ListBackupSelectionsResult::AddBackupSelectionsList
ListBackupSelectionsResult & AddBackupSelectionsList(const BackupSelectionsListMember &value)
Definition: ListBackupSelectionsResult.h:128
Aws::Backup::Model::ListBackupSelectionsResult
Definition: ListBackupSelectionsResult.h:30
Aws::Backup::Model::ListBackupSelectionsResult::operator=
ListBackupSelectionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Backup::Model::ListBackupSelectionsResult::WithBackupSelectionsList
ListBackupSelectionsResult & WithBackupSelectionsList(const Aws::Vector< BackupSelectionsListMember > &value)
Definition: ListBackupSelectionsResult.h:116
Backup_EXPORTS.h
Aws::Backup::Model::ListBackupSelectionsResult::WithNextToken
ListBackupSelectionsResult & WithNextToken(Aws::String &&value)
Definition: ListBackupSelectionsResult.h:83
Aws::Backup::Model::ListBackupSelectionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListBackupSelectionsResult.h:51
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97