AWS SDK for C++  1.9.102
AWS SDK for C++
DescribeWorkingStorageRequest.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 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeWorkingStorage"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
41 
42  inline const Aws::String& GetGatewayARN() const{ return m_gatewayARN; }
43 
44 
45  inline bool GatewayARNHasBeenSet() const { return m_gatewayARNHasBeenSet; }
46 
47 
48  inline void SetGatewayARN(const Aws::String& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = value; }
49 
50 
51  inline void SetGatewayARN(Aws::String&& value) { m_gatewayARNHasBeenSet = true; m_gatewayARN = std::move(value); }
52 
53 
54  inline void SetGatewayARN(const char* value) { m_gatewayARNHasBeenSet = true; m_gatewayARN.assign(value); }
55 
56 
57  inline DescribeWorkingStorageRequest& WithGatewayARN(const Aws::String& value) { SetGatewayARN(value); return *this;}
58 
59 
60  inline DescribeWorkingStorageRequest& WithGatewayARN(Aws::String&& value) { SetGatewayARN(std::move(value)); return *this;}
61 
62 
63  inline DescribeWorkingStorageRequest& WithGatewayARN(const char* value) { SetGatewayARN(value); return *this;}
64 
65  private:
66 
67  Aws::String m_gatewayARN;
68  bool m_gatewayARNHasBeenSet;
69  };
70 
71 } // namespace Model
72 } // namespace StorageGateway
73 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::DescribeWorkingStorageRequest
Definition: DescribeWorkingStorageRequest.h:26
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::SetGatewayARN
void SetGatewayARN(Aws::String &&value)
Definition: DescribeWorkingStorageRequest.h:51
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::WithGatewayARN
DescribeWorkingStorageRequest & WithGatewayARN(Aws::String &&value)
Definition: DescribeWorkingStorageRequest.h:60
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::SetGatewayARN
void SetGatewayARN(const Aws::String &value)
Definition: DescribeWorkingStorageRequest.h:48
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeWorkingStorageRequest.h:34
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::GetGatewayARN
const Aws::String & GetGatewayARN() const
Definition: DescribeWorkingStorageRequest.h:42
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::DescribeWorkingStorageRequest
DescribeWorkingStorageRequest()
StorageGatewayRequest.h
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::SetGatewayARN
void SetGatewayARN(const char *value)
Definition: DescribeWorkingStorageRequest.h:54
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::WithGatewayARN
DescribeWorkingStorageRequest & WithGatewayARN(const char *value)
Definition: DescribeWorkingStorageRequest.h:63
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::WithGatewayARN
DescribeWorkingStorageRequest & WithGatewayARN(const Aws::String &value)
Definition: DescribeWorkingStorageRequest.h:57
Aws::StorageGateway::Model::DescribeWorkingStorageRequest::GatewayARNHasBeenSet
bool GatewayARNHasBeenSet() const
Definition: DescribeWorkingStorageRequest.h:45