AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListBackupVaultsRequest.h
1
6#pragma once
7#include <aws/backup/Backup_EXPORTS.h>
8#include <aws/backup/BackupRequest.h>
9#include <aws/backup/model/VaultType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Http
16{
17 class URI;
18} //namespace Http
19namespace Backup
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_BACKUP_API ListBackupVaultsRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListBackupVaults"; }
36
37 AWS_BACKUP_API Aws::String SerializePayload() const override;
38
39 AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
40
41
43
46 inline const VaultType& GetByVaultType() const{ return m_byVaultType; }
47 inline bool ByVaultTypeHasBeenSet() const { return m_byVaultTypeHasBeenSet; }
48 inline void SetByVaultType(const VaultType& value) { m_byVaultTypeHasBeenSet = true; m_byVaultType = value; }
49 inline void SetByVaultType(VaultType&& value) { m_byVaultTypeHasBeenSet = true; m_byVaultType = std::move(value); }
50 inline ListBackupVaultsRequest& WithByVaultType(const VaultType& value) { SetByVaultType(value); return *this;}
51 inline ListBackupVaultsRequest& WithByVaultType(VaultType&& value) { SetByVaultType(std::move(value)); return *this;}
53
55
58 inline bool GetByShared() const{ return m_byShared; }
59 inline bool BySharedHasBeenSet() const { return m_bySharedHasBeenSet; }
60 inline void SetByShared(bool value) { m_bySharedHasBeenSet = true; m_byShared = value; }
61 inline ListBackupVaultsRequest& WithByShared(bool value) { SetByShared(value); return *this;}
63
65
71 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
72 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
73 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
74 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
75 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
76 inline ListBackupVaultsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
77 inline ListBackupVaultsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
78 inline ListBackupVaultsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
80
82
85 inline int GetMaxResults() const{ return m_maxResults; }
86 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
87 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
88 inline ListBackupVaultsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
90 private:
91
92 VaultType m_byVaultType;
93 bool m_byVaultTypeHasBeenSet = false;
94
95 bool m_byShared;
96 bool m_bySharedHasBeenSet = false;
97
98 Aws::String m_nextToken;
99 bool m_nextTokenHasBeenSet = false;
100
101 int m_maxResults;
102 bool m_maxResultsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Backup
107} // namespace Aws
ListBackupVaultsRequest & WithMaxResults(int value)
ListBackupVaultsRequest & WithNextToken(Aws::String &&value)
ListBackupVaultsRequest & WithByVaultType(const VaultType &value)
ListBackupVaultsRequest & WithByVaultType(VaultType &&value)
AWS_BACKUP_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
ListBackupVaultsRequest & WithByShared(bool value)
ListBackupVaultsRequest & WithNextToken(const char *value)
AWS_BACKUP_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
ListBackupVaultsRequest & WithNextToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String