Change Configuration.

This commit is contained in:
sdk-team
2020-10-23 09:52:11 +00:00
parent 8f6d6d4d1d
commit 1908e64fa6
28 changed files with 1363 additions and 15 deletions

View File

@@ -138,6 +138,8 @@
#include "model/ListPersonVisitCountResult.h"
#include "model/ListPersonsRequest.h"
#include "model/ListPersonsResult.h"
#include "model/ListSubscribeDeviceRequest.h"
#include "model/ListSubscribeDeviceResult.h"
#include "model/ListUserGroupsRequest.h"
#include "model/ListUserGroupsResult.h"
#include "model/ListUsersRequest.h"
@@ -160,6 +162,10 @@
#include "model/SearchObjectResult.h"
#include "model/StopMonitorRequest.h"
#include "model/StopMonitorResult.h"
#include "model/SubscribeDeviceEventRequest.h"
#include "model/SubscribeDeviceEventResult.h"
#include "model/SubscribeSpaceEventRequest.h"
#include "model/SubscribeSpaceEventResult.h"
#include "model/SyncDeviceTimeRequest.h"
#include "model/SyncDeviceTimeResult.h"
#include "model/UnbindCorpGroupRequest.h"
@@ -168,6 +174,10 @@
#include "model/UnbindPersonResult.h"
#include "model/UnbindUserRequest.h"
#include "model/UnbindUserResult.h"
#include "model/UnsubscribeDeviceEventRequest.h"
#include "model/UnsubscribeDeviceEventResult.h"
#include "model/UnsubscribeSpaceEventRequest.h"
#include "model/UnsubscribeSpaceEventResult.h"
#include "model/UpdateCorpRequest.h"
#include "model/UpdateCorpResult.h"
#include "model/UpdateDeviceRequest.h"
@@ -369,6 +379,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListPersonsResult> ListPersonsOutcome;
typedef std::future<ListPersonsOutcome> ListPersonsOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::ListPersonsRequest&, const ListPersonsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPersonsAsyncHandler;
typedef Outcome<Error, Model::ListSubscribeDeviceResult> ListSubscribeDeviceOutcome;
typedef std::future<ListSubscribeDeviceOutcome> ListSubscribeDeviceOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::ListSubscribeDeviceRequest&, const ListSubscribeDeviceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSubscribeDeviceAsyncHandler;
typedef Outcome<Error, Model::ListUserGroupsResult> ListUserGroupsOutcome;
typedef std::future<ListUserGroupsOutcome> ListUserGroupsOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::ListUserGroupsRequest&, const ListUserGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserGroupsAsyncHandler;
@@ -402,6 +415,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::StopMonitorResult> StopMonitorOutcome;
typedef std::future<StopMonitorOutcome> StopMonitorOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::StopMonitorRequest&, const StopMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMonitorAsyncHandler;
typedef Outcome<Error, Model::SubscribeDeviceEventResult> SubscribeDeviceEventOutcome;
typedef std::future<SubscribeDeviceEventOutcome> SubscribeDeviceEventOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::SubscribeDeviceEventRequest&, const SubscribeDeviceEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubscribeDeviceEventAsyncHandler;
typedef Outcome<Error, Model::SubscribeSpaceEventResult> SubscribeSpaceEventOutcome;
typedef std::future<SubscribeSpaceEventOutcome> SubscribeSpaceEventOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::SubscribeSpaceEventRequest&, const SubscribeSpaceEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubscribeSpaceEventAsyncHandler;
typedef Outcome<Error, Model::SyncDeviceTimeResult> SyncDeviceTimeOutcome;
typedef std::future<SyncDeviceTimeOutcome> SyncDeviceTimeOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::SyncDeviceTimeRequest&, const SyncDeviceTimeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SyncDeviceTimeAsyncHandler;
@@ -414,6 +433,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::UnbindUserResult> UnbindUserOutcome;
typedef std::future<UnbindUserOutcome> UnbindUserOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::UnbindUserRequest&, const UnbindUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindUserAsyncHandler;
typedef Outcome<Error, Model::UnsubscribeDeviceEventResult> UnsubscribeDeviceEventOutcome;
typedef std::future<UnsubscribeDeviceEventOutcome> UnsubscribeDeviceEventOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::UnsubscribeDeviceEventRequest&, const UnsubscribeDeviceEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnsubscribeDeviceEventAsyncHandler;
typedef Outcome<Error, Model::UnsubscribeSpaceEventResult> UnsubscribeSpaceEventOutcome;
typedef std::future<UnsubscribeSpaceEventOutcome> UnsubscribeSpaceEventOutcomeCallable;
typedef std::function<void(const VcsClient*, const Model::UnsubscribeSpaceEventRequest&, const UnsubscribeSpaceEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnsubscribeSpaceEventAsyncHandler;
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;
@@ -620,6 +645,9 @@ namespace AlibabaCloud
ListPersonsOutcome listPersons(const Model::ListPersonsRequest &request)const;
void listPersonsAsync(const Model::ListPersonsRequest& request, const ListPersonsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPersonsOutcomeCallable listPersonsCallable(const Model::ListPersonsRequest& request) const;
ListSubscribeDeviceOutcome listSubscribeDevice(const Model::ListSubscribeDeviceRequest &request)const;
void listSubscribeDeviceAsync(const Model::ListSubscribeDeviceRequest& request, const ListSubscribeDeviceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListSubscribeDeviceOutcomeCallable listSubscribeDeviceCallable(const Model::ListSubscribeDeviceRequest& request) const;
ListUserGroupsOutcome listUserGroups(const Model::ListUserGroupsRequest &request)const;
void listUserGroupsAsync(const Model::ListUserGroupsRequest& request, const ListUserGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListUserGroupsOutcomeCallable listUserGroupsCallable(const Model::ListUserGroupsRequest& request) const;
@@ -653,6 +681,12 @@ namespace AlibabaCloud
StopMonitorOutcome stopMonitor(const Model::StopMonitorRequest &request)const;
void stopMonitorAsync(const Model::StopMonitorRequest& request, const StopMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopMonitorOutcomeCallable stopMonitorCallable(const Model::StopMonitorRequest& request) const;
SubscribeDeviceEventOutcome subscribeDeviceEvent(const Model::SubscribeDeviceEventRequest &request)const;
void subscribeDeviceEventAsync(const Model::SubscribeDeviceEventRequest& request, const SubscribeDeviceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubscribeDeviceEventOutcomeCallable subscribeDeviceEventCallable(const Model::SubscribeDeviceEventRequest& request) const;
SubscribeSpaceEventOutcome subscribeSpaceEvent(const Model::SubscribeSpaceEventRequest &request)const;
void subscribeSpaceEventAsync(const Model::SubscribeSpaceEventRequest& request, const SubscribeSpaceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SubscribeSpaceEventOutcomeCallable subscribeSpaceEventCallable(const Model::SubscribeSpaceEventRequest& request) const;
SyncDeviceTimeOutcome syncDeviceTime(const Model::SyncDeviceTimeRequest &request)const;
void syncDeviceTimeAsync(const Model::SyncDeviceTimeRequest& request, const SyncDeviceTimeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SyncDeviceTimeOutcomeCallable syncDeviceTimeCallable(const Model::SyncDeviceTimeRequest& request) const;
@@ -665,6 +699,12 @@ namespace AlibabaCloud
UnbindUserOutcome unbindUser(const Model::UnbindUserRequest &request)const;
void unbindUserAsync(const Model::UnbindUserRequest& request, const UnbindUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnbindUserOutcomeCallable unbindUserCallable(const Model::UnbindUserRequest& request) const;
UnsubscribeDeviceEventOutcome unsubscribeDeviceEvent(const Model::UnsubscribeDeviceEventRequest &request)const;
void unsubscribeDeviceEventAsync(const Model::UnsubscribeDeviceEventRequest& request, const UnsubscribeDeviceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnsubscribeDeviceEventOutcomeCallable unsubscribeDeviceEventCallable(const Model::UnsubscribeDeviceEventRequest& request) const;
UnsubscribeSpaceEventOutcome unsubscribeSpaceEvent(const Model::UnsubscribeSpaceEventRequest &request)const;
void unsubscribeSpaceEventAsync(const Model::UnsubscribeSpaceEventRequest& request, const UnsubscribeSpaceEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UnsubscribeSpaceEventOutcomeCallable unsubscribeSpaceEventCallable(const Model::UnsubscribeSpaceEventRequest& 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;

View File

@@ -47,6 +47,8 @@ namespace AlibabaCloud
void setSubId(const std::string& subId);
long getPageSize()const;
void setPageSize(long pageSize);
std::string getDataSourceId()const;
void setDataSourceId(const std::string& dataSourceId);
std::string getPersonId()const;
void setPersonId(const std::string& personId);
@@ -57,6 +59,7 @@ namespace AlibabaCloud
long pageNumber_;
std::string subId_;
long pageSize_;
std::string dataSourceId_;
std::string personId_;
};

View File

@@ -36,18 +36,14 @@ namespace AlibabaCloud
{
std::string picUrlPath;
std::string corpId;
long pageSize;
std::string subId;
std::string personId;
std::string rightBottomX;
std::string targetPicUrlPath;
std::string rightBottomY;
std::string shotTime;
std::string leftTopY;
std::string leftTopX;
long totalCount;
std::string subId;
long totalPage;
std::string personId;
long pageNumber;
std::string shotTime;
std::string dataSourceId;
};
@@ -55,14 +51,20 @@ namespace AlibabaCloud
ListPersonTraceDetailsResult();
explicit ListPersonTraceDetailsResult(const std::string &payload);
~ListPersonTraceDetailsResult();
long getTotalCount()const;
std::string getMessage()const;
long getPageSize()const;
long getPageNumber()const;
std::vector<Datas> getData()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
long totalCount_;
std::string message_;
long pageSize_;
long pageNumber_;
std::vector<Datas> data_;
std::string code_;

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_LISTSUBSCRIBEDEVICEREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_LISTSUBSCRIBEDEVICEREQUEST_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 ListSubscribeDeviceRequest : public RpcServiceRequest
{
public:
ListSubscribeDeviceRequest();
~ListSubscribeDeviceRequest();
int getPageSize()const;
void setPageSize(int pageSize);
int getPageNum()const;
void setPageNum(int pageNum);
private:
int pageSize_;
int pageNum_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_LISTSUBSCRIBEDEVICEREQUEST_H_

View File

@@ -0,0 +1,68 @@
/*
* 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_LISTSUBSCRIBEDEVICERESULT_H_
#define ALIBABACLOUD_VCS_MODEL_LISTSUBSCRIBEDEVICERESULT_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 ListSubscribeDeviceResult : public ServiceResult
{
public:
struct Data
{
struct SubscribeListItem
{
std::string pushConfig;
std::string userId;
std::string deviceId;
std::string createTime;
std::string updateTime;
};
int totalCount;
std::vector<SubscribeListItem> subscribeList;
};
ListSubscribeDeviceResult();
explicit ListSubscribeDeviceResult(const std::string &payload);
~ListSubscribeDeviceResult();
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_LISTSUBSCRIBEDEVICERESULT_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_SUBSCRIBEDEVICEEVENTREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_SUBSCRIBEDEVICEEVENTREQUEST_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 SubscribeDeviceEventRequest : public RpcServiceRequest
{
public:
SubscribeDeviceEventRequest();
~SubscribeDeviceEventRequest();
std::string getPushConfig()const;
void setPushConfig(const std::string& pushConfig);
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
private:
std::string pushConfig_;
std::string deviceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_SUBSCRIBEDEVICEEVENTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VCS_MODEL_SUBSCRIBEDEVICEEVENTRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_SUBSCRIBEDEVICEEVENTRESULT_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 SubscribeDeviceEventResult : public ServiceResult
{
public:
SubscribeDeviceEventResult();
explicit SubscribeDeviceEventResult(const std::string &payload);
~SubscribeDeviceEventResult();
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_SUBSCRIBEDEVICEEVENTRESULT_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_SUBSCRIBESPACEEVENTREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_SUBSCRIBESPACEEVENTREQUEST_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 SubscribeSpaceEventRequest : public RpcServiceRequest
{
public:
SubscribeSpaceEventRequest();
~SubscribeSpaceEventRequest();
std::string getSpaceId()const;
void setSpaceId(const std::string& spaceId);
std::string getPushConfig()const;
void setPushConfig(const std::string& pushConfig);
private:
std::string spaceId_;
std::string pushConfig_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_SUBSCRIBESPACEEVENTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VCS_MODEL_SUBSCRIBESPACEEVENTRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_SUBSCRIBESPACEEVENTRESULT_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 SubscribeSpaceEventResult : public ServiceResult
{
public:
SubscribeSpaceEventResult();
explicit SubscribeSpaceEventResult(const std::string &payload);
~SubscribeSpaceEventResult();
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_SUBSCRIBESPACEEVENTRESULT_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_UNSUBSCRIBEDEVICEEVENTREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBEDEVICEEVENTREQUEST_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 UnsubscribeDeviceEventRequest : public RpcServiceRequest
{
public:
UnsubscribeDeviceEventRequest();
~UnsubscribeDeviceEventRequest();
std::string getDeviceId()const;
void setDeviceId(const std::string& deviceId);
private:
std::string deviceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBEDEVICEEVENTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBEDEVICEEVENTRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBEDEVICEEVENTRESULT_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 UnsubscribeDeviceEventResult : public ServiceResult
{
public:
UnsubscribeDeviceEventResult();
explicit UnsubscribeDeviceEventResult(const std::string &payload);
~UnsubscribeDeviceEventResult();
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBEDEVICEEVENTRESULT_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_UNSUBSCRIBESPACEEVENTREQUEST_H_
#define ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBESPACEEVENTREQUEST_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 UnsubscribeSpaceEventRequest : public RpcServiceRequest
{
public:
UnsubscribeSpaceEventRequest();
~UnsubscribeSpaceEventRequest();
std::string getSpaceId()const;
void setSpaceId(const std::string& spaceId);
private:
std::string spaceId_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBESPACEEVENTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBESPACEEVENTRESULT_H_
#define ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBESPACEEVENTRESULT_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 UnsubscribeSpaceEventResult : public ServiceResult
{
public:
UnsubscribeSpaceEventResult();
explicit UnsubscribeSpaceEventResult(const std::string &payload);
~UnsubscribeSpaceEventResult();
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_VCS_MODEL_UNSUBSCRIBESPACEEVENTRESULT_H_