13 #ifndef NECBAAS_NBFILEBUCKET_H 
   14 #define NECBAAS_NBFILEBUCKET_H 
   36     NbFileBucket(
const std::shared_ptr<NbService> &service, 
const std::string &bucket_name);
 
   68                                            const std::string &content_type, 
const NbAcl &acl,
 
   69                                            bool cache_disable = 
false);
 
   82                                            const std::string &content_type, 
bool cache_disable = 
false);
 
  108                                               const std::string &content_type, 
const std::string &meta_etag,
 
  109                                               const std::string &file_etag);
 
  134                                       const std::string &file_etag, 
bool delete_mark = 
false);
 
  166     std::shared_ptr<NbService> service_; 
 
  167     int timeout_{kRestTimeoutDefault};   
 
  168     std::string bucket_name_;            
 
  183                                            const std::string &content_type, 
const std::string &acl, 
bool cache_disable);
 
  186 #endif  // NECBAAS_NBFILEBUCKET_H 
ACLクラス. 
Definition: nb_acl.h:30
NbResult< std::vector< NbFileMetadata > > GetFiles(bool published=false, bool deleteMark=false)
ファイル一覧取得. 
NbResult< NbFileMetadata > DeleteFile(const NbFileMetadata &metadata, bool delete_mark=false)
ファイル削除. 
NbResult< NbFileMetadata > UploadNewFile(const std::string &file_name, const std::string &file_path, const std::string &content_type, const NbAcl &acl, bool cache_disable=false)
ファイルの新規アップロード. 
int GetTimeout() const 
RESTタイムアウト取得. 
NbResult< int > DownloadFile(const std::string &file_name, const std::string &file_path)
ファイルダウンロード. 
NbFileBucket(const std::shared_ptr< NbService > &service, const std::string &bucket_name)
コンストラクタ. 
void SetTimeout(int timeout)
RESTタイムアウト設定. 
REST API処理結果クラス. 
Definition: nb_result.h:32
NbResult< NbFileMetadata > UploadUpdateFile(const std::string &file_path, const NbFileMetadata &metadata)
ファイルの更新アップロード. 
const std::string & GetBucketName() const 
バケット名取得. 
ファイルバケット. 
Definition: nb_file_bucket.h:29