| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- /*
- * 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_IOT_MODEL_CREATEDEVICEDISTRIBUTEJOBREQUEST_H_
- #define ALIBABACLOUD_IOT_MODEL_CREATEDEVICEDISTRIBUTEJOBREQUEST_H_
- #include <string>
- #include <vector>
- #include <alibabacloud/core/RpcServiceRequest.h>
- #include <alibabacloud/iot/IotExport.h>
- namespace AlibabaCloud
- {
- namespace Iot
- {
- namespace Model
- {
- class ALIBABACLOUD_IOT_EXPORT CreateDeviceDistributeJobRequest : public RpcServiceRequest
- {
- public:
- struct TargetInstanceConfig
- {
- std::string targetInstanceId;
- };
- public:
- CreateDeviceDistributeJobRequest();
- ~CreateDeviceDistributeJobRequest();
- std::string getCaptcha()const;
- void setCaptcha(const std::string& captcha);
- std::string getSourceInstanceId()const;
- void setSourceInstanceId(const std::string& sourceInstanceId);
- std::string getTargetAliyunId()const;
- void setTargetAliyunId(const std::string& targetAliyunId);
- std::vector<TargetInstanceConfig> getTargetInstanceConfig()const;
- void setTargetInstanceConfig(const std::vector<TargetInstanceConfig>& targetInstanceConfig);
- std::string getProductKey()const;
- void setProductKey(const std::string& productKey);
- std::string getApiProduct()const;
- void setApiProduct(const std::string& apiProduct);
- std::string getApiRevision()const;
- void setApiRevision(const std::string& apiRevision);
- std::vector<std::string> getDeviceName()const;
- void setDeviceName(const std::vector<std::string>& deviceName);
- std::string getTargetUid()const;
- void setTargetUid(const std::string& targetUid);
- int getStrategy()const;
- void setStrategy(int strategy);
- private:
- std::string captcha_;
- std::string sourceInstanceId_;
- std::string targetAliyunId_;
- std::vector<TargetInstanceConfig> targetInstanceConfig_;
- std::string productKey_;
- std::string apiProduct_;
- std::string apiRevision_;
- std::vector<std::string> deviceName_;
- std::string targetUid_;
- int strategy_;
- };
- }
- }
- }
- #endif // !ALIBABACLOUD_IOT_MODEL_CREATEDEVICEDISTRIBUTEJOBREQUEST_H_
|