SAS-API SDK Auto Released By shenshi,Version:1.34.22

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
haowei.yao
2019-03-14 15:01:38 +08:00
parent 8ac2f2bd4a
commit f75e990c49
55 changed files with 4057 additions and 2 deletions

View File

@@ -0,0 +1,142 @@
/*
* 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_SAS-API_SAS-APICLIENT_H_
#define ALIBABACLOUD_SAS-API_SAS-APICLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "Sas-apiExport.h"
#include "model/DescribeAccountProfileByKeyWordRequest.h"
#include "model/DescribeAccountProfileByKeyWordResult.h"
#include "model/DescribeThreatTypeLinesRequest.h"
#include "model/DescribeThreatTypeLinesResult.h"
#include "model/DescribeThreatDistributeRequest.h"
#include "model/DescribeThreatDistributeResult.h"
#include "model/GetPhoneProfileRequest.h"
#include "model/GetPhoneProfileResult.h"
#include "model/DescribeAccountProfileByKeyRequest.h"
#include "model/DescribeAccountProfileByKeyResult.h"
#include "model/GetInstanceCountRequest.h"
#include "model/GetInstanceCountResult.h"
#include "model/DescribePerDateDataRequest.h"
#include "model/DescribePerDateDataResult.h"
#include "model/GetAccountProfileRequest.h"
#include "model/GetAccountProfileResult.h"
#include "model/DescribeTotalAndRateLineRequest.h"
#include "model/DescribeTotalAndRateLineResult.h"
#include "model/GetIpProfileRequest.h"
#include "model/GetIpProfileResult.h"
#include "model/DescribeHitRateColumnRequest.h"
#include "model/DescribeHitRateColumnResult.h"
#include "model/DescribeHitRatePieRequest.h"
#include "model/DescribeHitRatePieResult.h"
namespace AlibabaCloud
{
namespace Sas-api
{
class ALIBABACLOUD_SAS-API_EXPORT Sas-apiClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::DescribeAccountProfileByKeyWordResult> DescribeAccountProfileByKeyWordOutcome;
typedef std::future<DescribeAccountProfileByKeyWordOutcome> DescribeAccountProfileByKeyWordOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::DescribeAccountProfileByKeyWordRequest&, const DescribeAccountProfileByKeyWordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountProfileByKeyWordAsyncHandler;
typedef Outcome<Error, Model::DescribeThreatTypeLinesResult> DescribeThreatTypeLinesOutcome;
typedef std::future<DescribeThreatTypeLinesOutcome> DescribeThreatTypeLinesOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::DescribeThreatTypeLinesRequest&, const DescribeThreatTypeLinesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeThreatTypeLinesAsyncHandler;
typedef Outcome<Error, Model::DescribeThreatDistributeResult> DescribeThreatDistributeOutcome;
typedef std::future<DescribeThreatDistributeOutcome> DescribeThreatDistributeOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::DescribeThreatDistributeRequest&, const DescribeThreatDistributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeThreatDistributeAsyncHandler;
typedef Outcome<Error, Model::GetPhoneProfileResult> GetPhoneProfileOutcome;
typedef std::future<GetPhoneProfileOutcome> GetPhoneProfileOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::GetPhoneProfileRequest&, const GetPhoneProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPhoneProfileAsyncHandler;
typedef Outcome<Error, Model::DescribeAccountProfileByKeyResult> DescribeAccountProfileByKeyOutcome;
typedef std::future<DescribeAccountProfileByKeyOutcome> DescribeAccountProfileByKeyOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::DescribeAccountProfileByKeyRequest&, const DescribeAccountProfileByKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccountProfileByKeyAsyncHandler;
typedef Outcome<Error, Model::GetInstanceCountResult> GetInstanceCountOutcome;
typedef std::future<GetInstanceCountOutcome> GetInstanceCountOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::GetInstanceCountRequest&, const GetInstanceCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceCountAsyncHandler;
typedef Outcome<Error, Model::DescribePerDateDataResult> DescribePerDateDataOutcome;
typedef std::future<DescribePerDateDataOutcome> DescribePerDateDataOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::DescribePerDateDataRequest&, const DescribePerDateDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePerDateDataAsyncHandler;
typedef Outcome<Error, Model::GetAccountProfileResult> GetAccountProfileOutcome;
typedef std::future<GetAccountProfileOutcome> GetAccountProfileOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::GetAccountProfileRequest&, const GetAccountProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAccountProfileAsyncHandler;
typedef Outcome<Error, Model::DescribeTotalAndRateLineResult> DescribeTotalAndRateLineOutcome;
typedef std::future<DescribeTotalAndRateLineOutcome> DescribeTotalAndRateLineOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::DescribeTotalAndRateLineRequest&, const DescribeTotalAndRateLineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTotalAndRateLineAsyncHandler;
typedef Outcome<Error, Model::GetIpProfileResult> GetIpProfileOutcome;
typedef std::future<GetIpProfileOutcome> GetIpProfileOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::GetIpProfileRequest&, const GetIpProfileOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetIpProfileAsyncHandler;
typedef Outcome<Error, Model::DescribeHitRateColumnResult> DescribeHitRateColumnOutcome;
typedef std::future<DescribeHitRateColumnOutcome> DescribeHitRateColumnOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::DescribeHitRateColumnRequest&, const DescribeHitRateColumnOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHitRateColumnAsyncHandler;
typedef Outcome<Error, Model::DescribeHitRatePieResult> DescribeHitRatePieOutcome;
typedef std::future<DescribeHitRatePieOutcome> DescribeHitRatePieOutcomeCallable;
typedef std::function<void(const Sas-apiClient*, const Model::DescribeHitRatePieRequest&, const DescribeHitRatePieOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeHitRatePieAsyncHandler;
Sas-apiClient(const Credentials &credentials, const ClientConfiguration &configuration);
Sas-apiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
Sas-apiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~Sas-apiClient();
DescribeAccountProfileByKeyWordOutcome describeAccountProfileByKeyWord(const Model::DescribeAccountProfileByKeyWordRequest &request)const;
void describeAccountProfileByKeyWordAsync(const Model::DescribeAccountProfileByKeyWordRequest& request, const DescribeAccountProfileByKeyWordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAccountProfileByKeyWordOutcomeCallable describeAccountProfileByKeyWordCallable(const Model::DescribeAccountProfileByKeyWordRequest& request) const;
DescribeThreatTypeLinesOutcome describeThreatTypeLines(const Model::DescribeThreatTypeLinesRequest &request)const;
void describeThreatTypeLinesAsync(const Model::DescribeThreatTypeLinesRequest& request, const DescribeThreatTypeLinesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeThreatTypeLinesOutcomeCallable describeThreatTypeLinesCallable(const Model::DescribeThreatTypeLinesRequest& request) const;
DescribeThreatDistributeOutcome describeThreatDistribute(const Model::DescribeThreatDistributeRequest &request)const;
void describeThreatDistributeAsync(const Model::DescribeThreatDistributeRequest& request, const DescribeThreatDistributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeThreatDistributeOutcomeCallable describeThreatDistributeCallable(const Model::DescribeThreatDistributeRequest& request) const;
GetPhoneProfileOutcome getPhoneProfile(const Model::GetPhoneProfileRequest &request)const;
void getPhoneProfileAsync(const Model::GetPhoneProfileRequest& request, const GetPhoneProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPhoneProfileOutcomeCallable getPhoneProfileCallable(const Model::GetPhoneProfileRequest& request) const;
DescribeAccountProfileByKeyOutcome describeAccountProfileByKey(const Model::DescribeAccountProfileByKeyRequest &request)const;
void describeAccountProfileByKeyAsync(const Model::DescribeAccountProfileByKeyRequest& request, const DescribeAccountProfileByKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAccountProfileByKeyOutcomeCallable describeAccountProfileByKeyCallable(const Model::DescribeAccountProfileByKeyRequest& request) const;
GetInstanceCountOutcome getInstanceCount(const Model::GetInstanceCountRequest &request)const;
void getInstanceCountAsync(const Model::GetInstanceCountRequest& request, const GetInstanceCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetInstanceCountOutcomeCallable getInstanceCountCallable(const Model::GetInstanceCountRequest& request) const;
DescribePerDateDataOutcome describePerDateData(const Model::DescribePerDateDataRequest &request)const;
void describePerDateDataAsync(const Model::DescribePerDateDataRequest& request, const DescribePerDateDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePerDateDataOutcomeCallable describePerDateDataCallable(const Model::DescribePerDateDataRequest& request) const;
GetAccountProfileOutcome getAccountProfile(const Model::GetAccountProfileRequest &request)const;
void getAccountProfileAsync(const Model::GetAccountProfileRequest& request, const GetAccountProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAccountProfileOutcomeCallable getAccountProfileCallable(const Model::GetAccountProfileRequest& request) const;
DescribeTotalAndRateLineOutcome describeTotalAndRateLine(const Model::DescribeTotalAndRateLineRequest &request)const;
void describeTotalAndRateLineAsync(const Model::DescribeTotalAndRateLineRequest& request, const DescribeTotalAndRateLineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTotalAndRateLineOutcomeCallable describeTotalAndRateLineCallable(const Model::DescribeTotalAndRateLineRequest& request) const;
GetIpProfileOutcome getIpProfile(const Model::GetIpProfileRequest &request)const;
void getIpProfileAsync(const Model::GetIpProfileRequest& request, const GetIpProfileAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetIpProfileOutcomeCallable getIpProfileCallable(const Model::GetIpProfileRequest& request) const;
DescribeHitRateColumnOutcome describeHitRateColumn(const Model::DescribeHitRateColumnRequest &request)const;
void describeHitRateColumnAsync(const Model::DescribeHitRateColumnRequest& request, const DescribeHitRateColumnAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeHitRateColumnOutcomeCallable describeHitRateColumnCallable(const Model::DescribeHitRateColumnRequest& request) const;
DescribeHitRatePieOutcome describeHitRatePie(const Model::DescribeHitRatePieRequest &request)const;
void describeHitRatePieAsync(const Model::DescribeHitRatePieRequest& request, const DescribeHitRatePieAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeHitRatePieOutcomeCallable describeHitRatePieCallable(const Model::DescribeHitRatePieRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_SAS-API_SAS-APICLIENT_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_SAS-API_SAS-APIEXPORT_H_
#define ALIBABACLOUD_SAS-API_SAS-APIEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_SAS-API_LIBRARY)
# define ALIBABACLOUD_SAS-API_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_SAS-API_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_SAS-API_EXPORT
#endif
#endif // !ALIBABACLOUD_SAS-API_SAS-APIEXPORT_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_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeAccountProfileByKeyRequest : public RpcServiceRequest
{
public:
DescribeAccountProfileByKeyRequest();
~DescribeAccountProfileByKeyRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
private:
std::string sourceIp_;
std::string keyword_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYREQUEST_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_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYRESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeAccountProfileByKeyResult : public ServiceResult
{
public:
DescribeAccountProfileByKeyResult();
explicit DescribeAccountProfileByKeyResult(const std::string &payload);
~DescribeAccountProfileByKeyResult();
std::string getPhone()const;
std::string getIp()const;
std::string getIpInfo()const;
std::string getPhoneInfo()const;
int getKeywordCount()const;
int getKeywordLimit()const;
protected:
void parse(const std::string &payload);
private:
std::string phone_;
std::string ip_;
std::string ipInfo_;
std::string phoneInfo_;
int keywordCount_;
int keywordLimit_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYRESULT_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_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYWORDREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYWORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeAccountProfileByKeyWordRequest : public RpcServiceRequest
{
public:
DescribeAccountProfileByKeyWordRequest();
~DescribeAccountProfileByKeyWordRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getKeyword()const;
void setKeyword(const std::string& keyword);
private:
std::string sourceIp_;
std::string keyword_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYWORDREQUEST_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_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYWORDRESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYWORDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeAccountProfileByKeyWordResult : public ServiceResult
{
public:
DescribeAccountProfileByKeyWordResult();
explicit DescribeAccountProfileByKeyWordResult(const std::string &payload);
~DescribeAccountProfileByKeyWordResult();
std::string getPhone()const;
std::string getIp()const;
std::string getIpInfo()const;
std::string getPhoneInfo()const;
protected:
void parse(const std::string &payload);
private:
std::string phone_;
std::string ip_;
std::string ipInfo_;
std::string phoneInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBEACCOUNTPROFILEBYKEYWORDRESULT_H_

View File

@@ -0,0 +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_SAS-API_MODEL_DESCRIBEHITRATECOLUMNREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBEHITRATECOLUMNREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeHitRateColumnRequest : public RpcServiceRequest
{
public:
DescribeHitRateColumnRequest();
~DescribeHitRateColumnRequest();
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getHitDay()const;
void setHitDay(int hitDay);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
int getApiType()const;
void setApiType(int apiType);
private:
std::string endDate_;
std::string sourceIp_;
int hitDay_;
std::string startDate_;
int apiType_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBEHITRATECOLUMNREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* 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_SAS-API_MODEL_DESCRIBEHITRATECOLUMNRESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBEHITRATECOLUMNRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeHitRateColumnResult : public ServiceResult
{
public:
struct TimeScope
{
long start;
long interval;
};
struct Item
{
long data;
std::string id;
std::string name;
};
DescribeHitRateColumnResult();
explicit DescribeHitRateColumnResult(const std::string &payload);
~DescribeHitRateColumnResult();
TimeScope getTimeScope()const;
std::vector<Item> getItems()const;
protected:
void parse(const std::string &payload);
private:
TimeScope timeScope_;
std::vector<Item> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBEHITRATECOLUMNRESULT_H_

View File

@@ -0,0 +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_SAS-API_MODEL_DESCRIBEHITRATEPIEREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBEHITRATEPIEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeHitRatePieRequest : public RpcServiceRequest
{
public:
DescribeHitRatePieRequest();
~DescribeHitRatePieRequest();
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
int getHitDay()const;
void setHitDay(int hitDay);
int getApiType()const;
void setApiType(int apiType);
private:
std::string endDate_;
std::string sourceIp_;
std::string startDate_;
int hitDay_;
int apiType_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBEHITRATEPIEREQUEST_H_

View File

@@ -0,0 +1,56 @@
/*
* 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_SAS-API_MODEL_DESCRIBEHITRATEPIERESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBEHITRATEPIERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeHitRatePieResult : public ServiceResult
{
public:
struct Item
{
long data;
std::string name;
};
DescribeHitRatePieResult();
explicit DescribeHitRatePieResult(const std::string &payload);
~DescribeHitRatePieResult();
std::vector<Item> getItems()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Item> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBEHITRATEPIERESULT_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_SAS-API_MODEL_DESCRIBEPERDATEDATAREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBEPERDATEDATAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribePerDateDataRequest : public RpcServiceRequest
{
public:
DescribePerDateDataRequest();
~DescribePerDateDataRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getApiType()const;
void setApiType(int apiType);
private:
std::string sourceIp_;
int apiType_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBEPERDATEDATAREQUEST_H_

View File

@@ -0,0 +1,85 @@
/*
* 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_SAS-API_MODEL_DESCRIBEPERDATEDATARESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBEPERDATEDATARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribePerDateDataResult : public ServiceResult
{
public:
struct DataViewItem
{
long isOpenCommonPort7d;
long isHiJack1d;
long hitRate;
long isC230d;
long isHiJack7d;
std::string dataTime;
long isNetAttack30d;
long isBotnet30d;
long callTimes;
long isCheatFlow1d;
long isCheatFlow30d;
long isBlackCampaign7d;
long isVirtualOperator;
long isCheatFlow7d;
long isOpenCommonPort1d;
long isBlackCampaign1d;
long isC27d;
long isNetAttack7d;
long isBlackCampaign30d;
long isBlackPhone;
long isNetAttack1d;
long isC21d;
long isProxy7d;
long isProxy1d;
long isBotnet7d;
long isOpenCommonPort30d;
long isProxy30d;
long isBotnet1d;
long isGreyPhone;
long isHiJack30d;
long totalHit;
};
DescribePerDateDataResult();
explicit DescribePerDateDataResult(const std::string &payload);
~DescribePerDateDataResult();
std::vector<DataViewItem> getDataView()const;
protected:
void parse(const std::string &payload);
private:
std::vector<DataViewItem> dataView_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBEPERDATEDATARESULT_H_

View File

@@ -0,0 +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_SAS-API_MODEL_DESCRIBETHREATDISTRIBUTEREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBETHREATDISTRIBUTEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeThreatDistributeRequest : public RpcServiceRequest
{
public:
DescribeThreatDistributeRequest();
~DescribeThreatDistributeRequest();
std::string getEndDate()const;
void setEndDate(const std::string& endDate);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getHitDay()const;
void setHitDay(int hitDay);
std::string getStartDate()const;
void setStartDate(const std::string& startDate);
int getApiType()const;
void setApiType(int apiType);
private:
std::string endDate_;
std::string sourceIp_;
int hitDay_;
std::string startDate_;
int apiType_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBETHREATDISTRIBUTEREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_SAS-API_MODEL_DESCRIBETHREATDISTRIBUTERESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBETHREATDISTRIBUTERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeThreatDistributeResult : public ServiceResult
{
public:
struct Item
{
float data;
std::string id;
std::string name;
};
DescribeThreatDistributeResult();
explicit DescribeThreatDistributeResult(const std::string &payload);
~DescribeThreatDistributeResult();
std::vector<std::string> getCategories()const;
std::vector<Item> getItems()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> categories_;
std::vector<Item> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBETHREATDISTRIBUTERESULT_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_SAS-API_MODEL_DESCRIBETHREATTYPELINESREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBETHREATTYPELINESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeThreatTypeLinesRequest : public RpcServiceRequest
{
public:
DescribeThreatTypeLinesRequest();
~DescribeThreatTypeLinesRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getApiType()const;
void setApiType(int apiType);
private:
std::string sourceIp_;
int apiType_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBETHREATTYPELINESREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_SAS-API_MODEL_DESCRIBETHREATTYPELINESRESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBETHREATTYPELINESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeThreatTypeLinesResult : public ServiceResult
{
public:
struct Item
{
float data;
std::string id;
std::string name;
};
DescribeThreatTypeLinesResult();
explicit DescribeThreatTypeLinesResult(const std::string &payload);
~DescribeThreatTypeLinesResult();
std::vector<std::string> getCategories()const;
std::vector<Item> getItems()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> categories_;
std::vector<Item> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBETHREATTYPELINESRESULT_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_SAS-API_MODEL_DESCRIBETOTALANDRATELINEREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBETOTALANDRATELINEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeTotalAndRateLineRequest : public RpcServiceRequest
{
public:
DescribeTotalAndRateLineRequest();
~DescribeTotalAndRateLineRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getApiType()const;
void setApiType(int apiType);
private:
std::string sourceIp_;
int apiType_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBETOTALANDRATELINEREQUEST_H_

View File

@@ -0,0 +1,59 @@
/*
* 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_SAS-API_MODEL_DESCRIBETOTALANDRATELINERESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_DESCRIBETOTALANDRATELINERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT DescribeTotalAndRateLineResult : public ServiceResult
{
public:
struct Item
{
float data;
std::string id;
std::string name;
};
DescribeTotalAndRateLineResult();
explicit DescribeTotalAndRateLineResult(const std::string &payload);
~DescribeTotalAndRateLineResult();
std::vector<std::string> getCategories()const;
std::vector<Item> getItems()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> categories_;
std::vector<Item> items_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_DESCRIBETOTALANDRATELINERESULT_H_

View File

@@ -0,0 +1,81 @@
/*
* 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_SAS-API_MODEL_GETACCOUNTPROFILEREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_GETACCOUNTPROFILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT GetAccountProfileRequest : public RpcServiceRequest
{
public:
GetAccountProfileRequest();
~GetAccountProfileRequest();
std::string getDeviceIdMd5()const;
void setDeviceIdMd5(const std::string& deviceIdMd5);
int getCarrier()const;
void setCarrier(int carrier);
std::string getOs()const;
void setOs(const std::string& os);
std::string getPhone()const;
void setPhone(const std::string& phone);
std::string getRequestUrl()const;
void setRequestUrl(const std::string& requestUrl);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getUserAgent()const;
void setUserAgent(const std::string& userAgent);
int getConnectionType()const;
void setConnectionType(int connectionType);
int getSensType()const;
void setSensType(int sensType);
int getDeviceType()const;
void setDeviceType(int deviceType);
long getAccessTimestamp()const;
void setAccessTimestamp(long accessTimestamp);
int getBusinessType()const;
void setBusinessType(int businessType);
private:
std::string deviceIdMd5_;
int carrier_;
std::string os_;
std::string phone_;
std::string requestUrl_;
std::string ip_;
std::string userAgent_;
int connectionType_;
int sensType_;
int deviceType_;
long accessTimestamp_;
int businessType_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_GETACCOUNTPROFILEREQUEST_H_

View File

@@ -0,0 +1,64 @@
/*
* 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_SAS-API_MODEL_GETACCOUNTPROFILERESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_GETACCOUNTPROFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT GetAccountProfileResult : public ServiceResult
{
public:
struct Data
{
std::string phone;
std::string ip;
std::string ipInfo;
std::string phoneInfo;
};
GetAccountProfileResult();
explicit GetAccountProfileResult(const std::string &payload);
~GetAccountProfileResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_GETACCOUNTPROFILERESULT_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_SAS-API_MODEL_GETINSTANCECOUNTREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_GETINSTANCECOUNTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT GetInstanceCountRequest : public RpcServiceRequest
{
public:
GetInstanceCountRequest();
~GetInstanceCountRequest();
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
long ownerId_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_GETINSTANCECOUNTREQUEST_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_SAS-API_MODEL_GETINSTANCECOUNTRESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_GETINSTANCECOUNTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT GetInstanceCountResult : public ServiceResult
{
public:
GetInstanceCountResult();
explicit GetInstanceCountResult(const std::string &payload);
~GetInstanceCountResult();
std::string getMessage()const;
int getData()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int data_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_GETINSTANCECOUNTRESULT_H_

View File

@@ -0,0 +1,75 @@
/*
* 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_SAS-API_MODEL_GETIPPROFILEREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_GETIPPROFILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT GetIpProfileRequest : public RpcServiceRequest
{
public:
GetIpProfileRequest();
~GetIpProfileRequest();
std::string getDeviceIdMd5()const;
void setDeviceIdMd5(const std::string& deviceIdMd5);
int getCarrier()const;
void setCarrier(int carrier);
std::string getOs()const;
void setOs(const std::string& os);
std::string getRequestUrl()const;
void setRequestUrl(const std::string& requestUrl);
std::string getIp()const;
void setIp(const std::string& ip);
std::string getUserAgent()const;
void setUserAgent(const std::string& userAgent);
int getConnectionType()const;
void setConnectionType(int connectionType);
int getSensType()const;
void setSensType(int sensType);
int getDeviceType()const;
void setDeviceType(int deviceType);
int getBusinessType()const;
void setBusinessType(int businessType);
private:
std::string deviceIdMd5_;
int carrier_;
std::string os_;
std::string requestUrl_;
std::string ip_;
std::string userAgent_;
int connectionType_;
int sensType_;
int deviceType_;
int businessType_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_GETIPPROFILEREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_SAS-API_MODEL_GETIPPROFILERESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_GETIPPROFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT GetIpProfileResult : public ServiceResult
{
public:
struct Data
{
std::string ip;
std::string info;
};
GetIpProfileResult();
explicit GetIpProfileResult(const std::string &payload);
~GetIpProfileResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_GETIPPROFILERESULT_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_SAS-API_MODEL_GETPHONEPROFILEREQUEST_H_
#define ALIBABACLOUD_SAS-API_MODEL_GETPHONEPROFILEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT GetPhoneProfileRequest : public RpcServiceRequest
{
public:
GetPhoneProfileRequest();
~GetPhoneProfileRequest();
std::string getPhone()const;
void setPhone(const std::string& phone);
int getSensType()const;
void setSensType(int sensType);
std::string getDataVersion()const;
void setDataVersion(const std::string& dataVersion);
int getBusinessType()const;
void setBusinessType(int businessType);
private:
std::string phone_;
int sensType_;
std::string dataVersion_;
int businessType_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_GETPHONEPROFILEREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_SAS-API_MODEL_GETPHONEPROFILERESULT_H_
#define ALIBABACLOUD_SAS-API_MODEL_GETPHONEPROFILERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/sas-api/Sas-apiExport.h>
namespace AlibabaCloud
{
namespace Sas-api
{
namespace Model
{
class ALIBABACLOUD_SAS-API_EXPORT GetPhoneProfileResult : public ServiceResult
{
public:
struct Data
{
std::string phone;
std::string info;
};
GetPhoneProfileResult();
explicit GetPhoneProfileResult(const std::string &payload);
~GetPhoneProfileResult();
std::string getMessage()const;
Data getData()const;
int getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
int code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_SAS-API_MODEL_GETPHONEPROFILERESULT_H_