Hidden ResumeBinding and StopBinding API.

This commit is contained in:
sdk-team
2023-07-05 05:50:15 +00:00
parent f699392896
commit 1e276056a2
44 changed files with 69 additions and 1159 deletions

View File

@@ -1 +1 @@
1.36.1633
1.36.1634

View File

@@ -125,8 +125,6 @@ set(imm_public_header_model
include/alibabacloud/imm/model/ExtractDocumentTextResult.h
include/alibabacloud/imm/model/FuzzyQueryRequest.h
include/alibabacloud/imm/model/FuzzyQueryResult.h
include/alibabacloud/imm/model/GenerateDRMLicenseRequest.h
include/alibabacloud/imm/model/GenerateDRMLicenseResult.h
include/alibabacloud/imm/model/GenerateVideoPlaylistRequest.h
include/alibabacloud/imm/model/GenerateVideoPlaylistResult.h
include/alibabacloud/imm/model/GenerateWebofficeTokenRequest.h
@@ -135,8 +133,6 @@ set(imm_public_header_model
include/alibabacloud/imm/model/GetBatchResult.h
include/alibabacloud/imm/model/GetBindingRequest.h
include/alibabacloud/imm/model/GetBindingResult.h
include/alibabacloud/imm/model/GetDRMLicenseRequest.h
include/alibabacloud/imm/model/GetDRMLicenseResult.h
include/alibabacloud/imm/model/GetDatasetRequest.h
include/alibabacloud/imm/model/GetDatasetResult.h
include/alibabacloud/imm/model/GetFigureClusterRequest.h
@@ -191,8 +187,6 @@ set(imm_public_header_model
include/alibabacloud/imm/model/RemoveStoryFilesResult.h
include/alibabacloud/imm/model/ResumeBatchRequest.h
include/alibabacloud/imm/model/ResumeBatchResult.h
include/alibabacloud/imm/model/ResumeBindingRequest.h
include/alibabacloud/imm/model/ResumeBindingResult.h
include/alibabacloud/imm/model/ResumeTriggerRequest.h
include/alibabacloud/imm/model/ResumeTriggerResult.h
include/alibabacloud/imm/model/SearchImageFigureClusterRequest.h
@@ -201,8 +195,6 @@ set(imm_public_header_model
include/alibabacloud/imm/model/SemanticQueryResult.h
include/alibabacloud/imm/model/SimpleQueryRequest.h
include/alibabacloud/imm/model/SimpleQueryResult.h
include/alibabacloud/imm/model/StopBindingRequest.h
include/alibabacloud/imm/model/StopBindingResult.h
include/alibabacloud/imm/model/SuspendBatchRequest.h
include/alibabacloud/imm/model/SuspendBatchResult.h
include/alibabacloud/imm/model/SuspendTriggerRequest.h
@@ -330,8 +322,6 @@ set(imm_src
src/model/ExtractDocumentTextResult.cc
src/model/FuzzyQueryRequest.cc
src/model/FuzzyQueryResult.cc
src/model/GenerateDRMLicenseRequest.cc
src/model/GenerateDRMLicenseResult.cc
src/model/GenerateVideoPlaylistRequest.cc
src/model/GenerateVideoPlaylistResult.cc
src/model/GenerateWebofficeTokenRequest.cc
@@ -340,8 +330,6 @@ set(imm_src
src/model/GetBatchResult.cc
src/model/GetBindingRequest.cc
src/model/GetBindingResult.cc
src/model/GetDRMLicenseRequest.cc
src/model/GetDRMLicenseResult.cc
src/model/GetDatasetRequest.cc
src/model/GetDatasetResult.cc
src/model/GetFigureClusterRequest.cc
@@ -396,8 +384,6 @@ set(imm_src
src/model/RemoveStoryFilesResult.cc
src/model/ResumeBatchRequest.cc
src/model/ResumeBatchResult.cc
src/model/ResumeBindingRequest.cc
src/model/ResumeBindingResult.cc
src/model/ResumeTriggerRequest.cc
src/model/ResumeTriggerResult.cc
src/model/SearchImageFigureClusterRequest.cc
@@ -406,8 +392,6 @@ set(imm_src
src/model/SemanticQueryResult.cc
src/model/SimpleQueryRequest.cc
src/model/SimpleQueryResult.cc
src/model/StopBindingRequest.cc
src/model/StopBindingResult.cc
src/model/SuspendBatchRequest.cc
src/model/SuspendBatchResult.cc
src/model/SuspendTriggerRequest.cc

View File

@@ -126,8 +126,6 @@
#include "model/ExtractDocumentTextResult.h"
#include "model/FuzzyQueryRequest.h"
#include "model/FuzzyQueryResult.h"
#include "model/GenerateDRMLicenseRequest.h"
#include "model/GenerateDRMLicenseResult.h"
#include "model/GenerateVideoPlaylistRequest.h"
#include "model/GenerateVideoPlaylistResult.h"
#include "model/GenerateWebofficeTokenRequest.h"
@@ -136,8 +134,6 @@
#include "model/GetBatchResult.h"
#include "model/GetBindingRequest.h"
#include "model/GetBindingResult.h"
#include "model/GetDRMLicenseRequest.h"
#include "model/GetDRMLicenseResult.h"
#include "model/GetDatasetRequest.h"
#include "model/GetDatasetResult.h"
#include "model/GetFigureClusterRequest.h"
@@ -192,8 +188,6 @@
#include "model/RemoveStoryFilesResult.h"
#include "model/ResumeBatchRequest.h"
#include "model/ResumeBatchResult.h"
#include "model/ResumeBindingRequest.h"
#include "model/ResumeBindingResult.h"
#include "model/ResumeTriggerRequest.h"
#include "model/ResumeTriggerResult.h"
#include "model/SearchImageFigureClusterRequest.h"
@@ -202,8 +196,6 @@
#include "model/SemanticQueryResult.h"
#include "model/SimpleQueryRequest.h"
#include "model/SimpleQueryResult.h"
#include "model/StopBindingRequest.h"
#include "model/StopBindingResult.h"
#include "model/SuspendBatchRequest.h"
#include "model/SuspendBatchResult.h"
#include "model/SuspendTriggerRequest.h"
@@ -389,9 +381,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::FuzzyQueryResult> FuzzyQueryOutcome;
typedef std::future<FuzzyQueryOutcome> FuzzyQueryOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::FuzzyQueryRequest&, const FuzzyQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FuzzyQueryAsyncHandler;
typedef Outcome<Error, Model::GenerateDRMLicenseResult> GenerateDRMLicenseOutcome;
typedef std::future<GenerateDRMLicenseOutcome> GenerateDRMLicenseOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GenerateDRMLicenseRequest&, const GenerateDRMLicenseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateDRMLicenseAsyncHandler;
typedef Outcome<Error, Model::GenerateVideoPlaylistResult> GenerateVideoPlaylistOutcome;
typedef std::future<GenerateVideoPlaylistOutcome> GenerateVideoPlaylistOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GenerateVideoPlaylistRequest&, const GenerateVideoPlaylistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GenerateVideoPlaylistAsyncHandler;
@@ -404,9 +393,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetBindingResult> GetBindingOutcome;
typedef std::future<GetBindingOutcome> GetBindingOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetBindingRequest&, const GetBindingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBindingAsyncHandler;
typedef Outcome<Error, Model::GetDRMLicenseResult> GetDRMLicenseOutcome;
typedef std::future<GetDRMLicenseOutcome> GetDRMLicenseOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetDRMLicenseRequest&, const GetDRMLicenseOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDRMLicenseAsyncHandler;
typedef Outcome<Error, Model::GetDatasetResult> GetDatasetOutcome;
typedef std::future<GetDatasetOutcome> GetDatasetOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::GetDatasetRequest&, const GetDatasetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDatasetAsyncHandler;
@@ -488,9 +474,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ResumeBatchResult> ResumeBatchOutcome;
typedef std::future<ResumeBatchOutcome> ResumeBatchOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ResumeBatchRequest&, const ResumeBatchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeBatchAsyncHandler;
typedef Outcome<Error, Model::ResumeBindingResult> ResumeBindingOutcome;
typedef std::future<ResumeBindingOutcome> ResumeBindingOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ResumeBindingRequest&, const ResumeBindingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeBindingAsyncHandler;
typedef Outcome<Error, Model::ResumeTriggerResult> ResumeTriggerOutcome;
typedef std::future<ResumeTriggerOutcome> ResumeTriggerOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::ResumeTriggerRequest&, const ResumeTriggerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeTriggerAsyncHandler;
@@ -503,9 +486,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SimpleQueryResult> SimpleQueryOutcome;
typedef std::future<SimpleQueryOutcome> SimpleQueryOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::SimpleQueryRequest&, const SimpleQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SimpleQueryAsyncHandler;
typedef Outcome<Error, Model::StopBindingResult> StopBindingOutcome;
typedef std::future<StopBindingOutcome> StopBindingOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::StopBindingRequest&, const StopBindingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopBindingAsyncHandler;
typedef Outcome<Error, Model::SuspendBatchResult> SuspendBatchOutcome;
typedef std::future<SuspendBatchOutcome> SuspendBatchOutcomeCallable;
typedef std::function<void(const ImmClient*, const Model::SuspendBatchRequest&, const SuspendBatchOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendBatchAsyncHandler;
@@ -697,9 +677,6 @@ namespace AlibabaCloud
FuzzyQueryOutcome fuzzyQuery(const Model::FuzzyQueryRequest &request)const;
void fuzzyQueryAsync(const Model::FuzzyQueryRequest& request, const FuzzyQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
FuzzyQueryOutcomeCallable fuzzyQueryCallable(const Model::FuzzyQueryRequest& request) const;
GenerateDRMLicenseOutcome generateDRMLicense(const Model::GenerateDRMLicenseRequest &request)const;
void generateDRMLicenseAsync(const Model::GenerateDRMLicenseRequest& request, const GenerateDRMLicenseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GenerateDRMLicenseOutcomeCallable generateDRMLicenseCallable(const Model::GenerateDRMLicenseRequest& request) const;
GenerateVideoPlaylistOutcome generateVideoPlaylist(const Model::GenerateVideoPlaylistRequest &request)const;
void generateVideoPlaylistAsync(const Model::GenerateVideoPlaylistRequest& request, const GenerateVideoPlaylistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GenerateVideoPlaylistOutcomeCallable generateVideoPlaylistCallable(const Model::GenerateVideoPlaylistRequest& request) const;
@@ -712,9 +689,6 @@ namespace AlibabaCloud
GetBindingOutcome getBinding(const Model::GetBindingRequest &request)const;
void getBindingAsync(const Model::GetBindingRequest& request, const GetBindingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetBindingOutcomeCallable getBindingCallable(const Model::GetBindingRequest& request) const;
GetDRMLicenseOutcome getDRMLicense(const Model::GetDRMLicenseRequest &request)const;
void getDRMLicenseAsync(const Model::GetDRMLicenseRequest& request, const GetDRMLicenseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDRMLicenseOutcomeCallable getDRMLicenseCallable(const Model::GetDRMLicenseRequest& request) const;
GetDatasetOutcome getDataset(const Model::GetDatasetRequest &request)const;
void getDatasetAsync(const Model::GetDatasetRequest& request, const GetDatasetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetDatasetOutcomeCallable getDatasetCallable(const Model::GetDatasetRequest& request) const;
@@ -796,9 +770,6 @@ namespace AlibabaCloud
ResumeBatchOutcome resumeBatch(const Model::ResumeBatchRequest &request)const;
void resumeBatchAsync(const Model::ResumeBatchRequest& request, const ResumeBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResumeBatchOutcomeCallable resumeBatchCallable(const Model::ResumeBatchRequest& request) const;
ResumeBindingOutcome resumeBinding(const Model::ResumeBindingRequest &request)const;
void resumeBindingAsync(const Model::ResumeBindingRequest& request, const ResumeBindingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResumeBindingOutcomeCallable resumeBindingCallable(const Model::ResumeBindingRequest& request) const;
ResumeTriggerOutcome resumeTrigger(const Model::ResumeTriggerRequest &request)const;
void resumeTriggerAsync(const Model::ResumeTriggerRequest& request, const ResumeTriggerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ResumeTriggerOutcomeCallable resumeTriggerCallable(const Model::ResumeTriggerRequest& request) const;
@@ -811,9 +782,6 @@ namespace AlibabaCloud
SimpleQueryOutcome simpleQuery(const Model::SimpleQueryRequest &request)const;
void simpleQueryAsync(const Model::SimpleQueryRequest& request, const SimpleQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SimpleQueryOutcomeCallable simpleQueryCallable(const Model::SimpleQueryRequest& request) const;
StopBindingOutcome stopBinding(const Model::StopBindingRequest &request)const;
void stopBindingAsync(const Model::StopBindingRequest& request, const StopBindingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StopBindingOutcomeCallable stopBindingCallable(const Model::StopBindingRequest& request) const;
SuspendBatchOutcome suspendBatch(const Model::SuspendBatchRequest &request)const;
void suspendBatchAsync(const Model::SuspendBatchRequest& request, const SuspendBatchAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SuspendBatchOutcomeCallable suspendBatchCallable(const Model::SuspendBatchRequest& request) const;

View File

@@ -250,7 +250,6 @@ namespace AlibabaCloud
long videoHeight;
long imageWidth;
std::vector<SubtitlesItem> subtitles;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -270,7 +269,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -300,6 +298,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;

View File

@@ -248,7 +248,6 @@ namespace AlibabaCloud
long videoHeight;
long imageWidth;
std::vector<FilesItem::SubtitlesItem> subtitles;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -268,7 +267,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -298,6 +296,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;

View File

@@ -30,6 +30,17 @@ class ALIBABACLOUD_IMM_EXPORT CreateBatchRequest : public RpcServiceRequest {
public:
struct Notification {
std::string endpoint;
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
std::string topic;
};
struct Input {

View File

@@ -30,6 +30,17 @@ class ALIBABACLOUD_IMM_EXPORT CreateTriggerRequest : public RpcServiceRequest {
public:
struct Notification {
std::string endpoint;
struct MNS {
std::string endpoint;
std::string topicName;
};
MNS mNS;
struct RocketMQ {
std::string endpoint;
std::string instanceId;
std::string topicName;
};
RocketMQ rocketMQ;
std::string topic;
};
struct Input {

View File

@@ -248,7 +248,6 @@ namespace AlibabaCloud
long videoHeight;
long imageWidth;
std::vector<FilesItem::SubtitlesItem> subtitles;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -268,7 +267,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -298,6 +296,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;

View File

@@ -1,54 +0,0 @@
/*
* 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_IMM_MODEL_GENERATEDRMLICENSEREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_GENERATEDRMLICENSEREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT GenerateDRMLicenseRequest : public RpcServiceRequest {
public:
GenerateDRMLicenseRequest();
~GenerateDRMLicenseRequest();
std::string getProtectionSystem() const;
void setProtectionSystem(const std::string &protectionSystem);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getKeyId() const;
void setKeyId(const std::string &keyId);
private:
std::string protectionSystem_;
std::string notifyEndpoint_;
std::string projectName_;
std::string notifyTopicName_;
std::string keyId_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_GENERATEDRMLICENSEREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_IMM_MODEL_GENERATEDRMLICENSERESULT_H_
#define ALIBABACLOUD_IMM_MODEL_GENERATEDRMLICENSERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GenerateDRMLicenseResult : public ServiceResult
{
public:
GenerateDRMLicenseResult();
explicit GenerateDRMLicenseResult(const std::string &payload);
~GenerateDRMLicenseResult();
long getStates()const;
std::string getLicense()const;
std::string getDeviceInfo()const;
protected:
void parse(const std::string &payload);
private:
long states_;
std::string license_;
std::string deviceInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GENERATEDRMLICENSERESULT_H_

View File

@@ -1,54 +0,0 @@
/*
* 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_IMM_MODEL_GETDRMLICENSEREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_GETDRMLICENSEREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT GetDRMLicenseRequest : public RpcServiceRequest {
public:
GetDRMLicenseRequest();
~GetDRMLicenseRequest();
std::string getProtectionSystem() const;
void setProtectionSystem(const std::string &protectionSystem);
std::string getNotifyEndpoint() const;
void setNotifyEndpoint(const std::string &notifyEndpoint);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getNotifyTopicName() const;
void setNotifyTopicName(const std::string &notifyTopicName);
std::string getKeyId() const;
void setKeyId(const std::string &keyId);
private:
std::string protectionSystem_;
std::string notifyEndpoint_;
std::string projectName_;
std::string notifyTopicName_;
std::string keyId_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_GETDRMLICENSEREQUEST_H_

View File

@@ -1,55 +0,0 @@
/*
* 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_IMM_MODEL_GETDRMLICENSERESULT_H_
#define ALIBABACLOUD_IMM_MODEL_GETDRMLICENSERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT GetDRMLicenseResult : public ServiceResult
{
public:
GetDRMLicenseResult();
explicit GetDRMLicenseResult(const std::string &payload);
~GetDRMLicenseResult();
long getStates()const;
std::string getLicense()const;
std::string getDeviceInfo()const;
protected:
void parse(const std::string &payload);
private:
long states_;
std::string license_;
std::string deviceInfo_;
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_GETDRMLICENSERESULT_H_

View File

@@ -250,7 +250,6 @@ namespace AlibabaCloud
long videoHeight;
long imageWidth;
std::vector<SubtitlesItem> subtitles;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -270,7 +269,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -300,6 +298,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;

View File

@@ -248,7 +248,6 @@ namespace AlibabaCloud
long videoHeight;
long imageWidth;
std::vector<FilesItem::SubtitlesItem> subtitles;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -268,7 +267,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -298,6 +296,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;

View File

@@ -251,7 +251,6 @@ namespace AlibabaCloud
std::string customLabels;
long videoHeight;
long imageWidth;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -269,7 +268,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -299,6 +297,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;
@@ -529,7 +528,6 @@ namespace AlibabaCloud
long videoHeight;
long imageWidth;
std::vector<FilesItem::SubtitlesItem> subtitles;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -550,7 +548,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -580,6 +577,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;

View File

@@ -250,7 +250,6 @@ namespace AlibabaCloud
long videoHeight;
long imageWidth;
std::vector<SubtitlesItem> subtitles;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -270,7 +269,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -300,6 +298,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;

View File

@@ -251,7 +251,6 @@ namespace AlibabaCloud
std::string customLabels;
long videoHeight;
long imageWidth;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -269,7 +268,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -299,6 +297,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;
@@ -529,7 +528,6 @@ namespace AlibabaCloud
long videoHeight;
long imageWidth;
std::vector<FilesItem::SubtitlesItem> subtitles;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -550,7 +548,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -580,6 +577,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;

View File

@@ -1,48 +0,0 @@
/*
* 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_IMM_MODEL_RESUMEBINDINGREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_RESUMEBINDINGREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT ResumeBindingRequest : public RpcServiceRequest {
public:
ResumeBindingRequest();
~ResumeBindingRequest();
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getURI() const;
void setURI(const std::string &uRI);
private:
std::string datasetName_;
std::string projectName_;
std::string uRI_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_RESUMEBINDINGREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* 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_IMM_MODEL_RESUMEBINDINGRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_RESUMEBINDINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT ResumeBindingResult : public ServiceResult
{
public:
ResumeBindingResult();
explicit ResumeBindingResult(const std::string &payload);
~ResumeBindingResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_RESUMEBINDINGRESULT_H_

View File

@@ -248,7 +248,6 @@ namespace AlibabaCloud
long videoHeight;
long imageWidth;
std::vector<FilesItem::SubtitlesItem> subtitles;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -268,7 +267,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -298,6 +296,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;

View File

@@ -248,7 +248,6 @@ namespace AlibabaCloud
long videoHeight;
long imageWidth;
std::vector<FilesItem::SubtitlesItem> subtitles;
std::string documentLanguage;
std::string oSSStorageClass;
std::string mediaType;
std::string oSSDeleteMarker;
@@ -268,7 +267,6 @@ namespace AlibabaCloud
long figureCount;
std::string eTag;
std::string datasetName;
std::string documentContent;
std::string fileHash;
std::string cacheControl;
std::string oSSVersionId;
@@ -298,6 +296,7 @@ namespace AlibabaCloud
std::string serverSideEncryptionCustomerAlgorithm;
long bitrate;
std::string albumArtist;
std::string documentText;
std::string contentMd5;
std::string contentDisposition;
std::string customId;

View File

@@ -1,51 +0,0 @@
/*
* 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_IMM_MODEL_STOPBINDINGREQUEST_H_
#define ALIBABACLOUD_IMM_MODEL_STOPBINDINGREQUEST_H_
#include <alibabacloud/imm/ImmExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Imm {
namespace Model {
class ALIBABACLOUD_IMM_EXPORT StopBindingRequest : public RpcServiceRequest {
public:
StopBindingRequest();
~StopBindingRequest();
std::string getReason() const;
void setReason(const std::string &reason);
std::string getDatasetName() const;
void setDatasetName(const std::string &datasetName);
std::string getProjectName() const;
void setProjectName(const std::string &projectName);
std::string getURI() const;
void setURI(const std::string &uRI);
private:
std::string reason_;
std::string datasetName_;
std::string projectName_;
std::string uRI_;
};
} // namespace Model
} // namespace Imm
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_IMM_MODEL_STOPBINDINGREQUEST_H_

View File

@@ -1,49 +0,0 @@
/*
* 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_IMM_MODEL_STOPBINDINGRESULT_H_
#define ALIBABACLOUD_IMM_MODEL_STOPBINDINGRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/imm/ImmExport.h>
namespace AlibabaCloud
{
namespace Imm
{
namespace Model
{
class ALIBABACLOUD_IMM_EXPORT StopBindingResult : public ServiceResult
{
public:
StopBindingResult();
explicit StopBindingResult(const std::string &payload);
~StopBindingResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_IMM_MODEL_STOPBINDINGRESULT_H_

View File

@@ -1923,42 +1923,6 @@ ImmClient::FuzzyQueryOutcomeCallable ImmClient::fuzzyQueryCallable(const FuzzyQu
return task->get_future();
}
ImmClient::GenerateDRMLicenseOutcome ImmClient::generateDRMLicense(const GenerateDRMLicenseRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GenerateDRMLicenseOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GenerateDRMLicenseOutcome(GenerateDRMLicenseResult(outcome.result()));
else
return GenerateDRMLicenseOutcome(outcome.error());
}
void ImmClient::generateDRMLicenseAsync(const GenerateDRMLicenseRequest& request, const GenerateDRMLicenseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, generateDRMLicense(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::GenerateDRMLicenseOutcomeCallable ImmClient::generateDRMLicenseCallable(const GenerateDRMLicenseRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GenerateDRMLicenseOutcome()>>(
[this, request]()
{
return this->generateDRMLicense(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::GenerateVideoPlaylistOutcome ImmClient::generateVideoPlaylist(const GenerateVideoPlaylistRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -2103,42 +2067,6 @@ ImmClient::GetBindingOutcomeCallable ImmClient::getBindingCallable(const GetBind
return task->get_future();
}
ImmClient::GetDRMLicenseOutcome ImmClient::getDRMLicense(const GetDRMLicenseRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetDRMLicenseOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetDRMLicenseOutcome(GetDRMLicenseResult(outcome.result()));
else
return GetDRMLicenseOutcome(outcome.error());
}
void ImmClient::getDRMLicenseAsync(const GetDRMLicenseRequest& request, const GetDRMLicenseAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getDRMLicense(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::GetDRMLicenseOutcomeCallable ImmClient::getDRMLicenseCallable(const GetDRMLicenseRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetDRMLicenseOutcome()>>(
[this, request]()
{
return this->getDRMLicense(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::GetDatasetOutcome ImmClient::getDataset(const GetDatasetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3111,42 +3039,6 @@ ImmClient::ResumeBatchOutcomeCallable ImmClient::resumeBatchCallable(const Resum
return task->get_future();
}
ImmClient::ResumeBindingOutcome ImmClient::resumeBinding(const ResumeBindingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ResumeBindingOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ResumeBindingOutcome(ResumeBindingResult(outcome.result()));
else
return ResumeBindingOutcome(outcome.error());
}
void ImmClient::resumeBindingAsync(const ResumeBindingRequest& request, const ResumeBindingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, resumeBinding(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::ResumeBindingOutcomeCallable ImmClient::resumeBindingCallable(const ResumeBindingRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ResumeBindingOutcome()>>(
[this, request]()
{
return this->resumeBinding(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::ResumeTriggerOutcome ImmClient::resumeTrigger(const ResumeTriggerRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3291,42 +3183,6 @@ ImmClient::SimpleQueryOutcomeCallable ImmClient::simpleQueryCallable(const Simpl
return task->get_future();
}
ImmClient::StopBindingOutcome ImmClient::stopBinding(const StopBindingRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return StopBindingOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return StopBindingOutcome(StopBindingResult(outcome.result()));
else
return StopBindingOutcome(outcome.error());
}
void ImmClient::stopBindingAsync(const StopBindingRequest& request, const StopBindingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, stopBinding(request), context);
};
asyncExecute(new Runnable(fn));
}
ImmClient::StopBindingOutcomeCallable ImmClient::stopBindingCallable(const StopBindingRequest &request) const
{
auto task = std::make_shared<std::packaged_task<StopBindingOutcome()>>(
[this, request]()
{
return this->stopBinding(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ImmClient::SuspendBatchOutcome ImmClient::suspendBatch(const SuspendBatchRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -150,12 +150,10 @@ void BatchGetFigureClusterResult::parse(const std::string &payload)
figureClustersObject.cover.language = coverNode["Language"].asString();
if(!coverNode["Album"].isNull())
figureClustersObject.cover.album = coverNode["Album"].asString();
if(!coverNode["DocumentLanguage"].isNull())
figureClustersObject.cover.documentLanguage = coverNode["DocumentLanguage"].asString();
if(!coverNode["PageCount"].isNull())
figureClustersObject.cover.pageCount = std::stol(coverNode["PageCount"].asString());
if(!coverNode["DocumentContent"].isNull())
figureClustersObject.cover.documentContent = coverNode["DocumentContent"].asString();
if(!coverNode["DocumentText"].isNull())
figureClustersObject.cover.documentText = coverNode["DocumentText"].asString();
if(!coverNode["ETag"].isNull())
figureClustersObject.cover.eTag = coverNode["ETag"].asString();
if(!coverNode["CacheControl"].isNull())

View File

@@ -113,12 +113,10 @@ void BatchGetFileMetaResult::parse(const std::string &payload)
filesObject.language = valueFilesFilesItem["Language"].asString();
if(!valueFilesFilesItem["Album"].isNull())
filesObject.album = valueFilesFilesItem["Album"].asString();
if(!valueFilesFilesItem["DocumentLanguage"].isNull())
filesObject.documentLanguage = valueFilesFilesItem["DocumentLanguage"].asString();
if(!valueFilesFilesItem["PageCount"].isNull())
filesObject.pageCount = std::stol(valueFilesFilesItem["PageCount"].asString());
if(!valueFilesFilesItem["DocumentContent"].isNull())
filesObject.documentContent = valueFilesFilesItem["DocumentContent"].asString();
if(!valueFilesFilesItem["DocumentText"].isNull())
filesObject.documentText = valueFilesFilesItem["DocumentText"].asString();
if(!valueFilesFilesItem["ETag"].isNull())
filesObject.eTag = valueFilesFilesItem["ETag"].asString();
if(!valueFilesFilesItem["CacheControl"].isNull())

View File

@@ -32,6 +32,11 @@ CreateBatchRequest::Notification CreateBatchRequest::getNotification() const {
void CreateBatchRequest::setNotification(const CreateBatchRequest::Notification &notification) {
notification_ = notification;
setBodyParameter(std::string("Notification") + ".Endpoint", notification.endpoint);
setBodyParameter(std::string("Notification") + ".MNS.Endpoint", notification.mNS.endpoint);
setBodyParameter(std::string("Notification") + ".MNS.TopicName", notification.mNS.topicName);
setBodyParameter(std::string("Notification") + ".RocketMQ.Endpoint", notification.rocketMQ.endpoint);
setBodyParameter(std::string("Notification") + ".RocketMQ.InstanceId", notification.rocketMQ.instanceId);
setBodyParameter(std::string("Notification") + ".RocketMQ.TopicName", notification.rocketMQ.topicName);
setBodyParameter(std::string("Notification") + ".Topic", notification.topic);
}

View File

@@ -32,6 +32,11 @@ CreateTriggerRequest::Notification CreateTriggerRequest::getNotification() const
void CreateTriggerRequest::setNotification(const CreateTriggerRequest::Notification &notification) {
notification_ = notification;
setBodyParameter(std::string("Notification") + ".Endpoint", notification.endpoint);
setBodyParameter(std::string("Notification") + ".MNS.Endpoint", notification.mNS.endpoint);
setBodyParameter(std::string("Notification") + ".MNS.TopicName", notification.mNS.topicName);
setBodyParameter(std::string("Notification") + ".RocketMQ.Endpoint", notification.rocketMQ.endpoint);
setBodyParameter(std::string("Notification") + ".RocketMQ.InstanceId", notification.rocketMQ.instanceId);
setBodyParameter(std::string("Notification") + ".RocketMQ.TopicName", notification.rocketMQ.topicName);
setBodyParameter(std::string("Notification") + ".Topic", notification.topic);
}

View File

@@ -113,12 +113,10 @@ void FuzzyQueryResult::parse(const std::string &payload)
filesObject.language = valueFilesFilesItem["Language"].asString();
if(!valueFilesFilesItem["Album"].isNull())
filesObject.album = valueFilesFilesItem["Album"].asString();
if(!valueFilesFilesItem["DocumentLanguage"].isNull())
filesObject.documentLanguage = valueFilesFilesItem["DocumentLanguage"].asString();
if(!valueFilesFilesItem["PageCount"].isNull())
filesObject.pageCount = std::stol(valueFilesFilesItem["PageCount"].asString());
if(!valueFilesFilesItem["DocumentContent"].isNull())
filesObject.documentContent = valueFilesFilesItem["DocumentContent"].asString();
if(!valueFilesFilesItem["DocumentText"].isNull())
filesObject.documentText = valueFilesFilesItem["DocumentText"].asString();
if(!valueFilesFilesItem["ETag"].isNull())
filesObject.eTag = valueFilesFilesItem["ETag"].asString();
if(!valueFilesFilesItem["CacheControl"].isNull())

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/imm/model/GenerateDRMLicenseRequest.h>
using AlibabaCloud::Imm::Model::GenerateDRMLicenseRequest;
GenerateDRMLicenseRequest::GenerateDRMLicenseRequest()
: RpcServiceRequest("imm", "2020-09-30", "GenerateDRMLicense") {
setMethod(HttpRequest::Method::Post);
}
GenerateDRMLicenseRequest::~GenerateDRMLicenseRequest() {}
std::string GenerateDRMLicenseRequest::getProtectionSystem() const {
return protectionSystem_;
}
void GenerateDRMLicenseRequest::setProtectionSystem(const std::string &protectionSystem) {
protectionSystem_ = protectionSystem;
setParameter(std::string("ProtectionSystem"), protectionSystem);
}
std::string GenerateDRMLicenseRequest::getNotifyEndpoint() const {
return notifyEndpoint_;
}
void GenerateDRMLicenseRequest::setNotifyEndpoint(const std::string &notifyEndpoint) {
notifyEndpoint_ = notifyEndpoint;
setParameter(std::string("NotifyEndpoint"), notifyEndpoint);
}
std::string GenerateDRMLicenseRequest::getProjectName() const {
return projectName_;
}
void GenerateDRMLicenseRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setParameter(std::string("ProjectName"), projectName);
}
std::string GenerateDRMLicenseRequest::getNotifyTopicName() const {
return notifyTopicName_;
}
void GenerateDRMLicenseRequest::setNotifyTopicName(const std::string &notifyTopicName) {
notifyTopicName_ = notifyTopicName;
setParameter(std::string("NotifyTopicName"), notifyTopicName);
}
std::string GenerateDRMLicenseRequest::getKeyId() const {
return keyId_;
}
void GenerateDRMLicenseRequest::setKeyId(const std::string &keyId) {
keyId_ = keyId;
setParameter(std::string("KeyId"), keyId);
}

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/imm/model/GenerateDRMLicenseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
GenerateDRMLicenseResult::GenerateDRMLicenseResult() :
ServiceResult()
{}
GenerateDRMLicenseResult::GenerateDRMLicenseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GenerateDRMLicenseResult::~GenerateDRMLicenseResult()
{}
void GenerateDRMLicenseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["License"].isNull())
license_ = value["License"].asString();
if(!value["States"].isNull())
states_ = std::stol(value["States"].asString());
if(!value["DeviceInfo"].isNull())
deviceInfo_ = value["DeviceInfo"].asString();
}
long GenerateDRMLicenseResult::getStates()const
{
return states_;
}
std::string GenerateDRMLicenseResult::getLicense()const
{
return license_;
}
std::string GenerateDRMLicenseResult::getDeviceInfo()const
{
return deviceInfo_;
}

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/imm/model/GetDRMLicenseRequest.h>
using AlibabaCloud::Imm::Model::GetDRMLicenseRequest;
GetDRMLicenseRequest::GetDRMLicenseRequest()
: RpcServiceRequest("imm", "2020-09-30", "GetDRMLicense") {
setMethod(HttpRequest::Method::Post);
}
GetDRMLicenseRequest::~GetDRMLicenseRequest() {}
std::string GetDRMLicenseRequest::getProtectionSystem() const {
return protectionSystem_;
}
void GetDRMLicenseRequest::setProtectionSystem(const std::string &protectionSystem) {
protectionSystem_ = protectionSystem;
setParameter(std::string("ProtectionSystem"), protectionSystem);
}
std::string GetDRMLicenseRequest::getNotifyEndpoint() const {
return notifyEndpoint_;
}
void GetDRMLicenseRequest::setNotifyEndpoint(const std::string &notifyEndpoint) {
notifyEndpoint_ = notifyEndpoint;
setParameter(std::string("NotifyEndpoint"), notifyEndpoint);
}
std::string GetDRMLicenseRequest::getProjectName() const {
return projectName_;
}
void GetDRMLicenseRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setParameter(std::string("ProjectName"), projectName);
}
std::string GetDRMLicenseRequest::getNotifyTopicName() const {
return notifyTopicName_;
}
void GetDRMLicenseRequest::setNotifyTopicName(const std::string &notifyTopicName) {
notifyTopicName_ = notifyTopicName;
setParameter(std::string("NotifyTopicName"), notifyTopicName);
}
std::string GetDRMLicenseRequest::getKeyId() const {
return keyId_;
}
void GetDRMLicenseRequest::setKeyId(const std::string &keyId) {
keyId_ = keyId;
setParameter(std::string("KeyId"), keyId);
}

View File

@@ -1,65 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/imm/model/GetDRMLicenseResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
GetDRMLicenseResult::GetDRMLicenseResult() :
ServiceResult()
{}
GetDRMLicenseResult::GetDRMLicenseResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetDRMLicenseResult::~GetDRMLicenseResult()
{}
void GetDRMLicenseResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["License"].isNull())
license_ = value["License"].asString();
if(!value["States"].isNull())
states_ = std::stol(value["States"].asString());
if(!value["DeviceInfo"].isNull())
deviceInfo_ = value["DeviceInfo"].asString();
}
long GetDRMLicenseResult::getStates()const
{
return states_;
}
std::string GetDRMLicenseResult::getLicense()const
{
return license_;
}
std::string GetDRMLicenseResult::getDeviceInfo()const
{
return deviceInfo_;
}

View File

@@ -147,12 +147,10 @@ void GetFigureClusterResult::parse(const std::string &payload)
figureCluster_.cover.language = coverNode["Language"].asString();
if(!coverNode["Album"].isNull())
figureCluster_.cover.album = coverNode["Album"].asString();
if(!coverNode["DocumentLanguage"].isNull())
figureCluster_.cover.documentLanguage = coverNode["DocumentLanguage"].asString();
if(!coverNode["PageCount"].isNull())
figureCluster_.cover.pageCount = std::stol(coverNode["PageCount"].asString());
if(!coverNode["DocumentContent"].isNull())
figureCluster_.cover.documentContent = coverNode["DocumentContent"].asString();
if(!coverNode["DocumentText"].isNull())
figureCluster_.cover.documentText = coverNode["DocumentText"].asString();
if(!coverNode["ETag"].isNull())
figureCluster_.cover.eTag = coverNode["ETag"].asString();
if(!coverNode["CacheControl"].isNull())

View File

@@ -113,12 +113,10 @@ void GetFileMetaResult::parse(const std::string &payload)
filesObject.language = valueFilesFilesItem["Language"].asString();
if(!valueFilesFilesItem["Album"].isNull())
filesObject.album = valueFilesFilesItem["Album"].asString();
if(!valueFilesFilesItem["DocumentLanguage"].isNull())
filesObject.documentLanguage = valueFilesFilesItem["DocumentLanguage"].asString();
if(!valueFilesFilesItem["PageCount"].isNull())
filesObject.pageCount = std::stol(valueFilesFilesItem["PageCount"].asString());
if(!valueFilesFilesItem["DocumentContent"].isNull())
filesObject.documentContent = valueFilesFilesItem["DocumentContent"].asString();
if(!valueFilesFilesItem["DocumentText"].isNull())
filesObject.documentText = valueFilesFilesItem["DocumentText"].asString();
if(!valueFilesFilesItem["ETag"].isNull())
filesObject.eTag = valueFilesFilesItem["ETag"].asString();
if(!valueFilesFilesItem["CacheControl"].isNull())

View File

@@ -142,12 +142,10 @@ void GetStoryResult::parse(const std::string &payload)
filesItemObject.language = storyNodeFilesFilesItem["Language"].asString();
if(!storyNodeFilesFilesItem["Album"].isNull())
filesItemObject.album = storyNodeFilesFilesItem["Album"].asString();
if(!storyNodeFilesFilesItem["DocumentLanguage"].isNull())
filesItemObject.documentLanguage = storyNodeFilesFilesItem["DocumentLanguage"].asString();
if(!storyNodeFilesFilesItem["PageCount"].isNull())
filesItemObject.pageCount = std::stol(storyNodeFilesFilesItem["PageCount"].asString());
if(!storyNodeFilesFilesItem["DocumentContent"].isNull())
filesItemObject.documentContent = storyNodeFilesFilesItem["DocumentContent"].asString();
if(!storyNodeFilesFilesItem["DocumentText"].isNull())
filesItemObject.documentText = storyNodeFilesFilesItem["DocumentText"].asString();
if(!storyNodeFilesFilesItem["ETag"].isNull())
filesItemObject.eTag = storyNodeFilesFilesItem["ETag"].asString();
if(!storyNodeFilesFilesItem["CacheControl"].isNull())
@@ -641,12 +639,10 @@ void GetStoryResult::parse(const std::string &payload)
story_.cover.language = coverNode["Language"].asString();
if(!coverNode["Album"].isNull())
story_.cover.album = coverNode["Album"].asString();
if(!coverNode["DocumentLanguage"].isNull())
story_.cover.documentLanguage = coverNode["DocumentLanguage"].asString();
if(!coverNode["PageCount"].isNull())
story_.cover.pageCount = std::stol(coverNode["PageCount"].asString());
if(!coverNode["DocumentContent"].isNull())
story_.cover.documentContent = coverNode["DocumentContent"].asString();
if(!coverNode["DocumentText"].isNull())
story_.cover.documentText = coverNode["DocumentText"].asString();
if(!coverNode["ETag"].isNull())
story_.cover.eTag = coverNode["ETag"].asString();
if(!coverNode["CacheControl"].isNull())

View File

@@ -150,12 +150,10 @@ void QueryFigureClustersResult::parse(const std::string &payload)
figureClustersObject.cover.language = coverNode["Language"].asString();
if(!coverNode["Album"].isNull())
figureClustersObject.cover.album = coverNode["Album"].asString();
if(!coverNode["DocumentLanguage"].isNull())
figureClustersObject.cover.documentLanguage = coverNode["DocumentLanguage"].asString();
if(!coverNode["PageCount"].isNull())
figureClustersObject.cover.pageCount = std::stol(coverNode["PageCount"].asString());
if(!coverNode["DocumentContent"].isNull())
figureClustersObject.cover.documentContent = coverNode["DocumentContent"].asString();
if(!coverNode["DocumentText"].isNull())
figureClustersObject.cover.documentText = coverNode["DocumentText"].asString();
if(!coverNode["ETag"].isNull())
figureClustersObject.cover.eTag = coverNode["ETag"].asString();
if(!coverNode["CacheControl"].isNull())

View File

@@ -145,12 +145,10 @@ void QueryStoriesResult::parse(const std::string &payload)
filesObject.language = valueStoriesStoriesItemFilesFilesItem["Language"].asString();
if(!valueStoriesStoriesItemFilesFilesItem["Album"].isNull())
filesObject.album = valueStoriesStoriesItemFilesFilesItem["Album"].asString();
if(!valueStoriesStoriesItemFilesFilesItem["DocumentLanguage"].isNull())
filesObject.documentLanguage = valueStoriesStoriesItemFilesFilesItem["DocumentLanguage"].asString();
if(!valueStoriesStoriesItemFilesFilesItem["PageCount"].isNull())
filesObject.pageCount = std::stol(valueStoriesStoriesItemFilesFilesItem["PageCount"].asString());
if(!valueStoriesStoriesItemFilesFilesItem["DocumentContent"].isNull())
filesObject.documentContent = valueStoriesStoriesItemFilesFilesItem["DocumentContent"].asString();
if(!valueStoriesStoriesItemFilesFilesItem["DocumentText"].isNull())
filesObject.documentText = valueStoriesStoriesItemFilesFilesItem["DocumentText"].asString();
if(!valueStoriesStoriesItemFilesFilesItem["ETag"].isNull())
filesObject.eTag = valueStoriesStoriesItemFilesFilesItem["ETag"].asString();
if(!valueStoriesStoriesItemFilesFilesItem["CacheControl"].isNull())
@@ -644,12 +642,10 @@ void QueryStoriesResult::parse(const std::string &payload)
storiesObject.cover.language = coverNode["Language"].asString();
if(!coverNode["Album"].isNull())
storiesObject.cover.album = coverNode["Album"].asString();
if(!coverNode["DocumentLanguage"].isNull())
storiesObject.cover.documentLanguage = coverNode["DocumentLanguage"].asString();
if(!coverNode["PageCount"].isNull())
storiesObject.cover.pageCount = std::stol(coverNode["PageCount"].asString());
if(!coverNode["DocumentContent"].isNull())
storiesObject.cover.documentContent = coverNode["DocumentContent"].asString();
if(!coverNode["DocumentText"].isNull())
storiesObject.cover.documentText = coverNode["DocumentText"].asString();
if(!coverNode["ETag"].isNull())
storiesObject.cover.eTag = coverNode["ETag"].asString();
if(!coverNode["CacheControl"].isNull())

View File

@@ -1,54 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/imm/model/ResumeBindingRequest.h>
using AlibabaCloud::Imm::Model::ResumeBindingRequest;
ResumeBindingRequest::ResumeBindingRequest()
: RpcServiceRequest("imm", "2020-09-30", "ResumeBinding") {
setMethod(HttpRequest::Method::Post);
}
ResumeBindingRequest::~ResumeBindingRequest() {}
std::string ResumeBindingRequest::getDatasetName() const {
return datasetName_;
}
void ResumeBindingRequest::setDatasetName(const std::string &datasetName) {
datasetName_ = datasetName;
setParameter(std::string("DatasetName"), datasetName);
}
std::string ResumeBindingRequest::getProjectName() const {
return projectName_;
}
void ResumeBindingRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setParameter(std::string("ProjectName"), projectName);
}
std::string ResumeBindingRequest::getURI() const {
return uRI_;
}
void ResumeBindingRequest::setURI(const std::string &uRI) {
uRI_ = uRI;
setParameter(std::string("URI"), uRI);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/imm/model/ResumeBindingResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
ResumeBindingResult::ResumeBindingResult() :
ServiceResult()
{}
ResumeBindingResult::ResumeBindingResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ResumeBindingResult::~ResumeBindingResult()
{}
void ResumeBindingResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}

View File

@@ -113,12 +113,10 @@ void SemanticQueryResult::parse(const std::string &payload)
filesObject.language = valueFilesFilesItem["Language"].asString();
if(!valueFilesFilesItem["Album"].isNull())
filesObject.album = valueFilesFilesItem["Album"].asString();
if(!valueFilesFilesItem["DocumentLanguage"].isNull())
filesObject.documentLanguage = valueFilesFilesItem["DocumentLanguage"].asString();
if(!valueFilesFilesItem["PageCount"].isNull())
filesObject.pageCount = std::stol(valueFilesFilesItem["PageCount"].asString());
if(!valueFilesFilesItem["DocumentContent"].isNull())
filesObject.documentContent = valueFilesFilesItem["DocumentContent"].asString();
if(!valueFilesFilesItem["DocumentText"].isNull())
filesObject.documentText = valueFilesFilesItem["DocumentText"].asString();
if(!valueFilesFilesItem["ETag"].isNull())
filesObject.eTag = valueFilesFilesItem["ETag"].asString();
if(!valueFilesFilesItem["CacheControl"].isNull())

View File

@@ -113,12 +113,10 @@ void SimpleQueryResult::parse(const std::string &payload)
filesObject.language = valueFilesFilesItem["Language"].asString();
if(!valueFilesFilesItem["Album"].isNull())
filesObject.album = valueFilesFilesItem["Album"].asString();
if(!valueFilesFilesItem["DocumentLanguage"].isNull())
filesObject.documentLanguage = valueFilesFilesItem["DocumentLanguage"].asString();
if(!valueFilesFilesItem["PageCount"].isNull())
filesObject.pageCount = std::stol(valueFilesFilesItem["PageCount"].asString());
if(!valueFilesFilesItem["DocumentContent"].isNull())
filesObject.documentContent = valueFilesFilesItem["DocumentContent"].asString();
if(!valueFilesFilesItem["DocumentText"].isNull())
filesObject.documentText = valueFilesFilesItem["DocumentText"].asString();
if(!valueFilesFilesItem["ETag"].isNull())
filesObject.eTag = valueFilesFilesItem["ETag"].asString();
if(!valueFilesFilesItem["CacheControl"].isNull())

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/imm/model/StopBindingRequest.h>
using AlibabaCloud::Imm::Model::StopBindingRequest;
StopBindingRequest::StopBindingRequest()
: RpcServiceRequest("imm", "2020-09-30", "StopBinding") {
setMethod(HttpRequest::Method::Post);
}
StopBindingRequest::~StopBindingRequest() {}
std::string StopBindingRequest::getReason() const {
return reason_;
}
void StopBindingRequest::setReason(const std::string &reason) {
reason_ = reason;
setParameter(std::string("Reason"), reason);
}
std::string StopBindingRequest::getDatasetName() const {
return datasetName_;
}
void StopBindingRequest::setDatasetName(const std::string &datasetName) {
datasetName_ = datasetName;
setParameter(std::string("DatasetName"), datasetName);
}
std::string StopBindingRequest::getProjectName() const {
return projectName_;
}
void StopBindingRequest::setProjectName(const std::string &projectName) {
projectName_ = projectName;
setParameter(std::string("ProjectName"), projectName);
}
std::string StopBindingRequest::getURI() const {
return uRI_;
}
void StopBindingRequest::setURI(const std::string &uRI) {
uRI_ = uRI;
setParameter(std::string("URI"), uRI);
}

View File

@@ -1,44 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/imm/model/StopBindingResult.h>
#include <json/json.h>
using namespace AlibabaCloud::Imm;
using namespace AlibabaCloud::Imm::Model;
StopBindingResult::StopBindingResult() :
ServiceResult()
{}
StopBindingResult::StopBindingResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
StopBindingResult::~StopBindingResult()
{}
void StopBindingResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
}