AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeVaultResult.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
18 
19 namespace Aws
20 {
21 template<typename RESULT_TYPE>
22 class AmazonWebServiceResult;
23 
24 namespace Utils
25 {
26 namespace Json
27 {
28  class JsonValue;
29 } // namespace Json
30 } // namespace Utils
31 namespace Glacier
32 {
33 namespace Model
34 {
39  {
40  public:
44 
48  inline const Aws::String& GetVaultARN() const{ return m_vaultARN; }
49 
53  inline void SetVaultARN(const Aws::String& value) { m_vaultARN = value; }
54 
58  inline void SetVaultARN(Aws::String&& value) { m_vaultARN = value; }
59 
63  inline void SetVaultARN(const char* value) { m_vaultARN.assign(value); }
64 
68  inline DescribeVaultResult& WithVaultARN(const Aws::String& value) { SetVaultARN(value); return *this;}
69 
73  inline DescribeVaultResult& WithVaultARN(Aws::String&& value) { SetVaultARN(value); return *this;}
74 
78  inline DescribeVaultResult& WithVaultARN(const char* value) { SetVaultARN(value); return *this;}
79 
83  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
84 
88  inline void SetVaultName(const Aws::String& value) { m_vaultName = value; }
89 
93  inline void SetVaultName(Aws::String&& value) { m_vaultName = value; }
94 
98  inline void SetVaultName(const char* value) { m_vaultName.assign(value); }
99 
103  inline DescribeVaultResult& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
104 
108  inline DescribeVaultResult& WithVaultName(Aws::String&& value) { SetVaultName(value); return *this;}
109 
113  inline DescribeVaultResult& WithVaultName(const char* value) { SetVaultName(value); return *this;}
114 
119  inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
120 
125  inline void SetCreationDate(const Aws::String& value) { m_creationDate = value; }
126 
131  inline void SetCreationDate(Aws::String&& value) { m_creationDate = value; }
132 
137  inline void SetCreationDate(const char* value) { m_creationDate.assign(value); }
138 
143  inline DescribeVaultResult& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
144 
149  inline DescribeVaultResult& WithCreationDate(Aws::String&& value) { SetCreationDate(value); return *this;}
150 
155  inline DescribeVaultResult& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
156 
162  inline const Aws::String& GetLastInventoryDate() const{ return m_lastInventoryDate; }
163 
169  inline void SetLastInventoryDate(const Aws::String& value) { m_lastInventoryDate = value; }
170 
176  inline void SetLastInventoryDate(Aws::String&& value) { m_lastInventoryDate = value; }
177 
183  inline void SetLastInventoryDate(const char* value) { m_lastInventoryDate.assign(value); }
184 
190  inline DescribeVaultResult& WithLastInventoryDate(const Aws::String& value) { SetLastInventoryDate(value); return *this;}
191 
197  inline DescribeVaultResult& WithLastInventoryDate(Aws::String&& value) { SetLastInventoryDate(value); return *this;}
198 
204  inline DescribeVaultResult& WithLastInventoryDate(const char* value) { SetLastInventoryDate(value); return *this;}
205 
211  inline long long GetNumberOfArchives() const{ return m_numberOfArchives; }
212 
218  inline void SetNumberOfArchives(long long value) { m_numberOfArchives = value; }
219 
225  inline DescribeVaultResult& WithNumberOfArchives(long long value) { SetNumberOfArchives(value); return *this;}
226 
232  inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
233 
239  inline void SetSizeInBytes(long long value) { m_sizeInBytes = value; }
240 
246  inline DescribeVaultResult& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
247 
248  private:
249  Aws::String m_vaultARN;
250  Aws::String m_vaultName;
251  Aws::String m_creationDate;
252  Aws::String m_lastInventoryDate;
253  long long m_numberOfArchives;
254  long long m_sizeInBytes;
255  };
256 
257 } // namespace Model
258 } // namespace Glacier
259 } // namespace Aws
DescribeVaultResult & WithLastInventoryDate(Aws::String &&value)
void SetVaultARN(const Aws::String &value)
const Aws::String & GetLastInventoryDate() const
void SetLastInventoryDate(Aws::String &&value)
const Aws::String & GetVaultARN() const
const Aws::String & GetVaultName() const
DescribeVaultResult & WithCreationDate(Aws::String &&value)
DescribeVaultResult & WithVaultARN(Aws::String &&value)
void SetCreationDate(const Aws::String &value)
DescribeVaultResult & WithVaultName(Aws::String &&value)
DescribeVaultResult & WithLastInventoryDate(const Aws::String &value)
DescribeVaultResult & WithCreationDate(const Aws::String &value)
DescribeVaultResult & WithVaultName(const char *value)
DescribeVaultResult & WithSizeInBytes(long long value)
DescribeVaultResult & WithVaultARN(const char *value)
DescribeVaultResult & WithLastInventoryDate(const char *value)
void SetLastInventoryDate(const Aws::String &value)
#define AWS_GLACIER_API
DescribeVaultResult & WithCreationDate(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DescribeVaultResult & WithVaultName(const Aws::String &value)
const Aws::String & GetCreationDate() const
DescribeVaultResult & WithVaultARN(const Aws::String &value)
DescribeVaultResult & WithNumberOfArchives(long long value)
void SetVaultName(const Aws::String &value)
JSON (JavaScript Object Notation).