AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListVaultsResult.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glacier/model/DescribeVaultOutput.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Glacier
26{
27namespace Model
28{
36 {
37 public:
38 AWS_GLACIER_API ListVaultsResult();
41
42
44
47 inline const Aws::Vector<DescribeVaultOutput>& GetVaultList() const{ return m_vaultList; }
48 inline void SetVaultList(const Aws::Vector<DescribeVaultOutput>& value) { m_vaultList = value; }
49 inline void SetVaultList(Aws::Vector<DescribeVaultOutput>&& value) { m_vaultList = std::move(value); }
50 inline ListVaultsResult& WithVaultList(const Aws::Vector<DescribeVaultOutput>& value) { SetVaultList(value); return *this;}
51 inline ListVaultsResult& WithVaultList(Aws::Vector<DescribeVaultOutput>&& value) { SetVaultList(std::move(value)); return *this;}
52 inline ListVaultsResult& AddVaultList(const DescribeVaultOutput& value) { m_vaultList.push_back(value); return *this; }
53 inline ListVaultsResult& AddVaultList(DescribeVaultOutput&& value) { m_vaultList.push_back(std::move(value)); return *this; }
55
57
61 inline const Aws::String& GetMarker() const{ return m_marker; }
62 inline void SetMarker(const Aws::String& value) { m_marker = value; }
63 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
64 inline void SetMarker(const char* value) { m_marker.assign(value); }
65 inline ListVaultsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
66 inline ListVaultsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
67 inline ListVaultsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline ListVaultsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline ListVaultsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline ListVaultsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
83
84 Aws::String m_marker;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace Glacier
91} // namespace Aws
ListVaultsResult & WithRequestId(Aws::String &&value)
void SetMarker(Aws::String &&value)
void SetMarker(const Aws::String &value)
void SetRequestId(const Aws::String &value)
ListVaultsResult & WithVaultList(Aws::Vector< DescribeVaultOutput > &&value)
AWS_GLACIER_API ListVaultsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListVaultsResult & WithRequestId(const char *value)
const Aws::String & GetRequestId() const
ListVaultsResult & AddVaultList(const DescribeVaultOutput &value)
ListVaultsResult & WithRequestId(const Aws::String &value)
void SetRequestId(Aws::String &&value)
ListVaultsResult & AddVaultList(DescribeVaultOutput &&value)
const Aws::String & GetMarker() const
void SetVaultList(const Aws::Vector< DescribeVaultOutput > &value)
ListVaultsResult & WithMarker(Aws::String &&value)
const Aws::Vector< DescribeVaultOutput > & GetVaultList() const
AWS_GLACIER_API ListVaultsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListVaultsResult & WithVaultList(const Aws::Vector< DescribeVaultOutput > &value)
ListVaultsResult & WithMarker(const char *value)
void SetVaultList(Aws::Vector< DescribeVaultOutput > &&value)
ListVaultsResult & WithMarker(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue