AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeVaultOutput.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 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace Glacier
29 {
30 namespace Model
31 {
32 
37  {
38  public:
41  DescribeVaultOutput& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
42  Aws::Utils::Json::JsonValue Jsonize() const;
43 
47  inline const Aws::String& GetVaultARN() const{ return m_vaultARN; }
48 
52  inline void SetVaultARN(const Aws::String& value) { m_vaultARNHasBeenSet = true; m_vaultARN = value; }
53 
57  inline void SetVaultARN(Aws::String&& value) { m_vaultARNHasBeenSet = true; m_vaultARN = value; }
58 
62  inline void SetVaultARN(const char* value) { m_vaultARNHasBeenSet = true; m_vaultARN.assign(value); }
63 
67  inline DescribeVaultOutput& WithVaultARN(const Aws::String& value) { SetVaultARN(value); return *this;}
68 
72  inline DescribeVaultOutput& WithVaultARN(Aws::String&& value) { SetVaultARN(value); return *this;}
73 
77  inline DescribeVaultOutput& WithVaultARN(const char* value) { SetVaultARN(value); return *this;}
78 
82  inline const Aws::String& GetVaultName() const{ return m_vaultName; }
83 
87  inline void SetVaultName(const Aws::String& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
88 
92  inline void SetVaultName(Aws::String&& value) { m_vaultNameHasBeenSet = true; m_vaultName = value; }
93 
97  inline void SetVaultName(const char* value) { m_vaultNameHasBeenSet = true; m_vaultName.assign(value); }
98 
102  inline DescribeVaultOutput& WithVaultName(const Aws::String& value) { SetVaultName(value); return *this;}
103 
107  inline DescribeVaultOutput& WithVaultName(Aws::String&& value) { SetVaultName(value); return *this;}
108 
112  inline DescribeVaultOutput& WithVaultName(const char* value) { SetVaultName(value); return *this;}
113 
118  inline const Aws::String& GetCreationDate() const{ return m_creationDate; }
119 
124  inline void SetCreationDate(const Aws::String& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
125 
130  inline void SetCreationDate(Aws::String&& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
131 
136  inline void SetCreationDate(const char* value) { m_creationDateHasBeenSet = true; m_creationDate.assign(value); }
137 
142  inline DescribeVaultOutput& WithCreationDate(const Aws::String& value) { SetCreationDate(value); return *this;}
143 
148  inline DescribeVaultOutput& WithCreationDate(Aws::String&& value) { SetCreationDate(value); return *this;}
149 
154  inline DescribeVaultOutput& WithCreationDate(const char* value) { SetCreationDate(value); return *this;}
155 
161  inline const Aws::String& GetLastInventoryDate() const{ return m_lastInventoryDate; }
162 
168  inline void SetLastInventoryDate(const Aws::String& value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate = value; }
169 
175  inline void SetLastInventoryDate(Aws::String&& value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate = value; }
176 
182  inline void SetLastInventoryDate(const char* value) { m_lastInventoryDateHasBeenSet = true; m_lastInventoryDate.assign(value); }
183 
189  inline DescribeVaultOutput& WithLastInventoryDate(const Aws::String& value) { SetLastInventoryDate(value); return *this;}
190 
196  inline DescribeVaultOutput& WithLastInventoryDate(Aws::String&& value) { SetLastInventoryDate(value); return *this;}
197 
203  inline DescribeVaultOutput& WithLastInventoryDate(const char* value) { SetLastInventoryDate(value); return *this;}
204 
210  inline long long GetNumberOfArchives() const{ return m_numberOfArchives; }
211 
217  inline void SetNumberOfArchives(long long value) { m_numberOfArchivesHasBeenSet = true; m_numberOfArchives = value; }
218 
224  inline DescribeVaultOutput& WithNumberOfArchives(long long value) { SetNumberOfArchives(value); return *this;}
225 
231  inline long long GetSizeInBytes() const{ return m_sizeInBytes; }
232 
238  inline void SetSizeInBytes(long long value) { m_sizeInBytesHasBeenSet = true; m_sizeInBytes = value; }
239 
245  inline DescribeVaultOutput& WithSizeInBytes(long long value) { SetSizeInBytes(value); return *this;}
246 
247  private:
248  Aws::String m_vaultARN;
249  bool m_vaultARNHasBeenSet;
250  Aws::String m_vaultName;
251  bool m_vaultNameHasBeenSet;
252  Aws::String m_creationDate;
253  bool m_creationDateHasBeenSet;
254  Aws::String m_lastInventoryDate;
255  bool m_lastInventoryDateHasBeenSet;
256  long long m_numberOfArchives;
257  bool m_numberOfArchivesHasBeenSet;
258  long long m_sizeInBytes;
259  bool m_sizeInBytesHasBeenSet;
260  };
261 
262 } // namespace Model
263 } // namespace Glacier
264 } // namespace Aws
DescribeVaultOutput & WithVaultARN(Aws::String &&value)
DescribeVaultOutput & WithVaultName(Aws::String &&value)
void SetLastInventoryDate(Aws::String &&value)
DescribeVaultOutput & WithVaultName(const char *value)
DescribeVaultOutput & WithVaultName(const Aws::String &value)
DescribeVaultOutput & WithCreationDate(const Aws::String &value)
DescribeVaultOutput & WithSizeInBytes(long long value)
DescribeVaultOutput & WithCreationDate(Aws::String &&value)
DescribeVaultOutput & WithLastInventoryDate(const Aws::String &value)
DescribeVaultOutput & WithNumberOfArchives(long long value)
DescribeVaultOutput & WithLastInventoryDate(Aws::String &&value)
DescribeVaultOutput & WithCreationDate(const char *value)
const Aws::String & GetVaultName() const
DescribeVaultOutput & WithVaultARN(const char *value)
DescribeVaultOutput & WithLastInventoryDate(const char *value)
const Aws::String & GetVaultARN() const
const Aws::String & GetLastInventoryDate() const
void SetVaultARN(const Aws::String &value)
DescribeVaultOutput & WithVaultARN(const Aws::String &value)
#define AWS_GLACIER_API
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetVaultName(const Aws::String &value)
void SetLastInventoryDate(const Aws::String &value)
const Aws::String & GetCreationDate() const
void SetCreationDate(const Aws::String &value)
JSON (JavaScript Object Notation).