AWS SDK for C++  0.14.3
AWS SDK for C++
TapeRecoveryPointInfo.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
19 
20 namespace Aws
21 {
22 namespace Utils
23 {
24 namespace Json
25 {
26  class JsonValue;
27 } // namespace Json
28 } // namespace Utils
29 namespace StorageGateway
30 {
31 namespace Model
32 {
33 
38  {
39  public:
42  TapeRecoveryPointInfo& operator=(const Aws::Utils::Json::JsonValue& jsonValue);
43  Aws::Utils::Json::JsonValue Jsonize() const;
44 
48  inline const Aws::String& GetTapeARN() const{ return m_tapeARN; }
49 
53  inline void SetTapeARN(const Aws::String& value) { m_tapeARNHasBeenSet = true; m_tapeARN = value; }
54 
58  inline void SetTapeARN(Aws::String&& value) { m_tapeARNHasBeenSet = true; m_tapeARN = value; }
59 
63  inline void SetTapeARN(const char* value) { m_tapeARNHasBeenSet = true; m_tapeARN.assign(value); }
64 
68  inline TapeRecoveryPointInfo& WithTapeARN(const Aws::String& value) { SetTapeARN(value); return *this;}
69 
73  inline TapeRecoveryPointInfo& WithTapeARN(Aws::String&& value) { SetTapeARN(value); return *this;}
74 
78  inline TapeRecoveryPointInfo& WithTapeARN(const char* value) { SetTapeARN(value); return *this;}
79 
85  inline const Aws::Utils::DateTime& GetTapeRecoveryPointTime() const{ return m_tapeRecoveryPointTime; }
86 
92  inline void SetTapeRecoveryPointTime(const Aws::Utils::DateTime& value) { m_tapeRecoveryPointTimeHasBeenSet = true; m_tapeRecoveryPointTime = value; }
93 
99  inline void SetTapeRecoveryPointTime(Aws::Utils::DateTime&& value) { m_tapeRecoveryPointTimeHasBeenSet = true; m_tapeRecoveryPointTime = value; }
100 
106  inline TapeRecoveryPointInfo& WithTapeRecoveryPointTime(const Aws::Utils::DateTime& value) { SetTapeRecoveryPointTime(value); return *this;}
107 
113  inline TapeRecoveryPointInfo& WithTapeRecoveryPointTime(Aws::Utils::DateTime&& value) { SetTapeRecoveryPointTime(value); return *this;}
114 
118  inline long long GetTapeSizeInBytes() const{ return m_tapeSizeInBytes; }
119 
123  inline void SetTapeSizeInBytes(long long value) { m_tapeSizeInBytesHasBeenSet = true; m_tapeSizeInBytes = value; }
124 
128  inline TapeRecoveryPointInfo& WithTapeSizeInBytes(long long value) { SetTapeSizeInBytes(value); return *this;}
129 
130 
131  inline const Aws::String& GetTapeStatus() const{ return m_tapeStatus; }
132 
133 
134  inline void SetTapeStatus(const Aws::String& value) { m_tapeStatusHasBeenSet = true; m_tapeStatus = value; }
135 
136 
137  inline void SetTapeStatus(Aws::String&& value) { m_tapeStatusHasBeenSet = true; m_tapeStatus = value; }
138 
139 
140  inline void SetTapeStatus(const char* value) { m_tapeStatusHasBeenSet = true; m_tapeStatus.assign(value); }
141 
142 
143  inline TapeRecoveryPointInfo& WithTapeStatus(const Aws::String& value) { SetTapeStatus(value); return *this;}
144 
145 
146  inline TapeRecoveryPointInfo& WithTapeStatus(Aws::String&& value) { SetTapeStatus(value); return *this;}
147 
148 
149  inline TapeRecoveryPointInfo& WithTapeStatus(const char* value) { SetTapeStatus(value); return *this;}
150 
151  private:
152  Aws::String m_tapeARN;
153  bool m_tapeARNHasBeenSet;
154  Aws::Utils::DateTime m_tapeRecoveryPointTime;
155  bool m_tapeRecoveryPointTimeHasBeenSet;
156  long long m_tapeSizeInBytes;
157  bool m_tapeSizeInBytesHasBeenSet;
158  Aws::String m_tapeStatus;
159  bool m_tapeStatusHasBeenSet;
160  };
161 
162 } // namespace Model
163 } // namespace StorageGateway
164 } // namespace Aws
TapeRecoveryPointInfo & WithTapeSizeInBytes(long long value)
void SetTapeRecoveryPointTime(const Aws::Utils::DateTime &value)
TapeRecoveryPointInfo & WithTapeRecoveryPointTime(const Aws::Utils::DateTime &value)
TapeRecoveryPointInfo & WithTapeARN(const Aws::String &value)
TapeRecoveryPointInfo & WithTapeStatus(const char *value)
TapeRecoveryPointInfo & WithTapeRecoveryPointTime(Aws::Utils::DateTime &&value)
TapeRecoveryPointInfo & WithTapeStatus(const Aws::String &value)
TapeRecoveryPointInfo & WithTapeStatus(Aws::String &&value)
const Aws::Utils::DateTime & GetTapeRecoveryPointTime() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetTapeRecoveryPointTime(Aws::Utils::DateTime &&value)
TapeRecoveryPointInfo & WithTapeARN(const char *value)
#define AWS_STORAGEGATEWAY_API
JSON (JavaScript Object Notation).
TapeRecoveryPointInfo & WithTapeARN(Aws::String &&value)