|
|
@@ -1,144 +1,138 @@
|
|
|
/*
|
|
|
* 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_POLARDB_MODEL_CREATEDBCLUSTERREQUEST_H_
|
|
|
-#define ALIBABACLOUD_POLARDB_MODEL_CREATEDBCLUSTERREQUEST_H_
|
|
|
-
|
|
|
-#include <string>
|
|
|
-#include <vector>
|
|
|
-#include <alibabacloud/core/RpcServiceRequest.h>
|
|
|
-#include <alibabacloud/polardb/PolardbExport.h>
|
|
|
-
|
|
|
-namespace AlibabaCloud
|
|
|
-{
|
|
|
- namespace Polardb
|
|
|
- {
|
|
|
- namespace Model
|
|
|
- {
|
|
|
- class ALIBABACLOUD_POLARDB_EXPORT CreateDBClusterRequest : public RpcServiceRequest
|
|
|
- {
|
|
|
-
|
|
|
- public:
|
|
|
- CreateDBClusterRequest();
|
|
|
- ~CreateDBClusterRequest();
|
|
|
-
|
|
|
- long getResourceOwnerId()const;
|
|
|
- void setResourceOwnerId(long resourceOwnerId);
|
|
|
- std::string getDBClusterDescription()const;
|
|
|
- void setDBClusterDescription(const std::string& dBClusterDescription);
|
|
|
- std::string getCreationCategory()const;
|
|
|
- void setCreationCategory(const std::string& creationCategory);
|
|
|
- std::string getResourceGroupId()const;
|
|
|
- void setResourceGroupId(const std::string& resourceGroupId);
|
|
|
- std::string getDBNodeClass()const;
|
|
|
- void setDBNodeClass(const std::string& dBNodeClass);
|
|
|
- std::string getCreationOption()const;
|
|
|
- void setCreationOption(const std::string& creationOption);
|
|
|
- std::string getSourceResourceId()const;
|
|
|
- void setSourceResourceId(const std::string& sourceResourceId);
|
|
|
- std::string getBackupRetentionPolicyOnClusterDeletion()const;
|
|
|
- void setBackupRetentionPolicyOnClusterDeletion(const std::string& backupRetentionPolicyOnClusterDeletion);
|
|
|
- std::string getPeriod()const;
|
|
|
- void setPeriod(const std::string& period);
|
|
|
- long getOwnerId()const;
|
|
|
- void setOwnerId(long ownerId);
|
|
|
- std::string getVSwitchId()const;
|
|
|
- void setVSwitchId(const std::string& vSwitchId);
|
|
|
- std::string getSecurityIPList()const;
|
|
|
- void setSecurityIPList(const std::string& securityIPList);
|
|
|
- std::string getDBMinorVersion()const;
|
|
|
- void setDBMinorVersion(const std::string& dBMinorVersion);
|
|
|
- bool getAutoRenew()const;
|
|
|
- void setAutoRenew(bool autoRenew);
|
|
|
- std::string getZoneId()const;
|
|
|
- void setZoneId(const std::string& zoneId);
|
|
|
- bool getTDEStatus()const;
|
|
|
- void setTDEStatus(bool tDEStatus);
|
|
|
- std::string getLowerCaseTableNames()const;
|
|
|
- void setLowerCaseTableNames(const std::string& lowerCaseTableNames);
|
|
|
- std::string getClientToken()const;
|
|
|
- void setClientToken(const std::string& clientToken);
|
|
|
- std::string getDefaultTimeZone()const;
|
|
|
- void setDefaultTimeZone(const std::string& defaultTimeZone);
|
|
|
- std::string getAccessKeyId()const;
|
|
|
- void setAccessKeyId(const std::string& accessKeyId);
|
|
|
- std::string getClusterNetworkType()const;
|
|
|
- void setClusterNetworkType(const std::string& clusterNetworkType);
|
|
|
- std::string getParameterGroupId()const;
|
|
|
- void setParameterGroupId(const std::string& parameterGroupId);
|
|
|
- std::string getRegionId()const;
|
|
|
- void setRegionId(const std::string& regionId);
|
|
|
- std::string getEngine()const;
|
|
|
- void setEngine(const std::string& engine);
|
|
|
- std::string getGDNId()const;
|
|
|
- void setGDNId(const std::string& gDNId);
|
|
|
- std::string getResourceOwnerAccount()const;
|
|
|
- void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
|
|
- std::string getOwnerAccount()const;
|
|
|
- void setOwnerAccount(const std::string& ownerAccount);
|
|
|
- std::string getUsedTime()const;
|
|
|
- void setUsedTime(const std::string& usedTime);
|
|
|
- std::string getVPCId()const;
|
|
|
- void setVPCId(const std::string& vPCId);
|
|
|
- std::string getDBType()const;
|
|
|
- void setDBType(const std::string& dBType);
|
|
|
- std::string getDBVersion()const;
|
|
|
- void setDBVersion(const std::string& dBVersion);
|
|
|
- std::string getCloneDataPoint()const;
|
|
|
- void setCloneDataPoint(const std::string& cloneDataPoint);
|
|
|
- std::string getPayType()const;
|
|
|
- void setPayType(const std::string& payType);
|
|
|
-
|
|
|
- private:
|
|
|
- long resourceOwnerId_;
|
|
|
- std::string dBClusterDescription_;
|
|
|
- std::string creationCategory_;
|
|
|
- std::string resourceGroupId_;
|
|
|
- std::string dBNodeClass_;
|
|
|
- std::string creationOption_;
|
|
|
- std::string sourceResourceId_;
|
|
|
- std::string backupRetentionPolicyOnClusterDeletion_;
|
|
|
- std::string period_;
|
|
|
- long ownerId_;
|
|
|
- std::string vSwitchId_;
|
|
|
- std::string securityIPList_;
|
|
|
- std::string dBMinorVersion_;
|
|
|
- bool autoRenew_;
|
|
|
- std::string zoneId_;
|
|
|
- bool tDEStatus_;
|
|
|
- std::string lowerCaseTableNames_;
|
|
|
- std::string clientToken_;
|
|
|
- std::string defaultTimeZone_;
|
|
|
- std::string accessKeyId_;
|
|
|
- std::string clusterNetworkType_;
|
|
|
- std::string parameterGroupId_;
|
|
|
- std::string regionId_;
|
|
|
- std::string engine_;
|
|
|
- std::string gDNId_;
|
|
|
- std::string resourceOwnerAccount_;
|
|
|
- std::string ownerAccount_;
|
|
|
- std::string usedTime_;
|
|
|
- std::string vPCId_;
|
|
|
- std::string dBType_;
|
|
|
- std::string dBVersion_;
|
|
|
- std::string cloneDataPoint_;
|
|
|
- std::string payType_;
|
|
|
-
|
|
|
- };
|
|
|
- }
|
|
|
- }
|
|
|
-}
|
|
|
-#endif // !ALIBABACLOUD_POLARDB_MODEL_CREATEDBCLUSTERREQUEST_H_
|
|
|
+ */
|
|
|
+
|
|
|
+#ifndef ALIBABACLOUD_POLARDB_MODEL_CREATEDBCLUSTERREQUEST_H_
|
|
|
+#define ALIBABACLOUD_POLARDB_MODEL_CREATEDBCLUSTERREQUEST_H_
|
|
|
+
|
|
|
+#include <alibabacloud/polardb/PolardbExport.h>
|
|
|
+#include <alibabacloud/core/RpcServiceRequest.h>
|
|
|
+#include <string>
|
|
|
+#include <vector>
|
|
|
+#include <map>
|
|
|
+
|
|
|
+namespace AlibabaCloud {
|
|
|
+namespace Polardb {
|
|
|
+namespace Model {
|
|
|
+class ALIBABACLOUD_POLARDB_EXPORT CreateDBClusterRequest : public RpcServiceRequest {
|
|
|
+public:
|
|
|
+ CreateDBClusterRequest();
|
|
|
+ ~CreateDBClusterRequest();
|
|
|
+ long getResourceOwnerId() const;
|
|
|
+ void setResourceOwnerId(long resourceOwnerId);
|
|
|
+ std::string getDBClusterDescription() const;
|
|
|
+ void setDBClusterDescription(const std::string &dBClusterDescription);
|
|
|
+ std::string getCreationCategory() const;
|
|
|
+ void setCreationCategory(const std::string &creationCategory);
|
|
|
+ std::string getResourceGroupId() const;
|
|
|
+ void setResourceGroupId(const std::string &resourceGroupId);
|
|
|
+ std::string getDBNodeClass() const;
|
|
|
+ void setDBNodeClass(const std::string &dBNodeClass);
|
|
|
+ std::string getCreationOption() const;
|
|
|
+ void setCreationOption(const std::string &creationOption);
|
|
|
+ std::string getSourceResourceId() const;
|
|
|
+ void setSourceResourceId(const std::string &sourceResourceId);
|
|
|
+ std::string getBackupRetentionPolicyOnClusterDeletion() const;
|
|
|
+ void setBackupRetentionPolicyOnClusterDeletion(const std::string &backupRetentionPolicyOnClusterDeletion);
|
|
|
+ std::string getPeriod() const;
|
|
|
+ void setPeriod(const std::string &period);
|
|
|
+ long getOwnerId() const;
|
|
|
+ void setOwnerId(long ownerId);
|
|
|
+ std::string getVSwitchId() const;
|
|
|
+ void setVSwitchId(const std::string &vSwitchId);
|
|
|
+ std::string getSecurityIPList() const;
|
|
|
+ void setSecurityIPList(const std::string &securityIPList);
|
|
|
+ std::string getDBMinorVersion() const;
|
|
|
+ void setDBMinorVersion(const std::string &dBMinorVersion);
|
|
|
+ bool getAutoRenew() const;
|
|
|
+ void setAutoRenew(bool autoRenew);
|
|
|
+ std::string getZoneId() const;
|
|
|
+ void setZoneId(const std::string &zoneId);
|
|
|
+ bool getTDEStatus() const;
|
|
|
+ void setTDEStatus(bool tDEStatus);
|
|
|
+ std::string getLowerCaseTableNames() const;
|
|
|
+ void setLowerCaseTableNames(const std::string &lowerCaseTableNames);
|
|
|
+ std::string getClientToken() const;
|
|
|
+ void setClientToken(const std::string &clientToken);
|
|
|
+ std::string getDefaultTimeZone() const;
|
|
|
+ void setDefaultTimeZone(const std::string &defaultTimeZone);
|
|
|
+ std::string getAccessKeyId() const;
|
|
|
+ void setAccessKeyId(const std::string &accessKeyId);
|
|
|
+ std::string getClusterNetworkType() const;
|
|
|
+ void setClusterNetworkType(const std::string &clusterNetworkType);
|
|
|
+ std::string getParameterGroupId() const;
|
|
|
+ void setParameterGroupId(const std::string ¶meterGroupId);
|
|
|
+ std::string getRegionId() const;
|
|
|
+ void setRegionId(const std::string ®ionId);
|
|
|
+ std::string getEngine() const;
|
|
|
+ void setEngine(const std::string &engine);
|
|
|
+ std::string getGDNId() const;
|
|
|
+ void setGDNId(const std::string &gDNId);
|
|
|
+ std::string getResourceOwnerAccount() const;
|
|
|
+ void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
|
|
+ std::string getOwnerAccount() const;
|
|
|
+ void setOwnerAccount(const std::string &ownerAccount);
|
|
|
+ std::string getUsedTime() const;
|
|
|
+ void setUsedTime(const std::string &usedTime);
|
|
|
+ std::string getVPCId() const;
|
|
|
+ void setVPCId(const std::string &vPCId);
|
|
|
+ std::string getDBType() const;
|
|
|
+ void setDBType(const std::string &dBType);
|
|
|
+ std::string getDBVersion() const;
|
|
|
+ void setDBVersion(const std::string &dBVersion);
|
|
|
+ std::string getCloneDataPoint() const;
|
|
|
+ void setCloneDataPoint(const std::string &cloneDataPoint);
|
|
|
+ std::string getPayType() const;
|
|
|
+ void setPayType(const std::string &payType);
|
|
|
+
|
|
|
+private:
|
|
|
+ long resourceOwnerId_;
|
|
|
+ std::string dBClusterDescription_;
|
|
|
+ std::string creationCategory_;
|
|
|
+ std::string resourceGroupId_;
|
|
|
+ std::string dBNodeClass_;
|
|
|
+ std::string creationOption_;
|
|
|
+ std::string sourceResourceId_;
|
|
|
+ std::string backupRetentionPolicyOnClusterDeletion_;
|
|
|
+ std::string period_;
|
|
|
+ long ownerId_;
|
|
|
+ std::string vSwitchId_;
|
|
|
+ std::string securityIPList_;
|
|
|
+ std::string dBMinorVersion_;
|
|
|
+ bool autoRenew_;
|
|
|
+ std::string zoneId_;
|
|
|
+ bool tDEStatus_;
|
|
|
+ std::string lowerCaseTableNames_;
|
|
|
+ std::string clientToken_;
|
|
|
+ std::string defaultTimeZone_;
|
|
|
+ std::string accessKeyId_;
|
|
|
+ std::string clusterNetworkType_;
|
|
|
+ std::string parameterGroupId_;
|
|
|
+ std::string regionId_;
|
|
|
+ std::string engine_;
|
|
|
+ std::string gDNId_;
|
|
|
+ std::string resourceOwnerAccount_;
|
|
|
+ std::string ownerAccount_;
|
|
|
+ std::string usedTime_;
|
|
|
+ std::string vPCId_;
|
|
|
+ std::string dBType_;
|
|
|
+ std::string dBVersion_;
|
|
|
+ std::string cloneDataPoint_;
|
|
|
+ std::string payType_;
|
|
|
+};
|
|
|
+} // namespace Model
|
|
|
+} // namespace Polardb
|
|
|
+} // namespace AlibabaCloud
|
|
|
+#endif // !ALIBABACLOUD_POLARDB_MODEL_CREATEDBCLUSTERREQUEST_H_
|