Add OperateBlackNo.

This commit is contained in:
sdk-team
2019-11-05 19:16:27 +08:00
parent 686a7259ce
commit cb3390b9f5
24 changed files with 394 additions and 16 deletions

View File

@@ -36,6 +36,8 @@
#include "model/CreateAxgGroupResult.h"
#include "model/OperateAxgGroupRequest.h"
#include "model/OperateAxgGroupResult.h"
#include "model/OperateBlackNoRequest.h"
#include "model/OperateBlackNoResult.h"
#include "model/QueryCallStatusRequest.h"
#include "model/QueryCallStatusResult.h"
#include "model/QueryRecordFileDownloadUrlRequest.h"
@@ -82,6 +84,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::OperateAxgGroupResult> OperateAxgGroupOutcome;
typedef std::future<OperateAxgGroupOutcome> OperateAxgGroupOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::OperateAxgGroupRequest&, const OperateAxgGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OperateAxgGroupAsyncHandler;
typedef Outcome<Error, Model::OperateBlackNoResult> OperateBlackNoOutcome;
typedef std::future<OperateBlackNoOutcome> OperateBlackNoOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::OperateBlackNoRequest&, const OperateBlackNoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OperateBlackNoAsyncHandler;
typedef Outcome<Error, Model::QueryCallStatusResult> QueryCallStatusOutcome;
typedef std::future<QueryCallStatusOutcome> QueryCallStatusOutcomeCallable;
typedef std::function<void(const DyplsapiClient*, const Model::QueryCallStatusRequest&, const QueryCallStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryCallStatusAsyncHandler;
@@ -132,6 +137,9 @@ namespace AlibabaCloud
OperateAxgGroupOutcome operateAxgGroup(const Model::OperateAxgGroupRequest &request)const;
void operateAxgGroupAsync(const Model::OperateAxgGroupRequest& request, const OperateAxgGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OperateAxgGroupOutcomeCallable operateAxgGroupCallable(const Model::OperateAxgGroupRequest& request) const;
OperateBlackNoOutcome operateBlackNo(const Model::OperateBlackNoRequest &request)const;
void operateBlackNoAsync(const Model::OperateBlackNoRequest& request, const OperateBlackNoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
OperateBlackNoOutcomeCallable operateBlackNoCallable(const Model::OperateBlackNoRequest& request) const;
QueryCallStatusOutcome queryCallStatus(const Model::QueryCallStatusRequest &request)const;
void queryCallStatusAsync(const Model::QueryCallStatusRequest& request, const QueryCallStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryCallStatusOutcomeCallable queryCallStatusCallable(const Model::QueryCallStatusRequest& request) const;

View File

@@ -0,0 +1,69 @@
/*
* 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_DYPLSAPI_MODEL_OPERATEBLACKNOREQUEST_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEBLACKNOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT OperateBlackNoRequest : public RpcServiceRequest
{
public:
OperateBlackNoRequest();
~OperateBlackNoRequest();
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getTips()const;
void setTips(const std::string& tips);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getPoolKey()const;
void setPoolKey(const std::string& poolKey);
std::string getBlackNo()const;
void setBlackNo(const std::string& blackNo);
std::string getOperateType()const;
void setOperateType(const std::string& operateType);
private:
long resourceOwnerId_;
std::string tips_;
std::string accessKeyId_;
std::string resourceOwnerAccount_;
long ownerId_;
std::string poolKey_;
std::string blackNo_;
std::string operateType_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEBLACKNOREQUEST_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_DYPLSAPI_MODEL_OPERATEBLACKNORESULT_H_
#define ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEBLACKNORESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/dyplsapi/DyplsapiExport.h>
namespace AlibabaCloud
{
namespace Dyplsapi
{
namespace Model
{
class ALIBABACLOUD_DYPLSAPI_EXPORT OperateBlackNoResult : public ServiceResult
{
public:
OperateBlackNoResult();
explicit OperateBlackNoResult(const std::string &payload);
~OperateBlackNoResult();
std::string getMessage()const;
std::string getCode()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
std::string code_;
};
}
}
}
#endif // !ALIBABACLOUD_DYPLSAPI_MODEL_OPERATEBLACKNORESULT_H_