diff --git a/CHANGELOG b/CHANGELOG index 8ea2c7512..909695f45 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-07-28 Version: 1.36.1212 +- AMP version. + 2022-07-28 Version: 1.36.1211 - Fix bug. diff --git a/VERSION b/VERSION index 75bf8978a..c1fbc3556 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1211 \ No newline at end of file +1.36.1212 \ No newline at end of file diff --git a/ft/include/alibabacloud/ft/model/BatchAuditTest01Request.h b/ft/include/alibabacloud/ft/model/BatchAuditTest01Request.h index 2803ebeef..35578e5de 100644 --- a/ft/include/alibabacloud/ft/model/BatchAuditTest01Request.h +++ b/ft/include/alibabacloud/ft/model/BatchAuditTest01Request.h @@ -1,57 +1,51 @@ /* * 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_FT_MODEL_BATCHAUDITTEST01REQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_BATCHAUDITTEST01REQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT BatchAuditTest01Request : public RpcServiceRequest - { - - public: - BatchAuditTest01Request(); - ~BatchAuditTest01Request(); - - std::string getDemo01()const; - void setDemo01(const std::string& demo01); - bool getTest010101()const; - void setTest010101(bool test010101); - std::string getName()const; - void setName(const std::string& name); - std::string getBatchAuditTest01()const; - void setBatchAuditTest01(const std::string& batchAuditTest01); - - private: - std::string demo01_; - bool test010101_; - std::string name_; - std::string batchAuditTest01_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_BATCHAUDITTEST01REQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_BATCHAUDITTEST01REQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_BATCHAUDITTEST01REQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT BatchAuditTest01Request : public RpcServiceRequest { +public: + BatchAuditTest01Request(); + ~BatchAuditTest01Request(); + std::string getDemo01() const; + void setDemo01(const std::string &demo01); + bool getTest010101() const; + void setTest010101(bool test010101); + std::string getName() const; + void setName(const std::string &name); + std::string getBatchAuditTest01() const; + void setBatchAuditTest01(const std::string &batchAuditTest01); + +private: + std::string demo01_; + bool test010101_; + std::string name_; + std::string batchAuditTest01_; +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_BATCHAUDITTEST01REQUEST_H_ diff --git a/ft/include/alibabacloud/ft/model/FTApiAliasApiRequest.h b/ft/include/alibabacloud/ft/model/FTApiAliasApiRequest.h index 2dd46f253..096f1cac0 100644 --- a/ft/include/alibabacloud/ft/model/FTApiAliasApiRequest.h +++ b/ft/include/alibabacloud/ft/model/FTApiAliasApiRequest.h @@ -1,48 +1,42 @@ /* * 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_FT_MODEL_FTAPIALIASAPIREQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_FTAPIALIASAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT FTApiAliasApiRequest : public RpcServiceRequest - { - - public: - FTApiAliasApiRequest(); - ~FTApiAliasApiRequest(); - - std::string getName()const; - void setName(const std::string& name); - - private: - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_FTAPIALIASAPIREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_FTAPIALIASAPIREQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_FTAPIALIASAPIREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT FTApiAliasApiRequest : public RpcServiceRequest { +public: + FTApiAliasApiRequest(); + ~FTApiAliasApiRequest(); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string name_; +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_FTAPIALIASAPIREQUEST_H_ diff --git a/ft/include/alibabacloud/ft/model/FtDynamicAddressDubboRequest.h b/ft/include/alibabacloud/ft/model/FtDynamicAddressDubboRequest.h index 03bb70db3..796d50fe4 100644 --- a/ft/include/alibabacloud/ft/model/FtDynamicAddressDubboRequest.h +++ b/ft/include/alibabacloud/ft/model/FtDynamicAddressDubboRequest.h @@ -1,51 +1,45 @@ /* * 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_FT_MODEL_FTDYNAMICADDRESSDUBBOREQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSDUBBOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT FtDynamicAddressDubboRequest : public RpcServiceRequest - { - - public: - FtDynamicAddressDubboRequest(); - ~FtDynamicAddressDubboRequest(); - - int getIntValue()const; - void setIntValue(int intValue); - std::string getStringValue()const; - void setStringValue(const std::string& stringValue); - - private: - int intValue_; - std::string stringValue_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSDUBBOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSDUBBOREQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSDUBBOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT FtDynamicAddressDubboRequest : public RpcServiceRequest { +public: + FtDynamicAddressDubboRequest(); + ~FtDynamicAddressDubboRequest(); + int getIntValue() const; + void setIntValue(int intValue); + std::string getStringValue() const; + void setStringValue(const std::string &stringValue); + +private: + int intValue_; + std::string stringValue_; +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSDUBBOREQUEST_H_ diff --git a/ft/include/alibabacloud/ft/model/FtDynamicAddressHsfRequest.h b/ft/include/alibabacloud/ft/model/FtDynamicAddressHsfRequest.h index 5f1a1d3d2..03553f2d1 100644 --- a/ft/include/alibabacloud/ft/model/FtDynamicAddressHsfRequest.h +++ b/ft/include/alibabacloud/ft/model/FtDynamicAddressHsfRequest.h @@ -1,45 +1,39 @@ /* * 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_FT_MODEL_FTDYNAMICADDRESSHSFREQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHSFREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT FtDynamicAddressHsfRequest : public RpcServiceRequest - { - - public: - FtDynamicAddressHsfRequest(); - ~FtDynamicAddressHsfRequest(); - - - private: - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHSFREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHSFREQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHSFREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT FtDynamicAddressHsfRequest : public RpcServiceRequest { +public: + FtDynamicAddressHsfRequest(); + ~FtDynamicAddressHsfRequest(); + +private: +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHSFREQUEST_H_ diff --git a/ft/include/alibabacloud/ft/model/FtDynamicAddressHttpVpcRequest.h b/ft/include/alibabacloud/ft/model/FtDynamicAddressHttpVpcRequest.h index 1e4267c15..76dfad90e 100644 --- a/ft/include/alibabacloud/ft/model/FtDynamicAddressHttpVpcRequest.h +++ b/ft/include/alibabacloud/ft/model/FtDynamicAddressHttpVpcRequest.h @@ -1,60 +1,54 @@ /* * 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_FT_MODEL_FTDYNAMICADDRESSHTTPVPCREQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHTTPVPCREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT FtDynamicAddressHttpVpcRequest : public RpcServiceRequest - { - - public: - FtDynamicAddressHttpVpcRequest(); - ~FtDynamicAddressHttpVpcRequest(); - - std::string getP1()const; - void setP1(const std::string& p1); - std::string getStringValue()const; - void setStringValue(const std::string& stringValue); - std::string getOtherParam()const; - void setOtherParam(const std::string& otherParam); - bool getBooleanParam()const; - void setBooleanParam(bool booleanParam); - std::string getDefaultValue()const; - void setDefaultValue(const std::string& defaultValue); - - private: - std::string p1_; - std::string stringValue_; - std::string otherParam_; - bool booleanParam_; - std::string defaultValue_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHTTPVPCREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHTTPVPCREQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHTTPVPCREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT FtDynamicAddressHttpVpcRequest : public RpcServiceRequest { +public: + FtDynamicAddressHttpVpcRequest(); + ~FtDynamicAddressHttpVpcRequest(); + std::string getP1() const; + void setP1(const std::string &p1); + std::string getStringValue() const; + void setStringValue(const std::string &stringValue); + std::string getOtherParam() const; + void setOtherParam(const std::string &otherParam); + bool getBooleanParam() const; + void setBooleanParam(bool booleanParam); + std::string getDefaultValue() const; + void setDefaultValue(const std::string &defaultValue); + +private: + std::string p1_; + std::string stringValue_; + std::string otherParam_; + bool booleanParam_; + std::string defaultValue_; +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHTTPVPCREQUEST_H_ diff --git a/ft/include/alibabacloud/ft/model/FtEagleEyeRequest.h b/ft/include/alibabacloud/ft/model/FtEagleEyeRequest.h index 48f5ff27f..424e2ebbd 100644 --- a/ft/include/alibabacloud/ft/model/FtEagleEyeRequest.h +++ b/ft/include/alibabacloud/ft/model/FtEagleEyeRequest.h @@ -1,48 +1,42 @@ /* * 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_FT_MODEL_FTEAGLEEYEREQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_FTEAGLEEYEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT FtEagleEyeRequest : public RpcServiceRequest - { - - public: - FtEagleEyeRequest(); - ~FtEagleEyeRequest(); - - std::string getName()const; - void setName(const std::string& name); - - private: - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_FTEAGLEEYEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_FTEAGLEEYEREQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_FTEAGLEEYEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT FtEagleEyeRequest : public RpcServiceRequest { +public: + FtEagleEyeRequest(); + ~FtEagleEyeRequest(); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string name_; +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_FTEAGLEEYEREQUEST_H_ diff --git a/ft/include/alibabacloud/ft/model/FtFlowSpecialRequest.h b/ft/include/alibabacloud/ft/model/FtFlowSpecialRequest.h index 03f6d8039..d12149133 100644 --- a/ft/include/alibabacloud/ft/model/FtFlowSpecialRequest.h +++ b/ft/include/alibabacloud/ft/model/FtFlowSpecialRequest.h @@ -1,48 +1,42 @@ /* * 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_FT_MODEL_FTFLOWSPECIALREQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_FTFLOWSPECIALREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT FtFlowSpecialRequest : public RpcServiceRequest - { - - public: - FtFlowSpecialRequest(); - ~FtFlowSpecialRequest(); - - std::string getName()const; - void setName(const std::string& name); - - private: - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_FTFLOWSPECIALREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_FTFLOWSPECIALREQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_FTFLOWSPECIALREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT FtFlowSpecialRequest : public RpcServiceRequest { +public: + FtFlowSpecialRequest(); + ~FtFlowSpecialRequest(); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string name_; +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_FTFLOWSPECIALREQUEST_H_ diff --git a/ft/include/alibabacloud/ft/model/FtGatedLaunchPolicy4Request.h b/ft/include/alibabacloud/ft/model/FtGatedLaunchPolicy4Request.h index 77cfc6680..eab7e1851 100644 --- a/ft/include/alibabacloud/ft/model/FtGatedLaunchPolicy4Request.h +++ b/ft/include/alibabacloud/ft/model/FtGatedLaunchPolicy4Request.h @@ -1,48 +1,42 @@ /* * 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_FT_MODEL_FTGATEDLAUNCHPOLICY4REQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_FTGATEDLAUNCHPOLICY4REQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT FtGatedLaunchPolicy4Request : public RpcServiceRequest - { - - public: - FtGatedLaunchPolicy4Request(); - ~FtGatedLaunchPolicy4Request(); - - std::string getIsGatedLaunch()const; - void setIsGatedLaunch(const std::string& isGatedLaunch); - - private: - std::string isGatedLaunch_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_FTGATEDLAUNCHPOLICY4REQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_FTGATEDLAUNCHPOLICY4REQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_FTGATEDLAUNCHPOLICY4REQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT FtGatedLaunchPolicy4Request : public RpcServiceRequest { +public: + FtGatedLaunchPolicy4Request(); + ~FtGatedLaunchPolicy4Request(); + std::string getIsGatedLaunch() const; + void setIsGatedLaunch(const std::string &isGatedLaunch); + +private: + std::string isGatedLaunch_; +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_FTGATEDLAUNCHPOLICY4REQUEST_H_ diff --git a/ft/include/alibabacloud/ft/model/FtIpFlowControlRequest.h b/ft/include/alibabacloud/ft/model/FtIpFlowControlRequest.h index d072ed744..d74384abb 100644 --- a/ft/include/alibabacloud/ft/model/FtIpFlowControlRequest.h +++ b/ft/include/alibabacloud/ft/model/FtIpFlowControlRequest.h @@ -1,48 +1,42 @@ /* * 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_FT_MODEL_FTIPFLOWCONTROLREQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_FTIPFLOWCONTROLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT FtIpFlowControlRequest : public RpcServiceRequest - { - - public: - FtIpFlowControlRequest(); - ~FtIpFlowControlRequest(); - - std::string getName()const; - void setName(const std::string& name); - - private: - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_FTIPFLOWCONTROLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_FTIPFLOWCONTROLREQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_FTIPFLOWCONTROLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT FtIpFlowControlRequest : public RpcServiceRequest { +public: + FtIpFlowControlRequest(); + ~FtIpFlowControlRequest(); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string name_; +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_FTIPFLOWCONTROLREQUEST_H_ diff --git a/ft/include/alibabacloud/ft/model/FtParamListRequest.h b/ft/include/alibabacloud/ft/model/FtParamListRequest.h index f6bdff011..52fd9853a 100644 --- a/ft/include/alibabacloud/ft/model/FtParamListRequest.h +++ b/ft/include/alibabacloud/ft/model/FtParamListRequest.h @@ -1,57 +1,47 @@ /* * 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_FT_MODEL_FTPARAMLISTREQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_FTPARAMLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT FtParamListRequest : public RpcServiceRequest - { - public: - struct Disk - { - std::vector size; - std::vector type; - }; - - public: - FtParamListRequest(); - ~FtParamListRequest(); - - std::vector getDisk()const; - void setDisk(const std::vector& disk); - std::string getName()const; - void setName(const std::string& name); - - private: - std::vector disk_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_FTPARAMLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_FTPARAMLISTREQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_FTPARAMLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT FtParamListRequest : public RpcServiceRequest { +public: + struct Disk { + }; + FtParamListRequest(); + ~FtParamListRequest(); + std::vector getDisk() const; + void setDisk(const std::vector &disk); + std::string getName() const; + void setName(const std::string &name); + +private: + std::vector disk_; + std::string name_; +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_FTPARAMLISTREQUEST_H_ diff --git a/ft/include/alibabacloud/ft/model/TestFlowStrategy01Request.h b/ft/include/alibabacloud/ft/model/TestFlowStrategy01Request.h index 80676cd5a..bdae8a41a 100644 --- a/ft/include/alibabacloud/ft/model/TestFlowStrategy01Request.h +++ b/ft/include/alibabacloud/ft/model/TestFlowStrategy01Request.h @@ -1,48 +1,42 @@ /* * 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_FT_MODEL_TESTFLOWSTRATEGY01REQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_TESTFLOWSTRATEGY01REQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT TestFlowStrategy01Request : public RpcServiceRequest - { - - public: - TestFlowStrategy01Request(); - ~TestFlowStrategy01Request(); - - std::map getNames()const; - void setNames(const std::map& names); - - private: - std::map names_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_TESTFLOWSTRATEGY01REQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_TESTFLOWSTRATEGY01REQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_TESTFLOWSTRATEGY01REQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT TestFlowStrategy01Request : public RpcServiceRequest { +public: + TestFlowStrategy01Request(); + ~TestFlowStrategy01Request(); + std::map getNames() const; + void setNames(std::map names); + +private: + std::map names_; +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_TESTFLOWSTRATEGY01REQUEST_H_ diff --git a/ft/include/alibabacloud/ft/model/TestHttpApiRequest.h b/ft/include/alibabacloud/ft/model/TestHttpApiRequest.h index c41bbce64..b1b92054d 100644 --- a/ft/include/alibabacloud/ft/model/TestHttpApiRequest.h +++ b/ft/include/alibabacloud/ft/model/TestHttpApiRequest.h @@ -1,57 +1,51 @@ /* * 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_FT_MODEL_TESTHTTPAPIREQUEST_H_ -#define ALIBABACLOUD_FT_MODEL_TESTHTTPAPIREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace Ft - { - namespace Model - { - class ALIBABACLOUD_FT_EXPORT TestHttpApiRequest : public RpcServiceRequest - { - - public: - TestHttpApiRequest(); - ~TestHttpApiRequest(); - - std::string getStringValue()const; - void setStringValue(const std::string& stringValue); - std::string getOtherParam()const; - void setOtherParam(const std::string& otherParam); - bool getBooleanParam()const; - void setBooleanParam(bool booleanParam); - std::string getDefaultValue()const; - void setDefaultValue(const std::string& defaultValue); - - private: - std::string stringValue_; - std::string otherParam_; - bool booleanParam_; - std::string defaultValue_; - - }; - } - } -} -#endif // !ALIBABACLOUD_FT_MODEL_TESTHTTPAPIREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_FT_MODEL_TESTHTTPAPIREQUEST_H_ +#define ALIBABACLOUD_FT_MODEL_TESTHTTPAPIREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace Ft { +namespace Model { +class ALIBABACLOUD_FT_EXPORT TestHttpApiRequest : public RpcServiceRequest { +public: + TestHttpApiRequest(); + ~TestHttpApiRequest(); + std::string getStringValue() const; + void setStringValue(const std::string &stringValue); + std::string getOtherParam() const; + void setOtherParam(const std::string &otherParam); + bool getBooleanParam() const; + void setBooleanParam(bool booleanParam); + std::string getDefaultValue() const; + void setDefaultValue(const std::string &defaultValue); + +private: + std::string stringValue_; + std::string otherParam_; + bool booleanParam_; + std::string defaultValue_; +}; +} // namespace Model +} // namespace Ft +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_FT_MODEL_TESTHTTPAPIREQUEST_H_ diff --git a/ft/src/model/BatchAuditTest01Request.cc b/ft/src/model/BatchAuditTest01Request.cc index 894453f77..b2367fe3e 100644 --- a/ft/src/model/BatchAuditTest01Request.cc +++ b/ft/src/model/BatchAuditTest01Request.cc @@ -1,73 +1,63 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::BatchAuditTest01Request; - -BatchAuditTest01Request::BatchAuditTest01Request() : - RpcServiceRequest("ft", "2018-07-13", "BatchAuditTest01") -{ - setMethod(HttpRequest::Method::Post); -} - -BatchAuditTest01Request::~BatchAuditTest01Request() -{} - -std::string BatchAuditTest01Request::getDemo01()const -{ - return demo01_; + */ + +#include + +using AlibabaCloud::Ft::Model::BatchAuditTest01Request; + +BatchAuditTest01Request::BatchAuditTest01Request() + : RpcServiceRequest("ft", "2018-07-13", "BatchAuditTest01") { + setMethod(HttpRequest::Method::Post); } -void BatchAuditTest01Request::setDemo01(const std::string& demo01) -{ - demo01_ = demo01; - setParameter("Demo01", demo01); +BatchAuditTest01Request::~BatchAuditTest01Request() {} + +std::string BatchAuditTest01Request::getDemo01() const { + return demo01_; } -bool BatchAuditTest01Request::getTest010101()const -{ - return test010101_; +void BatchAuditTest01Request::setDemo01(const std::string &demo01) { + demo01_ = demo01; + setParameter(std::string("Demo01"), demo01); } -void BatchAuditTest01Request::setTest010101(bool test010101) -{ - test010101_ = test010101; - setBodyParameter("Test010101", test010101 ? "true" : "false"); +bool BatchAuditTest01Request::getTest010101() const { + return test010101_; } -std::string BatchAuditTest01Request::getName()const -{ - return name_; +void BatchAuditTest01Request::setTest010101(bool test010101) { + test010101_ = test010101; + setBodyParameter(std::string("Test010101"), test010101 ? "true" : "false"); } -void BatchAuditTest01Request::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string BatchAuditTest01Request::getName() const { + return name_; } -std::string BatchAuditTest01Request::getBatchAuditTest01()const -{ - return batchAuditTest01_; +void BatchAuditTest01Request::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void BatchAuditTest01Request::setBatchAuditTest01(const std::string& batchAuditTest01) -{ - batchAuditTest01_ = batchAuditTest01; - setParameter("BatchAuditTest01", batchAuditTest01); +std::string BatchAuditTest01Request::getBatchAuditTest01() const { + return batchAuditTest01_; +} + +void BatchAuditTest01Request::setBatchAuditTest01(const std::string &batchAuditTest01) { + batchAuditTest01_ = batchAuditTest01; + setParameter(std::string("BatchAuditTest01"), batchAuditTest01); } diff --git a/ft/src/model/FTApiAliasApiRequest.cc b/ft/src/model/FTApiAliasApiRequest.cc index 0d36272ad..830edeeb7 100644 --- a/ft/src/model/FTApiAliasApiRequest.cc +++ b/ft/src/model/FTApiAliasApiRequest.cc @@ -1,40 +1,36 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::FTApiAliasApiRequest; - -FTApiAliasApiRequest::FTApiAliasApiRequest() : - RpcServiceRequest("ft", "2018-07-13", "FTApiAliasApi") -{ - setMethod(HttpRequest::Method::Post); -} - -FTApiAliasApiRequest::~FTApiAliasApiRequest() -{} - -std::string FTApiAliasApiRequest::getName()const -{ - return name_; + */ + +#include + +using AlibabaCloud::Ft::Model::FTApiAliasApiRequest; + +FTApiAliasApiRequest::FTApiAliasApiRequest() + : RpcServiceRequest("ft", "2018-07-13", "FTApiAliasApi") { + setMethod(HttpRequest::Method::Post); } -void FTApiAliasApiRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +FTApiAliasApiRequest::~FTApiAliasApiRequest() {} + +std::string FTApiAliasApiRequest::getName() const { + return name_; +} + +void FTApiAliasApiRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/ft/src/model/FtDynamicAddressDubboRequest.cc b/ft/src/model/FtDynamicAddressDubboRequest.cc index 48d56af72..1059ccf8d 100644 --- a/ft/src/model/FtDynamicAddressDubboRequest.cc +++ b/ft/src/model/FtDynamicAddressDubboRequest.cc @@ -1,51 +1,45 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::FtDynamicAddressDubboRequest; - -FtDynamicAddressDubboRequest::FtDynamicAddressDubboRequest() : - RpcServiceRequest("ft", "2018-07-13", "FtDynamicAddressDubbo") -{ - setMethod(HttpRequest::Method::Post); -} - -FtDynamicAddressDubboRequest::~FtDynamicAddressDubboRequest() -{} - -int FtDynamicAddressDubboRequest::getIntValue()const -{ - return intValue_; + */ + +#include + +using AlibabaCloud::Ft::Model::FtDynamicAddressDubboRequest; + +FtDynamicAddressDubboRequest::FtDynamicAddressDubboRequest() + : RpcServiceRequest("ft", "2018-07-13", "FtDynamicAddressDubbo") { + setMethod(HttpRequest::Method::Post); } -void FtDynamicAddressDubboRequest::setIntValue(int intValue) -{ - intValue_ = intValue; - setParameter("IntValue", std::to_string(intValue)); +FtDynamicAddressDubboRequest::~FtDynamicAddressDubboRequest() {} + +int FtDynamicAddressDubboRequest::getIntValue() const { + return intValue_; } -std::string FtDynamicAddressDubboRequest::getStringValue()const -{ - return stringValue_; +void FtDynamicAddressDubboRequest::setIntValue(int intValue) { + intValue_ = intValue; + setParameter(std::string("IntValue"), std::to_string(intValue)); } -void FtDynamicAddressDubboRequest::setStringValue(const std::string& stringValue) -{ - stringValue_ = stringValue; - setParameter("StringValue", stringValue); +std::string FtDynamicAddressDubboRequest::getStringValue() const { + return stringValue_; +} + +void FtDynamicAddressDubboRequest::setStringValue(const std::string &stringValue) { + stringValue_ = stringValue; + setParameter(std::string("StringValue"), stringValue); } diff --git a/ft/src/model/FtDynamicAddressHsfRequest.cc b/ft/src/model/FtDynamicAddressHsfRequest.cc index 1b503bc54..1428f9b48 100644 --- a/ft/src/model/FtDynamicAddressHsfRequest.cc +++ b/ft/src/model/FtDynamicAddressHsfRequest.cc @@ -1,29 +1,27 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::FtDynamicAddressHsfRequest; - -FtDynamicAddressHsfRequest::FtDynamicAddressHsfRequest() : - RpcServiceRequest("ft", "2018-07-13", "FtDynamicAddressHsf") -{ - setMethod(HttpRequest::Method::Post); -} - -FtDynamicAddressHsfRequest::~FtDynamicAddressHsfRequest() -{} - + */ + +#include + +using AlibabaCloud::Ft::Model::FtDynamicAddressHsfRequest; + +FtDynamicAddressHsfRequest::FtDynamicAddressHsfRequest() + : RpcServiceRequest("ft", "2018-07-13", "FtDynamicAddressHsf") { + setMethod(HttpRequest::Method::Post); +} + +FtDynamicAddressHsfRequest::~FtDynamicAddressHsfRequest() {} + diff --git a/ft/src/model/FtDynamicAddressHttpVpcRequest.cc b/ft/src/model/FtDynamicAddressHttpVpcRequest.cc index e4b294bc7..78ab9fa4d 100644 --- a/ft/src/model/FtDynamicAddressHttpVpcRequest.cc +++ b/ft/src/model/FtDynamicAddressHttpVpcRequest.cc @@ -1,84 +1,72 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::FtDynamicAddressHttpVpcRequest; - -FtDynamicAddressHttpVpcRequest::FtDynamicAddressHttpVpcRequest() : - RpcServiceRequest("ft", "2018-07-13", "FtDynamicAddressHttpVpc") -{ - setMethod(HttpRequest::Method::Post); -} - -FtDynamicAddressHttpVpcRequest::~FtDynamicAddressHttpVpcRequest() -{} - -std::string FtDynamicAddressHttpVpcRequest::getP1()const -{ - return p1_; + */ + +#include + +using AlibabaCloud::Ft::Model::FtDynamicAddressHttpVpcRequest; + +FtDynamicAddressHttpVpcRequest::FtDynamicAddressHttpVpcRequest() + : RpcServiceRequest("ft", "2018-07-13", "FtDynamicAddressHttpVpc") { + setMethod(HttpRequest::Method::Post); } -void FtDynamicAddressHttpVpcRequest::setP1(const std::string& p1) -{ - p1_ = p1; - setParameter("P1", p1); +FtDynamicAddressHttpVpcRequest::~FtDynamicAddressHttpVpcRequest() {} + +std::string FtDynamicAddressHttpVpcRequest::getP1() const { + return p1_; } -std::string FtDynamicAddressHttpVpcRequest::getStringValue()const -{ - return stringValue_; +void FtDynamicAddressHttpVpcRequest::setP1(const std::string &p1) { + p1_ = p1; + setParameter(std::string("P1"), p1); } -void FtDynamicAddressHttpVpcRequest::setStringValue(const std::string& stringValue) -{ - stringValue_ = stringValue; - setParameter("StringValue", stringValue); +std::string FtDynamicAddressHttpVpcRequest::getStringValue() const { + return stringValue_; } -std::string FtDynamicAddressHttpVpcRequest::getOtherParam()const -{ - return otherParam_; +void FtDynamicAddressHttpVpcRequest::setStringValue(const std::string &stringValue) { + stringValue_ = stringValue; + setParameter(std::string("StringValue"), stringValue); } -void FtDynamicAddressHttpVpcRequest::setOtherParam(const std::string& otherParam) -{ - otherParam_ = otherParam; - setParameter("OtherParam", otherParam); +std::string FtDynamicAddressHttpVpcRequest::getOtherParam() const { + return otherParam_; } -bool FtDynamicAddressHttpVpcRequest::getBooleanParam()const -{ - return booleanParam_; +void FtDynamicAddressHttpVpcRequest::setOtherParam(const std::string &otherParam) { + otherParam_ = otherParam; + setParameter(std::string("OtherParam"), otherParam); } -void FtDynamicAddressHttpVpcRequest::setBooleanParam(bool booleanParam) -{ - booleanParam_ = booleanParam; - setParameter("BooleanParam", booleanParam ? "true" : "false"); +bool FtDynamicAddressHttpVpcRequest::getBooleanParam() const { + return booleanParam_; } -std::string FtDynamicAddressHttpVpcRequest::getDefaultValue()const -{ - return defaultValue_; +void FtDynamicAddressHttpVpcRequest::setBooleanParam(bool booleanParam) { + booleanParam_ = booleanParam; + setParameter(std::string("BooleanParam"), booleanParam ? "true" : "false"); } -void FtDynamicAddressHttpVpcRequest::setDefaultValue(const std::string& defaultValue) -{ - defaultValue_ = defaultValue; - setParameter("DefaultValue", defaultValue); +std::string FtDynamicAddressHttpVpcRequest::getDefaultValue() const { + return defaultValue_; +} + +void FtDynamicAddressHttpVpcRequest::setDefaultValue(const std::string &defaultValue) { + defaultValue_ = defaultValue; + setParameter(std::string("DefaultValue"), defaultValue); } diff --git a/ft/src/model/FtDynamicAddressHttpVpcResult.cc b/ft/src/model/FtDynamicAddressHttpVpcResult.cc index 914bbeedf..a147e2c8a 100644 --- a/ft/src/model/FtDynamicAddressHttpVpcResult.cc +++ b/ft/src/model/FtDynamicAddressHttpVpcResult.cc @@ -39,10 +39,10 @@ void FtDynamicAddressHttpVpcResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Params"].isNull()) - params_ = value["Params"].asString(); if(!value["ServiceRpcSign"].isNull()) serviceRpcSign_ = value["ServiceRpcSign"].asString(); + if(!value["Params"].isNull()) + params_ = value["Params"].asString(); } diff --git a/ft/src/model/FtEagleEyeRequest.cc b/ft/src/model/FtEagleEyeRequest.cc index 668f24028..dd535e80a 100644 --- a/ft/src/model/FtEagleEyeRequest.cc +++ b/ft/src/model/FtEagleEyeRequest.cc @@ -1,40 +1,36 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::FtEagleEyeRequest; - -FtEagleEyeRequest::FtEagleEyeRequest() : - RpcServiceRequest("ft", "2018-07-13", "FtEagleEye") -{ - setMethod(HttpRequest::Method::Post); -} - -FtEagleEyeRequest::~FtEagleEyeRequest() -{} - -std::string FtEagleEyeRequest::getName()const -{ - return name_; + */ + +#include + +using AlibabaCloud::Ft::Model::FtEagleEyeRequest; + +FtEagleEyeRequest::FtEagleEyeRequest() + : RpcServiceRequest("ft", "2018-07-13", "FtEagleEye") { + setMethod(HttpRequest::Method::Post); } -void FtEagleEyeRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +FtEagleEyeRequest::~FtEagleEyeRequest() {} + +std::string FtEagleEyeRequest::getName() const { + return name_; +} + +void FtEagleEyeRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/ft/src/model/FtFlowSpecialRequest.cc b/ft/src/model/FtFlowSpecialRequest.cc index 8b652b6eb..0ed7896d2 100644 --- a/ft/src/model/FtFlowSpecialRequest.cc +++ b/ft/src/model/FtFlowSpecialRequest.cc @@ -1,40 +1,36 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::FtFlowSpecialRequest; - -FtFlowSpecialRequest::FtFlowSpecialRequest() : - RpcServiceRequest("ft", "2018-07-13", "FtFlowSpecial") -{ - setMethod(HttpRequest::Method::Post); -} - -FtFlowSpecialRequest::~FtFlowSpecialRequest() -{} - -std::string FtFlowSpecialRequest::getName()const -{ - return name_; + */ + +#include + +using AlibabaCloud::Ft::Model::FtFlowSpecialRequest; + +FtFlowSpecialRequest::FtFlowSpecialRequest() + : RpcServiceRequest("ft", "2018-07-13", "FtFlowSpecial") { + setMethod(HttpRequest::Method::Post); } -void FtFlowSpecialRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +FtFlowSpecialRequest::~FtFlowSpecialRequest() {} + +std::string FtFlowSpecialRequest::getName() const { + return name_; +} + +void FtFlowSpecialRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/ft/src/model/FtGatedLaunchPolicy4Request.cc b/ft/src/model/FtGatedLaunchPolicy4Request.cc index 80982482b..11da0d70d 100644 --- a/ft/src/model/FtGatedLaunchPolicy4Request.cc +++ b/ft/src/model/FtGatedLaunchPolicy4Request.cc @@ -1,40 +1,36 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::FtGatedLaunchPolicy4Request; - -FtGatedLaunchPolicy4Request::FtGatedLaunchPolicy4Request() : - RpcServiceRequest("ft", "2018-07-13", "FtGatedLaunchPolicy4") -{ - setMethod(HttpRequest::Method::Post); -} - -FtGatedLaunchPolicy4Request::~FtGatedLaunchPolicy4Request() -{} - -std::string FtGatedLaunchPolicy4Request::getIsGatedLaunch()const -{ - return isGatedLaunch_; + */ + +#include + +using AlibabaCloud::Ft::Model::FtGatedLaunchPolicy4Request; + +FtGatedLaunchPolicy4Request::FtGatedLaunchPolicy4Request() + : RpcServiceRequest("ft", "2018-07-13", "FtGatedLaunchPolicy4") { + setMethod(HttpRequest::Method::Post); } -void FtGatedLaunchPolicy4Request::setIsGatedLaunch(const std::string& isGatedLaunch) -{ - isGatedLaunch_ = isGatedLaunch; - setParameter("IsGatedLaunch", isGatedLaunch); +FtGatedLaunchPolicy4Request::~FtGatedLaunchPolicy4Request() {} + +std::string FtGatedLaunchPolicy4Request::getIsGatedLaunch() const { + return isGatedLaunch_; +} + +void FtGatedLaunchPolicy4Request::setIsGatedLaunch(const std::string &isGatedLaunch) { + isGatedLaunch_ = isGatedLaunch; + setParameter(std::string("IsGatedLaunch"), isGatedLaunch); } diff --git a/ft/src/model/FtIpFlowControlRequest.cc b/ft/src/model/FtIpFlowControlRequest.cc index 696a7d956..fe80b7162 100644 --- a/ft/src/model/FtIpFlowControlRequest.cc +++ b/ft/src/model/FtIpFlowControlRequest.cc @@ -1,40 +1,36 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::FtIpFlowControlRequest; - -FtIpFlowControlRequest::FtIpFlowControlRequest() : - RpcServiceRequest("ft", "2018-07-13", "FtIpFlowControl") -{ - setMethod(HttpRequest::Method::Post); -} - -FtIpFlowControlRequest::~FtIpFlowControlRequest() -{} - -std::string FtIpFlowControlRequest::getName()const -{ - return name_; + */ + +#include + +using AlibabaCloud::Ft::Model::FtIpFlowControlRequest; + +FtIpFlowControlRequest::FtIpFlowControlRequest() + : RpcServiceRequest("ft", "2018-07-13", "FtIpFlowControl") { + setMethod(HttpRequest::Method::Post); } -void FtIpFlowControlRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +FtIpFlowControlRequest::~FtIpFlowControlRequest() {} + +std::string FtIpFlowControlRequest::getName() const { + return name_; +} + +void FtIpFlowControlRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/ft/src/model/FtParamListRequest.cc b/ft/src/model/FtParamListRequest.cc index 211705556..9e8a05786 100644 --- a/ft/src/model/FtParamListRequest.cc +++ b/ft/src/model/FtParamListRequest.cc @@ -1,60 +1,48 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::FtParamListRequest; - -FtParamListRequest::FtParamListRequest() : - RpcServiceRequest("ft", "2018-07-13", "FtParamList") -{ - setMethod(HttpRequest::Method::Post); -} - -FtParamListRequest::~FtParamListRequest() -{} - -std::vector FtParamListRequest::getDisk()const -{ - return disk_; + */ + +#include + +using AlibabaCloud::Ft::Model::FtParamListRequest; + +FtParamListRequest::FtParamListRequest() + : RpcServiceRequest("ft", "2018-07-13", "FtParamList") { + setMethod(HttpRequest::Method::Post); } -void FtParamListRequest::setDisk(const std::vector& disk) -{ - disk_ = disk; - for(int dep1 = 0; dep1!= disk.size(); dep1++) { - auto diskObj = disk.at(dep1); - std::string diskObjStr = "Disk." + std::to_string(dep1 + 1); - for(int dep2 = 0; dep2!= diskObj.size.size(); dep2++) { - setParameter(diskObjStr + ".Size."+ std::to_string(dep2), diskObj.size.at(dep2)); - } - for(int dep2 = 0; dep2!= diskObj.type.size(); dep2++) { - setParameter(diskObjStr + ".Type."+ std::to_string(dep2), diskObj.type.at(dep2)); - } - } +FtParamListRequest::~FtParamListRequest() {} + +std::vector FtParamListRequest::getDisk() const { + return disk_; } -std::string FtParamListRequest::getName()const -{ - return name_; +void FtParamListRequest::setDisk(const std::vector &disk) { + disk_ = disk; + for(int dep1 = 0; dep1 != disk.size(); dep1++) { + auto diskObj = disk.at(dep1); + std::string diskObjStr = std::string("Disk") + "." + std::to_string(dep1 + 1); + } } -void FtParamListRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string FtParamListRequest::getName() const { + return name_; +} + +void FtParamListRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/ft/src/model/TestFlowStrategy01Request.cc b/ft/src/model/TestFlowStrategy01Request.cc index 3967904f0..f479022b8 100644 --- a/ft/src/model/TestFlowStrategy01Request.cc +++ b/ft/src/model/TestFlowStrategy01Request.cc @@ -1,40 +1,36 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::TestFlowStrategy01Request; - -TestFlowStrategy01Request::TestFlowStrategy01Request() : - RpcServiceRequest("ft", "2018-07-13", "TestFlowStrategy01") -{ - setMethod(HttpRequest::Method::Put); -} - -TestFlowStrategy01Request::~TestFlowStrategy01Request() -{} - -std::map TestFlowStrategy01Request::getNames()const -{ - return names_; + */ + +#include + +using AlibabaCloud::Ft::Model::TestFlowStrategy01Request; + +TestFlowStrategy01Request::TestFlowStrategy01Request() + : RpcServiceRequest("ft", "2018-07-13", "TestFlowStrategy01") { + setMethod(HttpRequest::Method::Put); } -void TestFlowStrategy01Request::setNames(const std::map& names) -{ - names_ = names; - setJsonParameters("Names", names); +TestFlowStrategy01Request::~TestFlowStrategy01Request() {} + +std::map TestFlowStrategy01Request::getNames() const { + return names_; +} + +void TestFlowStrategy01Request::setNames(std::map names) { + names_ = names; + setBodyParameter(std::string("Names"), names); } diff --git a/ft/src/model/TestHttpApiRequest.cc b/ft/src/model/TestHttpApiRequest.cc index 30f4aa8dd..8f7255bd6 100644 --- a/ft/src/model/TestHttpApiRequest.cc +++ b/ft/src/model/TestHttpApiRequest.cc @@ -1,73 +1,63 @@ /* * 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. - */ - -#include - -using AlibabaCloud::Ft::Model::TestHttpApiRequest; - -TestHttpApiRequest::TestHttpApiRequest() : - RpcServiceRequest("ft", "2018-07-13", "TestHttpApi") -{ - setMethod(HttpRequest::Method::Post); -} - -TestHttpApiRequest::~TestHttpApiRequest() -{} - -std::string TestHttpApiRequest::getStringValue()const -{ - return stringValue_; + */ + +#include + +using AlibabaCloud::Ft::Model::TestHttpApiRequest; + +TestHttpApiRequest::TestHttpApiRequest() + : RpcServiceRequest("ft", "2018-07-13", "TestHttpApi") { + setMethod(HttpRequest::Method::Post); } -void TestHttpApiRequest::setStringValue(const std::string& stringValue) -{ - stringValue_ = stringValue; - setParameter("StringValue", stringValue); +TestHttpApiRequest::~TestHttpApiRequest() {} + +std::string TestHttpApiRequest::getStringValue() const { + return stringValue_; } -std::string TestHttpApiRequest::getOtherParam()const -{ - return otherParam_; +void TestHttpApiRequest::setStringValue(const std::string &stringValue) { + stringValue_ = stringValue; + setParameter(std::string("StringValue"), stringValue); } -void TestHttpApiRequest::setOtherParam(const std::string& otherParam) -{ - otherParam_ = otherParam; - setParameter("OtherParam", otherParam); +std::string TestHttpApiRequest::getOtherParam() const { + return otherParam_; } -bool TestHttpApiRequest::getBooleanParam()const -{ - return booleanParam_; +void TestHttpApiRequest::setOtherParam(const std::string &otherParam) { + otherParam_ = otherParam; + setParameter(std::string("OtherParam"), otherParam); } -void TestHttpApiRequest::setBooleanParam(bool booleanParam) -{ - booleanParam_ = booleanParam; - setParameter("BooleanParam", booleanParam ? "true" : "false"); +bool TestHttpApiRequest::getBooleanParam() const { + return booleanParam_; } -std::string TestHttpApiRequest::getDefaultValue()const -{ - return defaultValue_; +void TestHttpApiRequest::setBooleanParam(bool booleanParam) { + booleanParam_ = booleanParam; + setParameter(std::string("BooleanParam"), booleanParam ? "true" : "false"); } -void TestHttpApiRequest::setDefaultValue(const std::string& defaultValue) -{ - defaultValue_ = defaultValue; - setParameter("DefaultValue", defaultValue); +std::string TestHttpApiRequest::getDefaultValue() const { + return defaultValue_; +} + +void TestHttpApiRequest::setDefaultValue(const std::string &defaultValue) { + defaultValue_ = defaultValue; + setParameter(std::string("DefaultValue"), defaultValue); } diff --git a/ft/src/model/TestHttpApiResult.cc b/ft/src/model/TestHttpApiResult.cc index d2bdf0fdf..6fc26bb5a 100644 --- a/ft/src/model/TestHttpApiResult.cc +++ b/ft/src/model/TestHttpApiResult.cc @@ -39,10 +39,10 @@ void TestHttpApiResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Params"].isNull()) - params_ = value["Params"].asString(); if(!value["ServiceRpcSign"].isNull()) serviceRpcSign_ = value["ServiceRpcSign"].asString(); + if(!value["Params"].isNull()) + params_ = value["Params"].asString(); }