AWS SDK for C++  1.9.106
AWS SDK for C++
DescribeSnapshotScheduleRequest.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 "DescribeSnapshotSchedule"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetVolumeARN() const{ return m_volumeARN; }
46 
51  inline bool VolumeARNHasBeenSet() const { return m_volumeARNHasBeenSet; }
52 
57  inline void SetVolumeARN(const Aws::String& value) { m_volumeARNHasBeenSet = true; m_volumeARN = value; }
58 
63  inline void SetVolumeARN(Aws::String&& value) { m_volumeARNHasBeenSet = true; m_volumeARN = std::move(value); }
64 
69  inline void SetVolumeARN(const char* value) { m_volumeARNHasBeenSet = true; m_volumeARN.assign(value); }
70 
75  inline DescribeSnapshotScheduleRequest& WithVolumeARN(const Aws::String& value) { SetVolumeARN(value); return *this;}
76 
81  inline DescribeSnapshotScheduleRequest& WithVolumeARN(Aws::String&& value) { SetVolumeARN(std::move(value)); return *this;}
82 
87  inline DescribeSnapshotScheduleRequest& WithVolumeARN(const char* value) { SetVolumeARN(value); return *this;}
88 
89  private:
90 
91  Aws::String m_volumeARN;
92  bool m_volumeARNHasBeenSet;
93  };
94 
95 } // namespace Model
96 } // namespace StorageGateway
97 } // namespace Aws
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::WithVolumeARN
DescribeSnapshotScheduleRequest & WithVolumeARN(const char *value)
Definition: DescribeSnapshotScheduleRequest.h:87
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::SetVolumeARN
void SetVolumeARN(const Aws::String &value)
Definition: DescribeSnapshotScheduleRequest.h:57
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest
Definition: DescribeSnapshotScheduleRequest.h:26
Aws::StorageGateway::StorageGatewayRequest
Definition: StorageGatewayRequest.h:17
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::WithVolumeARN
DescribeSnapshotScheduleRequest & WithVolumeARN(Aws::String &&value)
Definition: DescribeSnapshotScheduleRequest.h:81
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeSnapshotScheduleRequest.h:34
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::GetVolumeARN
const Aws::String & GetVolumeARN() const
Definition: DescribeSnapshotScheduleRequest.h:45
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::WithVolumeARN
DescribeSnapshotScheduleRequest & WithVolumeARN(const Aws::String &value)
Definition: DescribeSnapshotScheduleRequest.h:75
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWSString.h
AWS_STORAGEGATEWAY_API
#define AWS_STORAGEGATEWAY_API
Definition: StorageGateway_EXPORTS.h:28
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::SetVolumeARN
void SetVolumeARN(Aws::String &&value)
Definition: DescribeSnapshotScheduleRequest.h:63
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::DescribeSnapshotScheduleRequest
DescribeSnapshotScheduleRequest()
StorageGatewayRequest.h
Aws
Definition: AccessManagementClient.h:15
StorageGateway_EXPORTS.h
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::SetVolumeARN
void SetVolumeARN(const char *value)
Definition: DescribeSnapshotScheduleRequest.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::StorageGateway::Model::DescribeSnapshotScheduleRequest::VolumeARNHasBeenSet
bool VolumeARNHasBeenSet() const
Definition: DescribeSnapshotScheduleRequest.h:51