73 lines
2.6 KiB
C++
73 lines
2.6 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_RDS_MODEL_MODIFYREADWRITESPLITTINGCONNECTIONREQUEST_H_
|
|
#define ALIBABACLOUD_RDS_MODEL_MODIFYREADWRITESPLITTINGCONNECTIONREQUEST_H_
|
|
|
|
#include <alibabacloud/rds/RdsExport.h>
|
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
namespace AlibabaCloud {
|
|
namespace Rds {
|
|
namespace Model {
|
|
class ALIBABACLOUD_RDS_EXPORT ModifyReadWriteSplittingConnectionRequest : public RpcServiceRequest {
|
|
public:
|
|
ModifyReadWriteSplittingConnectionRequest();
|
|
~ModifyReadWriteSplittingConnectionRequest();
|
|
long getResourceOwnerId() const;
|
|
void setResourceOwnerId(long resourceOwnerId);
|
|
std::string getConnectionStringPrefix() const;
|
|
void setConnectionStringPrefix(const std::string &connectionStringPrefix);
|
|
std::string getAccessKeyId() const;
|
|
void setAccessKeyId(const std::string &accessKeyId);
|
|
std::string getDistributionType() const;
|
|
void setDistributionType(const std::string &distributionType);
|
|
std::string getDBInstanceId() const;
|
|
void setDBInstanceId(const std::string &dBInstanceId);
|
|
std::string getResourceOwnerAccount() const;
|
|
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
|
std::string getOwnerAccount() const;
|
|
void setOwnerAccount(const std::string &ownerAccount);
|
|
std::string getWeight() const;
|
|
void setWeight(const std::string &weight);
|
|
long getOwnerId() const;
|
|
void setOwnerId(long ownerId);
|
|
std::string getPort() const;
|
|
void setPort(const std::string &port);
|
|
std::string getMaxDelayTime() const;
|
|
void setMaxDelayTime(const std::string &maxDelayTime);
|
|
|
|
private:
|
|
long resourceOwnerId_;
|
|
std::string connectionStringPrefix_;
|
|
std::string accessKeyId_;
|
|
std::string distributionType_;
|
|
std::string dBInstanceId_;
|
|
std::string resourceOwnerAccount_;
|
|
std::string ownerAccount_;
|
|
std::string weight_;
|
|
long ownerId_;
|
|
std::string port_;
|
|
std::string maxDelayTime_;
|
|
};
|
|
} // namespace Model
|
|
} // namespace Rds
|
|
} // namespace AlibabaCloud
|
|
#endif // !ALIBABACLOUD_RDS_MODEL_MODIFYREADWRITESPLITTINGCONNECTIONREQUEST_H_
|