AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeVaultResult.h
1
6#pragma once
7#include <aws/glacier/Glacier_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glacier
24{
25namespace Model
26{
34 {
35 public:
36 AWS_GLACIER_API DescribeVaultResult() = default;
39
40
42
45 inline const Aws::String& GetVaultARN() const { return m_vaultARN; }
46 template<typename VaultARNT = Aws::String>
47 void SetVaultARN(VaultARNT&& value) { m_vaultARNHasBeenSet = true; m_vaultARN = std::forward<VaultARNT>(value); }
48 template<typename VaultARNT = Aws::String>
49 DescribeVaultResult& WithVaultARN(VaultARNT&& value) { SetVaultARN(std::forward<VaultARNT>(value)); return *this;}
51
53
56 inline const Aws::String& GetVaultName() const { return m_vaultName; }
57 template<typename VaultNameT = Aws::String>
58 void SetVaultName(VaultNameT&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::forward<VaultNameT>(value); }
59 template<typename VaultNameT = Aws::String>
60 DescribeVaultResult& WithVaultName(VaultNameT&& value) { SetVaultName(std::forward<VaultNameT>(value)); return *this;}
62
64
69 inline const Aws::String& GetCreationDate() const { return m_creationDate; }
70 template<typename CreationDateT = Aws::String>
71 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
72 template<typename CreationDateT = Aws::String>
73 DescribeVaultResult& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
75
77
82 inline const Aws::String& GetLastInventoryDate() const { return m_lastInventoryDate; }
83 template<typename LastInventoryDateT = Aws::String>
84 void SetLastInventoryDate(LastInventoryDateT&& value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate = std::forward<LastInventoryDateT>(value); }
85 template<typename LastInventoryDateT = Aws::String>
86 DescribeVaultResult& WithLastInventoryDate(LastInventoryDateT&& value) { SetLastInventoryDate(std::forward<LastInventoryDateT>(value)); return *this;}
88
90
95 inline long long GetNumberOfArchives() const { return m_numberOfArchives; }
96 inline void SetNumberOfArchives(long long value) { m_numberOfArchivesHasBeenSet = true; m_numberOfArchives = value; }
97 inline DescribeVaultResult& WithNumberOfArchives(long long value) { SetNumberOfArchives(value); return *this;}
99
101
106 inline long long GetSizeInBytes() const { return m_sizeInBytes; }
107 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
108 inline DescribeVaultResult& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
110
112
113 inline const Aws::String& GetRequestId() const { return m_requestId; }
114 template<typename RequestIdT = Aws::String>
115 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
116 template<typename RequestIdT = Aws::String>
117 DescribeVaultResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
119 private:
120
121 Aws::String m_vaultARN;
122 bool m_vaultARNHasBeenSet = false;
123
124 Aws::String m_vaultName;
125 bool m_vaultNameHasBeenSet = false;
126
127 Aws::String m_creationDate;
128 bool m_creationDateHasBeenSet = false;
129
130 Aws::String m_lastInventoryDate;
131 bool m_lastInventoryDateHasBeenSet = false;
132
133 long long m_numberOfArchives{0};
134 bool m_numberOfArchivesHasBeenSet = false;
135
136 long long m_sizeInBytes{0};
137 bool m_sizeInBytesHasBeenSet = false;
138
139 Aws::String m_requestId;
140 bool m_requestIdHasBeenSet = false;
141 };
142
143} // namespace Model
144} // namespace Glacier
145} // namespace Aws
AWS_GLACIER_API DescribeVaultResult()=default
AWS_GLACIER_API DescribeVaultResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeVaultResult & WithCreationDate(CreationDateT &&value)
DescribeVaultResult & WithRequestId(RequestIdT &&value)
AWS_GLACIER_API DescribeVaultResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetCreationDate() const
DescribeVaultResult & WithNumberOfArchives(long long value)
void SetLastInventoryDate(LastInventoryDateT &&value)
void SetCreationDate(CreationDateT &&value)
const Aws::String & GetLastInventoryDate() const
DescribeVaultResult & WithVaultName(VaultNameT &&value)
DescribeVaultResult & WithVaultARN(VaultARNT &&value)
DescribeVaultResult & WithLastInventoryDate(LastInventoryDateT &&value)
DescribeVaultResult & WithSizeInBytes(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue