AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteVolumeRequest.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/fsx/FSxRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/fsx/model/DeleteVolumeOntapConfiguration.h>
11#include <aws/fsx/model/DeleteVolumeOpenZFSConfiguration.h>
12#include <utility>
13#include <aws/core/utils/UUID.h>
14
15namespace Aws
16{
17namespace FSx
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_FSX_API DeleteVolumeRequest();
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 "DeleteVolume"; }
34
35 AWS_FSX_API Aws::String SerializePayload() const override;
36
38
39
41
42 inline const Aws::String& GetClientRequestToken() const{ return m_clientRequestToken; }
43 inline bool ClientRequestTokenHasBeenSet() const { return m_clientRequestTokenHasBeenSet; }
44 inline void SetClientRequestToken(const Aws::String& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = value; }
45 inline void SetClientRequestToken(Aws::String&& value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken = std::move(value); }
46 inline void SetClientRequestToken(const char* value) { m_clientRequestTokenHasBeenSet = true; m_clientRequestToken.assign(value); }
47 inline DeleteVolumeRequest& WithClientRequestToken(const Aws::String& value) { SetClientRequestToken(value); return *this;}
48 inline DeleteVolumeRequest& WithClientRequestToken(Aws::String&& value) { SetClientRequestToken(std::move(value)); return *this;}
49 inline DeleteVolumeRequest& WithClientRequestToken(const char* value) { SetClientRequestToken(value); return *this;}
51
53
56 inline const Aws::String& GetVolumeId() const{ return m_volumeId; }
57 inline bool VolumeIdHasBeenSet() const { return m_volumeIdHasBeenSet; }
58 inline void SetVolumeId(const Aws::String& value) { m_volumeIdHasBeenSet = true; m_volumeId = value; }
59 inline void SetVolumeId(Aws::String&& value) { m_volumeIdHasBeenSet = true; m_volumeId = std::move(value); }
60 inline void SetVolumeId(const char* value) { m_volumeIdHasBeenSet = true; m_volumeId.assign(value); }
61 inline DeleteVolumeRequest& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;}
62 inline DeleteVolumeRequest& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;}
63 inline DeleteVolumeRequest& WithVolumeId(const char* value) { SetVolumeId(value); return *this;}
65
67
72 inline const DeleteVolumeOntapConfiguration& GetOntapConfiguration() const{ return m_ontapConfiguration; }
73 inline bool OntapConfigurationHasBeenSet() const { return m_ontapConfigurationHasBeenSet; }
74 inline void SetOntapConfiguration(const DeleteVolumeOntapConfiguration& value) { m_ontapConfigurationHasBeenSet = true; m_ontapConfiguration = value; }
75 inline void SetOntapConfiguration(DeleteVolumeOntapConfiguration&& value) { m_ontapConfigurationHasBeenSet = true; m_ontapConfiguration = std::move(value); }
79
81
85 inline const DeleteVolumeOpenZFSConfiguration& GetOpenZFSConfiguration() const{ return m_openZFSConfiguration; }
86 inline bool OpenZFSConfigurationHasBeenSet() const { return m_openZFSConfigurationHasBeenSet; }
87 inline void SetOpenZFSConfiguration(const DeleteVolumeOpenZFSConfiguration& value) { m_openZFSConfigurationHasBeenSet = true; m_openZFSConfiguration = value; }
88 inline void SetOpenZFSConfiguration(DeleteVolumeOpenZFSConfiguration&& value) { m_openZFSConfigurationHasBeenSet = true; m_openZFSConfiguration = std::move(value); }
92 private:
93
94 Aws::String m_clientRequestToken;
95 bool m_clientRequestTokenHasBeenSet = false;
96
97 Aws::String m_volumeId;
98 bool m_volumeIdHasBeenSet = false;
99
100 DeleteVolumeOntapConfiguration m_ontapConfiguration;
101 bool m_ontapConfigurationHasBeenSet = false;
102
103 DeleteVolumeOpenZFSConfiguration m_openZFSConfiguration;
104 bool m_openZFSConfigurationHasBeenSet = false;
105 };
106
107} // namespace Model
108} // namespace FSx
109} // namespace Aws
void SetClientRequestToken(const Aws::String &value)
const DeleteVolumeOntapConfiguration & GetOntapConfiguration() const
DeleteVolumeRequest & WithClientRequestToken(const char *value)
AWS_FSX_API Aws::String SerializePayload() const override
DeleteVolumeRequest & WithOpenZFSConfiguration(DeleteVolumeOpenZFSConfiguration &&value)
DeleteVolumeRequest & WithVolumeId(Aws::String &&value)
void SetOpenZFSConfiguration(DeleteVolumeOpenZFSConfiguration &&value)
void SetClientRequestToken(const char *value)
DeleteVolumeRequest & WithClientRequestToken(Aws::String &&value)
DeleteVolumeRequest & WithOntapConfiguration(const DeleteVolumeOntapConfiguration &value)
const Aws::String & GetClientRequestToken() const
DeleteVolumeRequest & WithVolumeId(const char *value)
void SetVolumeId(const Aws::String &value)
DeleteVolumeRequest & WithClientRequestToken(const Aws::String &value)
void SetOntapConfiguration(DeleteVolumeOntapConfiguration &&value)
DeleteVolumeRequest & WithVolumeId(const Aws::String &value)
DeleteVolumeRequest & WithOpenZFSConfiguration(const DeleteVolumeOpenZFSConfiguration &value)
DeleteVolumeRequest & WithOntapConfiguration(DeleteVolumeOntapConfiguration &&value)
virtual const char * GetServiceRequestName() const override
void SetClientRequestToken(Aws::String &&value)
const DeleteVolumeOpenZFSConfiguration & GetOpenZFSConfiguration() const
AWS_FSX_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetOntapConfiguration(const DeleteVolumeOntapConfiguration &value)
void SetOpenZFSConfiguration(const DeleteVolumeOpenZFSConfiguration &value)
const Aws::String & GetVolumeId() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String