From 4840d6ca87a84e7771b2f45d04419e52d4c40118 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Thu, 11 Aug 2022 13:17:14 +0000 Subject: [PATCH] AMP version. --- VERSION | 2 +- .../ft/model/BatchAuditTest01Request.h | 86 +++++++++-------- .../ft/model/FTApiAliasApiRequest.h | 68 ++++++++------ .../ft/model/FtDynamicAddressDubboRequest.h | 74 ++++++++------- .../ft/model/FtDynamicAddressHsfRequest.h | 62 ++++++------ .../ft/model/FtDynamicAddressHttpVpcRequest.h | 92 +++++++++--------- .../alibabacloud/ft/model/FtEagleEyeRequest.h | 68 ++++++++------ .../ft/model/FtFlowSpecialRequest.h | 68 ++++++++------ .../ft/model/FtGatedLaunchPolicy4Request.h | 68 ++++++++------ .../ft/model/FtIpFlowControlRequest.h | 68 ++++++++------ .../ft/model/FtParamListRequest.h | 82 +++++++++------- .../ft/model/TestFlowStrategy01Request.h | 68 ++++++++------ .../ft/model/TestHttpApiRequest.h | 86 +++++++++-------- ft/src/model/BatchAuditTest01Request.cc | 82 +++++++++------- ft/src/model/FTApiAliasApiRequest.cc | 46 ++++----- ft/src/model/FtDynamicAddressDubboRequest.cc | 58 +++++++----- ft/src/model/FtDynamicAddressHsfRequest.cc | 34 +++---- .../model/FtDynamicAddressHttpVpcRequest.cc | 94 +++++++++++-------- ft/src/model/FtDynamicAddressHttpVpcResult.cc | 4 +- ft/src/model/FtEagleEyeRequest.cc | 46 ++++----- ft/src/model/FtFlowSpecialRequest.cc | 46 ++++----- ft/src/model/FtGatedLaunchPolicy4Request.cc | 46 ++++----- ft/src/model/FtIpFlowControlRequest.cc | 46 ++++----- ft/src/model/FtParamListRequest.cc | 70 ++++++++------ ft/src/model/TestFlowStrategy01Request.cc | 46 ++++----- ft/src/model/TestHttpApiRequest.cc | 82 +++++++++------- ft/src/model/TestHttpApiResult.cc | 4 +- 27 files changed, 874 insertions(+), 722 deletions(-) diff --git a/VERSION b/VERSION index f11bc4145..05f2d697f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1221 \ No newline at end of file +1.36.1222 \ 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 35578e5de..2803ebeef 100644 --- a/ft/include/alibabacloud/ft/model/BatchAuditTest01Request.h +++ b/ft/include/alibabacloud/ft/model/BatchAuditTest01Request.h @@ -1,51 +1,57 @@ /* * 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 -#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_ + */ + +#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 diff --git a/ft/include/alibabacloud/ft/model/FTApiAliasApiRequest.h b/ft/include/alibabacloud/ft/model/FTApiAliasApiRequest.h index 096f1cac0..2dd46f253 100644 --- a/ft/include/alibabacloud/ft/model/FTApiAliasApiRequest.h +++ b/ft/include/alibabacloud/ft/model/FTApiAliasApiRequest.h @@ -1,42 +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. - */ - -#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_ + */ + +#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 diff --git a/ft/include/alibabacloud/ft/model/FtDynamicAddressDubboRequest.h b/ft/include/alibabacloud/ft/model/FtDynamicAddressDubboRequest.h index 796d50fe4..03bb70db3 100644 --- a/ft/include/alibabacloud/ft/model/FtDynamicAddressDubboRequest.h +++ b/ft/include/alibabacloud/ft/model/FtDynamicAddressDubboRequest.h @@ -1,45 +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_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_ + */ + +#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 diff --git a/ft/include/alibabacloud/ft/model/FtDynamicAddressHsfRequest.h b/ft/include/alibabacloud/ft/model/FtDynamicAddressHsfRequest.h index 03553f2d1..5f1a1d3d2 100644 --- a/ft/include/alibabacloud/ft/model/FtDynamicAddressHsfRequest.h +++ b/ft/include/alibabacloud/ft/model/FtDynamicAddressHsfRequest.h @@ -1,39 +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_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_ + */ + +#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 diff --git a/ft/include/alibabacloud/ft/model/FtDynamicAddressHttpVpcRequest.h b/ft/include/alibabacloud/ft/model/FtDynamicAddressHttpVpcRequest.h index 76dfad90e..1e4267c15 100644 --- a/ft/include/alibabacloud/ft/model/FtDynamicAddressHttpVpcRequest.h +++ b/ft/include/alibabacloud/ft/model/FtDynamicAddressHttpVpcRequest.h @@ -1,54 +1,60 @@ /* * 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 -#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_ + */ + +#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 diff --git a/ft/include/alibabacloud/ft/model/FtEagleEyeRequest.h b/ft/include/alibabacloud/ft/model/FtEagleEyeRequest.h index 424e2ebbd..48f5ff27f 100644 --- a/ft/include/alibabacloud/ft/model/FtEagleEyeRequest.h +++ b/ft/include/alibabacloud/ft/model/FtEagleEyeRequest.h @@ -1,42 +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. - */ - -#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_ + */ + +#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 diff --git a/ft/include/alibabacloud/ft/model/FtFlowSpecialRequest.h b/ft/include/alibabacloud/ft/model/FtFlowSpecialRequest.h index d12149133..03f6d8039 100644 --- a/ft/include/alibabacloud/ft/model/FtFlowSpecialRequest.h +++ b/ft/include/alibabacloud/ft/model/FtFlowSpecialRequest.h @@ -1,42 +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. - */ - -#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_ + */ + +#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 diff --git a/ft/include/alibabacloud/ft/model/FtGatedLaunchPolicy4Request.h b/ft/include/alibabacloud/ft/model/FtGatedLaunchPolicy4Request.h index eab7e1851..77cfc6680 100644 --- a/ft/include/alibabacloud/ft/model/FtGatedLaunchPolicy4Request.h +++ b/ft/include/alibabacloud/ft/model/FtGatedLaunchPolicy4Request.h @@ -1,42 +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. - */ - -#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_ + */ + +#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 diff --git a/ft/include/alibabacloud/ft/model/FtIpFlowControlRequest.h b/ft/include/alibabacloud/ft/model/FtIpFlowControlRequest.h index d74384abb..d072ed744 100644 --- a/ft/include/alibabacloud/ft/model/FtIpFlowControlRequest.h +++ b/ft/include/alibabacloud/ft/model/FtIpFlowControlRequest.h @@ -1,42 +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. - */ - -#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_ + */ + +#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 diff --git a/ft/include/alibabacloud/ft/model/FtParamListRequest.h b/ft/include/alibabacloud/ft/model/FtParamListRequest.h index 52fd9853a..f6bdff011 100644 --- a/ft/include/alibabacloud/ft/model/FtParamListRequest.h +++ b/ft/include/alibabacloud/ft/model/FtParamListRequest.h @@ -1,47 +1,57 @@ /* * 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 -#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_ + */ + +#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 diff --git a/ft/include/alibabacloud/ft/model/TestFlowStrategy01Request.h b/ft/include/alibabacloud/ft/model/TestFlowStrategy01Request.h index bdae8a41a..80676cd5a 100644 --- a/ft/include/alibabacloud/ft/model/TestFlowStrategy01Request.h +++ b/ft/include/alibabacloud/ft/model/TestFlowStrategy01Request.h @@ -1,42 +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. - */ - -#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_ + */ + +#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 diff --git a/ft/include/alibabacloud/ft/model/TestHttpApiRequest.h b/ft/include/alibabacloud/ft/model/TestHttpApiRequest.h index b1b92054d..c41bbce64 100644 --- a/ft/include/alibabacloud/ft/model/TestHttpApiRequest.h +++ b/ft/include/alibabacloud/ft/model/TestHttpApiRequest.h @@ -1,51 +1,57 @@ /* * 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 -#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_ + */ + +#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 diff --git a/ft/src/model/BatchAuditTest01Request.cc b/ft/src/model/BatchAuditTest01Request.cc index b2367fe3e..894453f77 100644 --- a/ft/src/model/BatchAuditTest01Request.cc +++ b/ft/src/model/BatchAuditTest01Request.cc @@ -1,63 +1,73 @@ /* * 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); + */ + +#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_; } -BatchAuditTest01Request::~BatchAuditTest01Request() {} - -std::string BatchAuditTest01Request::getDemo01() const { - return demo01_; +void BatchAuditTest01Request::setDemo01(const std::string& demo01) +{ + demo01_ = demo01; + setParameter("Demo01", demo01); } -void BatchAuditTest01Request::setDemo01(const std::string &demo01) { - demo01_ = demo01; - setParameter(std::string("Demo01"), demo01); +bool BatchAuditTest01Request::getTest010101()const +{ + return test010101_; } -bool BatchAuditTest01Request::getTest010101() const { - return test010101_; +void BatchAuditTest01Request::setTest010101(bool test010101) +{ + test010101_ = test010101; + setBodyParameter("Test010101", test010101 ? "true" : "false"); } -void BatchAuditTest01Request::setTest010101(bool test010101) { - test010101_ = test010101; - setBodyParameter(std::string("Test010101"), test010101 ? "true" : "false"); +std::string BatchAuditTest01Request::getName()const +{ + return name_; } -std::string BatchAuditTest01Request::getName() const { - return name_; +void BatchAuditTest01Request::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); } -void BatchAuditTest01Request::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); +std::string BatchAuditTest01Request::getBatchAuditTest01()const +{ + return batchAuditTest01_; } -std::string BatchAuditTest01Request::getBatchAuditTest01() const { - return batchAuditTest01_; -} - -void BatchAuditTest01Request::setBatchAuditTest01(const std::string &batchAuditTest01) { - batchAuditTest01_ = batchAuditTest01; - setParameter(std::string("BatchAuditTest01"), batchAuditTest01); +void BatchAuditTest01Request::setBatchAuditTest01(const std::string& batchAuditTest01) +{ + batchAuditTest01_ = batchAuditTest01; + setParameter("BatchAuditTest01", batchAuditTest01); } diff --git a/ft/src/model/FTApiAliasApiRequest.cc b/ft/src/model/FTApiAliasApiRequest.cc index 830edeeb7..0d36272ad 100644 --- a/ft/src/model/FTApiAliasApiRequest.cc +++ b/ft/src/model/FTApiAliasApiRequest.cc @@ -1,36 +1,40 @@ /* * 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); + */ + +#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_; } -FTApiAliasApiRequest::~FTApiAliasApiRequest() {} - -std::string FTApiAliasApiRequest::getName() const { - return name_; -} - -void FTApiAliasApiRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); +void FTApiAliasApiRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); } diff --git a/ft/src/model/FtDynamicAddressDubboRequest.cc b/ft/src/model/FtDynamicAddressDubboRequest.cc index 1059ccf8d..48d56af72 100644 --- a/ft/src/model/FtDynamicAddressDubboRequest.cc +++ b/ft/src/model/FtDynamicAddressDubboRequest.cc @@ -1,45 +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. - */ - -#include - -using AlibabaCloud::Ft::Model::FtDynamicAddressDubboRequest; - -FtDynamicAddressDubboRequest::FtDynamicAddressDubboRequest() - : RpcServiceRequest("ft", "2018-07-13", "FtDynamicAddressDubbo") { - setMethod(HttpRequest::Method::Post); + */ + +#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_; } -FtDynamicAddressDubboRequest::~FtDynamicAddressDubboRequest() {} - -int FtDynamicAddressDubboRequest::getIntValue() const { - return intValue_; +void FtDynamicAddressDubboRequest::setIntValue(int intValue) +{ + intValue_ = intValue; + setParameter("IntValue", std::to_string(intValue)); } -void FtDynamicAddressDubboRequest::setIntValue(int intValue) { - intValue_ = intValue; - setParameter(std::string("IntValue"), std::to_string(intValue)); +std::string FtDynamicAddressDubboRequest::getStringValue()const +{ + return stringValue_; } -std::string FtDynamicAddressDubboRequest::getStringValue() const { - return stringValue_; -} - -void FtDynamicAddressDubboRequest::setStringValue(const std::string &stringValue) { - stringValue_ = stringValue; - setParameter(std::string("StringValue"), stringValue); +void FtDynamicAddressDubboRequest::setStringValue(const std::string& stringValue) +{ + stringValue_ = stringValue; + setParameter("StringValue", stringValue); } diff --git a/ft/src/model/FtDynamicAddressHsfRequest.cc b/ft/src/model/FtDynamicAddressHsfRequest.cc index 1428f9b48..1b503bc54 100644 --- a/ft/src/model/FtDynamicAddressHsfRequest.cc +++ b/ft/src/model/FtDynamicAddressHsfRequest.cc @@ -1,27 +1,29 @@ /* * 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 78ab9fa4d..e4b294bc7 100644 --- a/ft/src/model/FtDynamicAddressHttpVpcRequest.cc +++ b/ft/src/model/FtDynamicAddressHttpVpcRequest.cc @@ -1,72 +1,84 @@ /* * 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); + */ + +#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_; } -FtDynamicAddressHttpVpcRequest::~FtDynamicAddressHttpVpcRequest() {} - -std::string FtDynamicAddressHttpVpcRequest::getP1() const { - return p1_; +void FtDynamicAddressHttpVpcRequest::setP1(const std::string& p1) +{ + p1_ = p1; + setParameter("P1", p1); } -void FtDynamicAddressHttpVpcRequest::setP1(const std::string &p1) { - p1_ = p1; - setParameter(std::string("P1"), p1); +std::string FtDynamicAddressHttpVpcRequest::getStringValue()const +{ + return stringValue_; } -std::string FtDynamicAddressHttpVpcRequest::getStringValue() const { - return stringValue_; +void FtDynamicAddressHttpVpcRequest::setStringValue(const std::string& stringValue) +{ + stringValue_ = stringValue; + setParameter("StringValue", stringValue); } -void FtDynamicAddressHttpVpcRequest::setStringValue(const std::string &stringValue) { - stringValue_ = stringValue; - setParameter(std::string("StringValue"), stringValue); +std::string FtDynamicAddressHttpVpcRequest::getOtherParam()const +{ + return otherParam_; } -std::string FtDynamicAddressHttpVpcRequest::getOtherParam() const { - return otherParam_; +void FtDynamicAddressHttpVpcRequest::setOtherParam(const std::string& otherParam) +{ + otherParam_ = otherParam; + setParameter("OtherParam", otherParam); } -void FtDynamicAddressHttpVpcRequest::setOtherParam(const std::string &otherParam) { - otherParam_ = otherParam; - setParameter(std::string("OtherParam"), otherParam); +bool FtDynamicAddressHttpVpcRequest::getBooleanParam()const +{ + return booleanParam_; } -bool FtDynamicAddressHttpVpcRequest::getBooleanParam() const { - return booleanParam_; +void FtDynamicAddressHttpVpcRequest::setBooleanParam(bool booleanParam) +{ + booleanParam_ = booleanParam; + setParameter("BooleanParam", booleanParam ? "true" : "false"); } -void FtDynamicAddressHttpVpcRequest::setBooleanParam(bool booleanParam) { - booleanParam_ = booleanParam; - setParameter(std::string("BooleanParam"), booleanParam ? "true" : "false"); +std::string FtDynamicAddressHttpVpcRequest::getDefaultValue()const +{ + return defaultValue_; } -std::string FtDynamicAddressHttpVpcRequest::getDefaultValue() const { - return defaultValue_; -} - -void FtDynamicAddressHttpVpcRequest::setDefaultValue(const std::string &defaultValue) { - defaultValue_ = defaultValue; - setParameter(std::string("DefaultValue"), defaultValue); +void FtDynamicAddressHttpVpcRequest::setDefaultValue(const std::string& defaultValue) +{ + defaultValue_ = defaultValue; + setParameter("DefaultValue", defaultValue); } diff --git a/ft/src/model/FtDynamicAddressHttpVpcResult.cc b/ft/src/model/FtDynamicAddressHttpVpcResult.cc index a147e2c8a..914bbeedf 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["ServiceRpcSign"].isNull()) - serviceRpcSign_ = value["ServiceRpcSign"].asString(); if(!value["Params"].isNull()) params_ = value["Params"].asString(); + if(!value["ServiceRpcSign"].isNull()) + serviceRpcSign_ = value["ServiceRpcSign"].asString(); } diff --git a/ft/src/model/FtEagleEyeRequest.cc b/ft/src/model/FtEagleEyeRequest.cc index dd535e80a..668f24028 100644 --- a/ft/src/model/FtEagleEyeRequest.cc +++ b/ft/src/model/FtEagleEyeRequest.cc @@ -1,36 +1,40 @@ /* * 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); + */ + +#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_; } -FtEagleEyeRequest::~FtEagleEyeRequest() {} - -std::string FtEagleEyeRequest::getName() const { - return name_; -} - -void FtEagleEyeRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); +void FtEagleEyeRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); } diff --git a/ft/src/model/FtFlowSpecialRequest.cc b/ft/src/model/FtFlowSpecialRequest.cc index 0ed7896d2..8b652b6eb 100644 --- a/ft/src/model/FtFlowSpecialRequest.cc +++ b/ft/src/model/FtFlowSpecialRequest.cc @@ -1,36 +1,40 @@ /* * 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); + */ + +#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_; } -FtFlowSpecialRequest::~FtFlowSpecialRequest() {} - -std::string FtFlowSpecialRequest::getName() const { - return name_; -} - -void FtFlowSpecialRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); +void FtFlowSpecialRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); } diff --git a/ft/src/model/FtGatedLaunchPolicy4Request.cc b/ft/src/model/FtGatedLaunchPolicy4Request.cc index 11da0d70d..80982482b 100644 --- a/ft/src/model/FtGatedLaunchPolicy4Request.cc +++ b/ft/src/model/FtGatedLaunchPolicy4Request.cc @@ -1,36 +1,40 @@ /* * 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); + */ + +#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_; } -FtGatedLaunchPolicy4Request::~FtGatedLaunchPolicy4Request() {} - -std::string FtGatedLaunchPolicy4Request::getIsGatedLaunch() const { - return isGatedLaunch_; -} - -void FtGatedLaunchPolicy4Request::setIsGatedLaunch(const std::string &isGatedLaunch) { - isGatedLaunch_ = isGatedLaunch; - setParameter(std::string("IsGatedLaunch"), isGatedLaunch); +void FtGatedLaunchPolicy4Request::setIsGatedLaunch(const std::string& isGatedLaunch) +{ + isGatedLaunch_ = isGatedLaunch; + setParameter("IsGatedLaunch", isGatedLaunch); } diff --git a/ft/src/model/FtIpFlowControlRequest.cc b/ft/src/model/FtIpFlowControlRequest.cc index fe80b7162..696a7d956 100644 --- a/ft/src/model/FtIpFlowControlRequest.cc +++ b/ft/src/model/FtIpFlowControlRequest.cc @@ -1,36 +1,40 @@ /* * 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); + */ + +#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_; } -FtIpFlowControlRequest::~FtIpFlowControlRequest() {} - -std::string FtIpFlowControlRequest::getName() const { - return name_; -} - -void FtIpFlowControlRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); +void FtIpFlowControlRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); } diff --git a/ft/src/model/FtParamListRequest.cc b/ft/src/model/FtParamListRequest.cc index 9e8a05786..211705556 100644 --- a/ft/src/model/FtParamListRequest.cc +++ b/ft/src/model/FtParamListRequest.cc @@ -1,48 +1,60 @@ /* * 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); + */ + +#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_; } -FtParamListRequest::~FtParamListRequest() {} - -std::vector FtParamListRequest::getDisk() const { - return disk_; +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)); + } + } } -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); - } +std::string FtParamListRequest::getName()const +{ + return name_; } -std::string FtParamListRequest::getName() const { - return name_; -} - -void FtParamListRequest::setName(const std::string &name) { - name_ = name; - setParameter(std::string("Name"), name); +void FtParamListRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); } diff --git a/ft/src/model/TestFlowStrategy01Request.cc b/ft/src/model/TestFlowStrategy01Request.cc index f479022b8..3967904f0 100644 --- a/ft/src/model/TestFlowStrategy01Request.cc +++ b/ft/src/model/TestFlowStrategy01Request.cc @@ -1,36 +1,40 @@ /* * 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); + */ + +#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_; } -TestFlowStrategy01Request::~TestFlowStrategy01Request() {} - -std::map TestFlowStrategy01Request::getNames() const { - return names_; -} - -void TestFlowStrategy01Request::setNames(std::map names) { - names_ = names; - setBodyParameter(std::string("Names"), names); +void TestFlowStrategy01Request::setNames(const std::map& names) +{ + names_ = names; + setJsonParameters("Names", names); } diff --git a/ft/src/model/TestHttpApiRequest.cc b/ft/src/model/TestHttpApiRequest.cc index 8f7255bd6..30f4aa8dd 100644 --- a/ft/src/model/TestHttpApiRequest.cc +++ b/ft/src/model/TestHttpApiRequest.cc @@ -1,63 +1,73 @@ /* * 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); + */ + +#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_; } -TestHttpApiRequest::~TestHttpApiRequest() {} - -std::string TestHttpApiRequest::getStringValue() const { - return stringValue_; +void TestHttpApiRequest::setStringValue(const std::string& stringValue) +{ + stringValue_ = stringValue; + setParameter("StringValue", stringValue); } -void TestHttpApiRequest::setStringValue(const std::string &stringValue) { - stringValue_ = stringValue; - setParameter(std::string("StringValue"), stringValue); +std::string TestHttpApiRequest::getOtherParam()const +{ + return otherParam_; } -std::string TestHttpApiRequest::getOtherParam() const { - return otherParam_; +void TestHttpApiRequest::setOtherParam(const std::string& otherParam) +{ + otherParam_ = otherParam; + setParameter("OtherParam", otherParam); } -void TestHttpApiRequest::setOtherParam(const std::string &otherParam) { - otherParam_ = otherParam; - setParameter(std::string("OtherParam"), otherParam); +bool TestHttpApiRequest::getBooleanParam()const +{ + return booleanParam_; } -bool TestHttpApiRequest::getBooleanParam() const { - return booleanParam_; +void TestHttpApiRequest::setBooleanParam(bool booleanParam) +{ + booleanParam_ = booleanParam; + setParameter("BooleanParam", booleanParam ? "true" : "false"); } -void TestHttpApiRequest::setBooleanParam(bool booleanParam) { - booleanParam_ = booleanParam; - setParameter(std::string("BooleanParam"), booleanParam ? "true" : "false"); +std::string TestHttpApiRequest::getDefaultValue()const +{ + return defaultValue_; } -std::string TestHttpApiRequest::getDefaultValue() const { - return defaultValue_; -} - -void TestHttpApiRequest::setDefaultValue(const std::string &defaultValue) { - defaultValue_ = defaultValue; - setParameter(std::string("DefaultValue"), defaultValue); +void TestHttpApiRequest::setDefaultValue(const std::string& defaultValue) +{ + defaultValue_ = defaultValue; + setParameter("DefaultValue", defaultValue); } diff --git a/ft/src/model/TestHttpApiResult.cc b/ft/src/model/TestHttpApiResult.cc index 6fc26bb5a..d2bdf0fdf 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["ServiceRpcSign"].isNull()) - serviceRpcSign_ = value["ServiceRpcSign"].asString(); if(!value["Params"].isNull()) params_ = value["Params"].asString(); + if(!value["ServiceRpcSign"].isNull()) + serviceRpcSign_ = value["ServiceRpcSign"].asString(); }