Moving GetRawResponseInternal out of public from Operation derived classes (#1890)
This commit is contained in:
parent
e1288767d4
commit
42a67b1349
@ -76,7 +76,6 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Keys {
|
||||
keyvaultPipeline,
|
||||
Azure::Response<Azure::Security::KeyVault::Keys::DeletedKey> response);
|
||||
|
||||
public:
|
||||
/**
|
||||
* @brief Get the #Azure::Core::Http::RawResponse of the operation request.
|
||||
* @return A reference to an #Azure::Core::Http::RawResponse.
|
||||
@ -87,6 +86,7 @@ namespace Azure { namespace Security { namespace KeyVault { namespace Keys {
|
||||
return *m_rawResponse;
|
||||
}
|
||||
|
||||
public:
|
||||
/**
|
||||
* @brief Get the #Azure::Security::KeyVault::Keys::DeletedKey object.
|
||||
*
|
||||
|
||||
@ -82,16 +82,6 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
public:
|
||||
Models::GetBlobPropertiesResult Value() const override { return m_pollResult; }
|
||||
|
||||
/**
|
||||
* @brief Get the raw HTTP response.
|
||||
* @return A reference to an #Azure::Core::Http::RawResponse.
|
||||
* @note Does not give up ownership of the RawResponse.
|
||||
*/
|
||||
Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override
|
||||
{
|
||||
return *m_rawResponse;
|
||||
}
|
||||
|
||||
StartCopyBlobOperation() = default;
|
||||
|
||||
StartCopyBlobOperation(StartCopyBlobOperation&&) = default;
|
||||
@ -114,6 +104,16 @@ namespace Azure { namespace Storage { namespace Blobs {
|
||||
std::chrono::milliseconds period,
|
||||
Azure::Core::Context& context) override;
|
||||
|
||||
/**
|
||||
* @brief Get the raw HTTP response.
|
||||
* @return A reference to an #Azure::Core::Http::RawResponse.
|
||||
* @note Does not give up ownership of the RawResponse.
|
||||
*/
|
||||
Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override
|
||||
{
|
||||
return *m_rawResponse;
|
||||
}
|
||||
|
||||
std::shared_ptr<BlobClient> m_blobClient;
|
||||
Models::GetBlobPropertiesResult m_pollResult;
|
||||
|
||||
|
||||
@ -198,16 +198,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
public:
|
||||
Models::GetShareFilePropertiesResult Value() const override { return m_pollResult; }
|
||||
|
||||
/**
|
||||
* @brief Get the raw HTTP response.
|
||||
* @return A reference to an #Azure::Core::Http::RawResponse.
|
||||
* @note Does not give up ownership of the RawResponse.
|
||||
*/
|
||||
Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override
|
||||
{
|
||||
return *m_rawResponse;
|
||||
}
|
||||
|
||||
StartCopyShareFileOperation() = default;
|
||||
|
||||
StartCopyShareFileOperation(StartCopyShareFileOperation&&) = default;
|
||||
@ -230,6 +220,16 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
std::chrono::milliseconds period,
|
||||
Azure::Core::Context& context) override;
|
||||
|
||||
/**
|
||||
* @brief Get the raw HTTP response.
|
||||
* @return A reference to an #Azure::Core::Http::RawResponse.
|
||||
* @note Does not give up ownership of the RawResponse.
|
||||
*/
|
||||
Azure::Core::Http::RawResponse const& GetRawResponseInternal() const override
|
||||
{
|
||||
return *m_rawResponse;
|
||||
}
|
||||
|
||||
std::shared_ptr<ShareFileClient> m_fileClient;
|
||||
Models::GetShareFilePropertiesResult m_pollResult;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user