mirror of
https://github.com/allankoechke/azure-storage-cpplite.git
synced 2026-11-30 17:10:53 +00:00
48 lines
950 B
C++
48 lines
950 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "storage_EXPORTS.h"
|
|
|
|
#include "http_base.h"
|
|
#include "storage_account.h"
|
|
#include "storage_request_base.h"
|
|
|
|
namespace azure { namespace storage_lite {
|
|
|
|
class get_container_property_request_base : public blob_request_base
|
|
{
|
|
public:
|
|
virtual std::string container() const = 0;
|
|
|
|
AZURE_STORAGE_API void build_request(const storage_account &a, http_base &h) const override;
|
|
};
|
|
|
|
class container_property
|
|
{
|
|
public:
|
|
container_property() : m_valid(false) {}
|
|
|
|
container_property(bool valid)
|
|
:m_valid(valid)
|
|
{
|
|
}
|
|
|
|
void set_valid(bool valid)
|
|
{
|
|
m_valid = valid;
|
|
}
|
|
|
|
bool valid()
|
|
{
|
|
return m_valid;
|
|
}
|
|
|
|
std::string etag;
|
|
std::vector<std::pair<std::string, std::string>> metadata;
|
|
|
|
private:
|
|
bool m_valid;
|
|
};
|
|
}} // azure::storage_lite
|