Compare commits

..

2 Commits

Author SHA1 Message Date
sdk-team
3e81be19ef AMP version. 2022-07-28 15:49:27 +00:00
sdk-team
bcda9aa4cd AMP version. 2022-07-28 14:44:22 +00:00
29 changed files with 725 additions and 874 deletions

View File

@@ -1,3 +1,6 @@
2022-07-28 Version: 1.36.1212
- AMP version.
2022-07-28 Version: 1.36.1211
- Fix bug.

0
CHANGELOG.md Normal file
View File

View File

@@ -1 +1 @@
1.36.1211
1.36.1212

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
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_
*/
#ifndef ALIBABACLOUD_FT_MODEL_BATCHAUDITTEST01REQUEST_H_
#define ALIBABACLOUD_FT_MODEL_BATCHAUDITTEST01REQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
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_
*/
#ifndef ALIBABACLOUD_FT_MODEL_FTAPIALIASAPIREQUEST_H_
#define ALIBABACLOUD_FT_MODEL_FTAPIALIASAPIREQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
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_
*/
#ifndef ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSDUBBOREQUEST_H_
#define ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSDUBBOREQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT FtDynamicAddressHsfRequest : public RpcServiceRequest
{
public:
FtDynamicAddressHsfRequest();
~FtDynamicAddressHsfRequest();
private:
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHSFREQUEST_H_
*/
#ifndef ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHSFREQUEST_H_
#define ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHSFREQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
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_
*/
#ifndef ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHTTPVPCREQUEST_H_
#define ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHTTPVPCREQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
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_
*/
#ifndef ALIBABACLOUD_FT_MODEL_FTEAGLEEYEREQUEST_H_
#define ALIBABACLOUD_FT_MODEL_FTEAGLEEYEREQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
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_
*/
#ifndef ALIBABACLOUD_FT_MODEL_FTFLOWSPECIALREQUEST_H_
#define ALIBABACLOUD_FT_MODEL_FTFLOWSPECIALREQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
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_
*/
#ifndef ALIBABACLOUD_FT_MODEL_FTGATEDLAUNCHPOLICY4REQUEST_H_
#define ALIBABACLOUD_FT_MODEL_FTGATEDLAUNCHPOLICY4REQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
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_
*/
#ifndef ALIBABACLOUD_FT_MODEL_FTIPFLOWCONTROLREQUEST_H_
#define ALIBABACLOUD_FT_MODEL_FTIPFLOWCONTROLREQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT FtParamListRequest : public RpcServiceRequest
{
public:
struct Disk
{
std::vector<std::string> size;
std::vector<std::string> type;
};
public:
FtParamListRequest();
~FtParamListRequest();
std::vector<Disk> getDisk()const;
void setDisk(const std::vector<Disk>& disk);
std::string getName()const;
void setName(const std::string& name);
private:
std::vector<Disk> disk_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_FTPARAMLISTREQUEST_H_
*/
#ifndef ALIBABACLOUD_FT_MODEL_FTPARAMLISTREQUEST_H_
#define ALIBABACLOUD_FT_MODEL_FTPARAMLISTREQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ft {
namespace Model {
class ALIBABACLOUD_FT_EXPORT FtParamListRequest : public RpcServiceRequest {
public:
struct Disk {
};
FtParamListRequest();
~FtParamListRequest();
std::vector<Disk> getDisk() const;
void setDisk(const std::vector<Disk> &disk);
std::string getName() const;
void setName(const std::string &name);
private:
std::vector<Disk> disk_;
std::string name_;
};
} // namespace Model
} // namespace Ft
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FT_MODEL_FTPARAMLISTREQUEST_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT TestFlowStrategy01Request : public RpcServiceRequest
{
public:
TestFlowStrategy01Request();
~TestFlowStrategy01Request();
std::map<std::string, std::string> getNames()const;
void setNames(const std::map<std::string, std::string>& names);
private:
std::map<std::string, std::string> names_;
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_TESTFLOWSTRATEGY01REQUEST_H_
*/
#ifndef ALIBABACLOUD_FT_MODEL_TESTFLOWSTRATEGY01REQUEST_H_
#define ALIBABACLOUD_FT_MODEL_TESTFLOWSTRATEGY01REQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ft {
namespace Model {
class ALIBABACLOUD_FT_EXPORT TestFlowStrategy01Request : public RpcServiceRequest {
public:
TestFlowStrategy01Request();
~TestFlowStrategy01Request();
std::map<std::string, std::string> getNames() const;
void setNames(std::map<std::string, std::string> names);
private:
std::map<std::string, std::string> names_;
};
} // namespace Model
} // namespace Ft
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_FT_MODEL_TESTFLOWSTRATEGY01REQUEST_H_

View File

@@ -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 <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ft/FtExport.h>
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_
*/
#ifndef ALIBABACLOUD_FT_MODEL_TESTHTTPAPIREQUEST_H_
#define ALIBABACLOUD_FT_MODEL_TESTHTTPAPIREQUEST_H_
#include <alibabacloud/ft/FtExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
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_

View File

@@ -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 <alibabacloud/ft/model/BatchAuditTest01Request.h>
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 <alibabacloud/ft/model/BatchAuditTest01Request.h>
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);
}

View File

@@ -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 <alibabacloud/ft/model/FTApiAliasApiRequest.h>
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 <alibabacloud/ft/model/FTApiAliasApiRequest.h>
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);
}

View File

@@ -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 <alibabacloud/ft/model/FtDynamicAddressDubboRequest.h>
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 <alibabacloud/ft/model/FtDynamicAddressDubboRequest.h>
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);
}

View File

@@ -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 <alibabacloud/ft/model/FtDynamicAddressHsfRequest.h>
using AlibabaCloud::Ft::Model::FtDynamicAddressHsfRequest;
FtDynamicAddressHsfRequest::FtDynamicAddressHsfRequest() :
RpcServiceRequest("ft", "2018-07-13", "FtDynamicAddressHsf")
{
setMethod(HttpRequest::Method::Post);
}
FtDynamicAddressHsfRequest::~FtDynamicAddressHsfRequest()
{}
*/
#include <alibabacloud/ft/model/FtDynamicAddressHsfRequest.h>
using AlibabaCloud::Ft::Model::FtDynamicAddressHsfRequest;
FtDynamicAddressHsfRequest::FtDynamicAddressHsfRequest()
: RpcServiceRequest("ft", "2018-07-13", "FtDynamicAddressHsf") {
setMethod(HttpRequest::Method::Post);
}
FtDynamicAddressHsfRequest::~FtDynamicAddressHsfRequest() {}

View File

@@ -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 <alibabacloud/ft/model/FtDynamicAddressHttpVpcRequest.h>
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 <alibabacloud/ft/model/FtDynamicAddressHttpVpcRequest.h>
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);
}

View File

@@ -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();
}

View File

@@ -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 <alibabacloud/ft/model/FtEagleEyeRequest.h>
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 <alibabacloud/ft/model/FtEagleEyeRequest.h>
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);
}

View File

@@ -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 <alibabacloud/ft/model/FtFlowSpecialRequest.h>
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 <alibabacloud/ft/model/FtFlowSpecialRequest.h>
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);
}

View File

@@ -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 <alibabacloud/ft/model/FtGatedLaunchPolicy4Request.h>
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 <alibabacloud/ft/model/FtGatedLaunchPolicy4Request.h>
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);
}

View File

@@ -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 <alibabacloud/ft/model/FtIpFlowControlRequest.h>
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 <alibabacloud/ft/model/FtIpFlowControlRequest.h>
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);
}

View File

@@ -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 <alibabacloud/ft/model/FtParamListRequest.h>
using AlibabaCloud::Ft::Model::FtParamListRequest;
FtParamListRequest::FtParamListRequest() :
RpcServiceRequest("ft", "2018-07-13", "FtParamList")
{
setMethod(HttpRequest::Method::Post);
}
FtParamListRequest::~FtParamListRequest()
{}
std::vector<FtParamListRequest::Disk> FtParamListRequest::getDisk()const
{
return disk_;
*/
#include <alibabacloud/ft/model/FtParamListRequest.h>
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_ = 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::Disk> FtParamListRequest::getDisk() const {
return disk_;
}
std::string FtParamListRequest::getName()const
{
return name_;
void FtParamListRequest::setDisk(const std::vector<FtParamListRequest::Disk> &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);
}

View File

@@ -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 <alibabacloud/ft/model/TestFlowStrategy01Request.h>
using AlibabaCloud::Ft::Model::TestFlowStrategy01Request;
TestFlowStrategy01Request::TestFlowStrategy01Request() :
RpcServiceRequest("ft", "2018-07-13", "TestFlowStrategy01")
{
setMethod(HttpRequest::Method::Put);
}
TestFlowStrategy01Request::~TestFlowStrategy01Request()
{}
std::map<std::string, std::string> TestFlowStrategy01Request::getNames()const
{
return names_;
*/
#include <alibabacloud/ft/model/TestFlowStrategy01Request.h>
using AlibabaCloud::Ft::Model::TestFlowStrategy01Request;
TestFlowStrategy01Request::TestFlowStrategy01Request()
: RpcServiceRequest("ft", "2018-07-13", "TestFlowStrategy01") {
setMethod(HttpRequest::Method::Put);
}
void TestFlowStrategy01Request::setNames(const std::map<std::string, std::string>& names)
{
names_ = names;
setJsonParameters("Names", names);
TestFlowStrategy01Request::~TestFlowStrategy01Request() {}
std::map<std::string, std::string> TestFlowStrategy01Request::getNames() const {
return names_;
}
void TestFlowStrategy01Request::setNames(std::map<std::string, std::string> names) {
names_ = names;
setBodyParameter(std::string("Names"), names);
}

View File

@@ -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 <alibabacloud/ft/model/TestHttpApiRequest.h>
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 <alibabacloud/ft/model/TestHttpApiRequest.h>
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);
}

View File

@@ -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();
}