AWS SDK for C++  1.9.107
AWS SDK for C++
UpdateVTLDeviceTypeRequest.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 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "UpdateVTLDeviceType"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
40  inline const Aws::String& GetVTLDeviceARN() const{ return m_vTLDeviceARN; }
41 
45  inline bool VTLDeviceARNHasBeenSet() const { return m_vTLDeviceARNHasBeenSet; }
46 
50  inline void SetVTLDeviceARN(const Aws::String& value) { m_vTLDeviceARNHasBeenSet = true; m_vTLDeviceARN = value; }
51 
55  inline void SetVTLDeviceARN(Aws::String&& value) { m_vTLDeviceARNHasBeenSet = true; m_vTLDeviceARN = std::move(value); }
56 
60  inline void SetVTLDeviceARN(const char* value) { m_vTLDeviceARNHasBeenSet = true; m_vTLDeviceARN.assign(value); }
61 
65  inline UpdateVTLDeviceTypeRequest& WithVTLDeviceARN(const Aws::String& value) { SetVTLDeviceARN(value); return *this;}
66 
70  inline UpdateVTLDeviceTypeRequest& WithVTLDeviceARN(Aws::String&& value) { SetVTLDeviceARN(std::move(value)); return *this;}
71 
75  inline UpdateVTLDeviceTypeRequest& WithVTLDeviceARN(const char* value) { SetVTLDeviceARN(value); return *this;}
76 
77 
83  inline const Aws::String& GetDeviceType() const{ return m_deviceType; }
84 
90  inline bool DeviceTypeHasBeenSet() const { return m_deviceTypeHasBeenSet; }
91 
97  inline void SetDeviceType(const Aws::String& value) { m_deviceTypeHasBeenSet = true; m_deviceType = value; }
98 
104  inline void SetDeviceType(Aws::String&& value) { m_deviceTypeHasBeenSet = true; m_deviceType = std::move(value); }
105 
111  inline void SetDeviceType(const char* value) { m_deviceTypeHasBeenSet = true; m_deviceType.assign(value); }
112 
118  inline UpdateVTLDeviceTypeRequest& WithDeviceType(const Aws::String& value) { SetDeviceType(value); return *this;}
119 
125  inline UpdateVTLDeviceTypeRequest& WithDeviceType(Aws::String&& value) { SetDeviceType(std::move(value)); return *this;}
126 
132  inline UpdateVTLDeviceTypeRequest& WithDeviceType(const char* value) { SetDeviceType(value); return *this;}
133 
134  private:
135 
136  Aws::String m_vTLDeviceARN;
137  bool m_vTLDeviceARNHasBeenSet;
138 
139  Aws::String m_deviceType;
140  bool m_deviceTypeHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace StorageGateway
145 } // namespace Aws
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::SetVTLDeviceARN
void SetVTLDeviceARN(const Aws::String &value)
Definition: UpdateVTLDeviceTypeRequest.h:50
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::UpdateVTLDeviceTypeRequest
UpdateVTLDeviceTypeRequest()
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::SetVTLDeviceARN
void SetVTLDeviceARN(Aws::String &&value)
Definition: UpdateVTLDeviceTypeRequest.h:55
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest
Definition: UpdateVTLDeviceTypeRequest.h:22
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::WithVTLDeviceARN
UpdateVTLDeviceTypeRequest & WithVTLDeviceARN(const Aws::String &value)
Definition: UpdateVTLDeviceTypeRequest.h:65
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::GetVTLDeviceARN
const Aws::String & GetVTLDeviceARN() const
Definition: UpdateVTLDeviceTypeRequest.h:40
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::GetDeviceType
const Aws::String & GetDeviceType() const
Definition: UpdateVTLDeviceTypeRequest.h:83
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::VTLDeviceARNHasBeenSet
bool VTLDeviceARNHasBeenSet() const
Definition: UpdateVTLDeviceTypeRequest.h:45
StorageGatewayRequest.h
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::DeviceTypeHasBeenSet
bool DeviceTypeHasBeenSet() const
Definition: UpdateVTLDeviceTypeRequest.h:90
Aws
Definition: AccessManagementClient.h:15
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::SetDeviceType
void SetDeviceType(const Aws::String &value)
Definition: UpdateVTLDeviceTypeRequest.h:97
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::WithVTLDeviceARN
UpdateVTLDeviceTypeRequest & WithVTLDeviceARN(Aws::String &&value)
Definition: UpdateVTLDeviceTypeRequest.h:70
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::SetVTLDeviceARN
void SetVTLDeviceARN(const char *value)
Definition: UpdateVTLDeviceTypeRequest.h:60
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::SetDeviceType
void SetDeviceType(const char *value)
Definition: UpdateVTLDeviceTypeRequest.h:111
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::SetDeviceType
void SetDeviceType(Aws::String &&value)
Definition: UpdateVTLDeviceTypeRequest.h:104
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateVTLDeviceTypeRequest.h:30
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::WithDeviceType
UpdateVTLDeviceTypeRequest & WithDeviceType(const Aws::String &value)
Definition: UpdateVTLDeviceTypeRequest.h:118
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::WithDeviceType
UpdateVTLDeviceTypeRequest & WithDeviceType(const char *value)
Definition: UpdateVTLDeviceTypeRequest.h:132
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::WithDeviceType
UpdateVTLDeviceTypeRequest & WithDeviceType(Aws::String &&value)
Definition: UpdateVTLDeviceTypeRequest.h:125
Aws::StorageGateway::Model::UpdateVTLDeviceTypeRequest::WithVTLDeviceARN
UpdateVTLDeviceTypeRequest & WithVTLDeviceARN(const char *value)
Definition: UpdateVTLDeviceTypeRequest.h:75