Release Ft SDK.

This commit is contained in:
sdk-team
2020-02-24 17:14:30 +08:00
parent 2dccf2d4e8
commit bdc2381f4b
47 changed files with 2763 additions and 1 deletions

View File

@@ -0,0 +1,126 @@
/*
* 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_FTCLIENT_H_
#define ALIBABACLOUD_FT_FTCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "FtExport.h"
#include "model/BatchAuditTest01Request.h"
#include "model/BatchAuditTest01Result.h"
#include "model/FTApiAliasApiRequest.h"
#include "model/FTApiAliasApiResult.h"
#include "model/FtDynamicAddressDubboRequest.h"
#include "model/FtDynamicAddressDubboResult.h"
#include "model/FtDynamicAddressHsfRequest.h"
#include "model/FtDynamicAddressHsfResult.h"
#include "model/FtEagleEyeRequest.h"
#include "model/FtEagleEyeResult.h"
#include "model/FtFlowSpecialRequest.h"
#include "model/FtFlowSpecialResult.h"
#include "model/FtGatedLaunchPolicy4Request.h"
#include "model/FtGatedLaunchPolicy4Result.h"
#include "model/FtIpFlowControlRequest.h"
#include "model/FtIpFlowControlResult.h"
#include "model/FtParamListRequest.h"
#include "model/FtParamListResult.h"
#include "model/TestHttpApiRequest.h"
#include "model/TestHttpApiResult.h"
namespace AlibabaCloud
{
namespace Ft
{
class ALIBABACLOUD_FT_EXPORT FtClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::BatchAuditTest01Result> BatchAuditTest01Outcome;
typedef std::future<BatchAuditTest01Outcome> BatchAuditTest01OutcomeCallable;
typedef std::function<void(const FtClient*, const Model::BatchAuditTest01Request&, const BatchAuditTest01Outcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchAuditTest01AsyncHandler;
typedef Outcome<Error, Model::FTApiAliasApiResult> FTApiAliasApiOutcome;
typedef std::future<FTApiAliasApiOutcome> FTApiAliasApiOutcomeCallable;
typedef std::function<void(const FtClient*, const Model::FTApiAliasApiRequest&, const FTApiAliasApiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FTApiAliasApiAsyncHandler;
typedef Outcome<Error, Model::FtDynamicAddressDubboResult> FtDynamicAddressDubboOutcome;
typedef std::future<FtDynamicAddressDubboOutcome> FtDynamicAddressDubboOutcomeCallable;
typedef std::function<void(const FtClient*, const Model::FtDynamicAddressDubboRequest&, const FtDynamicAddressDubboOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FtDynamicAddressDubboAsyncHandler;
typedef Outcome<Error, Model::FtDynamicAddressHsfResult> FtDynamicAddressHsfOutcome;
typedef std::future<FtDynamicAddressHsfOutcome> FtDynamicAddressHsfOutcomeCallable;
typedef std::function<void(const FtClient*, const Model::FtDynamicAddressHsfRequest&, const FtDynamicAddressHsfOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FtDynamicAddressHsfAsyncHandler;
typedef Outcome<Error, Model::FtEagleEyeResult> FtEagleEyeOutcome;
typedef std::future<FtEagleEyeOutcome> FtEagleEyeOutcomeCallable;
typedef std::function<void(const FtClient*, const Model::FtEagleEyeRequest&, const FtEagleEyeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FtEagleEyeAsyncHandler;
typedef Outcome<Error, Model::FtFlowSpecialResult> FtFlowSpecialOutcome;
typedef std::future<FtFlowSpecialOutcome> FtFlowSpecialOutcomeCallable;
typedef std::function<void(const FtClient*, const Model::FtFlowSpecialRequest&, const FtFlowSpecialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FtFlowSpecialAsyncHandler;
typedef Outcome<Error, Model::FtGatedLaunchPolicy4Result> FtGatedLaunchPolicy4Outcome;
typedef std::future<FtGatedLaunchPolicy4Outcome> FtGatedLaunchPolicy4OutcomeCallable;
typedef std::function<void(const FtClient*, const Model::FtGatedLaunchPolicy4Request&, const FtGatedLaunchPolicy4Outcome&, const std::shared_ptr<const AsyncCallerContext>&)> FtGatedLaunchPolicy4AsyncHandler;
typedef Outcome<Error, Model::FtIpFlowControlResult> FtIpFlowControlOutcome;
typedef std::future<FtIpFlowControlOutcome> FtIpFlowControlOutcomeCallable;
typedef std::function<void(const FtClient*, const Model::FtIpFlowControlRequest&, const FtIpFlowControlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FtIpFlowControlAsyncHandler;
typedef Outcome<Error, Model::FtParamListResult> FtParamListOutcome;
typedef std::future<FtParamListOutcome> FtParamListOutcomeCallable;
typedef std::function<void(const FtClient*, const Model::FtParamListRequest&, const FtParamListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FtParamListAsyncHandler;
typedef Outcome<Error, Model::TestHttpApiResult> TestHttpApiOutcome;
typedef std::future<TestHttpApiOutcome> TestHttpApiOutcomeCallable;
typedef std::function<void(const FtClient*, const Model::TestHttpApiRequest&, const TestHttpApiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TestHttpApiAsyncHandler;
FtClient(const Credentials &credentials, const ClientConfiguration &configuration);
FtClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
FtClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~FtClient();
BatchAuditTest01Outcome batchAuditTest01(const Model::BatchAuditTest01Request &request)const;
void batchAuditTest01Async(const Model::BatchAuditTest01Request& request, const BatchAuditTest01AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
BatchAuditTest01OutcomeCallable batchAuditTest01Callable(const Model::BatchAuditTest01Request& request) const;
FTApiAliasApiOutcome fTApiAliasApi(const Model::FTApiAliasApiRequest &request)const;
void fTApiAliasApiAsync(const Model::FTApiAliasApiRequest& request, const FTApiAliasApiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FTApiAliasApiOutcomeCallable fTApiAliasApiCallable(const Model::FTApiAliasApiRequest& request) const;
FtDynamicAddressDubboOutcome ftDynamicAddressDubbo(const Model::FtDynamicAddressDubboRequest &request)const;
void ftDynamicAddressDubboAsync(const Model::FtDynamicAddressDubboRequest& request, const FtDynamicAddressDubboAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FtDynamicAddressDubboOutcomeCallable ftDynamicAddressDubboCallable(const Model::FtDynamicAddressDubboRequest& request) const;
FtDynamicAddressHsfOutcome ftDynamicAddressHsf(const Model::FtDynamicAddressHsfRequest &request)const;
void ftDynamicAddressHsfAsync(const Model::FtDynamicAddressHsfRequest& request, const FtDynamicAddressHsfAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FtDynamicAddressHsfOutcomeCallable ftDynamicAddressHsfCallable(const Model::FtDynamicAddressHsfRequest& request) const;
FtEagleEyeOutcome ftEagleEye(const Model::FtEagleEyeRequest &request)const;
void ftEagleEyeAsync(const Model::FtEagleEyeRequest& request, const FtEagleEyeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FtEagleEyeOutcomeCallable ftEagleEyeCallable(const Model::FtEagleEyeRequest& request) const;
FtFlowSpecialOutcome ftFlowSpecial(const Model::FtFlowSpecialRequest &request)const;
void ftFlowSpecialAsync(const Model::FtFlowSpecialRequest& request, const FtFlowSpecialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FtFlowSpecialOutcomeCallable ftFlowSpecialCallable(const Model::FtFlowSpecialRequest& request) const;
FtGatedLaunchPolicy4Outcome ftGatedLaunchPolicy4(const Model::FtGatedLaunchPolicy4Request &request)const;
void ftGatedLaunchPolicy4Async(const Model::FtGatedLaunchPolicy4Request& request, const FtGatedLaunchPolicy4AsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FtGatedLaunchPolicy4OutcomeCallable ftGatedLaunchPolicy4Callable(const Model::FtGatedLaunchPolicy4Request& request) const;
FtIpFlowControlOutcome ftIpFlowControl(const Model::FtIpFlowControlRequest &request)const;
void ftIpFlowControlAsync(const Model::FtIpFlowControlRequest& request, const FtIpFlowControlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FtIpFlowControlOutcomeCallable ftIpFlowControlCallable(const Model::FtIpFlowControlRequest& request) const;
FtParamListOutcome ftParamList(const Model::FtParamListRequest &request)const;
void ftParamListAsync(const Model::FtParamListRequest& request, const FtParamListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FtParamListOutcomeCallable ftParamListCallable(const Model::FtParamListRequest& request) const;
TestHttpApiOutcome testHttpApi(const Model::TestHttpApiRequest &request)const;
void testHttpApiAsync(const Model::TestHttpApiRequest& request, const TestHttpApiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TestHttpApiOutcomeCallable testHttpApiCallable(const Model::TestHttpApiRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_FT_FTCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* 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_FTEXPORT_H_
#define ALIBABACLOUD_FT_FTEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_FT_LIBRARY)
# define ALIBABACLOUD_FT_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_FT_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_FT_EXPORT
#endif
#endif // !ALIBABACLOUD_FT_FTEXPORT_H_

View File

@@ -0,0 +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 <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_

View File

@@ -0,0 +1,61 @@
/*
* 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_BATCHAUDITTEST01RESULT_H_
#define ALIBABACLOUD_FT_MODEL_BATCHAUDITTEST01RESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT BatchAuditTest01Result : public ServiceResult
{
public:
struct Demo01
{
struct Demo011Item
{
std::string demo0111;
};
std::vector<Demo011Item> demo011;
};
BatchAuditTest01Result();
explicit BatchAuditTest01Result(const std::string &payload);
~BatchAuditTest01Result();
Demo01 getDemo01()const;
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
Demo01 demo01_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_BATCHAUDITTEST01RESULT_H_

View File

@@ -0,0 +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 <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_

View File

@@ -0,0 +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_FTAPIALIASAPIRESULT_H_
#define ALIBABACLOUD_FT_MODEL_FTAPIALIASAPIRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT FTApiAliasApiResult : public ServiceResult
{
public:
FTApiAliasApiResult();
explicit FTApiAliasApiResult(const std::string &payload);
~FTApiAliasApiResult();
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_FTAPIALIASAPIRESULT_H_

View File

@@ -0,0 +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 <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_

View File

@@ -0,0 +1,53 @@
/*
* 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_FTDYNAMICADDRESSDUBBORESULT_H_
#define ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSDUBBORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT FtDynamicAddressDubboResult : public ServiceResult
{
public:
FtDynamicAddressDubboResult();
explicit FtDynamicAddressDubboResult(const std::string &payload);
~FtDynamicAddressDubboResult();
std::string getStringValue()const;
int getIntValue()const;
protected:
void parse(const std::string &payload);
private:
std::string stringValue_;
int intValue_;
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSDUBBORESULT_H_

View File

@@ -0,0 +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 <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_

View File

@@ -0,0 +1,49 @@
/*
* 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_FTDYNAMICADDRESSHSFRESULT_H_
#define ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHSFRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT FtDynamicAddressHsfResult : public ServiceResult
{
public:
FtDynamicAddressHsfResult();
explicit FtDynamicAddressHsfResult(const std::string &payload);
~FtDynamicAddressHsfResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_FTDYNAMICADDRESSHSFRESULT_H_

View File

@@ -0,0 +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 <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_

View File

@@ -0,0 +1,53 @@
/*
* 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_FTEAGLEEYERESULT_H_
#define ALIBABACLOUD_FT_MODEL_FTEAGLEEYERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT FtEagleEyeResult : public ServiceResult
{
public:
FtEagleEyeResult();
explicit FtEagleEyeResult(const std::string &payload);
~FtEagleEyeResult();
std::string getEagleEyeTraceId()const;
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::string eagleEyeTraceId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_FTEAGLEEYERESULT_H_

View File

@@ -0,0 +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 <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_

View File

@@ -0,0 +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_FTFLOWSPECIALRESULT_H_
#define ALIBABACLOUD_FT_MODEL_FTFLOWSPECIALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT FtFlowSpecialResult : public ServiceResult
{
public:
FtFlowSpecialResult();
explicit FtFlowSpecialResult(const std::string &payload);
~FtFlowSpecialResult();
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_FTFLOWSPECIALRESULT_H_

View File

@@ -0,0 +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 <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_

View File

@@ -0,0 +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_FTGATEDLAUNCHPOLICY4RESULT_H_
#define ALIBABACLOUD_FT_MODEL_FTGATEDLAUNCHPOLICY4RESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT FtGatedLaunchPolicy4Result : public ServiceResult
{
public:
FtGatedLaunchPolicy4Result();
explicit FtGatedLaunchPolicy4Result(const std::string &payload);
~FtGatedLaunchPolicy4Result();
std::string getIsGatedLaunch()const;
protected:
void parse(const std::string &payload);
private:
std::string isGatedLaunch_;
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_FTGATEDLAUNCHPOLICY4RESULT_H_

View File

@@ -0,0 +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 <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_

View File

@@ -0,0 +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_FTIPFLOWCONTROLRESULT_H_
#define ALIBABACLOUD_FT_MODEL_FTIPFLOWCONTROLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT FtIpFlowControlResult : public ServiceResult
{
public:
FtIpFlowControlResult();
explicit FtIpFlowControlResult(const std::string &payload);
~FtIpFlowControlResult();
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_FTIPFLOWCONTROLRESULT_H_

View File

@@ -0,0 +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 <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_

View File

@@ -0,0 +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_FTPARAMLISTRESULT_H_
#define ALIBABACLOUD_FT_MODEL_FTPARAMLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT FtParamListResult : public ServiceResult
{
public:
FtParamListResult();
explicit FtParamListResult(const std::string &payload);
~FtParamListResult();
std::string getName()const;
protected:
void parse(const std::string &payload);
private:
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_FTPARAMLISTRESULT_H_

View File

@@ -0,0 +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 <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_

View File

@@ -0,0 +1,53 @@
/*
* 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_TESTHTTPAPIRESULT_H_
#define ALIBABACLOUD_FT_MODEL_TESTHTTPAPIRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ft/FtExport.h>
namespace AlibabaCloud
{
namespace Ft
{
namespace Model
{
class ALIBABACLOUD_FT_EXPORT TestHttpApiResult : public ServiceResult
{
public:
TestHttpApiResult();
explicit TestHttpApiResult(const std::string &payload);
~TestHttpApiResult();
std::string getServiceRpcSign()const;
std::string getParams()const;
protected:
void parse(const std::string &payload);
private:
std::string serviceRpcSign_;
std::string params_;
};
}
}
}
#endif // !ALIBABACLOUD_FT_MODEL_TESTHTTPAPIRESULT_H_