AWS SDK for C++  0.14.3
AWS SDK for C++
VolumeRecoveryPointInfo.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 StorageGateway
29 {
30 namespace Model
31 {
32 
34  {
35  public:
38  VolumeRecoveryPointInfo& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
39  Aws::Utils::Json::JsonValue Jsonize() const;
40 
41 
42  inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; }
43 
44 
45  inline void SetVolumeARN(const Aws::String& value) { m_volumeARNHasBeenSet = true; m_volumeARN = value; }
46 
47 
48  inline void SetVolumeARN(Aws::String&& value) { m_volumeARNHasBeenSet = true; m_volumeARN = value; }
49 
50 
51  inline void SetVolumeARN(const char* value) { m_volumeARNHasBeenSet = true; m_volumeARN.assign(value); }
52 
53 
54  inline VolumeRecoveryPointInfo& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
55 
56 
57  inline VolumeRecoveryPointInfo& WithVolumeARN(Aws::String&& value) { SetVolumeARN(value); return *this;}
58 
59 
60  inline VolumeRecoveryPointInfo& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
61 
62 
63  inline long long GetVolumeSizeInBytes() const{ return m_volumeSizeInBytes; }
64 
65 
66  inline void SetVolumeSizeInBytes(long long value) { m_volumeSizeInBytesHasBeenSet = true; m_volumeSizeInBytes = value; }
67 
68 
69  inline VolumeRecoveryPointInfo& WithVolumeSizeInBytes(long long value) { SetVolumeSizeInBytes(value); return *this;}
70 
71 
72  inline long long GetVolumeUsageInBytes() const{ return m_volumeUsageInBytes; }
73 
74 
75  inline void SetVolumeUsageInBytes(long long value) { m_volumeUsageInBytesHasBeenSet = true; m_volumeUsageInBytes = value; }
76 
77 
78  inline VolumeRecoveryPointInfo& WithVolumeUsageInBytes(long long value) { SetVolumeUsageInBytes(value); return *this;}
79 
80 
81  inline const Aws::String& GetVolumeRecoveryPointTime() const{ return m_volumeRecoveryPointTime; }
82 
83 
84  inline void SetVolumeRecoveryPointTime(const Aws::String& value) { m_volumeRecoveryPointTimeHasBeenSet = true; m_volumeRecoveryPointTime = value; }
85 
86 
87  inline void SetVolumeRecoveryPointTime(Aws::String&& value) { m_volumeRecoveryPointTimeHasBeenSet = true; m_volumeRecoveryPointTime = value; }
88 
89 
90  inline void SetVolumeRecoveryPointTime(const char* value) { m_volumeRecoveryPointTimeHasBeenSet = true; m_volumeRecoveryPointTime.assign(value); }
91 
92 
93  inline VolumeRecoveryPointInfo& WithVolumeRecoveryPointTime(const Aws::String& value) { SetVolumeRecoveryPointTime(value); return *this;}
94 
95 
96  inline VolumeRecoveryPointInfo& WithVolumeRecoveryPointTime(Aws::String&& value) { SetVolumeRecoveryPointTime(value); return *this;}
97 
98 
99  inline VolumeRecoveryPointInfo& WithVolumeRecoveryPointTime(const char* value) { SetVolumeRecoveryPointTime(value); return *this;}
100 
101  private:
102  Aws::String m_volumeARN;
103  bool m_volumeARNHasBeenSet;
104  long long m_volumeSizeInBytes;
105  bool m_volumeSizeInBytesHasBeenSet;
106  long long m_volumeUsageInBytes;
107  bool m_volumeUsageInBytesHasBeenSet;
108  Aws::String m_volumeRecoveryPointTime;
109  bool m_volumeRecoveryPointTimeHasBeenSet;
110  };
111 
112 } // namespace Model
113 } // namespace StorageGateway
114 } // namespace Aws
VolumeRecoveryPointInfo & WithVolumeSizeInBytes(long long value)
VolumeRecoveryPointInfo & WithVolumeRecoveryPointTime(Aws::String &&value)
VolumeRecoveryPointInfo & WithVolumeARN(const char *value)
VolumeRecoveryPointInfo & WithVolumeRecoveryPointTime(const Aws::String &value)
VolumeRecoveryPointInfo & WithVolumeARN(Aws::String &&value)
VolumeRecoveryPointInfo & WithVolumeARN(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
VolumeRecoveryPointInfo & WithVolumeRecoveryPointTime(const char *value)
#define AWS_STORAGEGATEWAY_API
VolumeRecoveryPointInfo & WithVolumeUsageInBytes(long long value)
JSON (JavaScript Object Notation).