AWS SDK for C++  1.9.106
AWS SDK for C++
ListVolumeInitiatorsRequest.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 "ListVolumeInitiators"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
44  inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; }
45 
50  inline bool VolumeARNHasBeenSet() const { return m_volumeARNHasBeenSet; }
51 
56  inline void SetVolumeARN(const Aws::String& value) { m_volumeARNHasBeenSet = true; m_volumeARN = value; }
57 
62  inline void SetVolumeARN(Aws::String&& value) { m_volumeARNHasBeenSet = true; m_volumeARN = std::move(value); }
63 
68  inline void SetVolumeARN(const char* value) { m_volumeARNHasBeenSet = true; m_volumeARN.assign(value); }
69 
74  inline ListVolumeInitiatorsRequest& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
75 
80  inline ListVolumeInitiatorsRequest& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;}
81 
86  inline ListVolumeInitiatorsRequest& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
87 
88  private:
89 
90  Aws::String m_volumeARN;
91  bool m_volumeARNHasBeenSet;
92  };
93 
94 } // namespace Model
95 } // namespace StorageGateway
96 } // namespace Aws
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListVolumeInitiatorsRequest.h:33
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::VolumeARNHasBeenSet
bool VolumeARNHasBeenSet() const
Definition: ListVolumeInitiatorsRequest.h:50
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::SetVolumeARN
void SetVolumeARN(Aws::String &&value)
Definition: ListVolumeInitiatorsRequest.h:62
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::GetVolumeARN
const Aws::String & GetVolumeARN() const
Definition: ListVolumeInitiatorsRequest.h:44
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::SetVolumeARN
void SetVolumeARN(const char *value)
Definition: ListVolumeInitiatorsRequest.h:68
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::WithVolumeARN
ListVolumeInitiatorsRequest & WithVolumeARN(const Aws::String &value)
Definition: ListVolumeInitiatorsRequest.h:74
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::SetVolumeARN
void SetVolumeARN(const Aws::String &value)
Definition: ListVolumeInitiatorsRequest.h:56
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::WithVolumeARN
ListVolumeInitiatorsRequest & WithVolumeARN(const char *value)
Definition: ListVolumeInitiatorsRequest.h:86
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::WithVolumeARN
ListVolumeInitiatorsRequest & WithVolumeARN(Aws::String &&value)
Definition: ListVolumeInitiatorsRequest.h:80
AWSString.h
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest
Definition: ListVolumeInitiatorsRequest.h:25
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::ListVolumeInitiatorsRequest::ListVolumeInitiatorsRequest
ListVolumeInitiatorsRequest()