AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteVolumeResult.h
1
6#pragma once
7#include <aws/fsx/FSx_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/fsx/model/VolumeLifecycle.h>
10#include <aws/fsx/model/DeleteVolumeOntapResponse.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace FSx
26{
27namespace Model
28{
30 {
31 public:
32 AWS_FSX_API DeleteVolumeResult();
35
36
38
41 inline const Aws::String& GetVolumeId() const{ return m_volumeId; }
42 inline void SetVolumeId(const Aws::String& value) { m_volumeId = value; }
43 inline void SetVolumeId(Aws::String&& value) { m_volumeId = std::move(value); }
44 inline void SetVolumeId(const char* value) { m_volumeId.assign(value); }
45 inline DeleteVolumeResult& WithVolumeId(const Aws::String& value) { SetVolumeId(value); return *this;}
46 inline DeleteVolumeResult& WithVolumeId(Aws::String&& value) { SetVolumeId(std::move(value)); return *this;}
47 inline DeleteVolumeResult& WithVolumeId(const char* value) { SetVolumeId(value); return *this;}
49
51
56 inline const VolumeLifecycle& GetLifecycle() const{ return m_lifecycle; }
57 inline void SetLifecycle(const VolumeLifecycle& value) { m_lifecycle = value; }
58 inline void SetLifecycle(VolumeLifecycle&& value) { m_lifecycle = std::move(value); }
59 inline DeleteVolumeResult& WithLifecycle(const VolumeLifecycle& value) { SetLifecycle(value); return *this;}
60 inline DeleteVolumeResult& WithLifecycle(VolumeLifecycle&& value) { SetLifecycle(std::move(value)); return *this;}
62
64
68 inline const DeleteVolumeOntapResponse& GetOntapResponse() const{ return m_ontapResponse; }
69 inline void SetOntapResponse(const DeleteVolumeOntapResponse& value) { m_ontapResponse = value; }
70 inline void SetOntapResponse(DeleteVolumeOntapResponse&& value) { m_ontapResponse = std::move(value); }
72 inline DeleteVolumeResult& WithOntapResponse(DeleteVolumeOntapResponse&& value) { SetOntapResponse(std::move(value)); return *this;}
74
76
77 inline const Aws::String& GetRequestId() const{ return m_requestId; }
78 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
79 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
80 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 inline DeleteVolumeResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
82 inline DeleteVolumeResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
83 inline DeleteVolumeResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
85 private:
86
87 Aws::String m_volumeId;
88
89 VolumeLifecycle m_lifecycle;
90
91 DeleteVolumeOntapResponse m_ontapResponse;
92
93 Aws::String m_requestId;
94 };
95
96} // namespace Model
97} // namespace FSx
98} // namespace Aws
DeleteVolumeResult & WithLifecycle(const VolumeLifecycle &value)
const Aws::String & GetVolumeId() const
void SetVolumeId(Aws::String &&value)
const DeleteVolumeOntapResponse & GetOntapResponse() const
const VolumeLifecycle & GetLifecycle() const
DeleteVolumeResult & WithVolumeId(Aws::String &&value)
DeleteVolumeResult & WithRequestId(const char *value)
void SetOntapResponse(DeleteVolumeOntapResponse &&value)
void SetRequestId(Aws::String &&value)
DeleteVolumeResult & WithVolumeId(const Aws::String &value)
DeleteVolumeResult & WithOntapResponse(DeleteVolumeOntapResponse &&value)
DeleteVolumeResult & WithVolumeId(const char *value)
DeleteVolumeResult & WithRequestId(Aws::String &&value)
void SetLifecycle(VolumeLifecycle &&value)
void SetOntapResponse(const DeleteVolumeOntapResponse &value)
AWS_FSX_API DeleteVolumeResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetVolumeId(const Aws::String &value)
AWS_FSX_API DeleteVolumeResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DeleteVolumeResult & WithRequestId(const Aws::String &value)
const Aws::String & GetRequestId() const
DeleteVolumeResult & WithOntapResponse(const DeleteVolumeOntapResponse &value)
DeleteVolumeResult & WithLifecycle(VolumeLifecycle &&value)
void SetLifecycle(const VolumeLifecycle &value)
void SetRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue