Files
aliyun-openapi-cpp-sdk/cloudapi/include/alibabacloud/cloudapi/model/CreateIpControlRequest.h
2019-09-05 13:57:50 +08:00

68 lines
2.1 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_CLOUDAPI_MODEL_CREATEIPCONTROLREQUEST_H_
#define ALIBABACLOUD_CLOUDAPI_MODEL_CREATEIPCONTROLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudapi/CloudAPIExport.h>
namespace AlibabaCloud
{
namespace CloudAPI
{
namespace Model
{
class ALIBABACLOUD_CLOUDAPI_EXPORT CreateIpControlRequest : public RpcServiceRequest
{
struct IpControlPolicys
{
std::string appId;
std::string cidrIp;
};
public:
CreateIpControlRequest();
~CreateIpControlRequest();
std::string getIpControlName()const;
void setIpControlName(const std::string& ipControlName);
std::vector<IpControlPolicys> getIpControlPolicys()const;
void setIpControlPolicys(const std::vector<IpControlPolicys>& ipControlPolicys);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getIpControlType()const;
void setIpControlType(const std::string& ipControlType);
private:
std::string ipControlName_;
std::vector<IpControlPolicys> ipControlPolicys_;
std::string description_;
std::string accessKeyId_;
std::string securityToken_;
std::string ipControlType_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDAPI_MODEL_CREATEIPCONTROLREQUEST_H_