AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeVaultOutput.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{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glacier
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_GLACIER_API DescribeVaultOutput();
38 AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetVaultARN() const{ return m_vaultARN; }
46 inline bool VaultARNHasBeenSet() const { return m_vaultARNHasBeenSet; }
47 inline void SetVaultARN(const Aws::String& value) { m_vaultARNHasBeenSet = true; m_vaultARN = value; }
48 inline void SetVaultARN(Aws::String&& value) { m_vaultARNHasBeenSet = true; m_vaultARN = std::move(value); }
49 inline void SetVaultARN(const char* value) { m_vaultARNHasBeenSet = true; m_vaultARN.assign(value); }
50 inline DescribeVaultOutput& WithVaultARN(const Aws::String& value) { SetVaultARN(value); return *this;}
51 inline DescribeVaultOutput& WithVaultARN(Aws::String&& value) { SetVaultARN(std::move(value)); return *this;}
52 inline DescribeVaultOutput& WithVaultARN(const char* value) { SetVaultARN(value); return *this;}
54
56
59 inline const Aws::String& GetVaultName() const{ return m_vaultName; }
60 inline bool VaultNameHasBeenSet() const { return m_vaultNameHasBeenSet; }
61 inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
62 inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = std::move(value); }
63 inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
64 inline DescribeVaultOutput& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
65 inline DescribeVaultOutput& WithVaultName(Aws::String&& value) { SetVaultName(std::move(value)); return *this;}
66 inline DescribeVaultOutput& WithVaultName(const char* value) { SetVaultName(value); return *this;}
68
70
75 inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
76 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
77 inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
78 inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
79 inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
80 inline DescribeVaultOutput& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
81 inline DescribeVaultOutput& WithCreationDate(Aws::String&& value) { SetCreationDate(std::move(value)); return *this;}
82 inline DescribeVaultOutput& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
84
86
91 inline const Aws::String& GetLastInventoryDate() const{ return m_lastInventoryDate; }
92 inline bool LastInventoryDateHasBeenSet() const { return m_lastInventoryDateHasBeenSet; }
93 inline void SetLastInventoryDate(const Aws::String& value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate = value; }
94 inline void SetLastInventoryDate(Aws::String&& value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate = std::move(value); }
95 inline void SetLastInventoryDate(const char* value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate.assign(value); }
96 inline DescribeVaultOutput& WithLastInventoryDate(const Aws::String& value) { SetLastInventoryDate(value); return *this;}
97 inline DescribeVaultOutput& WithLastInventoryDate(Aws::String&& value) { SetLastInventoryDate(std::move(value)); return *this;}
98 inline DescribeVaultOutput& WithLastInventoryDate(const char* value) { SetLastInventoryDate(value); return *this;}
100
102
107 inline long long GetNumberOfArchives() const{ return m_numberOfArchives; }
108 inline bool NumberOfArchivesHasBeenSet() const { return m_numberOfArchivesHasBeenSet; }
109 inline void SetNumberOfArchives(long long value) { m_numberOfArchivesHasBeenSet = true; m_numberOfArchives = value; }
110 inline DescribeVaultOutput& WithNumberOfArchives(long long value) { SetNumberOfArchives(value); return *this;}
112
114
119 inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
120 inline bool SizeInBytesHasBeenSet() const { return m_sizeInBytesHasBeenSet; }
121 inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
122 inline DescribeVaultOutput& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
124
126
127 inline const Aws::String& GetRequestId() const{ return m_requestId; }
128 inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
129 inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
130 inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
131 inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
132 inline DescribeVaultOutput& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
133 inline DescribeVaultOutput& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
134 inline DescribeVaultOutput& WithRequestId(const char* value) { SetRequestId(value); return *this;}
136 private:
137
138 Aws::String m_vaultARN;
139 bool m_vaultARNHasBeenSet = false;
140
141 Aws::String m_vaultName;
142 bool m_vaultNameHasBeenSet = false;
143
144 Aws::String m_creationDate;
145 bool m_creationDateHasBeenSet = false;
146
147 Aws::String m_lastInventoryDate;
148 bool m_lastInventoryDateHasBeenSet = false;
149
150 long long m_numberOfArchives;
151 bool m_numberOfArchivesHasBeenSet = false;
152
153 long long m_sizeInBytes;
154 bool m_sizeInBytesHasBeenSet = false;
155
156 Aws::String m_requestId;
157 bool m_requestIdHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace Glacier
162} // namespace Aws
DescribeVaultOutput & WithVaultARN(Aws::String &&value)
DescribeVaultOutput & WithVaultName(const char *value)
DescribeVaultOutput & WithNumberOfArchives(long long value)
DescribeVaultOutput & WithVaultARN(const char *value)
AWS_GLACIER_API Aws::Utils::Json::JsonValue Jsonize() const
DescribeVaultOutput & WithLastInventoryDate(const Aws::String &value)
DescribeVaultOutput & WithVaultName(const Aws::String &value)
void SetLastInventoryDate(const Aws::String &value)
DescribeVaultOutput & WithRequestId(Aws::String &&value)
void SetCreationDate(const Aws::String &value)
DescribeVaultOutput & WithVaultARN(const Aws::String &value)
DescribeVaultOutput & WithCreationDate(const Aws::String &value)
AWS_GLACIER_API DescribeVaultOutput(Aws::Utils::Json::JsonView jsonValue)
DescribeVaultOutput & WithCreationDate(const char *value)
void SetRequestId(const Aws::String &value)
DescribeVaultOutput & WithRequestId(const char *value)
AWS_GLACIER_API DescribeVaultOutput & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVaultName(const Aws::String &value)
DescribeVaultOutput & WithLastInventoryDate(Aws::String &&value)
DescribeVaultOutput & WithRequestId(const Aws::String &value)
const Aws::String & GetLastInventoryDate() const
const Aws::String & GetCreationDate() const
DescribeVaultOutput & WithCreationDate(Aws::String &&value)
DescribeVaultOutput & WithVaultName(Aws::String &&value)
DescribeVaultOutput & WithLastInventoryDate(const char *value)
DescribeVaultOutput & WithSizeInBytes(long long value)
void SetVaultARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue