AWS SDK for C++  1.9.109
AWS SDK for C++
RetrieveTapeRecoveryPointRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace StorageGateway
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "RetrieveTapeRecoveryPoint"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetTapeARN() const{ return m_tapeARN; }
45 
50  inline bool TapeARNHasBeenSet() const { return m_tapeARNHasBeenSet; }
51 
56  inline void SetTapeARN(const Aws::String& value) { m_tapeARNHasBeenSet = true; m_tapeARN = value; }
57 
62  inline void SetTapeARN(Aws::String&& value) { m_tapeARNHasBeenSet = true; m_tapeARN = std::move(value); }
63 
68  inline void SetTapeARN(const char* value) { m_tapeARNHasBeenSet = true; m_tapeARN.assign(value); }
69 
74  inline RetrieveTapeRecoveryPointRequest& WithTapeARN(const Aws::String& value) { SetTapeARN(value); return *this;}
75 
80  inline RetrieveTapeRecoveryPointRequest& WithTapeARN(Aws::String&& value) { SetTapeARN(std::move(value)); return *this;}
81 
86  inline RetrieveTapeRecoveryPointRequest& WithTapeARN(const char* value) { SetTapeARN(value); return *this;}
87 
88 
89 
90  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
91 
92 
93  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
94 
95 
96  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
97 
98 
99  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
100 
101 
102  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
103 
104 
105  inline RetrieveTapeRecoveryPointRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
106 
107 
108  inline RetrieveTapeRecoveryPointRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
109 
110 
111  inline RetrieveTapeRecoveryPointRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
112 
113  private:
114 
115  Aws::String m_tapeARN;
116  bool m_tapeARNHasBeenSet;
117 
118  Aws::String m_gatewayARN;
119  bool m_gatewayARNHasBeenSet;
120  };
121 
122 } // namespace Model
123 } // namespace StorageGateway
124 } // namespace Aws
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::SetTapeARN
void SetTapeARN(Aws::String &&value)
Definition: RetrieveTapeRecoveryPointRequest.h:62
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::WithGatewayARN
RetrieveTapeRecoveryPointRequest & WithGatewayARN(const char *value)
Definition: RetrieveTapeRecoveryPointRequest.h:111
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::SetTapeARN
void SetTapeARN(const char *value)
Definition: RetrieveTapeRecoveryPointRequest.h:68
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::RetrieveTapeRecoveryPointRequest
RetrieveTapeRecoveryPointRequest()
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::SetTapeARN
void SetTapeARN(const Aws::String &value)
Definition: RetrieveTapeRecoveryPointRequest.h:56
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: RetrieveTapeRecoveryPointRequest.h:93
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::WithGatewayARN
RetrieveTapeRecoveryPointRequest & WithGatewayARN(const Aws::String &value)
Definition: RetrieveTapeRecoveryPointRequest.h:105
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: RetrieveTapeRecoveryPointRequest.h:102
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest
Definition: RetrieveTapeRecoveryPointRequest.h:25
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: RetrieveTapeRecoveryPointRequest.h:33
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::WithGatewayARN
RetrieveTapeRecoveryPointRequest & WithGatewayARN(Aws::String &&value)
Definition: RetrieveTapeRecoveryPointRequest.h:108
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: RetrieveTapeRecoveryPointRequest.h:96
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: RetrieveTapeRecoveryPointRequest.h:99
StorageGatewayRequest.h
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::GetTapeARN
const Aws::String & GetTapeARN() const
Definition: RetrieveTapeRecoveryPointRequest.h:44
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::WithTapeARN
RetrieveTapeRecoveryPointRequest & WithTapeARN(const Aws::String &value)
Definition: RetrieveTapeRecoveryPointRequest.h:74
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::TapeARNHasBeenSet
bool TapeARNHasBeenSet() const
Definition: RetrieveTapeRecoveryPointRequest.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::WithTapeARN
RetrieveTapeRecoveryPointRequest & WithTapeARN(const char *value)
Definition: RetrieveTapeRecoveryPointRequest.h:86
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: RetrieveTapeRecoveryPointRequest.h:90
Aws::StorageGateway::Model::RetrieveTapeRecoveryPointRequest::WithTapeARN
RetrieveTapeRecoveryPointRequest & WithTapeARN(Aws::String &&value)
Definition: RetrieveTapeRecoveryPointRequest.h:80