AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeTapeRecoveryPointsResult.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
20 
21 namespace Aws
22 {
23 template<typename RESULT_TYPE>
24 class AmazonWebServiceResult;
25 
26 namespace Utils
27 {
28 namespace Json
29 {
30  class JsonValue;
31 } // namespace Json
32 } // namespace Utils
33 namespace StorageGateway
34 {
35 namespace Model
36 {
41  {
42  public:
46 
47 
48  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
49 
50 
51  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARN = value; }
52 
53 
54  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARN = value; }
55 
56 
57  inline void SetGatewayARN(const char* value) { m_gatewayARN.assign(value); }
58 
59 
60  inline DescribeTapeRecoveryPointsResult& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
61 
62 
63  inline DescribeTapeRecoveryPointsResult& WithGatewayARN(Aws::String&& value) { SetGatewayARN(value); return *this;}
64 
65 
66  inline DescribeTapeRecoveryPointsResult& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
67 
72  inline const Aws::Vector<TapeRecoveryPointInfo>& GetTapeRecoveryPointInfos() const{ return m_tapeRecoveryPointInfos; }
73 
78  inline void SetTapeRecoveryPointInfos(const Aws::Vector<TapeRecoveryPointInfo>& value) { m_tapeRecoveryPointInfos = value; }
79 
84  inline void SetTapeRecoveryPointInfos(Aws::Vector<TapeRecoveryPointInfo>&& value) { m_tapeRecoveryPointInfos = value; }
85 
90  inline DescribeTapeRecoveryPointsResult& WithTapeRecoveryPointInfos(const Aws::Vector<TapeRecoveryPointInfo>& value) { SetTapeRecoveryPointInfos(value); return *this;}
91 
96  inline DescribeTapeRecoveryPointsResult& WithTapeRecoveryPointInfos(Aws::Vector<TapeRecoveryPointInfo>&& value) { SetTapeRecoveryPointInfos(value); return *this;}
97 
102  inline DescribeTapeRecoveryPointsResult& AddTapeRecoveryPointInfos(const TapeRecoveryPointInfo& value) { m_tapeRecoveryPointInfos.push_back(value); return *this; }
103 
108  inline DescribeTapeRecoveryPointsResult& AddTapeRecoveryPointInfos(TapeRecoveryPointInfo&& value) { m_tapeRecoveryPointInfos.push_back(value); return *this; }
109 
117  inline const Aws::String& GetMarker() const{ return m_marker; }
118 
126  inline void SetMarker(const Aws::String& value) { m_marker = value; }
127 
135  inline void SetMarker(Aws::String&& value) { m_marker = value; }
136 
144  inline void SetMarker(const char* value) { m_marker.assign(value); }
145 
153  inline DescribeTapeRecoveryPointsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
154 
162  inline DescribeTapeRecoveryPointsResult& WithMarker(Aws::String&& value) { SetMarker(value); return *this;}
163 
171  inline DescribeTapeRecoveryPointsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
172 
173  private:
174  Aws::String m_gatewayARN;
175  Aws::Vector<TapeRecoveryPointInfo> m_tapeRecoveryPointInfos;
176  Aws::String m_marker;
177  };
178 
179 } // namespace Model
180 } // namespace StorageGateway
181 } // namespace Aws
DescribeTapeRecoveryPointsResult & WithGatewayARN(const char *value)
DescribeTapeRecoveryPointsResult & WithMarker(const char *value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeTapeRecoveryPointsResult & WithMarker(Aws::String &&value)
DescribeTapeRecoveryPointsResult & WithTapeRecoveryPointInfos(Aws::Vector< TapeRecoveryPointInfo > &&value)
DescribeTapeRecoveryPointsResult & WithTapeRecoveryPointInfos(const Aws::Vector< TapeRecoveryPointInfo > &value)
DescribeTapeRecoveryPointsResult & WithMarker(const Aws::String &value)
DescribeTapeRecoveryPointsResult & AddTapeRecoveryPointInfos(TapeRecoveryPointInfo &&value)
void SetTapeRecoveryPointInfos(Aws::Vector< TapeRecoveryPointInfo > &&value)
DescribeTapeRecoveryPointsResult & WithGatewayARN(const Aws::String &value)
DescribeTapeRecoveryPointsResult & WithGatewayARN(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
const Aws::Vector< TapeRecoveryPointInfo > & GetTapeRecoveryPointInfos() const
DescribeTapeRecoveryPointsResult & AddTapeRecoveryPointInfos(const TapeRecoveryPointInfo &value)
void SetTapeRecoveryPointInfos(const Aws::Vector< TapeRecoveryPointInfo > &value)
#define AWS_STORAGEGATEWAY_API
JSON (JavaScript Object Notation).