58 lines
2.0 KiB
C++
58 lines
2.0 KiB
C++
/*
|
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
#ifndef ALIBABACLOUD_DBFS_MODEL_MODIFYAUTOSNAPSHOTPOLICYREQUEST_H_
|
|
#define ALIBABACLOUD_DBFS_MODEL_MODIFYAUTOSNAPSHOTPOLICYREQUEST_H_
|
|
|
|
#include <alibabacloud/dbfs/DBFSExport.h>
|
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
namespace AlibabaCloud {
|
|
namespace DBFS {
|
|
namespace Model {
|
|
class ALIBABACLOUD_DBFS_EXPORT ModifyAutoSnapshotPolicyRequest : public RpcServiceRequest {
|
|
public:
|
|
ModifyAutoSnapshotPolicyRequest();
|
|
~ModifyAutoSnapshotPolicyRequest();
|
|
std::vector<std::string> getTimePoints() const;
|
|
void setTimePoints(const std::vector<std::string> &timePoints);
|
|
std::vector<std::string> getRepeatWeekdays() const;
|
|
void setRepeatWeekdays(const std::vector<std::string> &repeatWeekdays);
|
|
std::string getPolicyId() const;
|
|
void setPolicyId(const std::string &policyId);
|
|
std::string getRegionId() const;
|
|
void setRegionId(const std::string ®ionId);
|
|
std::string getPolicyName() const;
|
|
void setPolicyName(const std::string &policyName);
|
|
int getRetentionDays() const;
|
|
void setRetentionDays(int retentionDays);
|
|
|
|
private:
|
|
std::vector<std::string> timePoints_;
|
|
std::vector<std::string> repeatWeekdays_;
|
|
std::string policyId_;
|
|
std::string regionId_;
|
|
std::string policyName_;
|
|
int retentionDays_;
|
|
};
|
|
} // namespace Model
|
|
} // namespace DBFS
|
|
} // namespace AlibabaCloud
|
|
#endif // !ALIBABACLOUD_DBFS_MODEL_MODIFYAUTOSNAPSHOTPOLICYREQUEST_H_
|