Open API publish.

This commit is contained in:
sdk-team
2020-05-17 08:58:34 +08:00
parent 23a40fc487
commit efc5b31e28
50 changed files with 3881 additions and 1 deletions

View File

@@ -0,0 +1,134 @@
/*
* 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_VCS_VCSCLIENT_H_
#define ALIBABACLOUD_VCS_VCSCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "VcsExport.h"
#include "model/AddDeviceRequest.h"
#include "model/AddDeviceResult.h"
#include "model/CreateCorpRequest.h"
#include "model/CreateCorpResult.h"
#include "model/DeleteDeviceRequest.h"
#include "model/DeleteDeviceResult.h"
#include "model/GetDeviceLiveUrlRequest.h"
#include "model/GetDeviceLiveUrlResult.h"
#include "model/GetInventoryRequest.h"
#include "model/GetInventoryResult.h"
#include "model/ListCorpsRequest.h"
#include "model/ListCorpsResult.h"
#include "model/ListDevicesRequest.h"
#include "model/ListDevicesResult.h"
#include "model/RecognizeImageRequest.h"
#include "model/RecognizeImageResult.h"
#include "model/SearchFaceRequest.h"
#include "model/SearchFaceResult.h"
#include "model/UpdateCorpRequest.h"
#include "model/UpdateCorpResult.h"
#include "model/UpdateDeviceRequest.h"
#include "model/UpdateDeviceResult.h"
namespace AlibabaCloud
{
namespace Vcs
{
class ALIBABACLOUD_VCS_EXPORT VcsClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AddDeviceResult> AddDeviceOutcome;
typedef std::future<AddDeviceOutcome> AddDeviceOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::AddDeviceRequest&, const AddDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddDeviceAsyncHandler;
typedef Outcome<Error, Model::CreateCorpResult> CreateCorpOutcome;
typedef std::future<CreateCorpOutcome> CreateCorpOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::CreateCorpRequest&, const CreateCorpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCorpAsyncHandler;
typedef Outcome<Error, Model::DeleteDeviceResult> DeleteDeviceOutcome;
typedef std::future<DeleteDeviceOutcome> DeleteDeviceOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::DeleteDeviceRequest&, const DeleteDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeviceAsyncHandler;
typedef Outcome<Error, Model::GetDeviceLiveUrlResult> GetDeviceLiveUrlOutcome;
typedef std::future<GetDeviceLiveUrlOutcome> GetDeviceLiveUrlOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::GetDeviceLiveUrlRequest&, const GetDeviceLiveUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDeviceLiveUrlAsyncHandler;
typedef Outcome<Error, Model::GetInventoryResult> GetInventoryOutcome;
typedef std::future<GetInventoryOutcome> GetInventoryOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::GetInventoryRequest&, const GetInventoryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInventoryAsyncHandler;
typedef Outcome<Error, Model::ListCorpsResult> ListCorpsOutcome;
typedef std::future<ListCorpsOutcome> ListCorpsOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::ListCorpsRequest&, const ListCorpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCorpsAsyncHandler;
typedef Outcome<Error, Model::ListDevicesResult> ListDevicesOutcome;
typedef std::future<ListDevicesOutcome> ListDevicesOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::ListDevicesRequest&, const ListDevicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevicesAsyncHandler;
typedef Outcome<Error, Model::RecognizeImageResult> RecognizeImageOutcome;
typedef std::future<RecognizeImageOutcome> RecognizeImageOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::RecognizeImageRequest&, const RecognizeImageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RecognizeImageAsyncHandler;
typedef Outcome<Error, Model::SearchFaceResult> SearchFaceOutcome;
typedef std::future<SearchFaceOutcome> SearchFaceOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::SearchFaceRequest&, const SearchFaceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchFaceAsyncHandler;
typedef Outcome<Error, Model::UpdateCorpResult> UpdateCorpOutcome;
typedef std::future<UpdateCorpOutcome> UpdateCorpOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::UpdateCorpRequest&, const UpdateCorpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCorpAsyncHandler;
typedef Outcome<Error, Model::UpdateDeviceResult> UpdateDeviceOutcome;
typedef std::future<UpdateDeviceOutcome> UpdateDeviceOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::UpdateDeviceRequest&, const UpdateDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDeviceAsyncHandler;
VcsClient(const Credentials &credentials, const ClientConfiguration &configuration);
VcsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
VcsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~VcsClient();
AddDeviceOutcome addDevice(const Model::AddDeviceRequest &request)const;
void addDeviceAsync(const Model::AddDeviceRequest& request, const AddDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddDeviceOutcomeCallable addDeviceCallable(const Model::AddDeviceRequest& request) const;
CreateCorpOutcome createCorp(const Model::CreateCorpRequest &request)const;
void createCorpAsync(const Model::CreateCorpRequest& request, const CreateCorpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCorpOutcomeCallable createCorpCallable(const Model::CreateCorpRequest& request) const;
DeleteDeviceOutcome deleteDevice(const Model::DeleteDeviceRequest &request)const;
void deleteDeviceAsync(const Model::DeleteDeviceRequest& request, const DeleteDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteDeviceOutcomeCallable deleteDeviceCallable(const Model::DeleteDeviceRequest& request) const;
GetDeviceLiveUrlOutcome getDeviceLiveUrl(const Model::GetDeviceLiveUrlRequest &request)const;
void getDeviceLiveUrlAsync(const Model::GetDeviceLiveUrlRequest& request, const GetDeviceLiveUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDeviceLiveUrlOutcomeCallable getDeviceLiveUrlCallable(const Model::GetDeviceLiveUrlRequest& request) const;
GetInventoryOutcome getInventory(const Model::GetInventoryRequest &request)const;
void getInventoryAsync(const Model::GetInventoryRequest& request, const GetInventoryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetInventoryOutcomeCallable getInventoryCallable(const Model::GetInventoryRequest& request) const;
ListCorpsOutcome listCorps(const Model::ListCorpsRequest &request)const;
void listCorpsAsync(const Model::ListCorpsRequest& request, const ListCorpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListCorpsOutcomeCallable listCorpsCallable(const Model::ListCorpsRequest& request) const;
ListDevicesOutcome listDevices(const Model::ListDevicesRequest &request)const;
void listDevicesAsync(const Model::ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListDevicesOutcomeCallable listDevicesCallable(const Model::ListDevicesRequest& request) const;
RecognizeImageOutcome recognizeImage(const Model::RecognizeImageRequest &request)const;
void recognizeImageAsync(const Model::RecognizeImageRequest& request, const RecognizeImageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RecognizeImageOutcomeCallable recognizeImageCallable(const Model::RecognizeImageRequest& request) const;
SearchFaceOutcome searchFace(const Model::SearchFaceRequest &request)const;
void searchFaceAsync(const Model::SearchFaceRequest& request, const SearchFaceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchFaceOutcomeCallable searchFaceCallable(const Model::SearchFaceRequest& request) const;
UpdateCorpOutcome updateCorp(const Model::UpdateCorpRequest &request)const;
void updateCorpAsync(const Model::UpdateCorpRequest& request, const UpdateCorpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateCorpOutcomeCallable updateCorpCallable(const Model::UpdateCorpRequest& request) const;
UpdateDeviceOutcome updateDevice(const Model::UpdateDeviceRequest &request)const;
void updateDeviceAsync(const Model::UpdateDeviceRequest& request, const UpdateDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateDeviceOutcomeCallable updateDeviceCallable(const Model::UpdateDeviceRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_VCS_VCSCLIENT_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_VCS_VCSEXPORT_H_
#define ALIBABACLOUD_VCS_VCSEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_VCS_LIBRARY)
# define ALIBABACLOUD_VCS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_VCS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_VCS_EXPORT
#endif
#endif // !ALIBABACLOUD_VCS_VCSEXPORT_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_VCS_MODEL_ADDDEVICEREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_ADDDEVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT AddDeviceRequest : public RpcServiceRequest
{
public:
AddDeviceRequest();
~AddDeviceRequest();
std::string getDeviceSite()const;
void setDeviceSite(const std::string& deviceSite);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getGbId()const;
void setGbId(const std::string& gbId);
std::string getDeviceDirection()const;
void setDeviceDirection(const std::string& deviceDirection);
std::string getDeviceRate()const;
void setDeviceRate(const std::string& deviceRate);
std::string getDeviceAddress()const;
void setDeviceAddress(const std::string& deviceAddress);
std::string getDeviceType()const;
void setDeviceType(const std::string& deviceType);
std::string getDeviceResolution()const;
void setDeviceResolution(const std::string& deviceResolution);
std::string getVendor()const;
void setVendor(const std::string& vendor);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
private:
std::string deviceSite_;
std::string corpId_;
std::string gbId_;
std::string deviceDirection_;
std::string deviceRate_;
std::string deviceAddress_;
std::string deviceType_;
std::string deviceResolution_;
std::string vendor_;
std::string deviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_ADDDEVICEREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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_VCS_MODEL_ADDDEVICERESULT_H_
#define ALIBABACLOUD_VCS_MODEL_ADDDEVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT AddDeviceResult : public ServiceResult
{
public:
AddDeviceResult();
explicit AddDeviceResult(const std::string &payload);
~AddDeviceResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_ADDDEVICERESULT_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_VCS_MODEL_CREATECORPREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_CREATECORPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT CreateCorpRequest : public RpcServiceRequest
{
public:
CreateCorpRequest();
~CreateCorpRequest();
std::string getParentCorpId()const;
void setParentCorpId(const std::string& parentCorpId);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getCorpName()const;
void setCorpName(const std::string& corpName);
private:
std::string parentCorpId_;
std::string description_;
std::string appName_;
std::string corpName_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_CREATECORPREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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_VCS_MODEL_CREATECORPRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_CREATECORPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT CreateCorpResult : public ServiceResult
{
public:
CreateCorpResult();
explicit CreateCorpResult(const std::string &payload);
~CreateCorpResult();
std::string getCorpId()const;
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string corpId_;
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_CREATECORPRESULT_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_VCS_MODEL_DELETEDEVICEREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_DELETEDEVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT DeleteDeviceRequest : public RpcServiceRequest
{
public:
DeleteDeviceRequest();
~DeleteDeviceRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getGbId()const;
void setGbId(const std::string& gbId);
private:
std::string corpId_;
std::string gbId_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_DELETEDEVICEREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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_VCS_MODEL_DELETEDEVICERESULT_H_
#define ALIBABACLOUD_VCS_MODEL_DELETEDEVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT DeleteDeviceResult : public ServiceResult
{
public:
DeleteDeviceResult();
explicit DeleteDeviceResult(const std::string &payload);
~DeleteDeviceResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_DELETEDEVICERESULT_H_

View File

@@ -0,0 +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_VCS_MODEL_GETDEVICELIVEURLREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_GETDEVICELIVEURLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT GetDeviceLiveUrlRequest : public RpcServiceRequest
{
public:
GetDeviceLiveUrlRequest();
~GetDeviceLiveUrlRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getGbId()const;
void setGbId(const std::string& gbId);
long getDeviceId()const;
void setDeviceId(long deviceId);
private:
std::string corpId_;
std::string gbId_;
long deviceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_GETDEVICELIVEURLREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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_VCS_MODEL_GETDEVICELIVEURLRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_GETDEVICELIVEURLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT GetDeviceLiveUrlResult : public ServiceResult
{
public:
GetDeviceLiveUrlResult();
explicit GetDeviceLiveUrlResult(const std::string &payload);
~GetDeviceLiveUrlResult();
std::string getMessage()const;
std::string getCode()const;
std::string getUrl()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
std::string url_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_GETDEVICELIVEURLRESULT_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_VCS_MODEL_GETINVENTORYREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_GETINVENTORYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT GetInventoryRequest : public RpcServiceRequest
{
public:
GetInventoryRequest();
~GetInventoryRequest();
std::string getCommodityCode()const;
void setCommodityCode(const std::string& commodityCode);
private:
std::string commodityCode_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_GETINVENTORYREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_VCS_MODEL_GETINVENTORYRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_GETINVENTORYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT GetInventoryResult : public ServiceResult
{
public:
struct Data
{
struct ResultObjectItem
{
std::string buyerId;
std::string instanceId;
std::string currentInventory;
std::string commodityCode;
std::string validEndTime;
std::string validStartTime;
std::string inventoryId;
};
std::vector<ResultObjectItem> resultObject;
};
GetInventoryResult();
explicit GetInventoryResult(const std::string &payload);
~GetInventoryResult();
Data getData()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_GETINVENTORYRESULT_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_VCS_MODEL_LISTCORPSREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_LISTCORPSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT ListCorpsRequest : public RpcServiceRequest
{
public:
ListCorpsRequest();
~ListCorpsRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int pageNumber_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_LISTCORPSREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VCS_MODEL_LISTCORPSRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_LISTCORPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT ListCorpsResult : public ServiceResult
{
public:
struct Data
{
struct Record
{
std::string corpId;
std::string description;
std::string parentCorpId;
std::string createDate;
std::string corpName;
std::string appName;
int deviceCount;
};
int totalCount;
int pageSize;
int totalPage;
int pageNumber;
std::vector<Record> records;
};
ListCorpsResult();
explicit ListCorpsResult(const std::string &payload);
~ListCorpsResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_LISTCORPSRESULT_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_VCS_MODEL_LISTDEVICESREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_LISTDEVICESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT ListDevicesRequest : public RpcServiceRequest
{
public:
ListDevicesRequest();
~ListDevicesRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getGbId()const;
void setGbId(const std::string& gbId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
private:
std::string corpId_;
std::string gbId_;
int pageNumber_;
int pageSize_;
std::string deviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_LISTDEVICESREQUEST_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_VCS_MODEL_LISTDEVICESRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_LISTDEVICESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT ListDevicesResult : public ServiceResult
{
public:
struct Data
{
struct Record
{
int status;
std::string accessProtocolType;
std::string coverImageUrl;
std::string sipServerIp;
std::string createTime;
std::string latitude;
std::string vendor;
std::string longitude;
std::string sipGBId;
std::string deviceDirection;
std::string sipPassword;
std::string deviceType;
std::string deviceAddress;
std::string gBid;
std::string bitRate;
std::string deviceSite;
std::string sipServerPort;
std::string deviceName;
std::string resolution;
};
int totalCount;
int pageSize;
int totalPage;
int pageNumber;
std::vector<Record> records;
};
ListDevicesResult();
explicit ListDevicesResult(const std::string &payload);
~ListDevicesResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_LISTDEVICESRESULT_H_

View File

@@ -0,0 +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_VCS_MODEL_RECOGNIZEIMAGEREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_RECOGNIZEIMAGEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT RecognizeImageRequest : public RpcServiceRequest
{
public:
RecognizeImageRequest();
~RecognizeImageRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getPicContent()const;
void setPicContent(const std::string& picContent);
std::string getPicFormat()const;
void setPicFormat(const std::string& picFormat);
private:
std::string corpId_;
std::string picContent_;
std::string picFormat_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_RECOGNIZEIMAGEREQUEST_H_

View File

@@ -0,0 +1,84 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VCS_MODEL_RECOGNIZEIMAGERESULT_H_
#define ALIBABACLOUD_VCS_MODEL_RECOGNIZEIMAGERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT RecognizeImageResult : public ServiceResult
{
public:
struct Data
{
struct Body
{
std::string respiratorColor;
std::string imageBaseSixFour;
std::string rightBottomX;
std::string rightBottomY;
std::string fileName;
std::string leftTopY;
std::string feature;
std::string leftTopX;
std::string localFeature;
};
struct Face
{
std::string respiratorColor;
std::string imageBaseSixFour;
std::string rightBottomX;
std::string rightBottomY;
std::string fileName;
std::string leftTopY;
std::string feature;
std::string leftTopX;
std::string localFeature;
};
std::vector<Body> bodyList;
std::vector<Face> faceList;
};
RecognizeImageResult();
explicit RecognizeImageResult(const std::string &payload);
~RecognizeImageResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_RECOGNIZEIMAGERESULT_H_

View File

@@ -0,0 +1,66 @@
/*
* 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_VCS_MODEL_SEARCHFACEREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_SEARCHFACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT SearchFaceRequest : public RpcServiceRequest
{
public:
SearchFaceRequest();
~SearchFaceRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getGbId()const;
void setGbId(const std::string& gbId);
long getStartTimeStamp()const;
void setStartTimeStamp(long startTimeStamp);
long getEndTimeStamp()const;
void setEndTimeStamp(long endTimeStamp);
int getPageNo()const;
void setPageNo(int pageNo);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getOptionList()const;
void setOptionList(const std::string& optionList);
private:
std::string corpId_;
std::string gbId_;
long startTimeStamp_;
long endTimeStamp_;
int pageNo_;
int pageSize_;
std::string optionList_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_SEARCHFACEREQUEST_H_

View File

@@ -0,0 +1,74 @@
/*
* 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_VCS_MODEL_SEARCHFACERESULT_H_
#define ALIBABACLOUD_VCS_MODEL_SEARCHFACERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT SearchFaceResult : public ServiceResult
{
public:
struct Data
{
struct Record
{
std::string targetImageUrl;
int score;
int rightBottomX;
int rightBottomY;
std::string gbId;
std::string imageUrl;
int leftTopY;
int leftTopX;
};
int totalCount;
int pageSize;
int totalPage;
int pageNo;
std::vector<Record> records;
};
SearchFaceResult();
explicit SearchFaceResult(const std::string &payload);
~SearchFaceResult();
std::string getMessage()const;
Data getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Data data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_SEARCHFACERESULT_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_VCS_MODEL_UPDATECORPREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_UPDATECORPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT UpdateCorpRequest : public RpcServiceRequest
{
public:
UpdateCorpRequest();
~UpdateCorpRequest();
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getParentCorpId()const;
void setParentCorpId(const std::string& parentCorpId);
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getCorpName()const;
void setCorpName(const std::string& corpName);
private:
std::string corpId_;
std::string parentCorpId_;
std::string description_;
std::string appName_;
std::string corpName_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_UPDATECORPREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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_VCS_MODEL_UPDATECORPRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_UPDATECORPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT UpdateCorpResult : public ServiceResult
{
public:
UpdateCorpResult();
explicit UpdateCorpResult(const std::string &payload);
~UpdateCorpResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_UPDATECORPRESULT_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_VCS_MODEL_UPDATEDEVICEREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_UPDATEDEVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT UpdateDeviceRequest : public RpcServiceRequest
{
public:
UpdateDeviceRequest();
~UpdateDeviceRequest();
std::string getDeviceSite()const;
void setDeviceSite(const std::string& deviceSite);
std::string getCorpId()const;
void setCorpId(const std::string& corpId);
std::string getGbId()const;
void setGbId(const std::string& gbId);
std::string getDeviceDirection()const;
void setDeviceDirection(const std::string& deviceDirection);
std::string getDeviceRate()const;
void setDeviceRate(const std::string& deviceRate);
std::string getDeviceAddress()const;
void setDeviceAddress(const std::string& deviceAddress);
std::string getDeviceType()const;
void setDeviceType(const std::string& deviceType);
std::string getDeviceResolution()const;
void setDeviceResolution(const std::string& deviceResolution);
std::string getVendor()const;
void setVendor(const std::string& vendor);
std::string getDeviceName()const;
void setDeviceName(const std::string& deviceName);
private:
std::string deviceSite_;
std::string corpId_;
std::string gbId_;
std::string deviceDirection_;
std::string deviceRate_;
std::string deviceAddress_;
std::string deviceType_;
std::string deviceResolution_;
std::string vendor_;
std::string deviceName_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_UPDATEDEVICEREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* 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_VCS_MODEL_UPDATEDEVICERESULT_H_
#define ALIBABACLOUD_VCS_MODEL_UPDATEDEVICERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/vcs/VcsExport.h>
namespace AlibabaCloud
{
namespace Vcs
{
namespace Model
{
class ALIBABACLOUD_VCS_EXPORT UpdateDeviceResult : public ServiceResult
{
public:
UpdateDeviceResult();
explicit UpdateDeviceResult(const std::string &payload);
~UpdateDeviceResult();
std::string getMessage()const;
std::string getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string data_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_UPDATEDEVICERESULT_H_