AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
ListVaultsResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glacier/Glacier_EXPORTS.h>
10#include <aws/glacier/model/DescribeVaultOutput.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glacier {
24namespace Model {
32 public:
33 AWS_GLACIER_API ListVaultsResult() = default;
36
38
41 inline const Aws::Vector<DescribeVaultOutput>& GetVaultList() const { return m_vaultList; }
42 template <typename VaultListT = Aws::Vector<DescribeVaultOutput>>
43 void SetVaultList(VaultListT&& value) {
44 m_vaultListHasBeenSet = true;
45 m_vaultList = std::forward<VaultListT>(value);
46 }
47 template <typename VaultListT = Aws::Vector<DescribeVaultOutput>>
48 ListVaultsResult& WithVaultList(VaultListT&& value) {
49 SetVaultList(std::forward<VaultListT>(value));
50 return *this;
51 }
52 template <typename VaultListT = DescribeVaultOutput>
53 ListVaultsResult& AddVaultList(VaultListT&& value) {
54 m_vaultListHasBeenSet = true;
55 m_vaultList.emplace_back(std::forward<VaultListT>(value));
56 return *this;
57 }
59
61
65 inline const Aws::String& GetMarker() const { return m_marker; }
66 template <typename MarkerT = Aws::String>
67 void SetMarker(MarkerT&& value) {
68 m_markerHasBeenSet = true;
69 m_marker = std::forward<MarkerT>(value);
70 }
71 template <typename MarkerT = Aws::String>
72 ListVaultsResult& WithMarker(MarkerT&& value) {
73 SetMarker(std::forward<MarkerT>(value));
74 return *this;
75 }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template <typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) {
83 m_requestIdHasBeenSet = true;
84 m_requestId = std::forward<RequestIdT>(value);
85 }
86 template <typename RequestIdT = Aws::String>
87 ListVaultsResult& WithRequestId(RequestIdT&& value) {
88 SetRequestId(std::forward<RequestIdT>(value));
89 return *this;
90 }
92 private:
94
95 Aws::String m_marker;
96
97 Aws::String m_requestId;
98 bool m_vaultListHasBeenSet = false;
99 bool m_markerHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace Glacier
105} // namespace Aws
ListVaultsResult & WithVaultList(VaultListT &&value)
AWS_GLACIER_API ListVaultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
AWS_GLACIER_API ListVaultsResult()=default
ListVaultsResult & WithMarker(MarkerT &&value)
ListVaultsResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetMarker() const
void SetRequestId(RequestIdT &&value)
ListVaultsResult & AddVaultList(VaultListT &&value)
const Aws::Vector< DescribeVaultOutput > & GetVaultList() const
void SetVaultList(VaultListT &&value)
AWS_GLACIER_API ListVaultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue