Compare commits

..

29 Commits

Author SHA1 Message Date
sdk-team
ad02a00036 Supported PackageDesign Apis. 2020-04-21 10:51:59 +08:00
sdk-team
3dd38f70c2 Add Statistics API. 2020-04-21 09:54:00 +08:00
sdk-team
cc6cea96e4 Add TemplateId. 2020-04-20 16:31:50 +08:00
sdk-team
f819d8866c Fix FaceContrastPicture. 2020-04-20 14:55:57 +08:00
sdk-team
d53a27c55f Add kibana network white Ips. 2020-04-20 14:25:18 +08:00
sdk-team
112b1d25da Multimedia poc modified. 2020-04-19 18:02:55 +08:00
sdk-team
f51d79f1b9 DescribeInstanceTypes support TotalEniQueueQuantity. 2020-04-17 17:56:20 +08:00
sdk-team
e53482d9c6 Modify SubmitSmarttagJob. 2020-04-16 19:47:18 +08:00
sdk-team
b004f4b9fa Add ModifyWhiteIps. 2020-04-16 18:17:53 +08:00
sdk-team
c9cf723562 Add BatchOptimization param in Stop and Start Instances. 2020-04-16 18:06:50 +08:00
sdk-team
b1020d412c Add features for open api. 2020-04-16 14:55:14 +08:00
sdk-team
c4d6cb06f1 Add pre train service api. 2020-04-15 19:58:49 +08:00
sdk-team
eeaeed4023 CreateNode API add return NodeId. 2020-04-15 14:44:32 +08:00
sdk-team
d7e14e0c1b Vision-poc response modified. 2020-04-15 11:24:42 +08:00
sdk-team
18dc3cd7d9 Support ListSensitiveColumns, ListSensitiveColumnsDetail API. 2020-04-14 21:52:24 +08:00
sdk-team
2dbb76d303 Supported CreateSegmentBodyJob. 2020-04-14 15:04:45 +08:00
sdk-team
ae65dcf4c3 Fix ListTaskExecutions SDK error. 2020-04-13 12:05:53 +08:00
sdk-team
1c5ad6a48c Generated 2017-05-25 for Dypnsapi. 2020-04-10 17:08:22 +08:00
sdk-team
1a13b03f29 Support GetOfficeEditURL. 2020-04-10 16:49:00 +08:00
wb-hx510875
c1e07be47e improve build 2020-04-10 15:58:45 +08:00
sdk-team
8fdb5cc851 Generated 2019-01-01 for Cassandra. 2020-04-10 15:09:26 +08:00
sdk-team
20774ebe3a Support DescribeIpv4Location. 2020-04-10 11:53:07 +08:00
sdk-team
485d712ddd Add prometheus api AddGrafana and AddIntegration. 2020-04-09 21:22:01 +08:00
sdk-team
abfdc41f3b Generated 2018-03-13 for retailcloud. 2020-04-09 16:22:52 +08:00
sdk-team
093332279d Add DescribePrice API. 2020-04-09 11:12:46 +08:00
sdk-team
85daa7c446 WAF OpenApi SDK Release. 2020-04-09 11:10:33 +08:00
sdk-team
2e465b8b77 Add DescribeDBClusterAvailableResources. 2020-04-09 10:52:46 +08:00
sdk-team
c58d7b0968 Generated 2015-01-01 for R-kvstore. 2020-04-09 09:50:22 +08:00
sdk-team
528c5282a8 Add SubCode for DescribeFaceVerify. 2020-04-08 21:43:09 +08:00
855 changed files with 53353 additions and 8285 deletions

View File

@@ -1,3 +1,101 @@
2020-04-21 Version: 1.36.369
- Supported PackageDesign Apis.
- Supported Api ListPackageDesignModelTypes.
- Supported Api PreviewModelForPackageDesign.
- Supported Api RenderImageForPackageDesign.
- Supported Api GetRenderResult.
2020-04-21 Version: 1.36.368
- Add Statistics API.
2020-04-20 Version: 1.36.367
- Add TemplateId.
2020-04-20 Version: 1.36.366
- Fix FaceContrastPicture.
2020-04-20 Version: 1.36.365
- Add kibana network white Ips.
2020-04-19 Version: 1.36.364
- Multimedia poc modified.
2020-04-17 Version: 1.36.363
- DescribeInstanceTypes support TotalEniQueueQuantity.
2020-04-16 Version: 1.36.362
- Modify `SubmitSmarttagJob`.
2020-04-16 Version: 1.36.361
- Add ModifyWhiteIps.
2020-04-16 Version: 1.36.360
- Add BatchOptimization param in Stop and Start Instances.
- Add RemoveSymbols in GetInstanceConsoleOutput.
- Add ImageFamily in ModifyImageAttribute.
- Customize InstanceType on DedicatedHosts is supported.
- Add StorageCapacityUnit interfaces.
- Add param Tag in CreateAutoSnapshotPolicy.
2020-04-16 Version: 1.36.359
- Add features for open api.
2020-04-15 Version: 1.36.358
- Add pre train service api.
2020-04-15 Version: 1.36.357
- CreateNode API add return NodeId.
2020-04-15 Version: 1.36.356
- Vision-poc response modified.
2020-04-14 Version: 1.36.355
- Support ListSensitiveColumns, ListSensitiveColumnsDetail API.
- ListUsers API return user execute query count information.
- Fix ListWorkFlowTemplates to return create user information.
- UpdateUser API support to update user max execute query count.
2020-04-14 Version: 1.36.354
- Supported CreateSegmentBodyJob.
2020-04-13 Version: 1.36.353
- Fix ListTaskExecutions SDK error.
2020-04-10 Version: 1.36.352
- Generated 2017-05-25 for `Dypnsapi`.
2020-04-10 Version: 1.36.351
- Support GetOfficeEditURL.
- Support RefreshOfficeEditToken.
2020-04-10 Version: 1.36.350
- Generated 2019-01-01 for `Cassandra`.
2020-04-10 Version: 1.36.349
- Support DescribeIpv4Location.
2020-04-09 Version: 1.36.348
- Add prometheus api AddGrafana and AddIntegration.
2020-04-09 Version: 1.36.347
- Generated 2018-03-13 for `retailcloud`.
2020-04-09 Version: 1.36.346
- Add DescribePrice API.
2020-04-09 Version: 1.36.345
- WAF OpenApi SDK Release.
2020-04-09 Version: 1.36.344
- Add DescribeDBClusterAvailableResources.
2020-04-09 Version: 1.36.343
- Generated 2015-01-01 for `R-kvstore`.
- Add DescribePrice API.
2020-04-08 Version: 1.36.342
- Add SubCode for DescribeFaceVerify.
2020-04-08 Version: 1.36.341
- Generated 2019-01-01 for `Cassandra`.

View File

@@ -9,12 +9,14 @@ project(alibabacloud-sdk VERSION ${version})
message(STATUS "Project version: ${PROJECT_VERSION}")
set(TARGET_OUTPUT_NAME_PREFIX "alibabacloud-sdk-" CACHE STRING "The target's output name prefix")
set(BUILD_PRODUCT "" CACHE STRING "Build by lower name of product")
option(BUILD_SHARED_LIBS "Enable shared library" ON)
option(BUILD_UNIT_TESTS "Enable unit tests" OFF)
option(BUILD_FUNCTION_TESTS "Enable function test" OFF)
option(BUILD_PRODUCT "Build by lower name of product" OFF)
set(LIB_TYPE STATIC)
if(BUILD_SHARED_LIBS)
set(LIB_TYPE SHARED)
add_definitions(-DALIBABACLOUD_SHARED)
@@ -57,9 +59,10 @@ if(BUILD_FUNCTION_TESTS)
add_subdirectory(test/function_test/vpc)
endif()
if(NOT BUILD_PRODUCT)
message(WARNING "INVALID FOLDER 'BUILD_PRODUCT'=${BUILD_PRODUCT}")
if(BUILD_PRODUCT STREQUAL "")
message(WARNING "Please set the value of 'BUILD_PRODUCT'")
else()
add_subdirectory(core)
add_subdirectory(${BUILD_PRODUCT})
message(STATUS "'BUILD_PRODUCT'=${BUILD_PRODUCT}")
endif()

View File

@@ -103,6 +103,7 @@ sudo sh easyinstall.sh ecs
* 选择 `Browse Source` 为 `源代码目录(aliyun-openapi-cpp-sdk)`
* 选择 `Browse build` 为 `构建目录(sdk_build)`
* 点击 `configure`
* 使用小写的产品名称,设置 `BUILD_PRODUCT` 参数的值
* 点击 `generate`, 构建 VS 解决方案。
4. 编译安装 C++ SDK

View File

@@ -109,6 +109,8 @@ git clone https://github.com/aliyun/aliyun-openapi-cpp-sdk.git
- `Configure`
- use the lower name of product to set the value of `BUILD_PRODUCT`
- `Generate`
4. Build and Install C++ SDK

View File

@@ -1 +1 @@
1.36.341
1.36.369

View File

@@ -21,6 +21,10 @@ set(arms_public_header
include/alibabacloud/arms/ARMSExport.h )
set(arms_public_header_model
include/alibabacloud/arms/model/AddGrafanaRequest.h
include/alibabacloud/arms/model/AddGrafanaResult.h
include/alibabacloud/arms/model/AddIntegrationRequest.h
include/alibabacloud/arms/model/AddIntegrationResult.h
include/alibabacloud/arms/model/CreateAlertContactRequest.h
include/alibabacloud/arms/model/CreateAlertContactResult.h
include/alibabacloud/arms/model/CreateAlertContactGroupRequest.h
@@ -90,6 +94,10 @@ set(arms_public_header_model
set(arms_src
src/ARMSClient.cc
src/model/AddGrafanaRequest.cc
src/model/AddGrafanaResult.cc
src/model/AddIntegrationRequest.cc
src/model/AddIntegrationResult.cc
src/model/CreateAlertContactRequest.cc
src/model/CreateAlertContactResult.cc
src/model/CreateAlertContactGroupRequest.cc

View File

@@ -22,6 +22,10 @@
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "ARMSExport.h"
#include "model/AddGrafanaRequest.h"
#include "model/AddGrafanaResult.h"
#include "model/AddIntegrationRequest.h"
#include "model/AddIntegrationResult.h"
#include "model/CreateAlertContactRequest.h"
#include "model/CreateAlertContactResult.h"
#include "model/CreateAlertContactGroupRequest.h"
@@ -97,6 +101,12 @@ namespace AlibabaCloud
class ALIBABACLOUD_ARMS_EXPORT ARMSClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AddGrafanaResult> AddGrafanaOutcome;
typedef std::future<AddGrafanaOutcome> AddGrafanaOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::AddGrafanaRequest&, const AddGrafanaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddGrafanaAsyncHandler;
typedef Outcome<Error, Model::AddIntegrationResult> AddIntegrationOutcome;
typedef std::future<AddIntegrationOutcome> AddIntegrationOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::AddIntegrationRequest&, const AddIntegrationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddIntegrationAsyncHandler;
typedef Outcome<Error, Model::CreateAlertContactResult> CreateAlertContactOutcome;
typedef std::future<CreateAlertContactOutcome> CreateAlertContactOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::CreateAlertContactRequest&, const CreateAlertContactOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAlertContactAsyncHandler;
@@ -201,6 +211,12 @@ namespace AlibabaCloud
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
ARMSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~ARMSClient();
AddGrafanaOutcome addGrafana(const Model::AddGrafanaRequest &request)const;
void addGrafanaAsync(const Model::AddGrafanaRequest& request, const AddGrafanaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddGrafanaOutcomeCallable addGrafanaCallable(const Model::AddGrafanaRequest& request) const;
AddIntegrationOutcome addIntegration(const Model::AddIntegrationRequest &request)const;
void addIntegrationAsync(const Model::AddIntegrationRequest& request, const AddIntegrationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddIntegrationOutcomeCallable addIntegrationCallable(const Model::AddIntegrationRequest& request) const;
CreateAlertContactOutcome createAlertContact(const Model::CreateAlertContactRequest &request)const;
void createAlertContactAsync(const Model::CreateAlertContactRequest& request, const CreateAlertContactAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateAlertContactOutcomeCallable createAlertContactCallable(const Model::CreateAlertContactRequest& request) const;

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_ADDGRAFANAREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_ADDGRAFANAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT AddGrafanaRequest : public RpcServiceRequest
{
public:
AddGrafanaRequest();
~AddGrafanaRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getIntegration()const;
void setIntegration(const std::string& integration);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string regionId_;
std::string integration_;
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDGRAFANAREQUEST_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_ARMS_MODEL_ADDGRAFANARESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_ADDGRAFANARESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT AddGrafanaResult : public ServiceResult
{
public:
AddGrafanaResult();
explicit AddGrafanaResult(const std::string &payload);
~AddGrafanaResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDGRAFANARESULT_H_

View File

@@ -14,41 +14,41 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSREQUEST_H_
#ifndef ALIBABACLOUD_ARMS_MODEL_ADDINTEGRATIONREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_ADDINTEGRATIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace CCC
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetJobsProgressRequest : public RpcServiceRequest
class ALIBABACLOUD_ARMS_EXPORT AddIntegrationRequest : public RpcServiceRequest
{
public:
GetJobsProgressRequest();
~GetJobsProgressRequest();
AddIntegrationRequest();
~AddIntegrationRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getIntegration()const;
void setIntegration(const std::string& integration);
std::string getClusterId()const;
void setClusterId(const std::string& clusterId);
private:
std::string instanceId_;
std::string skillGroupId_;
std::string jobGroupId_;
std::string regionId_;
std::string integration_;
std::string clusterId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSREQUEST_H_
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDINTEGRATIONREQUEST_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_ARMS_MODEL_ADDINTEGRATIONRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_ADDINTEGRATIONRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT AddIntegrationResult : public ServiceResult
{
public:
AddIntegrationResult();
explicit AddIntegrationResult(const std::string &payload);
~AddIntegrationResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_ADDINTEGRATIONRESULT_H_

View File

@@ -34,14 +34,14 @@ namespace AlibabaCloud
public:
struct PageBean
{
struct AlertRule
struct AlertRuleEntity
{
struct AlarmContext
{
std::string alarmContentTemplate;
std::string alarmContentSubTitle;
};
struct AlertRule1
struct AlertRule
{
struct Rule
{
@@ -89,16 +89,16 @@ namespace AlibabaCloud
std::string contactGroupIdList;
Notice notice;
std::string userId;
AlertRule1 alertRule1;
std::string alertTitle;
long updateTime;
std::string alertLevel;
long id;
std::string regionId;
AlertRule alertRule;
};
int totalCount;
int pageSize;
std::vector<AlertRule> alertRules;
std::vector<AlertRuleEntity> alertRules;
int pageNumber;
};

View File

@@ -51,6 +51,78 @@ ARMSClient::ARMSClient(const std::string & accessKeyId, const std::string & acce
ARMSClient::~ARMSClient()
{}
ARMSClient::AddGrafanaOutcome ARMSClient::addGrafana(const AddGrafanaRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddGrafanaOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AddGrafanaOutcome(AddGrafanaResult(outcome.result()));
else
return AddGrafanaOutcome(outcome.error());
}
void ARMSClient::addGrafanaAsync(const AddGrafanaRequest& request, const AddGrafanaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, addGrafana(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::AddGrafanaOutcomeCallable ARMSClient::addGrafanaCallable(const AddGrafanaRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AddGrafanaOutcome()>>(
[this, request]()
{
return this->addGrafana(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::AddIntegrationOutcome ARMSClient::addIntegration(const AddIntegrationRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return AddIntegrationOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return AddIntegrationOutcome(AddIntegrationResult(outcome.result()));
else
return AddIntegrationOutcome(outcome.error());
}
void ARMSClient::addIntegrationAsync(const AddIntegrationRequest& request, const AddIntegrationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, addIntegration(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::AddIntegrationOutcomeCallable ARMSClient::addIntegrationCallable(const AddIntegrationRequest &request) const
{
auto task = std::make_shared<std::packaged_task<AddIntegrationOutcome()>>(
[this, request]()
{
return this->addIntegration(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::CreateAlertContactOutcome ARMSClient::createAlertContact(const CreateAlertContactRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/AddGrafanaRequest.h>
using AlibabaCloud::ARMS::Model::AddGrafanaRequest;
AddGrafanaRequest::AddGrafanaRequest() :
RpcServiceRequest("arms", "2019-08-08", "AddGrafana")
{
setMethod(HttpRequest::Method::Post);
}
AddGrafanaRequest::~AddGrafanaRequest()
{}
std::string AddGrafanaRequest::getRegionId()const
{
return regionId_;
}
void AddGrafanaRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string AddGrafanaRequest::getIntegration()const
{
return integration_;
}
void AddGrafanaRequest::setIntegration(const std::string& integration)
{
integration_ = integration;
setParameter("Integration", integration);
}
std::string AddGrafanaRequest::getClusterId()const
{
return clusterId_;
}
void AddGrafanaRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}

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.
*/
#include <alibabacloud/arms/model/AddGrafanaResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
AddGrafanaResult::AddGrafanaResult() :
ServiceResult()
{}
AddGrafanaResult::AddGrafanaResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddGrafanaResult::~AddGrafanaResult()
{}
void AddGrafanaResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string AddGrafanaResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/AddIntegrationRequest.h>
using AlibabaCloud::ARMS::Model::AddIntegrationRequest;
AddIntegrationRequest::AddIntegrationRequest() :
RpcServiceRequest("arms", "2019-08-08", "AddIntegration")
{
setMethod(HttpRequest::Method::Post);
}
AddIntegrationRequest::~AddIntegrationRequest()
{}
std::string AddIntegrationRequest::getRegionId()const
{
return regionId_;
}
void AddIntegrationRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
}
std::string AddIntegrationRequest::getIntegration()const
{
return integration_;
}
void AddIntegrationRequest::setIntegration(const std::string& integration)
{
integration_ = integration;
setParameter("Integration", integration);
}
std::string AddIntegrationRequest::getClusterId()const
{
return clusterId_;
}
void AddIntegrationRequest::setClusterId(const std::string& clusterId)
{
clusterId_ = clusterId;
setParameter("ClusterId", clusterId);
}

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.
*/
#include <alibabacloud/arms/model/AddIntegrationResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
AddIntegrationResult::AddIntegrationResult() :
ServiceResult()
{}
AddIntegrationResult::AddIntegrationResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
AddIntegrationResult::~AddIntegrationResult()
{}
void AddIntegrationResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
std::string AddIntegrationResult::getData()const
{
return data_;
}

View File

@@ -46,98 +46,98 @@ void SearchAlertRulesResult::parse(const std::string &payload)
pageBean_.pageNumber = std::stoi(pageBeanNode["PageNumber"].asString());
if(!pageBeanNode["PageSize"].isNull())
pageBean_.pageSize = std::stoi(pageBeanNode["PageSize"].asString());
auto allAlertRulesNode = pageBeanNode["AlertRules"]["AlertRule"];
for (auto pageBeanNodeAlertRulesAlertRule : allAlertRulesNode)
auto allAlertRulesNode = pageBeanNode["AlertRules"]["AlertRuleEntity"];
for (auto pageBeanNodeAlertRulesAlertRuleEntity : allAlertRulesNode)
{
PageBean::AlertRule alertRuleObject;
if(!pageBeanNodeAlertRulesAlertRule["AlertTitle"].isNull())
alertRuleObject.alertTitle = pageBeanNodeAlertRulesAlertRule["AlertTitle"].asString();
if(!pageBeanNodeAlertRulesAlertRule["AlertLevel"].isNull())
alertRuleObject.alertLevel = pageBeanNodeAlertRulesAlertRule["AlertLevel"].asString();
if(!pageBeanNodeAlertRulesAlertRule["AlertType"].isNull())
alertRuleObject.alertType = std::stoi(pageBeanNodeAlertRulesAlertRule["AlertType"].asString());
if(!pageBeanNodeAlertRulesAlertRule["AlertVersion"].isNull())
alertRuleObject.alertVersion = std::stoi(pageBeanNodeAlertRulesAlertRule["AlertVersion"].asString());
if(!pageBeanNodeAlertRulesAlertRule["Config"].isNull())
alertRuleObject.config = pageBeanNodeAlertRulesAlertRule["Config"].asString();
if(!pageBeanNodeAlertRulesAlertRule["ContactGroupIdList"].isNull())
alertRuleObject.contactGroupIdList = pageBeanNodeAlertRulesAlertRule["ContactGroupIdList"].asString();
if(!pageBeanNodeAlertRulesAlertRule["CreateTime"].isNull())
alertRuleObject.createTime = std::stol(pageBeanNodeAlertRulesAlertRule["CreateTime"].asString());
if(!pageBeanNodeAlertRulesAlertRule["Id"].isNull())
alertRuleObject.id = std::stol(pageBeanNodeAlertRulesAlertRule["Id"].asString());
if(!pageBeanNodeAlertRulesAlertRule["RegionId"].isNull())
alertRuleObject.regionId = pageBeanNodeAlertRulesAlertRule["RegionId"].asString();
if(!pageBeanNodeAlertRulesAlertRule["Status"].isNull())
alertRuleObject.status = pageBeanNodeAlertRulesAlertRule["Status"].asString();
if(!pageBeanNodeAlertRulesAlertRule["TaskId"].isNull())
alertRuleObject.taskId = std::stol(pageBeanNodeAlertRulesAlertRule["TaskId"].asString());
if(!pageBeanNodeAlertRulesAlertRule["TaskStatus"].isNull())
alertRuleObject.taskStatus = pageBeanNodeAlertRulesAlertRule["TaskStatus"].asString();
if(!pageBeanNodeAlertRulesAlertRule["UpdateTime"].isNull())
alertRuleObject.updateTime = std::stol(pageBeanNodeAlertRulesAlertRule["UpdateTime"].asString());
if(!pageBeanNodeAlertRulesAlertRule["UserId"].isNull())
alertRuleObject.userId = pageBeanNodeAlertRulesAlertRule["UserId"].asString();
PageBean::AlertRuleEntity alertRuleEntityObject;
if(!pageBeanNodeAlertRulesAlertRuleEntity["AlertTitle"].isNull())
alertRuleEntityObject.alertTitle = pageBeanNodeAlertRulesAlertRuleEntity["AlertTitle"].asString();
if(!pageBeanNodeAlertRulesAlertRuleEntity["AlertLevel"].isNull())
alertRuleEntityObject.alertLevel = pageBeanNodeAlertRulesAlertRuleEntity["AlertLevel"].asString();
if(!pageBeanNodeAlertRulesAlertRuleEntity["AlertType"].isNull())
alertRuleEntityObject.alertType = std::stoi(pageBeanNodeAlertRulesAlertRuleEntity["AlertType"].asString());
if(!pageBeanNodeAlertRulesAlertRuleEntity["AlertVersion"].isNull())
alertRuleEntityObject.alertVersion = std::stoi(pageBeanNodeAlertRulesAlertRuleEntity["AlertVersion"].asString());
if(!pageBeanNodeAlertRulesAlertRuleEntity["Config"].isNull())
alertRuleEntityObject.config = pageBeanNodeAlertRulesAlertRuleEntity["Config"].asString();
if(!pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIdList"].isNull())
alertRuleEntityObject.contactGroupIdList = pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIdList"].asString();
if(!pageBeanNodeAlertRulesAlertRuleEntity["CreateTime"].isNull())
alertRuleEntityObject.createTime = std::stol(pageBeanNodeAlertRulesAlertRuleEntity["CreateTime"].asString());
if(!pageBeanNodeAlertRulesAlertRuleEntity["Id"].isNull())
alertRuleEntityObject.id = std::stol(pageBeanNodeAlertRulesAlertRuleEntity["Id"].asString());
if(!pageBeanNodeAlertRulesAlertRuleEntity["RegionId"].isNull())
alertRuleEntityObject.regionId = pageBeanNodeAlertRulesAlertRuleEntity["RegionId"].asString();
if(!pageBeanNodeAlertRulesAlertRuleEntity["Status"].isNull())
alertRuleEntityObject.status = pageBeanNodeAlertRulesAlertRuleEntity["Status"].asString();
if(!pageBeanNodeAlertRulesAlertRuleEntity["TaskId"].isNull())
alertRuleEntityObject.taskId = std::stol(pageBeanNodeAlertRulesAlertRuleEntity["TaskId"].asString());
if(!pageBeanNodeAlertRulesAlertRuleEntity["TaskStatus"].isNull())
alertRuleEntityObject.taskStatus = pageBeanNodeAlertRulesAlertRuleEntity["TaskStatus"].asString();
if(!pageBeanNodeAlertRulesAlertRuleEntity["UpdateTime"].isNull())
alertRuleEntityObject.updateTime = std::stol(pageBeanNodeAlertRulesAlertRuleEntity["UpdateTime"].asString());
if(!pageBeanNodeAlertRulesAlertRuleEntity["UserId"].isNull())
alertRuleEntityObject.userId = pageBeanNodeAlertRulesAlertRuleEntity["UserId"].asString();
auto alarmContextNode = value["AlarmContext"];
if(!alarmContextNode["AlarmContentTemplate"].isNull())
alertRuleObject.alarmContext.alarmContentTemplate = alarmContextNode["AlarmContentTemplate"].asString();
alertRuleEntityObject.alarmContext.alarmContentTemplate = alarmContextNode["AlarmContentTemplate"].asString();
if(!alarmContextNode["AlarmContentSubTitle"].isNull())
alertRuleObject.alarmContext.alarmContentSubTitle = alarmContextNode["AlarmContentSubTitle"].asString();
auto alertRule1Node = value["AlertRule"];
if(!alertRule1Node["Operator"].isNull())
alertRuleObject.alertRule1._operator = alertRule1Node["Operator"].asString();
auto allRulesNode = alertRule1Node["Rules"]["Rule"];
for (auto alertRule1NodeRulesRule : allRulesNode)
alertRuleEntityObject.alarmContext.alarmContentSubTitle = alarmContextNode["AlarmContentSubTitle"].asString();
auto alertRuleNode = value["AlertRule"];
if(!alertRuleNode["Operator"].isNull())
alertRuleEntityObject.alertRule._operator = alertRuleNode["Operator"].asString();
auto allRulesNode = alertRuleNode["Rules"]["Rule"];
for (auto alertRuleNodeRulesRule : allRulesNode)
{
PageBean::AlertRule::AlertRule1::Rule ruleObject;
if(!alertRule1NodeRulesRule["Aggregates"].isNull())
ruleObject.aggregates = alertRule1NodeRulesRule["Aggregates"].asString();
if(!alertRule1NodeRulesRule["Alias"].isNull())
ruleObject.alias = alertRule1NodeRulesRule["Alias"].asString();
if(!alertRule1NodeRulesRule["Measure"].isNull())
ruleObject.measure = alertRule1NodeRulesRule["Measure"].asString();
if(!alertRule1NodeRulesRule["NValue"].isNull())
ruleObject.nValue = std::stoi(alertRule1NodeRulesRule["NValue"].asString());
if(!alertRule1NodeRulesRule["Operator"].isNull())
ruleObject._operator = alertRule1NodeRulesRule["Operator"].asString();
if(!alertRule1NodeRulesRule["Value"].isNull())
ruleObject.value = std::stof(alertRule1NodeRulesRule["Value"].asString());
alertRuleObject.alertRule1.rules.push_back(ruleObject);
PageBean::AlertRuleEntity::AlertRule::Rule ruleObject;
if(!alertRuleNodeRulesRule["Aggregates"].isNull())
ruleObject.aggregates = alertRuleNodeRulesRule["Aggregates"].asString();
if(!alertRuleNodeRulesRule["Alias"].isNull())
ruleObject.alias = alertRuleNodeRulesRule["Alias"].asString();
if(!alertRuleNodeRulesRule["Measure"].isNull())
ruleObject.measure = alertRuleNodeRulesRule["Measure"].asString();
if(!alertRuleNodeRulesRule["NValue"].isNull())
ruleObject.nValue = std::stoi(alertRuleNodeRulesRule["NValue"].asString());
if(!alertRuleNodeRulesRule["Operator"].isNull())
ruleObject._operator = alertRuleNodeRulesRule["Operator"].asString();
if(!alertRuleNodeRulesRule["Value"].isNull())
ruleObject.value = std::stof(alertRuleNodeRulesRule["Value"].asString());
alertRuleEntityObject.alertRule.rules.push_back(ruleObject);
}
auto metricParamNode = value["MetricParam"];
if(!metricParamNode["AppGroupId"].isNull())
alertRuleObject.metricParam.appGroupId = metricParamNode["AppGroupId"].asString();
alertRuleEntityObject.metricParam.appGroupId = metricParamNode["AppGroupId"].asString();
if(!metricParamNode["AppId"].isNull())
alertRuleObject.metricParam.appId = metricParamNode["AppId"].asString();
alertRuleEntityObject.metricParam.appId = metricParamNode["AppId"].asString();
if(!metricParamNode["Pid"].isNull())
alertRuleObject.metricParam.pid = metricParamNode["Pid"].asString();
alertRuleEntityObject.metricParam.pid = metricParamNode["Pid"].asString();
if(!metricParamNode["Type"].isNull())
alertRuleObject.metricParam.type = metricParamNode["Type"].asString();
alertRuleEntityObject.metricParam.type = metricParamNode["Type"].asString();
auto allDimensionsNode = metricParamNode["Dimensions"]["Dimension"];
for (auto metricParamNodeDimensionsDimension : allDimensionsNode)
{
PageBean::AlertRule::MetricParam::Dimension dimensionObject;
PageBean::AlertRuleEntity::MetricParam::Dimension dimensionObject;
if(!metricParamNodeDimensionsDimension["Key"].isNull())
dimensionObject.key = metricParamNodeDimensionsDimension["Key"].asString();
if(!metricParamNodeDimensionsDimension["Type"].isNull())
dimensionObject.type = metricParamNodeDimensionsDimension["Type"].asString();
if(!metricParamNodeDimensionsDimension["Value"].isNull())
dimensionObject.value = metricParamNodeDimensionsDimension["Value"].asString();
alertRuleObject.metricParam.dimensions.push_back(dimensionObject);
alertRuleEntityObject.metricParam.dimensions.push_back(dimensionObject);
}
auto noticeNode = value["Notice"];
if(!noticeNode["EndTime"].isNull())
alertRuleObject.notice.endTime = std::stol(noticeNode["EndTime"].asString());
alertRuleEntityObject.notice.endTime = std::stol(noticeNode["EndTime"].asString());
if(!noticeNode["NoticeEndTime"].isNull())
alertRuleObject.notice.noticeEndTime = std::stol(noticeNode["NoticeEndTime"].asString());
alertRuleEntityObject.notice.noticeEndTime = std::stol(noticeNode["NoticeEndTime"].asString());
if(!noticeNode["NoticeStartTime"].isNull())
alertRuleObject.notice.noticeStartTime = std::stol(noticeNode["NoticeStartTime"].asString());
alertRuleEntityObject.notice.noticeStartTime = std::stol(noticeNode["NoticeStartTime"].asString());
if(!noticeNode["StartTime"].isNull())
alertRuleObject.notice.startTime = std::stol(noticeNode["StartTime"].asString());
alertRuleEntityObject.notice.startTime = std::stol(noticeNode["StartTime"].asString());
auto allAlertWays = value["AlertWays"]["AlertWay"];
for (auto value : allAlertWays)
alertRuleObject.alertWays.push_back(value.asString());
pageBean_.alertRules.push_back(alertRuleObject);
alertRuleEntityObject.alertWays.push_back(value.asString());
pageBean_.alertRules.push_back(alertRuleEntityObject);
}
}

View File

@@ -25,8 +25,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/AddAgentDeviceResult.h
include/alibabacloud/ccc/model/AddBulkPhoneNumbersRequest.h
include/alibabacloud/ccc/model/AddBulkPhoneNumbersResult.h
include/alibabacloud/ccc/model/AddNumberToSkillGroupRequest.h
include/alibabacloud/ccc/model/AddNumberToSkillGroupResult.h
include/alibabacloud/ccc/model/AddPhoneNumberRequest.h
include/alibabacloud/ccc/model/AddPhoneNumberResult.h
include/alibabacloud/ccc/model/AddPhoneTagsRequest.h
@@ -39,16 +37,12 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/CallOnlinePrivacyNumberResult.h
include/alibabacloud/ccc/model/CancelJobsRequest.h
include/alibabacloud/ccc/model/CancelJobsResult.h
include/alibabacloud/ccc/model/CancelPredictiveJobsRequest.h
include/alibabacloud/ccc/model/CancelPredictiveJobsResult.h
include/alibabacloud/ccc/model/CheckNumberAvaliableRequest.h
include/alibabacloud/ccc/model/CheckNumberAvaliableResult.h
include/alibabacloud/ccc/model/CommitContactFlowVersionModificationRequest.h
include/alibabacloud/ccc/model/CommitContactFlowVersionModificationResult.h
include/alibabacloud/ccc/model/CreateBatchJobsRequest.h
include/alibabacloud/ccc/model/CreateBatchJobsResult.h
include/alibabacloud/ccc/model/CreateCCCPostOrderRequest.h
include/alibabacloud/ccc/model/CreateCCCPostOrderResult.h
include/alibabacloud/ccc/model/CreateCabInstanceRequest.h
include/alibabacloud/ccc/model/CreateCabInstanceResult.h
include/alibabacloud/ccc/model/CreateContactFlowRequest.h
@@ -61,10 +55,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/CreateJobGroupResult.h
include/alibabacloud/ccc/model/CreateMediaRequest.h
include/alibabacloud/ccc/model/CreateMediaResult.h
include/alibabacloud/ccc/model/CreatePredictiveJobGroupRequest.h
include/alibabacloud/ccc/model/CreatePredictiveJobGroupResult.h
include/alibabacloud/ccc/model/CreatePredictiveJobsRequest.h
include/alibabacloud/ccc/model/CreatePredictiveJobsResult.h
include/alibabacloud/ccc/model/CreateScenarioRequest.h
include/alibabacloud/ccc/model/CreateScenarioResult.h
include/alibabacloud/ccc/model/CreateScenarioFromTemplateRequest.h
@@ -109,16 +99,10 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/GenerateAgentStatisticReportResult.h
include/alibabacloud/ccc/model/GetAgentDataRequest.h
include/alibabacloud/ccc/model/GetAgentDataResult.h
include/alibabacloud/ccc/model/GetAgentStateRequest.h
include/alibabacloud/ccc/model/GetAgentStateResult.h
include/alibabacloud/ccc/model/GetCallMeasureSummaryReportRequest.h
include/alibabacloud/ccc/model/GetCallMeasureSummaryReportResult.h
include/alibabacloud/ccc/model/GetConfigRequest.h
include/alibabacloud/ccc/model/GetConfigResult.h
include/alibabacloud/ccc/model/GetContactIdentifyByOutBoundTaskIdRequest.h
include/alibabacloud/ccc/model/GetContactIdentifyByOutBoundTaskIdResult.h
include/alibabacloud/ccc/model/GetContactInfoByOutboundTaskIdRequest.h
include/alibabacloud/ccc/model/GetContactInfoByOutboundTaskIdResult.h
include/alibabacloud/ccc/model/GetConversationDetailByContactIdRequest.h
include/alibabacloud/ccc/model/GetConversationDetailByContactIdResult.h
include/alibabacloud/ccc/model/GetConversationListRequest.h
@@ -137,8 +121,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/GetJobResult.h
include/alibabacloud/ccc/model/GetJobDataUploadParamsRequest.h
include/alibabacloud/ccc/model/GetJobDataUploadParamsResult.h
include/alibabacloud/ccc/model/GetJobFileUploadUrlRequest.h
include/alibabacloud/ccc/model/GetJobFileUploadUrlResult.h
include/alibabacloud/ccc/model/GetJobGroupRequest.h
include/alibabacloud/ccc/model/GetJobGroupResult.h
include/alibabacloud/ccc/model/GetJobListRequest.h
@@ -147,12 +129,8 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/GetJobStatusByCallIdResult.h
include/alibabacloud/ccc/model/GetJobTemplateDownloadParamsRequest.h
include/alibabacloud/ccc/model/GetJobTemplateDownloadParamsResult.h
include/alibabacloud/ccc/model/GetJobsProgressRequest.h
include/alibabacloud/ccc/model/GetJobsProgressResult.h
include/alibabacloud/ccc/model/GetNumberRegionInfoRequest.h
include/alibabacloud/ccc/model/GetNumberRegionInfoResult.h
include/alibabacloud/ccc/model/GetPredictiveJobRequest.h
include/alibabacloud/ccc/model/GetPredictiveJobResult.h
include/alibabacloud/ccc/model/GetRecordOssUploadParamRequest.h
include/alibabacloud/ccc/model/GetRecordOssUploadParamResult.h
include/alibabacloud/ccc/model/GetRoutePointRequest.h
@@ -221,14 +199,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/ListPhoneNumbersResult.h
include/alibabacloud/ccc/model/ListPhoneTagsRequest.h
include/alibabacloud/ccc/model/ListPhoneTagsResult.h
include/alibabacloud/ccc/model/ListPredictiveJobGroupsRequest.h
include/alibabacloud/ccc/model/ListPredictiveJobGroupsResult.h
include/alibabacloud/ccc/model/ListPredictiveJobStatusRequest.h
include/alibabacloud/ccc/model/ListPredictiveJobStatusResult.h
include/alibabacloud/ccc/model/ListPrivacyNumberCallDetailsRequest.h
include/alibabacloud/ccc/model/ListPrivacyNumberCallDetailsResult.h
include/alibabacloud/ccc/model/ListPrivilegesOfUserRequest.h
include/alibabacloud/ccc/model/ListPrivilegesOfUserResult.h
include/alibabacloud/ccc/model/ListRealTimeAgentRequest.h
include/alibabacloud/ccc/model/ListRealTimeAgentResult.h
include/alibabacloud/ccc/model/ListRecentCallRecordsRequest.h
@@ -271,10 +241,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/ModifyAgentDeviceResult.h
include/alibabacloud/ccc/model/ModifyCabInstanceRequest.h
include/alibabacloud/ccc/model/ModifyCabInstanceResult.h
include/alibabacloud/ccc/model/ModifyMediaRequest.h
include/alibabacloud/ccc/model/ModifyMediaResult.h
include/alibabacloud/ccc/model/ModifyNotificationConfigRequest.h
include/alibabacloud/ccc/model/ModifyNotificationConfigResult.h
include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h
include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
include/alibabacloud/ccc/model/ModifyPhoneTagsRequest.h
@@ -299,28 +265,12 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/PickLocalNumberResult.h
include/alibabacloud/ccc/model/PickOutboundNumbersRequest.h
include/alibabacloud/ccc/model/PickOutboundNumbersResult.h
include/alibabacloud/ccc/model/PickOutboundNumbersByTagsRequest.h
include/alibabacloud/ccc/model/PickOutboundNumbersByTagsResult.h
include/alibabacloud/ccc/model/PreCreateMediaRequest.h
include/alibabacloud/ccc/model/PreCreateMediaResult.h
include/alibabacloud/ccc/model/PreModifyMediaRequest.h
include/alibabacloud/ccc/model/PreModifyMediaResult.h
include/alibabacloud/ccc/model/PredictiveRecordFailureRequest.h
include/alibabacloud/ccc/model/PredictiveRecordFailureResult.h
include/alibabacloud/ccc/model/PredictiveRecordSuccessRequest.h
include/alibabacloud/ccc/model/PredictiveRecordSuccessResult.h
include/alibabacloud/ccc/model/PublishContactFlowVersionRequest.h
include/alibabacloud/ccc/model/PublishContactFlowVersionResult.h
include/alibabacloud/ccc/model/PublishPredictiveJobGroupRequest.h
include/alibabacloud/ccc/model/PublishPredictiveJobGroupResult.h
include/alibabacloud/ccc/model/PublishSurveyRequest.h
include/alibabacloud/ccc/model/PublishSurveyResult.h
include/alibabacloud/ccc/model/QueryRedialIndicatorRequest.h
include/alibabacloud/ccc/model/QueryRedialIndicatorResult.h
include/alibabacloud/ccc/model/RefreshTokenRequest.h
include/alibabacloud/ccc/model/RefreshTokenResult.h
include/alibabacloud/ccc/model/RemoveNumberFromSkillGroupRequest.h
include/alibabacloud/ccc/model/RemoveNumberFromSkillGroupResult.h
include/alibabacloud/ccc/model/RemovePhoneNumberRequest.h
include/alibabacloud/ccc/model/RemovePhoneNumberResult.h
include/alibabacloud/ccc/model/RemoveUsersRequest.h
@@ -339,8 +289,6 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/SaveWebRTCStatsResult.h
include/alibabacloud/ccc/model/SendPredefinedShortMessageRequest.h
include/alibabacloud/ccc/model/SendPredefinedShortMessageResult.h
include/alibabacloud/ccc/model/SimpleDialRequest.h
include/alibabacloud/ccc/model/SimpleDialResult.h
include/alibabacloud/ccc/model/StartBack2BackCallRequest.h
include/alibabacloud/ccc/model/StartBack2BackCallResult.h
include/alibabacloud/ccc/model/StartJobRequest.h
@@ -352,9 +300,7 @@ set(ccc_public_header_model
include/alibabacloud/ccc/model/SuspendJobsRequest.h
include/alibabacloud/ccc/model/SuspendJobsResult.h
include/alibabacloud/ccc/model/TaskPreparingRequest.h
include/alibabacloud/ccc/model/TaskPreparingResult.h
include/alibabacloud/ccc/model/TwoPartiesCallRequest.h
include/alibabacloud/ccc/model/TwoPartiesCallResult.h )
include/alibabacloud/ccc/model/TaskPreparingResult.h )
set(ccc_src
src/CCCClient.cc
@@ -362,8 +308,6 @@ set(ccc_src
src/model/AddAgentDeviceResult.cc
src/model/AddBulkPhoneNumbersRequest.cc
src/model/AddBulkPhoneNumbersResult.cc
src/model/AddNumberToSkillGroupRequest.cc
src/model/AddNumberToSkillGroupResult.cc
src/model/AddPhoneNumberRequest.cc
src/model/AddPhoneNumberResult.cc
src/model/AddPhoneTagsRequest.cc
@@ -376,16 +320,12 @@ set(ccc_src
src/model/CallOnlinePrivacyNumberResult.cc
src/model/CancelJobsRequest.cc
src/model/CancelJobsResult.cc
src/model/CancelPredictiveJobsRequest.cc
src/model/CancelPredictiveJobsResult.cc
src/model/CheckNumberAvaliableRequest.cc
src/model/CheckNumberAvaliableResult.cc
src/model/CommitContactFlowVersionModificationRequest.cc
src/model/CommitContactFlowVersionModificationResult.cc
src/model/CreateBatchJobsRequest.cc
src/model/CreateBatchJobsResult.cc
src/model/CreateCCCPostOrderRequest.cc
src/model/CreateCCCPostOrderResult.cc
src/model/CreateCabInstanceRequest.cc
src/model/CreateCabInstanceResult.cc
src/model/CreateContactFlowRequest.cc
@@ -398,10 +338,6 @@ set(ccc_src
src/model/CreateJobGroupResult.cc
src/model/CreateMediaRequest.cc
src/model/CreateMediaResult.cc
src/model/CreatePredictiveJobGroupRequest.cc
src/model/CreatePredictiveJobGroupResult.cc
src/model/CreatePredictiveJobsRequest.cc
src/model/CreatePredictiveJobsResult.cc
src/model/CreateScenarioRequest.cc
src/model/CreateScenarioResult.cc
src/model/CreateScenarioFromTemplateRequest.cc
@@ -446,16 +382,10 @@ set(ccc_src
src/model/GenerateAgentStatisticReportResult.cc
src/model/GetAgentDataRequest.cc
src/model/GetAgentDataResult.cc
src/model/GetAgentStateRequest.cc
src/model/GetAgentStateResult.cc
src/model/GetCallMeasureSummaryReportRequest.cc
src/model/GetCallMeasureSummaryReportResult.cc
src/model/GetConfigRequest.cc
src/model/GetConfigResult.cc
src/model/GetContactIdentifyByOutBoundTaskIdRequest.cc
src/model/GetContactIdentifyByOutBoundTaskIdResult.cc
src/model/GetContactInfoByOutboundTaskIdRequest.cc
src/model/GetContactInfoByOutboundTaskIdResult.cc
src/model/GetConversationDetailByContactIdRequest.cc
src/model/GetConversationDetailByContactIdResult.cc
src/model/GetConversationListRequest.cc
@@ -474,8 +404,6 @@ set(ccc_src
src/model/GetJobResult.cc
src/model/GetJobDataUploadParamsRequest.cc
src/model/GetJobDataUploadParamsResult.cc
src/model/GetJobFileUploadUrlRequest.cc
src/model/GetJobFileUploadUrlResult.cc
src/model/GetJobGroupRequest.cc
src/model/GetJobGroupResult.cc
src/model/GetJobListRequest.cc
@@ -484,12 +412,8 @@ set(ccc_src
src/model/GetJobStatusByCallIdResult.cc
src/model/GetJobTemplateDownloadParamsRequest.cc
src/model/GetJobTemplateDownloadParamsResult.cc
src/model/GetJobsProgressRequest.cc
src/model/GetJobsProgressResult.cc
src/model/GetNumberRegionInfoRequest.cc
src/model/GetNumberRegionInfoResult.cc
src/model/GetPredictiveJobRequest.cc
src/model/GetPredictiveJobResult.cc
src/model/GetRecordOssUploadParamRequest.cc
src/model/GetRecordOssUploadParamResult.cc
src/model/GetRoutePointRequest.cc
@@ -558,14 +482,6 @@ set(ccc_src
src/model/ListPhoneNumbersResult.cc
src/model/ListPhoneTagsRequest.cc
src/model/ListPhoneTagsResult.cc
src/model/ListPredictiveJobGroupsRequest.cc
src/model/ListPredictiveJobGroupsResult.cc
src/model/ListPredictiveJobStatusRequest.cc
src/model/ListPredictiveJobStatusResult.cc
src/model/ListPrivacyNumberCallDetailsRequest.cc
src/model/ListPrivacyNumberCallDetailsResult.cc
src/model/ListPrivilegesOfUserRequest.cc
src/model/ListPrivilegesOfUserResult.cc
src/model/ListRealTimeAgentRequest.cc
src/model/ListRealTimeAgentResult.cc
src/model/ListRecentCallRecordsRequest.cc
@@ -608,10 +524,6 @@ set(ccc_src
src/model/ModifyAgentDeviceResult.cc
src/model/ModifyCabInstanceRequest.cc
src/model/ModifyCabInstanceResult.cc
src/model/ModifyMediaRequest.cc
src/model/ModifyMediaResult.cc
src/model/ModifyNotificationConfigRequest.cc
src/model/ModifyNotificationConfigResult.cc
src/model/ModifyPhoneNumberRequest.cc
src/model/ModifyPhoneNumberResult.cc
src/model/ModifyPhoneTagsRequest.cc
@@ -636,28 +548,12 @@ set(ccc_src
src/model/PickLocalNumberResult.cc
src/model/PickOutboundNumbersRequest.cc
src/model/PickOutboundNumbersResult.cc
src/model/PickOutboundNumbersByTagsRequest.cc
src/model/PickOutboundNumbersByTagsResult.cc
src/model/PreCreateMediaRequest.cc
src/model/PreCreateMediaResult.cc
src/model/PreModifyMediaRequest.cc
src/model/PreModifyMediaResult.cc
src/model/PredictiveRecordFailureRequest.cc
src/model/PredictiveRecordFailureResult.cc
src/model/PredictiveRecordSuccessRequest.cc
src/model/PredictiveRecordSuccessResult.cc
src/model/PublishContactFlowVersionRequest.cc
src/model/PublishContactFlowVersionResult.cc
src/model/PublishPredictiveJobGroupRequest.cc
src/model/PublishPredictiveJobGroupResult.cc
src/model/PublishSurveyRequest.cc
src/model/PublishSurveyResult.cc
src/model/QueryRedialIndicatorRequest.cc
src/model/QueryRedialIndicatorResult.cc
src/model/RefreshTokenRequest.cc
src/model/RefreshTokenResult.cc
src/model/RemoveNumberFromSkillGroupRequest.cc
src/model/RemoveNumberFromSkillGroupResult.cc
src/model/RemovePhoneNumberRequest.cc
src/model/RemovePhoneNumberResult.cc
src/model/RemoveUsersRequest.cc
@@ -676,8 +572,6 @@ set(ccc_src
src/model/SaveWebRTCStatsResult.cc
src/model/SendPredefinedShortMessageRequest.cc
src/model/SendPredefinedShortMessageResult.cc
src/model/SimpleDialRequest.cc
src/model/SimpleDialResult.cc
src/model/StartBack2BackCallRequest.cc
src/model/StartBack2BackCallResult.cc
src/model/StartJobRequest.cc
@@ -689,9 +583,7 @@ set(ccc_src
src/model/SuspendJobsRequest.cc
src/model/SuspendJobsResult.cc
src/model/TaskPreparingRequest.cc
src/model/TaskPreparingResult.cc
src/model/TwoPartiesCallRequest.cc
src/model/TwoPartiesCallResult.cc )
src/model/TaskPreparingResult.cc )
add_library(ccc ${LIB_TYPE}
${ccc_public_header}

View File

@@ -26,8 +26,6 @@
#include "model/AddAgentDeviceResult.h"
#include "model/AddBulkPhoneNumbersRequest.h"
#include "model/AddBulkPhoneNumbersResult.h"
#include "model/AddNumberToSkillGroupRequest.h"
#include "model/AddNumberToSkillGroupResult.h"
#include "model/AddPhoneNumberRequest.h"
#include "model/AddPhoneNumberResult.h"
#include "model/AddPhoneTagsRequest.h"
@@ -40,16 +38,12 @@
#include "model/CallOnlinePrivacyNumberResult.h"
#include "model/CancelJobsRequest.h"
#include "model/CancelJobsResult.h"
#include "model/CancelPredictiveJobsRequest.h"
#include "model/CancelPredictiveJobsResult.h"
#include "model/CheckNumberAvaliableRequest.h"
#include "model/CheckNumberAvaliableResult.h"
#include "model/CommitContactFlowVersionModificationRequest.h"
#include "model/CommitContactFlowVersionModificationResult.h"
#include "model/CreateBatchJobsRequest.h"
#include "model/CreateBatchJobsResult.h"
#include "model/CreateCCCPostOrderRequest.h"
#include "model/CreateCCCPostOrderResult.h"
#include "model/CreateCabInstanceRequest.h"
#include "model/CreateCabInstanceResult.h"
#include "model/CreateContactFlowRequest.h"
@@ -62,10 +56,6 @@
#include "model/CreateJobGroupResult.h"
#include "model/CreateMediaRequest.h"
#include "model/CreateMediaResult.h"
#include "model/CreatePredictiveJobGroupRequest.h"
#include "model/CreatePredictiveJobGroupResult.h"
#include "model/CreatePredictiveJobsRequest.h"
#include "model/CreatePredictiveJobsResult.h"
#include "model/CreateScenarioRequest.h"
#include "model/CreateScenarioResult.h"
#include "model/CreateScenarioFromTemplateRequest.h"
@@ -110,16 +100,10 @@
#include "model/GenerateAgentStatisticReportResult.h"
#include "model/GetAgentDataRequest.h"
#include "model/GetAgentDataResult.h"
#include "model/GetAgentStateRequest.h"
#include "model/GetAgentStateResult.h"
#include "model/GetCallMeasureSummaryReportRequest.h"
#include "model/GetCallMeasureSummaryReportResult.h"
#include "model/GetConfigRequest.h"
#include "model/GetConfigResult.h"
#include "model/GetContactIdentifyByOutBoundTaskIdRequest.h"
#include "model/GetContactIdentifyByOutBoundTaskIdResult.h"
#include "model/GetContactInfoByOutboundTaskIdRequest.h"
#include "model/GetContactInfoByOutboundTaskIdResult.h"
#include "model/GetConversationDetailByContactIdRequest.h"
#include "model/GetConversationDetailByContactIdResult.h"
#include "model/GetConversationListRequest.h"
@@ -138,8 +122,6 @@
#include "model/GetJobResult.h"
#include "model/GetJobDataUploadParamsRequest.h"
#include "model/GetJobDataUploadParamsResult.h"
#include "model/GetJobFileUploadUrlRequest.h"
#include "model/GetJobFileUploadUrlResult.h"
#include "model/GetJobGroupRequest.h"
#include "model/GetJobGroupResult.h"
#include "model/GetJobListRequest.h"
@@ -148,12 +130,8 @@
#include "model/GetJobStatusByCallIdResult.h"
#include "model/GetJobTemplateDownloadParamsRequest.h"
#include "model/GetJobTemplateDownloadParamsResult.h"
#include "model/GetJobsProgressRequest.h"
#include "model/GetJobsProgressResult.h"
#include "model/GetNumberRegionInfoRequest.h"
#include "model/GetNumberRegionInfoResult.h"
#include "model/GetPredictiveJobRequest.h"
#include "model/GetPredictiveJobResult.h"
#include "model/GetRecordOssUploadParamRequest.h"
#include "model/GetRecordOssUploadParamResult.h"
#include "model/GetRoutePointRequest.h"
@@ -222,14 +200,6 @@
#include "model/ListPhoneNumbersResult.h"
#include "model/ListPhoneTagsRequest.h"
#include "model/ListPhoneTagsResult.h"
#include "model/ListPredictiveJobGroupsRequest.h"
#include "model/ListPredictiveJobGroupsResult.h"
#include "model/ListPredictiveJobStatusRequest.h"
#include "model/ListPredictiveJobStatusResult.h"
#include "model/ListPrivacyNumberCallDetailsRequest.h"
#include "model/ListPrivacyNumberCallDetailsResult.h"
#include "model/ListPrivilegesOfUserRequest.h"
#include "model/ListPrivilegesOfUserResult.h"
#include "model/ListRealTimeAgentRequest.h"
#include "model/ListRealTimeAgentResult.h"
#include "model/ListRecentCallRecordsRequest.h"
@@ -272,10 +242,6 @@
#include "model/ModifyAgentDeviceResult.h"
#include "model/ModifyCabInstanceRequest.h"
#include "model/ModifyCabInstanceResult.h"
#include "model/ModifyMediaRequest.h"
#include "model/ModifyMediaResult.h"
#include "model/ModifyNotificationConfigRequest.h"
#include "model/ModifyNotificationConfigResult.h"
#include "model/ModifyPhoneNumberRequest.h"
#include "model/ModifyPhoneNumberResult.h"
#include "model/ModifyPhoneTagsRequest.h"
@@ -300,28 +266,12 @@
#include "model/PickLocalNumberResult.h"
#include "model/PickOutboundNumbersRequest.h"
#include "model/PickOutboundNumbersResult.h"
#include "model/PickOutboundNumbersByTagsRequest.h"
#include "model/PickOutboundNumbersByTagsResult.h"
#include "model/PreCreateMediaRequest.h"
#include "model/PreCreateMediaResult.h"
#include "model/PreModifyMediaRequest.h"
#include "model/PreModifyMediaResult.h"
#include "model/PredictiveRecordFailureRequest.h"
#include "model/PredictiveRecordFailureResult.h"
#include "model/PredictiveRecordSuccessRequest.h"
#include "model/PredictiveRecordSuccessResult.h"
#include "model/PublishContactFlowVersionRequest.h"
#include "model/PublishContactFlowVersionResult.h"
#include "model/PublishPredictiveJobGroupRequest.h"
#include "model/PublishPredictiveJobGroupResult.h"
#include "model/PublishSurveyRequest.h"
#include "model/PublishSurveyResult.h"
#include "model/QueryRedialIndicatorRequest.h"
#include "model/QueryRedialIndicatorResult.h"
#include "model/RefreshTokenRequest.h"
#include "model/RefreshTokenResult.h"
#include "model/RemoveNumberFromSkillGroupRequest.h"
#include "model/RemoveNumberFromSkillGroupResult.h"
#include "model/RemovePhoneNumberRequest.h"
#include "model/RemovePhoneNumberResult.h"
#include "model/RemoveUsersRequest.h"
@@ -340,8 +290,6 @@
#include "model/SaveWebRTCStatsResult.h"
#include "model/SendPredefinedShortMessageRequest.h"
#include "model/SendPredefinedShortMessageResult.h"
#include "model/SimpleDialRequest.h"
#include "model/SimpleDialResult.h"
#include "model/StartBack2BackCallRequest.h"
#include "model/StartBack2BackCallResult.h"
#include "model/StartJobRequest.h"
@@ -354,8 +302,6 @@
#include "model/SuspendJobsResult.h"
#include "model/TaskPreparingRequest.h"
#include "model/TaskPreparingResult.h"
#include "model/TwoPartiesCallRequest.h"
#include "model/TwoPartiesCallResult.h"
namespace AlibabaCloud
@@ -371,9 +317,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::AddBulkPhoneNumbersResult> AddBulkPhoneNumbersOutcome;
typedef std::future<AddBulkPhoneNumbersOutcome> AddBulkPhoneNumbersOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::AddBulkPhoneNumbersRequest&, const AddBulkPhoneNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddBulkPhoneNumbersAsyncHandler;
typedef Outcome<Error, Model::AddNumberToSkillGroupResult> AddNumberToSkillGroupOutcome;
typedef std::future<AddNumberToSkillGroupOutcome> AddNumberToSkillGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::AddNumberToSkillGroupRequest&, const AddNumberToSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddNumberToSkillGroupAsyncHandler;
typedef Outcome<Error, Model::AddPhoneNumberResult> AddPhoneNumberOutcome;
typedef std::future<AddPhoneNumberOutcome> AddPhoneNumberOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::AddPhoneNumberRequest&, const AddPhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPhoneNumberAsyncHandler;
@@ -392,9 +335,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CancelJobsResult> CancelJobsOutcome;
typedef std::future<CancelJobsOutcome> CancelJobsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CancelJobsRequest&, const CancelJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelJobsAsyncHandler;
typedef Outcome<Error, Model::CancelPredictiveJobsResult> CancelPredictiveJobsOutcome;
typedef std::future<CancelPredictiveJobsOutcome> CancelPredictiveJobsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CancelPredictiveJobsRequest&, const CancelPredictiveJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelPredictiveJobsAsyncHandler;
typedef Outcome<Error, Model::CheckNumberAvaliableResult> CheckNumberAvaliableOutcome;
typedef std::future<CheckNumberAvaliableOutcome> CheckNumberAvaliableOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CheckNumberAvaliableRequest&, const CheckNumberAvaliableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckNumberAvaliableAsyncHandler;
@@ -404,9 +344,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateBatchJobsResult> CreateBatchJobsOutcome;
typedef std::future<CreateBatchJobsOutcome> CreateBatchJobsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreateBatchJobsRequest&, const CreateBatchJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBatchJobsAsyncHandler;
typedef Outcome<Error, Model::CreateCCCPostOrderResult> CreateCCCPostOrderOutcome;
typedef std::future<CreateCCCPostOrderOutcome> CreateCCCPostOrderOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreateCCCPostOrderRequest&, const CreateCCCPostOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCCCPostOrderAsyncHandler;
typedef Outcome<Error, Model::CreateCabInstanceResult> CreateCabInstanceOutcome;
typedef std::future<CreateCabInstanceOutcome> CreateCabInstanceOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreateCabInstanceRequest&, const CreateCabInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCabInstanceAsyncHandler;
@@ -425,12 +362,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateMediaResult> CreateMediaOutcome;
typedef std::future<CreateMediaOutcome> CreateMediaOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreateMediaRequest&, const CreateMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMediaAsyncHandler;
typedef Outcome<Error, Model::CreatePredictiveJobGroupResult> CreatePredictiveJobGroupOutcome;
typedef std::future<CreatePredictiveJobGroupOutcome> CreatePredictiveJobGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreatePredictiveJobGroupRequest&, const CreatePredictiveJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePredictiveJobGroupAsyncHandler;
typedef Outcome<Error, Model::CreatePredictiveJobsResult> CreatePredictiveJobsOutcome;
typedef std::future<CreatePredictiveJobsOutcome> CreatePredictiveJobsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreatePredictiveJobsRequest&, const CreatePredictiveJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePredictiveJobsAsyncHandler;
typedef Outcome<Error, Model::CreateScenarioResult> CreateScenarioOutcome;
typedef std::future<CreateScenarioOutcome> CreateScenarioOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::CreateScenarioRequest&, const CreateScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateScenarioAsyncHandler;
@@ -497,21 +428,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetAgentDataResult> GetAgentDataOutcome;
typedef std::future<GetAgentDataOutcome> GetAgentDataOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetAgentDataRequest&, const GetAgentDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAgentDataAsyncHandler;
typedef Outcome<Error, Model::GetAgentStateResult> GetAgentStateOutcome;
typedef std::future<GetAgentStateOutcome> GetAgentStateOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetAgentStateRequest&, const GetAgentStateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAgentStateAsyncHandler;
typedef Outcome<Error, Model::GetCallMeasureSummaryReportResult> GetCallMeasureSummaryReportOutcome;
typedef std::future<GetCallMeasureSummaryReportOutcome> GetCallMeasureSummaryReportOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetCallMeasureSummaryReportRequest&, const GetCallMeasureSummaryReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCallMeasureSummaryReportAsyncHandler;
typedef Outcome<Error, Model::GetConfigResult> GetConfigOutcome;
typedef std::future<GetConfigOutcome> GetConfigOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetConfigRequest&, const GetConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConfigAsyncHandler;
typedef Outcome<Error, Model::GetContactIdentifyByOutBoundTaskIdResult> GetContactIdentifyByOutBoundTaskIdOutcome;
typedef std::future<GetContactIdentifyByOutBoundTaskIdOutcome> GetContactIdentifyByOutBoundTaskIdOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetContactIdentifyByOutBoundTaskIdRequest&, const GetContactIdentifyByOutBoundTaskIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetContactIdentifyByOutBoundTaskIdAsyncHandler;
typedef Outcome<Error, Model::GetContactInfoByOutboundTaskIdResult> GetContactInfoByOutboundTaskIdOutcome;
typedef std::future<GetContactInfoByOutboundTaskIdOutcome> GetContactInfoByOutboundTaskIdOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetContactInfoByOutboundTaskIdRequest&, const GetContactInfoByOutboundTaskIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetContactInfoByOutboundTaskIdAsyncHandler;
typedef Outcome<Error, Model::GetConversationDetailByContactIdResult> GetConversationDetailByContactIdOutcome;
typedef std::future<GetConversationDetailByContactIdOutcome> GetConversationDetailByContactIdOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetConversationDetailByContactIdRequest&, const GetConversationDetailByContactIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConversationDetailByContactIdAsyncHandler;
@@ -539,9 +461,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetJobDataUploadParamsResult> GetJobDataUploadParamsOutcome;
typedef std::future<GetJobDataUploadParamsOutcome> GetJobDataUploadParamsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetJobDataUploadParamsRequest&, const GetJobDataUploadParamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobDataUploadParamsAsyncHandler;
typedef Outcome<Error, Model::GetJobFileUploadUrlResult> GetJobFileUploadUrlOutcome;
typedef std::future<GetJobFileUploadUrlOutcome> GetJobFileUploadUrlOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetJobFileUploadUrlRequest&, const GetJobFileUploadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobFileUploadUrlAsyncHandler;
typedef Outcome<Error, Model::GetJobGroupResult> GetJobGroupOutcome;
typedef std::future<GetJobGroupOutcome> GetJobGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetJobGroupRequest&, const GetJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobGroupAsyncHandler;
@@ -554,15 +473,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::GetJobTemplateDownloadParamsResult> GetJobTemplateDownloadParamsOutcome;
typedef std::future<GetJobTemplateDownloadParamsOutcome> GetJobTemplateDownloadParamsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetJobTemplateDownloadParamsRequest&, const GetJobTemplateDownloadParamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobTemplateDownloadParamsAsyncHandler;
typedef Outcome<Error, Model::GetJobsProgressResult> GetJobsProgressOutcome;
typedef std::future<GetJobsProgressOutcome> GetJobsProgressOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetJobsProgressRequest&, const GetJobsProgressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobsProgressAsyncHandler;
typedef Outcome<Error, Model::GetNumberRegionInfoResult> GetNumberRegionInfoOutcome;
typedef std::future<GetNumberRegionInfoOutcome> GetNumberRegionInfoOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetNumberRegionInfoRequest&, const GetNumberRegionInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNumberRegionInfoAsyncHandler;
typedef Outcome<Error, Model::GetPredictiveJobResult> GetPredictiveJobOutcome;
typedef std::future<GetPredictiveJobOutcome> GetPredictiveJobOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetPredictiveJobRequest&, const GetPredictiveJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPredictiveJobAsyncHandler;
typedef Outcome<Error, Model::GetRecordOssUploadParamResult> GetRecordOssUploadParamOutcome;
typedef std::future<GetRecordOssUploadParamOutcome> GetRecordOssUploadParamOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::GetRecordOssUploadParamRequest&, const GetRecordOssUploadParamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRecordOssUploadParamAsyncHandler;
@@ -665,18 +578,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ListPhoneTagsResult> ListPhoneTagsOutcome;
typedef std::future<ListPhoneTagsOutcome> ListPhoneTagsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListPhoneTagsRequest&, const ListPhoneTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhoneTagsAsyncHandler;
typedef Outcome<Error, Model::ListPredictiveJobGroupsResult> ListPredictiveJobGroupsOutcome;
typedef std::future<ListPredictiveJobGroupsOutcome> ListPredictiveJobGroupsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListPredictiveJobGroupsRequest&, const ListPredictiveJobGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPredictiveJobGroupsAsyncHandler;
typedef Outcome<Error, Model::ListPredictiveJobStatusResult> ListPredictiveJobStatusOutcome;
typedef std::future<ListPredictiveJobStatusOutcome> ListPredictiveJobStatusOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListPredictiveJobStatusRequest&, const ListPredictiveJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPredictiveJobStatusAsyncHandler;
typedef Outcome<Error, Model::ListPrivacyNumberCallDetailsResult> ListPrivacyNumberCallDetailsOutcome;
typedef std::future<ListPrivacyNumberCallDetailsOutcome> ListPrivacyNumberCallDetailsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListPrivacyNumberCallDetailsRequest&, const ListPrivacyNumberCallDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivacyNumberCallDetailsAsyncHandler;
typedef Outcome<Error, Model::ListPrivilegesOfUserResult> ListPrivilegesOfUserOutcome;
typedef std::future<ListPrivilegesOfUserOutcome> ListPrivilegesOfUserOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListPrivilegesOfUserRequest&, const ListPrivilegesOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivilegesOfUserAsyncHandler;
typedef Outcome<Error, Model::ListRealTimeAgentResult> ListRealTimeAgentOutcome;
typedef std::future<ListRealTimeAgentOutcome> ListRealTimeAgentOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ListRealTimeAgentRequest&, const ListRealTimeAgentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRealTimeAgentAsyncHandler;
@@ -740,12 +641,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyCabInstanceResult> ModifyCabInstanceOutcome;
typedef std::future<ModifyCabInstanceOutcome> ModifyCabInstanceOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ModifyCabInstanceRequest&, const ModifyCabInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCabInstanceAsyncHandler;
typedef Outcome<Error, Model::ModifyMediaResult> ModifyMediaOutcome;
typedef std::future<ModifyMediaOutcome> ModifyMediaOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ModifyMediaRequest&, const ModifyMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMediaAsyncHandler;
typedef Outcome<Error, Model::ModifyNotificationConfigResult> ModifyNotificationConfigOutcome;
typedef std::future<ModifyNotificationConfigOutcome> ModifyNotificationConfigOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ModifyNotificationConfigRequest&, const ModifyNotificationConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyNotificationConfigAsyncHandler;
typedef Outcome<Error, Model::ModifyPhoneNumberResult> ModifyPhoneNumberOutcome;
typedef std::future<ModifyPhoneNumberOutcome> ModifyPhoneNumberOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::ModifyPhoneNumberRequest&, const ModifyPhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPhoneNumberAsyncHandler;
@@ -782,39 +677,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::PickOutboundNumbersResult> PickOutboundNumbersOutcome;
typedef std::future<PickOutboundNumbersOutcome> PickOutboundNumbersOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PickOutboundNumbersRequest&, const PickOutboundNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PickOutboundNumbersAsyncHandler;
typedef Outcome<Error, Model::PickOutboundNumbersByTagsResult> PickOutboundNumbersByTagsOutcome;
typedef std::future<PickOutboundNumbersByTagsOutcome> PickOutboundNumbersByTagsOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PickOutboundNumbersByTagsRequest&, const PickOutboundNumbersByTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PickOutboundNumbersByTagsAsyncHandler;
typedef Outcome<Error, Model::PreCreateMediaResult> PreCreateMediaOutcome;
typedef std::future<PreCreateMediaOutcome> PreCreateMediaOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PreCreateMediaRequest&, const PreCreateMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreCreateMediaAsyncHandler;
typedef Outcome<Error, Model::PreModifyMediaResult> PreModifyMediaOutcome;
typedef std::future<PreModifyMediaOutcome> PreModifyMediaOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PreModifyMediaRequest&, const PreModifyMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreModifyMediaAsyncHandler;
typedef Outcome<Error, Model::PredictiveRecordFailureResult> PredictiveRecordFailureOutcome;
typedef std::future<PredictiveRecordFailureOutcome> PredictiveRecordFailureOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PredictiveRecordFailureRequest&, const PredictiveRecordFailureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PredictiveRecordFailureAsyncHandler;
typedef Outcome<Error, Model::PredictiveRecordSuccessResult> PredictiveRecordSuccessOutcome;
typedef std::future<PredictiveRecordSuccessOutcome> PredictiveRecordSuccessOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PredictiveRecordSuccessRequest&, const PredictiveRecordSuccessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PredictiveRecordSuccessAsyncHandler;
typedef Outcome<Error, Model::PublishContactFlowVersionResult> PublishContactFlowVersionOutcome;
typedef std::future<PublishContactFlowVersionOutcome> PublishContactFlowVersionOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PublishContactFlowVersionRequest&, const PublishContactFlowVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishContactFlowVersionAsyncHandler;
typedef Outcome<Error, Model::PublishPredictiveJobGroupResult> PublishPredictiveJobGroupOutcome;
typedef std::future<PublishPredictiveJobGroupOutcome> PublishPredictiveJobGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PublishPredictiveJobGroupRequest&, const PublishPredictiveJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishPredictiveJobGroupAsyncHandler;
typedef Outcome<Error, Model::PublishSurveyResult> PublishSurveyOutcome;
typedef std::future<PublishSurveyOutcome> PublishSurveyOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::PublishSurveyRequest&, const PublishSurveyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishSurveyAsyncHandler;
typedef Outcome<Error, Model::QueryRedialIndicatorResult> QueryRedialIndicatorOutcome;
typedef std::future<QueryRedialIndicatorOutcome> QueryRedialIndicatorOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::QueryRedialIndicatorRequest&, const QueryRedialIndicatorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRedialIndicatorAsyncHandler;
typedef Outcome<Error, Model::RefreshTokenResult> RefreshTokenOutcome;
typedef std::future<RefreshTokenOutcome> RefreshTokenOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::RefreshTokenRequest&, const RefreshTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshTokenAsyncHandler;
typedef Outcome<Error, Model::RemoveNumberFromSkillGroupResult> RemoveNumberFromSkillGroupOutcome;
typedef std::future<RemoveNumberFromSkillGroupOutcome> RemoveNumberFromSkillGroupOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::RemoveNumberFromSkillGroupRequest&, const RemoveNumberFromSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveNumberFromSkillGroupAsyncHandler;
typedef Outcome<Error, Model::RemovePhoneNumberResult> RemovePhoneNumberOutcome;
typedef std::future<RemovePhoneNumberOutcome> RemovePhoneNumberOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::RemovePhoneNumberRequest&, const RemovePhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePhoneNumberAsyncHandler;
@@ -842,9 +713,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SendPredefinedShortMessageResult> SendPredefinedShortMessageOutcome;
typedef std::future<SendPredefinedShortMessageOutcome> SendPredefinedShortMessageOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::SendPredefinedShortMessageRequest&, const SendPredefinedShortMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendPredefinedShortMessageAsyncHandler;
typedef Outcome<Error, Model::SimpleDialResult> SimpleDialOutcome;
typedef std::future<SimpleDialOutcome> SimpleDialOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::SimpleDialRequest&, const SimpleDialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SimpleDialAsyncHandler;
typedef Outcome<Error, Model::StartBack2BackCallResult> StartBack2BackCallOutcome;
typedef std::future<StartBack2BackCallOutcome> StartBack2BackCallOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::StartBack2BackCallRequest&, const StartBack2BackCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartBack2BackCallAsyncHandler;
@@ -863,9 +731,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::TaskPreparingResult> TaskPreparingOutcome;
typedef std::future<TaskPreparingOutcome> TaskPreparingOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::TaskPreparingRequest&, const TaskPreparingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaskPreparingAsyncHandler;
typedef Outcome<Error, Model::TwoPartiesCallResult> TwoPartiesCallOutcome;
typedef std::future<TwoPartiesCallOutcome> TwoPartiesCallOutcomeCallable;
typedef std::function<void(const CCCClient*, const Model::TwoPartiesCallRequest&, const TwoPartiesCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TwoPartiesCallAsyncHandler;
CCCClient(const Credentials &credentials, const ClientConfiguration &configuration);
CCCClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
@@ -877,9 +742,6 @@ namespace AlibabaCloud
AddBulkPhoneNumbersOutcome addBulkPhoneNumbers(const Model::AddBulkPhoneNumbersRequest &request)const;
void addBulkPhoneNumbersAsync(const Model::AddBulkPhoneNumbersRequest& request, const AddBulkPhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddBulkPhoneNumbersOutcomeCallable addBulkPhoneNumbersCallable(const Model::AddBulkPhoneNumbersRequest& request) const;
AddNumberToSkillGroupOutcome addNumberToSkillGroup(const Model::AddNumberToSkillGroupRequest &request)const;
void addNumberToSkillGroupAsync(const Model::AddNumberToSkillGroupRequest& request, const AddNumberToSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddNumberToSkillGroupOutcomeCallable addNumberToSkillGroupCallable(const Model::AddNumberToSkillGroupRequest& request) const;
AddPhoneNumberOutcome addPhoneNumber(const Model::AddPhoneNumberRequest &request)const;
void addPhoneNumberAsync(const Model::AddPhoneNumberRequest& request, const AddPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddPhoneNumberOutcomeCallable addPhoneNumberCallable(const Model::AddPhoneNumberRequest& request) const;
@@ -898,9 +760,6 @@ namespace AlibabaCloud
CancelJobsOutcome cancelJobs(const Model::CancelJobsRequest &request)const;
void cancelJobsAsync(const Model::CancelJobsRequest& request, const CancelJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelJobsOutcomeCallable cancelJobsCallable(const Model::CancelJobsRequest& request) const;
CancelPredictiveJobsOutcome cancelPredictiveJobs(const Model::CancelPredictiveJobsRequest &request)const;
void cancelPredictiveJobsAsync(const Model::CancelPredictiveJobsRequest& request, const CancelPredictiveJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CancelPredictiveJobsOutcomeCallable cancelPredictiveJobsCallable(const Model::CancelPredictiveJobsRequest& request) const;
CheckNumberAvaliableOutcome checkNumberAvaliable(const Model::CheckNumberAvaliableRequest &request)const;
void checkNumberAvaliableAsync(const Model::CheckNumberAvaliableRequest& request, const CheckNumberAvaliableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckNumberAvaliableOutcomeCallable checkNumberAvaliableCallable(const Model::CheckNumberAvaliableRequest& request) const;
@@ -910,9 +769,6 @@ namespace AlibabaCloud
CreateBatchJobsOutcome createBatchJobs(const Model::CreateBatchJobsRequest &request)const;
void createBatchJobsAsync(const Model::CreateBatchJobsRequest& request, const CreateBatchJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateBatchJobsOutcomeCallable createBatchJobsCallable(const Model::CreateBatchJobsRequest& request) const;
CreateCCCPostOrderOutcome createCCCPostOrder(const Model::CreateCCCPostOrderRequest &request)const;
void createCCCPostOrderAsync(const Model::CreateCCCPostOrderRequest& request, const CreateCCCPostOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCCCPostOrderOutcomeCallable createCCCPostOrderCallable(const Model::CreateCCCPostOrderRequest& request) const;
CreateCabInstanceOutcome createCabInstance(const Model::CreateCabInstanceRequest &request)const;
void createCabInstanceAsync(const Model::CreateCabInstanceRequest& request, const CreateCabInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateCabInstanceOutcomeCallable createCabInstanceCallable(const Model::CreateCabInstanceRequest& request) const;
@@ -931,12 +787,6 @@ namespace AlibabaCloud
CreateMediaOutcome createMedia(const Model::CreateMediaRequest &request)const;
void createMediaAsync(const Model::CreateMediaRequest& request, const CreateMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMediaOutcomeCallable createMediaCallable(const Model::CreateMediaRequest& request) const;
CreatePredictiveJobGroupOutcome createPredictiveJobGroup(const Model::CreatePredictiveJobGroupRequest &request)const;
void createPredictiveJobGroupAsync(const Model::CreatePredictiveJobGroupRequest& request, const CreatePredictiveJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePredictiveJobGroupOutcomeCallable createPredictiveJobGroupCallable(const Model::CreatePredictiveJobGroupRequest& request) const;
CreatePredictiveJobsOutcome createPredictiveJobs(const Model::CreatePredictiveJobsRequest &request)const;
void createPredictiveJobsAsync(const Model::CreatePredictiveJobsRequest& request, const CreatePredictiveJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreatePredictiveJobsOutcomeCallable createPredictiveJobsCallable(const Model::CreatePredictiveJobsRequest& request) const;
CreateScenarioOutcome createScenario(const Model::CreateScenarioRequest &request)const;
void createScenarioAsync(const Model::CreateScenarioRequest& request, const CreateScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateScenarioOutcomeCallable createScenarioCallable(const Model::CreateScenarioRequest& request) const;
@@ -1003,21 +853,12 @@ namespace AlibabaCloud
GetAgentDataOutcome getAgentData(const Model::GetAgentDataRequest &request)const;
void getAgentDataAsync(const Model::GetAgentDataRequest& request, const GetAgentDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAgentDataOutcomeCallable getAgentDataCallable(const Model::GetAgentDataRequest& request) const;
GetAgentStateOutcome getAgentState(const Model::GetAgentStateRequest &request)const;
void getAgentStateAsync(const Model::GetAgentStateRequest& request, const GetAgentStateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetAgentStateOutcomeCallable getAgentStateCallable(const Model::GetAgentStateRequest& request) const;
GetCallMeasureSummaryReportOutcome getCallMeasureSummaryReport(const Model::GetCallMeasureSummaryReportRequest &request)const;
void getCallMeasureSummaryReportAsync(const Model::GetCallMeasureSummaryReportRequest& request, const GetCallMeasureSummaryReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetCallMeasureSummaryReportOutcomeCallable getCallMeasureSummaryReportCallable(const Model::GetCallMeasureSummaryReportRequest& request) const;
GetConfigOutcome getConfig(const Model::GetConfigRequest &request)const;
void getConfigAsync(const Model::GetConfigRequest& request, const GetConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetConfigOutcomeCallable getConfigCallable(const Model::GetConfigRequest& request) const;
GetContactIdentifyByOutBoundTaskIdOutcome getContactIdentifyByOutBoundTaskId(const Model::GetContactIdentifyByOutBoundTaskIdRequest &request)const;
void getContactIdentifyByOutBoundTaskIdAsync(const Model::GetContactIdentifyByOutBoundTaskIdRequest& request, const GetContactIdentifyByOutBoundTaskIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetContactIdentifyByOutBoundTaskIdOutcomeCallable getContactIdentifyByOutBoundTaskIdCallable(const Model::GetContactIdentifyByOutBoundTaskIdRequest& request) const;
GetContactInfoByOutboundTaskIdOutcome getContactInfoByOutboundTaskId(const Model::GetContactInfoByOutboundTaskIdRequest &request)const;
void getContactInfoByOutboundTaskIdAsync(const Model::GetContactInfoByOutboundTaskIdRequest& request, const GetContactInfoByOutboundTaskIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetContactInfoByOutboundTaskIdOutcomeCallable getContactInfoByOutboundTaskIdCallable(const Model::GetContactInfoByOutboundTaskIdRequest& request) const;
GetConversationDetailByContactIdOutcome getConversationDetailByContactId(const Model::GetConversationDetailByContactIdRequest &request)const;
void getConversationDetailByContactIdAsync(const Model::GetConversationDetailByContactIdRequest& request, const GetConversationDetailByContactIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetConversationDetailByContactIdOutcomeCallable getConversationDetailByContactIdCallable(const Model::GetConversationDetailByContactIdRequest& request) const;
@@ -1045,9 +886,6 @@ namespace AlibabaCloud
GetJobDataUploadParamsOutcome getJobDataUploadParams(const Model::GetJobDataUploadParamsRequest &request)const;
void getJobDataUploadParamsAsync(const Model::GetJobDataUploadParamsRequest& request, const GetJobDataUploadParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetJobDataUploadParamsOutcomeCallable getJobDataUploadParamsCallable(const Model::GetJobDataUploadParamsRequest& request) const;
GetJobFileUploadUrlOutcome getJobFileUploadUrl(const Model::GetJobFileUploadUrlRequest &request)const;
void getJobFileUploadUrlAsync(const Model::GetJobFileUploadUrlRequest& request, const GetJobFileUploadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetJobFileUploadUrlOutcomeCallable getJobFileUploadUrlCallable(const Model::GetJobFileUploadUrlRequest& request) const;
GetJobGroupOutcome getJobGroup(const Model::GetJobGroupRequest &request)const;
void getJobGroupAsync(const Model::GetJobGroupRequest& request, const GetJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetJobGroupOutcomeCallable getJobGroupCallable(const Model::GetJobGroupRequest& request) const;
@@ -1060,15 +898,9 @@ namespace AlibabaCloud
GetJobTemplateDownloadParamsOutcome getJobTemplateDownloadParams(const Model::GetJobTemplateDownloadParamsRequest &request)const;
void getJobTemplateDownloadParamsAsync(const Model::GetJobTemplateDownloadParamsRequest& request, const GetJobTemplateDownloadParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetJobTemplateDownloadParamsOutcomeCallable getJobTemplateDownloadParamsCallable(const Model::GetJobTemplateDownloadParamsRequest& request) const;
GetJobsProgressOutcome getJobsProgress(const Model::GetJobsProgressRequest &request)const;
void getJobsProgressAsync(const Model::GetJobsProgressRequest& request, const GetJobsProgressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetJobsProgressOutcomeCallable getJobsProgressCallable(const Model::GetJobsProgressRequest& request) const;
GetNumberRegionInfoOutcome getNumberRegionInfo(const Model::GetNumberRegionInfoRequest &request)const;
void getNumberRegionInfoAsync(const Model::GetNumberRegionInfoRequest& request, const GetNumberRegionInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetNumberRegionInfoOutcomeCallable getNumberRegionInfoCallable(const Model::GetNumberRegionInfoRequest& request) const;
GetPredictiveJobOutcome getPredictiveJob(const Model::GetPredictiveJobRequest &request)const;
void getPredictiveJobAsync(const Model::GetPredictiveJobRequest& request, const GetPredictiveJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetPredictiveJobOutcomeCallable getPredictiveJobCallable(const Model::GetPredictiveJobRequest& request) const;
GetRecordOssUploadParamOutcome getRecordOssUploadParam(const Model::GetRecordOssUploadParamRequest &request)const;
void getRecordOssUploadParamAsync(const Model::GetRecordOssUploadParamRequest& request, const GetRecordOssUploadParamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetRecordOssUploadParamOutcomeCallable getRecordOssUploadParamCallable(const Model::GetRecordOssUploadParamRequest& request) const;
@@ -1171,18 +1003,6 @@ namespace AlibabaCloud
ListPhoneTagsOutcome listPhoneTags(const Model::ListPhoneTagsRequest &request)const;
void listPhoneTagsAsync(const Model::ListPhoneTagsRequest& request, const ListPhoneTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPhoneTagsOutcomeCallable listPhoneTagsCallable(const Model::ListPhoneTagsRequest& request) const;
ListPredictiveJobGroupsOutcome listPredictiveJobGroups(const Model::ListPredictiveJobGroupsRequest &request)const;
void listPredictiveJobGroupsAsync(const Model::ListPredictiveJobGroupsRequest& request, const ListPredictiveJobGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPredictiveJobGroupsOutcomeCallable listPredictiveJobGroupsCallable(const Model::ListPredictiveJobGroupsRequest& request) const;
ListPredictiveJobStatusOutcome listPredictiveJobStatus(const Model::ListPredictiveJobStatusRequest &request)const;
void listPredictiveJobStatusAsync(const Model::ListPredictiveJobStatusRequest& request, const ListPredictiveJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPredictiveJobStatusOutcomeCallable listPredictiveJobStatusCallable(const Model::ListPredictiveJobStatusRequest& request) const;
ListPrivacyNumberCallDetailsOutcome listPrivacyNumberCallDetails(const Model::ListPrivacyNumberCallDetailsRequest &request)const;
void listPrivacyNumberCallDetailsAsync(const Model::ListPrivacyNumberCallDetailsRequest& request, const ListPrivacyNumberCallDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPrivacyNumberCallDetailsOutcomeCallable listPrivacyNumberCallDetailsCallable(const Model::ListPrivacyNumberCallDetailsRequest& request) const;
ListPrivilegesOfUserOutcome listPrivilegesOfUser(const Model::ListPrivilegesOfUserRequest &request)const;
void listPrivilegesOfUserAsync(const Model::ListPrivilegesOfUserRequest& request, const ListPrivilegesOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListPrivilegesOfUserOutcomeCallable listPrivilegesOfUserCallable(const Model::ListPrivilegesOfUserRequest& request) const;
ListRealTimeAgentOutcome listRealTimeAgent(const Model::ListRealTimeAgentRequest &request)const;
void listRealTimeAgentAsync(const Model::ListRealTimeAgentRequest& request, const ListRealTimeAgentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListRealTimeAgentOutcomeCallable listRealTimeAgentCallable(const Model::ListRealTimeAgentRequest& request) const;
@@ -1246,12 +1066,6 @@ namespace AlibabaCloud
ModifyCabInstanceOutcome modifyCabInstance(const Model::ModifyCabInstanceRequest &request)const;
void modifyCabInstanceAsync(const Model::ModifyCabInstanceRequest& request, const ModifyCabInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyCabInstanceOutcomeCallable modifyCabInstanceCallable(const Model::ModifyCabInstanceRequest& request) const;
ModifyMediaOutcome modifyMedia(const Model::ModifyMediaRequest &request)const;
void modifyMediaAsync(const Model::ModifyMediaRequest& request, const ModifyMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyMediaOutcomeCallable modifyMediaCallable(const Model::ModifyMediaRequest& request) const;
ModifyNotificationConfigOutcome modifyNotificationConfig(const Model::ModifyNotificationConfigRequest &request)const;
void modifyNotificationConfigAsync(const Model::ModifyNotificationConfigRequest& request, const ModifyNotificationConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyNotificationConfigOutcomeCallable modifyNotificationConfigCallable(const Model::ModifyNotificationConfigRequest& request) const;
ModifyPhoneNumberOutcome modifyPhoneNumber(const Model::ModifyPhoneNumberRequest &request)const;
void modifyPhoneNumberAsync(const Model::ModifyPhoneNumberRequest& request, const ModifyPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyPhoneNumberOutcomeCallable modifyPhoneNumberCallable(const Model::ModifyPhoneNumberRequest& request) const;
@@ -1288,39 +1102,15 @@ namespace AlibabaCloud
PickOutboundNumbersOutcome pickOutboundNumbers(const Model::PickOutboundNumbersRequest &request)const;
void pickOutboundNumbersAsync(const Model::PickOutboundNumbersRequest& request, const PickOutboundNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PickOutboundNumbersOutcomeCallable pickOutboundNumbersCallable(const Model::PickOutboundNumbersRequest& request) const;
PickOutboundNumbersByTagsOutcome pickOutboundNumbersByTags(const Model::PickOutboundNumbersByTagsRequest &request)const;
void pickOutboundNumbersByTagsAsync(const Model::PickOutboundNumbersByTagsRequest& request, const PickOutboundNumbersByTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PickOutboundNumbersByTagsOutcomeCallable pickOutboundNumbersByTagsCallable(const Model::PickOutboundNumbersByTagsRequest& request) const;
PreCreateMediaOutcome preCreateMedia(const Model::PreCreateMediaRequest &request)const;
void preCreateMediaAsync(const Model::PreCreateMediaRequest& request, const PreCreateMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PreCreateMediaOutcomeCallable preCreateMediaCallable(const Model::PreCreateMediaRequest& request) const;
PreModifyMediaOutcome preModifyMedia(const Model::PreModifyMediaRequest &request)const;
void preModifyMediaAsync(const Model::PreModifyMediaRequest& request, const PreModifyMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PreModifyMediaOutcomeCallable preModifyMediaCallable(const Model::PreModifyMediaRequest& request) const;
PredictiveRecordFailureOutcome predictiveRecordFailure(const Model::PredictiveRecordFailureRequest &request)const;
void predictiveRecordFailureAsync(const Model::PredictiveRecordFailureRequest& request, const PredictiveRecordFailureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PredictiveRecordFailureOutcomeCallable predictiveRecordFailureCallable(const Model::PredictiveRecordFailureRequest& request) const;
PredictiveRecordSuccessOutcome predictiveRecordSuccess(const Model::PredictiveRecordSuccessRequest &request)const;
void predictiveRecordSuccessAsync(const Model::PredictiveRecordSuccessRequest& request, const PredictiveRecordSuccessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PredictiveRecordSuccessOutcomeCallable predictiveRecordSuccessCallable(const Model::PredictiveRecordSuccessRequest& request) const;
PublishContactFlowVersionOutcome publishContactFlowVersion(const Model::PublishContactFlowVersionRequest &request)const;
void publishContactFlowVersionAsync(const Model::PublishContactFlowVersionRequest& request, const PublishContactFlowVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishContactFlowVersionOutcomeCallable publishContactFlowVersionCallable(const Model::PublishContactFlowVersionRequest& request) const;
PublishPredictiveJobGroupOutcome publishPredictiveJobGroup(const Model::PublishPredictiveJobGroupRequest &request)const;
void publishPredictiveJobGroupAsync(const Model::PublishPredictiveJobGroupRequest& request, const PublishPredictiveJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishPredictiveJobGroupOutcomeCallable publishPredictiveJobGroupCallable(const Model::PublishPredictiveJobGroupRequest& request) const;
PublishSurveyOutcome publishSurvey(const Model::PublishSurveyRequest &request)const;
void publishSurveyAsync(const Model::PublishSurveyRequest& request, const PublishSurveyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
PublishSurveyOutcomeCallable publishSurveyCallable(const Model::PublishSurveyRequest& request) const;
QueryRedialIndicatorOutcome queryRedialIndicator(const Model::QueryRedialIndicatorRequest &request)const;
void queryRedialIndicatorAsync(const Model::QueryRedialIndicatorRequest& request, const QueryRedialIndicatorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QueryRedialIndicatorOutcomeCallable queryRedialIndicatorCallable(const Model::QueryRedialIndicatorRequest& request) const;
RefreshTokenOutcome refreshToken(const Model::RefreshTokenRequest &request)const;
void refreshTokenAsync(const Model::RefreshTokenRequest& request, const RefreshTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RefreshTokenOutcomeCallable refreshTokenCallable(const Model::RefreshTokenRequest& request) const;
RemoveNumberFromSkillGroupOutcome removeNumberFromSkillGroup(const Model::RemoveNumberFromSkillGroupRequest &request)const;
void removeNumberFromSkillGroupAsync(const Model::RemoveNumberFromSkillGroupRequest& request, const RemoveNumberFromSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemoveNumberFromSkillGroupOutcomeCallable removeNumberFromSkillGroupCallable(const Model::RemoveNumberFromSkillGroupRequest& request) const;
RemovePhoneNumberOutcome removePhoneNumber(const Model::RemovePhoneNumberRequest &request)const;
void removePhoneNumberAsync(const Model::RemovePhoneNumberRequest& request, const RemovePhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
RemovePhoneNumberOutcomeCallable removePhoneNumberCallable(const Model::RemovePhoneNumberRequest& request) const;
@@ -1348,9 +1138,6 @@ namespace AlibabaCloud
SendPredefinedShortMessageOutcome sendPredefinedShortMessage(const Model::SendPredefinedShortMessageRequest &request)const;
void sendPredefinedShortMessageAsync(const Model::SendPredefinedShortMessageRequest& request, const SendPredefinedShortMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SendPredefinedShortMessageOutcomeCallable sendPredefinedShortMessageCallable(const Model::SendPredefinedShortMessageRequest& request) const;
SimpleDialOutcome simpleDial(const Model::SimpleDialRequest &request)const;
void simpleDialAsync(const Model::SimpleDialRequest& request, const SimpleDialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SimpleDialOutcomeCallable simpleDialCallable(const Model::SimpleDialRequest& request) const;
StartBack2BackCallOutcome startBack2BackCall(const Model::StartBack2BackCallRequest &request)const;
void startBack2BackCallAsync(const Model::StartBack2BackCallRequest& request, const StartBack2BackCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
StartBack2BackCallOutcomeCallable startBack2BackCallCallable(const Model::StartBack2BackCallRequest& request) const;
@@ -1369,9 +1156,6 @@ namespace AlibabaCloud
TaskPreparingOutcome taskPreparing(const Model::TaskPreparingRequest &request)const;
void taskPreparingAsync(const Model::TaskPreparingRequest& request, const TaskPreparingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TaskPreparingOutcomeCallable taskPreparingCallable(const Model::TaskPreparingRequest& request) const;
TwoPartiesCallOutcome twoPartiesCall(const Model::TwoPartiesCallRequest &request)const;
void twoPartiesCallAsync(const Model::TwoPartiesCallRequest& request, const TwoPartiesCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TwoPartiesCallOutcomeCallable twoPartiesCallCallable(const Model::TwoPartiesCallRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;

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.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT CreatePredictiveJobGroupRequest : public RpcServiceRequest
{
public:
CreatePredictiveJobGroupRequest();
~CreatePredictiveJobGroupRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
bool getTimingSchedule()const;
void setTimingSchedule(bool timingSchedule);
std::vector<std::string> getJobsJson()const;
void setJobsJson(const std::vector<std::string>& jobsJson);
std::string getJobFilePath()const;
void setJobFilePath(const std::string& jobFilePath);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
bool getIsDraft()const;
void setIsDraft(bool isDraft);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
std::string getStrategyJson()const;
void setStrategyJson(const std::string& strategyJson);
std::string getName()const;
void setName(const std::string& name);
private:
std::string description_;
bool timingSchedule_;
std::vector<std::string> jobsJson_;
std::string jobFilePath_;
std::string instanceId_;
bool isDraft_;
std::string skillGroupId_;
std::string strategyJson_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetContactIdentifyByOutBoundTaskIdResult : public ServiceResult
{
public:
struct ContactIdentity
{
std::string jobGroupId;
std::string userPhone;
std::string contactReferrnceId;
};
GetContactIdentifyByOutBoundTaskIdResult();
explicit GetContactIdentifyByOutBoundTaskIdResult(const std::string &payload);
~GetContactIdentifyByOutBoundTaskIdResult();
std::string getMessage()const;
ContactIdentity getContactIdentity()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
ContactIdentity contactIdentity_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDRESULT_H_

View File

@@ -1,66 +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_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetContactInfoByOutboundTaskIdResult : public ServiceResult
{
public:
struct ContactIdentity
{
std::string jobGroupId;
std::string userPhone;
std::string caller;
std::string contactReferrnceId;
};
GetContactInfoByOutboundTaskIdResult();
explicit GetContactInfoByOutboundTaskIdResult(const std::string &payload);
~GetContactInfoByOutboundTaskIdResult();
std::string getMessage()const;
ContactIdentity getContactIdentity()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
ContactIdentity contactIdentity_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_H_

View File

@@ -1,112 +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_CCC_MODEL_GETPREDICTIVEJOBRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT GetPredictiveJobResult : public ServiceResult
{
public:
struct Job
{
struct Contact
{
std::string role;
std::string honorific;
std::string referenceId;
std::string state;
std::string phoneNumber;
std::string contactId;
std::string contactName;
std::string jobId;
};
struct Task
{
struct Contact1
{
std::string role;
std::string honorific;
std::string referenceId;
std::string state;
std::string phoneNumber;
std::string contactId;
std::string contactName;
std::string jobId;
};
std::string status;
std::string chatbotId;
long planedTime;
std::string calledNumber;
std::string taskId;
std::string scenarioId;
long actualTime;
std::string callId;
int duration;
std::string brief;
std::string callingNumber;
Contact1 contact1;
std::string jobId;
};
std::string status;
std::string jobGroupId;
std::vector<Task> tasks;
std::string scenarioId;
std::vector<Contact> contacts;
std::string referenceId;
int priority;
int systemPriority;
std::string failureReason;
std::string strategyId;
std::string jobId;
std::vector<std::string> callingNumbers;
};
GetPredictiveJobResult();
explicit GetPredictiveJobResult(const std::string &payload);
~GetPredictiveJobResult();
std::string getMessage()const;
int getHttpStatusCode()const;
Job getJob()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
Job job_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBRESULT_H_

View File

@@ -35,17 +35,23 @@ namespace AlibabaCloud
ListOutboundPhoneNumberOfUserRequest();
~ListOutboundPhoneNumberOfUserRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getUserId()const;
void setUserId(const std::string& userId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string instanceId_;
std::string userId_;
int pageNumber_;
std::string accessKeyId_;
std::string instanceId_;
int pageSize_;
};
}

View File

@@ -68,6 +68,7 @@ namespace AlibabaCloud
~ListOutboundPhoneNumberOfUserResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::vector<std::string> getNumberList()const;
std::vector<PhoneNumber> getOutboundPhoneNumbers()const;
std::string getCode()const;
bool getSuccess()const;
@@ -77,6 +78,7 @@ namespace AlibabaCloud
private:
std::string message_;
int httpStatusCode_;
std::vector<std::string> numberList_;
std::vector<PhoneNumber> outboundPhoneNumbers_;
std::string code_;
bool success_;

View File

@@ -36,55 +36,20 @@ namespace AlibabaCloud
{
struct PhoneNumber
{
struct ContactFlow
{
std::string type;
std::string contactFlowId;
std::string instanceId;
std::string contactFlowName;
std::string contactFlowDescription;
};
struct PrivacyNumber
{
std::string regionNameCity;
std::string type;
std::string subId;
std::string poolId;
std::string extra;
std::string poolName;
std::string phoneNumber;
std::string telX;
std::string bizId;
};
struct SkillGroup
{
std::string skillGroupName;
std::string skillGroupId;
};
std::string assignee;
std::string usage;
bool testOnly;
bool allowOutbound;
std::string numberGroupId;
std::string instanceId;
std::string contactFlowId;
std::string serviceTag;
long createTime;
int remainingTime;
std::vector<PhoneNumber::SkillGroup> skillGroups;
int trunks;
std::string city;
std::string phoneNumberId;
std::string province;
std::string phoneNumberDescription;
std::string provider;
int type;
std::string sipTelX;
std::string number;
int concurrency;
PrivacyNumber privacyNumber;
int numberCommodityStatus;
ContactFlow contactFlow;
std::string numberGroupName;
std::vector<std::string> skillGroupIdList;
};
int totalCount;
int pageSize;

View File

@@ -1,111 +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_CCC_MODEL_LISTPREDICTIVEJOBGROUPSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListPredictiveJobGroupsResult : public ServiceResult
{
public:
struct JobGroups
{
struct JobGroup
{
struct Strategy
{
struct TimeFrame
{
std::string endTime;
std::string beginTime;
};
std::vector<TimeFrame> workingTime;
int minAttemptInterval;
long endTime;
std::string strategyId;
long startTime;
int maxAttemptsPerDay;
};
struct Progress
{
struct KeyValuePair
{
std::string value;
std::string key;
};
std::string status;
std::vector<KeyValuePair> categories;
long startTime;
int duration;
int totalCompleted;
int totalNotAnswered;
int totalJobs;
};
Progress progress;
std::string description;
std::string endTime;
std::string instanceId;
std::string startTime;
std::string skillGroupId;
std::string name;
std::string jobGroupId;
std::string skillGroupName;
std::string taskType;
long creationTime;
Strategy strategy;
std::string occupancyRate;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<JobGroup> list;
};
ListPredictiveJobGroupsResult();
explicit ListPredictiveJobGroupsResult(const std::string &payload);
~ListPredictiveJobGroupsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
JobGroups getJobGroups()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
JobGroups jobGroups_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSRESULT_H_

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.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListPredictiveJobStatusRequest : public RpcServiceRequest
{
public:
ListPredictiveJobStatusRequest();
~ListPredictiveJobStatusRequest();
std::string getTimeAlignment()const;
void setTimeAlignment(const std::string& timeAlignment);
std::string getPhoneNumber()const;
void setPhoneNumber(const std::string& phoneNumber);
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getContactName()const;
void setContactName(const std::string& contactName);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getJobGroupId()const;
void setJobGroupId(const std::string& jobGroupId);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string timeAlignment_;
std::string phoneNumber_;
long endTime_;
long startTime_;
int pageNumber_;
std::string contactName_;
std::string instanceId_;
std::string jobGroupId_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSREQUEST_H_

View File

@@ -1,91 +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_CCC_MODEL_LISTPREDICTIVEJOBSTATUSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListPredictiveJobStatusResult : public ServiceResult
{
public:
struct Jobs
{
struct Job
{
struct Contact
{
std::string role;
std::string honorific;
std::string referenceId;
std::string state;
std::string phoneNumber;
std::string contactId;
std::string contactName;
std::string jobId;
};
std::string status;
std::string jobGroupId;
std::string scenarioId;
std::vector<Job::Contact> contacts;
std::string referenceId;
int priority;
int systemPriority;
std::string failureReason;
std::string strategyId;
std::string jobId;
std::vector<std::string> callingNumbers;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<Job> list;
};
ListPredictiveJobStatusResult();
explicit ListPredictiveJobStatusResult(const std::string &payload);
~ListPredictiveJobStatusResult();
std::string getMessage()const;
Jobs getJobs()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
Jobs jobs_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSRESULT_H_

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.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListPrivacyNumberCallDetailsRequest : public RpcServiceRequest
{
public:
ListPrivacyNumberCallDetailsRequest();
~ListPrivacyNumberCallDetailsRequest();
std::string getAgentId()const;
void setAgentId(const std::string& agentId);
std::string getContactId()const;
void setContactId(const std::string& contactId);
long getEndTime()const;
void setEndTime(long endTime);
long getStartTime()const;
void setStartTime(long startTime);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getAgentName()const;
void setAgentName(const std::string& agentName);
int getPageSize()const;
void setPageSize(int pageSize);
private:
std::string agentId_;
std::string contactId_;
long endTime_;
long startTime_;
int pageNumber_;
std::string accessKeyId_;
std::string instanceId_;
std::string agentName_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSREQUEST_H_

View File

@@ -1,80 +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_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ListPrivacyNumberCallDetailsResult : public ServiceResult
{
public:
struct PrivacyNumberCallDetails
{
struct PrivacyNumberCallDetail
{
std::string status;
std::string calledNumber;
std::string contactType;
std::string description;
std::string privacyNumber;
std::string agentId;
std::string agentName;
std::string contactId;
long callTime;
std::string callingNumber;
std::string result;
};
int totalCount;
int pageSize;
int pageNumber;
std::vector<PrivacyNumberCallDetail> list;
};
ListPrivacyNumberCallDetailsResult();
explicit ListPrivacyNumberCallDetailsResult(const std::string &payload);
~ListPrivacyNumberCallDetailsResult();
PrivacyNumberCallDetails getPrivacyNumberCallDetails()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
PrivacyNumberCallDetails privacyNumberCallDetails_;
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSRESULT_H_

View File

@@ -1,75 +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_CCC_MODEL_MODIFYMEDIAREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_MODIFYMEDIAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ModifyMediaRequest : public RpcServiceRequest
{
public:
ModifyMediaRequest();
~ModifyMediaRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getOssFilePath()const;
void setOssFilePath(const std::string& ossFilePath);
std::string getUploadResult()const;
void setUploadResult(const std::string& uploadResult);
std::string getType()const;
void setType(const std::string& type);
std::string getContent()const;
void setContent(const std::string& content);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getOssFileName()const;
void setOssFileName(const std::string& ossFileName);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFileName()const;
void setFileName(const std::string& fileName);
std::string getName()const;
void setName(const std::string& name);
private:
std::string description_;
std::string ossFilePath_;
std::string uploadResult_;
std::string type_;
std::string content_;
std::string accessKeyId_;
std::string ossFileName_;
std::string instanceId_;
std::string fileName_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYMEDIAREQUEST_H_

View File

@@ -1,69 +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_CCC_MODEL_MODIFYNOTIFICATIONCONFIGREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT ModifyNotificationConfigRequest : public RpcServiceRequest
{
struct Subscriptions
{
std::string displayName;
std::string name;
bool selected;
};
public:
ModifyNotificationConfigRequest();
~ModifyNotificationConfigRequest();
std::vector<Subscriptions> getSubscriptions()const;
void setSubscriptions(const std::vector<Subscriptions>& subscriptions);
std::string getAccessPoint()const;
void setAccessPoint(const std::string& accessPoint);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getTopic()const;
void setTopic(const std::string& topic);
std::string getProducerId()const;
void setProducerId(const std::string& producerId);
private:
std::vector<Subscriptions> subscriptions_;
std::string accessPoint_;
std::string accessKeyId_;
std::string instanceId_;
std::string topic_;
std::string producerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGREQUEST_H_

View File

@@ -1,66 +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_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PickOutboundNumbersByTagsRequest : public RpcServiceRequest
{
public:
PickOutboundNumbersByTagsRequest();
~PickOutboundNumbersByTagsRequest();
std::vector<std::string> getPrioritizedCallerArea()const;
void setPrioritizedCallerArea(const std::vector<std::string>& prioritizedCallerArea);
int getCount()const;
void setCount(int count);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::vector<std::string> getServiceTag()const;
void setServiceTag(const std::vector<std::string>& serviceTag);
std::vector<std::string> getSkillGroupId()const;
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
std::string getCalleeNumber()const;
void setCalleeNumber(const std::string& calleeNumber);
private:
std::vector<std::string> prioritizedCallerArea_;
int count_;
std::string accessKeyId_;
std::string instanceId_;
std::vector<std::string> serviceTag_;
std::vector<std::string> skillGroupId_;
std::string calleeNumber_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSREQUEST_H_

View File

@@ -1,76 +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_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PickOutboundNumbersByTagsResult : public ServiceResult
{
public:
struct DialNumberPair
{
struct Callee
{
std::string number;
std::string city;
std::string province;
};
struct Caller
{
std::string number;
std::string city;
std::string province;
};
Callee callee;
Caller caller;
};
PickOutboundNumbersByTagsResult();
explicit PickOutboundNumbersByTagsResult(const std::string &payload);
~PickOutboundNumbersByTagsResult();
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
bool getSuccess()const;
std::vector<DialNumberPair> getDialNumberPairs()const;
protected:
void parse(const std::string &payload);
private:
std::string message_;
int httpStatusCode_;
std::string code_;
bool success_;
std::vector<DialNumberPair> dialNumberPairs_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSRESULT_H_

View File

@@ -1,66 +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_CCC_MODEL_PRECREATEMEDIAREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PreCreateMediaRequest : public RpcServiceRequest
{
public:
PreCreateMediaRequest();
~PreCreateMediaRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getType()const;
void setType(const std::string& type);
std::string getContent()const;
void setContent(const std::string& content);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFileName()const;
void setFileName(const std::string& fileName);
std::string getName()const;
void setName(const std::string& name);
private:
std::string description_;
std::string type_;
std::string content_;
std::string accessKeyId_;
std::string instanceId_;
std::string fileName_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIAREQUEST_H_

View File

@@ -1,66 +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_CCC_MODEL_PREMODIFYMEDIAREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIAREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PreModifyMediaRequest : public RpcServiceRequest
{
public:
PreModifyMediaRequest();
~PreModifyMediaRequest();
std::string getDescription()const;
void setDescription(const std::string& description);
std::string getType()const;
void setType(const std::string& type);
std::string getContent()const;
void setContent(const std::string& content);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getFileName()const;
void setFileName(const std::string& fileName);
std::string getName()const;
void setName(const std::string& name);
private:
std::string description_;
std::string type_;
std::string content_;
std::string accessKeyId_;
std::string instanceId_;
std::string fileName_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIAREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILUREREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILUREREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PredictiveRecordFailureRequest : public RpcServiceRequest
{
public:
PredictiveRecordFailureRequest();
~PredictiveRecordFailureRequest();
std::string getCallId()const;
void setCallId(const std::string& callId);
long getActualTime()const;
void setActualTime(long actualTime);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getDispositionCode()const;
void setDispositionCode(const std::string& dispositionCode);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getCabInstanceId()const;
void setCabInstanceId(const std::string& cabInstanceId);
long getCabInstanceOwnerId()const;
void setCabInstanceOwnerId(long cabInstanceOwnerId);
private:
std::string callId_;
long actualTime_;
std::string callingNumber_;
std::string instanceId_;
std::string dispositionCode_;
std::string calledNumber_;
std::string taskId_;
std::string cabInstanceId_;
long cabInstanceOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILUREREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDSUCCESSREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDSUCCESSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT PredictiveRecordSuccessRequest : public RpcServiceRequest
{
public:
PredictiveRecordSuccessRequest();
~PredictiveRecordSuccessRequest();
std::string getCallId()const;
void setCallId(const std::string& callId);
std::string getCallingNumber()const;
void setCallingNumber(const std::string& callingNumber);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getCalledNumber()const;
void setCalledNumber(const std::string& calledNumber);
std::string getCallType()const;
void setCallType(const std::string& callType);
std::string getScenarioId()const;
void setScenarioId(const std::string& scenarioId);
std::string getTaskId()const;
void setTaskId(const std::string& taskId);
std::string getCabInstanceId()const;
void setCabInstanceId(const std::string& cabInstanceId);
long getCabInstanceOwnerId()const;
void setCabInstanceOwnerId(long cabInstanceOwnerId);
private:
std::string callId_;
std::string callingNumber_;
std::string instanceId_;
std::string calledNumber_;
std::string callType_;
std::string scenarioId_;
std::string taskId_;
std::string cabInstanceId_;
long cabInstanceOwnerId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDSUCCESSREQUEST_H_

View File

@@ -1,57 +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_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT RemoveNumberFromSkillGroupRequest : public RpcServiceRequest
{
public:
RemoveNumberFromSkillGroupRequest();
~RemoveNumberFromSkillGroupRequest();
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getNumber()const;
void setNumber(const std::string& number);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSkillGroupId()const;
void setSkillGroupId(const std::string& skillGroupId);
private:
std::string accessKeyId_;
std::string number_;
std::string instanceId_;
std::string skillGroupId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPREQUEST_H_

View File

@@ -1,60 +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_CCC_MODEL_SIMPLEDIALREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_SIMPLEDIALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT SimpleDialRequest : public RpcServiceRequest
{
public:
SimpleDialRequest();
~SimpleDialRequest();
std::string getCallee()const;
void setCallee(const std::string& callee);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getCaller()const;
void setCaller(const std::string& caller);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getContractFlowId()const;
void setContractFlowId(const std::string& contractFlowId);
private:
std::string callee_;
std::string accessKeyId_;
std::string caller_;
std::string instanceId_;
std::string contractFlowId_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_SIMPLEDIALREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_SIMPLEDIALRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_SIMPLEDIALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT SimpleDialResult : public ServiceResult
{
public:
SimpleDialResult();
explicit SimpleDialResult(const std::string &payload);
~SimpleDialResult();
std::string getStatusDesc()const;
std::string getTaskId()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
std::string getStatusCode()const;
bool getSuccess()const;
std::string getTimeStamp()const;
protected:
void parse(const std::string &payload);
private:
std::string statusDesc_;
std::string taskId_;
std::string message_;
int httpStatusCode_;
std::string code_;
std::string statusCode_;
bool success_;
std::string timeStamp_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_SIMPLEDIALRESULT_H_

View File

@@ -1,60 +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_CCC_MODEL_TWOPARTIESCALLREQUEST_H_
#define ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT TwoPartiesCallRequest : public RpcServiceRequest
{
public:
TwoPartiesCallRequest();
~TwoPartiesCallRequest();
std::string getCalleeCustomer()const;
void setCalleeCustomer(const std::string& calleeCustomer);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getCaller()const;
void setCaller(const std::string& caller);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getCalleeAgent()const;
void setCalleeAgent(const std::string& calleeAgent);
private:
std::string calleeCustomer_;
std::string accessKeyId_;
std::string caller_;
std::string instanceId_;
std::string calleeAgent_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLREQUEST_H_

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.
*/
#ifndef ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLRESULT_H_
#define ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ccc/CCCExport.h>
namespace AlibabaCloud
{
namespace CCC
{
namespace Model
{
class ALIBABACLOUD_CCC_EXPORT TwoPartiesCallResult : public ServiceResult
{
public:
TwoPartiesCallResult();
explicit TwoPartiesCallResult(const std::string &payload);
~TwoPartiesCallResult();
std::string getStatusDesc()const;
std::string getTaskId()const;
std::string getMessage()const;
int getHttpStatusCode()const;
std::string getCode()const;
std::string getStatusCode()const;
bool getSuccess()const;
std::string getTimeStamp()const;
protected:
void parse(const std::string &payload);
private:
std::string statusDesc_;
std::string taskId_;
std::string message_;
int httpStatusCode_;
std::string code_;
std::string statusCode_;
bool success_;
std::string timeStamp_;
};
}
}
}
#endif // !ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLRESULT_H_

File diff suppressed because it is too large Load Diff

View File

@@ -1,71 +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/ccc/model/AddNumberToSkillGroupRequest.h>
using AlibabaCloud::CCC::Model::AddNumberToSkillGroupRequest;
AddNumberToSkillGroupRequest::AddNumberToSkillGroupRequest() :
RpcServiceRequest("ccc", "2017-07-05", "AddNumberToSkillGroup")
{}
AddNumberToSkillGroupRequest::~AddNumberToSkillGroupRequest()
{}
std::string AddNumberToSkillGroupRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void AddNumberToSkillGroupRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string AddNumberToSkillGroupRequest::getNumber()const
{
return number_;
}
void AddNumberToSkillGroupRequest::setNumber(const std::string& number)
{
number_ = number;
setCoreParameter("Number", number);
}
std::string AddNumberToSkillGroupRequest::getInstanceId()const
{
return instanceId_;
}
void AddNumberToSkillGroupRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string AddNumberToSkillGroupRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void AddNumberToSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}

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/ccc/model/CancelPredictiveJobsRequest.h>
using AlibabaCloud::CCC::Model::CancelPredictiveJobsRequest;
CancelPredictiveJobsRequest::CancelPredictiveJobsRequest() :
RpcServiceRequest("ccc", "2017-07-05", "CancelPredictiveJobs")
{}
CancelPredictiveJobsRequest::~CancelPredictiveJobsRequest()
{}
bool CancelPredictiveJobsRequest::getAll()const
{
return all_;
}
void CancelPredictiveJobsRequest::setAll(bool all)
{
all_ = all;
setCoreParameter("All", all ? "true" : "false");
}
std::vector<std::string> CancelPredictiveJobsRequest::getJobId()const
{
return jobId_;
}
void CancelPredictiveJobsRequest::setJobId(const std::vector<std::string>& jobId)
{
jobId_ = jobId;
for(int i = 0; i!= jobId.size(); i++)
setCoreParameter("JobId."+ std::to_string(i), jobId.at(i));
}
std::string CancelPredictiveJobsRequest::getInstanceId()const
{
return instanceId_;
}
void CancelPredictiveJobsRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string CancelPredictiveJobsRequest::getJobGroupId()const
{
return jobGroupId_;
}
void CancelPredictiveJobsRequest::setJobGroupId(const std::string& jobGroupId)
{
jobGroupId_ = jobGroupId;
setCoreParameter("JobGroupId", jobGroupId);
}

View File

@@ -1,79 +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/ccc/model/CreateCCCPostOrderResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
CreateCCCPostOrderResult::CreateCCCPostOrderResult() :
ServiceResult()
{}
CreateCCCPostOrderResult::CreateCCCPostOrderResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreateCCCPostOrderResult::~CreateCCCPostOrderResult()
{}
void CreateCCCPostOrderResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["OrderId"].isNull())
orderId_ = value["OrderId"].asString();
}
std::string CreateCCCPostOrderResult::getMessage()const
{
return message_;
}
int CreateCCCPostOrderResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string CreateCCCPostOrderResult::getOrderId()const
{
return orderId_;
}
std::string CreateCCCPostOrderResult::getCode()const
{
return code_;
}
bool CreateCCCPostOrderResult::getSuccess()const
{
return success_;
}

View File

@@ -1,127 +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/ccc/model/CreatePredictiveJobGroupRequest.h>
using AlibabaCloud::CCC::Model::CreatePredictiveJobGroupRequest;
CreatePredictiveJobGroupRequest::CreatePredictiveJobGroupRequest() :
RpcServiceRequest("ccc", "2017-07-05", "CreatePredictiveJobGroup")
{}
CreatePredictiveJobGroupRequest::~CreatePredictiveJobGroupRequest()
{}
std::string CreatePredictiveJobGroupRequest::getDescription()const
{
return description_;
}
void CreatePredictiveJobGroupRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
}
bool CreatePredictiveJobGroupRequest::getTimingSchedule()const
{
return timingSchedule_;
}
void CreatePredictiveJobGroupRequest::setTimingSchedule(bool timingSchedule)
{
timingSchedule_ = timingSchedule;
setCoreParameter("TimingSchedule", timingSchedule ? "true" : "false");
}
std::vector<std::string> CreatePredictiveJobGroupRequest::getJobsJson()const
{
return jobsJson_;
}
void CreatePredictiveJobGroupRequest::setJobsJson(const std::vector<std::string>& jobsJson)
{
jobsJson_ = jobsJson;
for(int i = 0; i!= jobsJson.size(); i++)
setCoreParameter("JobsJson."+ std::to_string(i), jobsJson.at(i));
}
std::string CreatePredictiveJobGroupRequest::getJobFilePath()const
{
return jobFilePath_;
}
void CreatePredictiveJobGroupRequest::setJobFilePath(const std::string& jobFilePath)
{
jobFilePath_ = jobFilePath;
setCoreParameter("JobFilePath", jobFilePath);
}
std::string CreatePredictiveJobGroupRequest::getInstanceId()const
{
return instanceId_;
}
void CreatePredictiveJobGroupRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
bool CreatePredictiveJobGroupRequest::getIsDraft()const
{
return isDraft_;
}
void CreatePredictiveJobGroupRequest::setIsDraft(bool isDraft)
{
isDraft_ = isDraft;
setCoreParameter("IsDraft", isDraft ? "true" : "false");
}
std::string CreatePredictiveJobGroupRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void CreatePredictiveJobGroupRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}
std::string CreatePredictiveJobGroupRequest::getStrategyJson()const
{
return strategyJson_;
}
void CreatePredictiveJobGroupRequest::setStrategyJson(const std::string& strategyJson)
{
strategyJson_ = strategyJson;
setCoreParameter("StrategyJson", strategyJson);
}
std::string CreatePredictiveJobGroupRequest::getName()const
{
return name_;
}
void CreatePredictiveJobGroupRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
}

View File

@@ -1,79 +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/ccc/model/CreatePredictiveJobGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
CreatePredictiveJobGroupResult::CreatePredictiveJobGroupResult() :
ServiceResult()
{}
CreatePredictiveJobGroupResult::CreatePredictiveJobGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreatePredictiveJobGroupResult::~CreatePredictiveJobGroupResult()
{}
void CreatePredictiveJobGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["JobGroupId"].isNull())
jobGroupId_ = value["JobGroupId"].asString();
}
std::string CreatePredictiveJobGroupResult::getJobGroupId()const
{
return jobGroupId_;
}
std::string CreatePredictiveJobGroupResult::getMessage()const
{
return message_;
}
int CreatePredictiveJobGroupResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string CreatePredictiveJobGroupResult::getCode()const
{
return code_;
}
bool CreatePredictiveJobGroupResult::getSuccess()const
{
return success_;
}

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/ccc/model/CreatePredictiveJobsRequest.h>
using AlibabaCloud::CCC::Model::CreatePredictiveJobsRequest;
CreatePredictiveJobsRequest::CreatePredictiveJobsRequest() :
RpcServiceRequest("ccc", "2017-07-05", "CreatePredictiveJobs")
{}
CreatePredictiveJobsRequest::~CreatePredictiveJobsRequest()
{}
std::vector<std::string> CreatePredictiveJobsRequest::getJobsJson()const
{
return jobsJson_;
}
void CreatePredictiveJobsRequest::setJobsJson(const std::vector<std::string>& jobsJson)
{
jobsJson_ = jobsJson;
for(int i = 0; i!= jobsJson.size(); i++)
setCoreParameter("JobsJson."+ std::to_string(i), jobsJson.at(i));
}
std::string CreatePredictiveJobsRequest::getInstanceId()const
{
return instanceId_;
}
void CreatePredictiveJobsRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string CreatePredictiveJobsRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void CreatePredictiveJobsRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}
std::string CreatePredictiveJobsRequest::getStrategyJson()const
{
return strategyJson_;
}
void CreatePredictiveJobsRequest::setStrategyJson(const std::string& strategyJson)
{
strategyJson_ = strategyJson;
setCoreParameter("StrategyJson", strategyJson);
}

View File

@@ -1,79 +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/ccc/model/CreatePredictiveJobsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
CreatePredictiveJobsResult::CreatePredictiveJobsResult() :
ServiceResult()
{}
CreatePredictiveJobsResult::CreatePredictiveJobsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
CreatePredictiveJobsResult::~CreatePredictiveJobsResult()
{}
void CreatePredictiveJobsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["JobGroupId"].isNull())
jobGroupId_ = value["JobGroupId"].asString();
}
std::string CreatePredictiveJobsResult::getJobGroupId()const
{
return jobGroupId_;
}
std::string CreatePredictiveJobsResult::getMessage()const
{
return message_;
}
int CreatePredictiveJobsResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string CreatePredictiveJobsResult::getCode()const
{
return code_;
}
bool CreatePredictiveJobsResult::getSuccess()const
{
return success_;
}

View File

@@ -1,71 +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/ccc/model/GetAgentStateRequest.h>
using AlibabaCloud::CCC::Model::GetAgentStateRequest;
GetAgentStateRequest::GetAgentStateRequest() :
RpcServiceRequest("ccc", "2017-07-05", "GetAgentState")
{}
GetAgentStateRequest::~GetAgentStateRequest()
{}
std::string GetAgentStateRequest::getAgentId()const
{
return agentId_;
}
void GetAgentStateRequest::setAgentId(const std::string& agentId)
{
agentId_ = agentId;
setCoreParameter("AgentId", agentId);
}
std::string GetAgentStateRequest::getDn()const
{
return dn_;
}
void GetAgentStateRequest::setDn(const std::string& dn)
{
dn_ = dn;
setCoreParameter("Dn", dn);
}
std::string GetAgentStateRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void GetAgentStateRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string GetAgentStateRequest::getInstanceId()const
{
return instanceId_;
}
void GetAgentStateRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}

View File

@@ -1,92 +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/ccc/model/GetAgentStateResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
GetAgentStateResult::GetAgentStateResult() :
ServiceResult()
{}
GetAgentStateResult::GetAgentStateResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetAgentStateResult::~GetAgentStateResult()
{}
void GetAgentStateResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
if(!dataNode["InstanceId"].isNull())
data_.instanceId = dataNode["InstanceId"].asString();
if(!dataNode["AgentId"].isNull())
data_.agentId = dataNode["AgentId"].asString();
if(!dataNode["LoginName"].isNull())
data_.loginName = dataNode["LoginName"].asString();
if(!dataNode["AgentName"].isNull())
data_.agentName = dataNode["AgentName"].asString();
if(!dataNode["State"].isNull())
data_.state = dataNode["State"].asString();
if(!dataNode["Dn"].isNull())
data_.dn = dataNode["Dn"].asString();
if(!dataNode["StateDuration"].isNull())
data_.stateDuration = dataNode["StateDuration"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string GetAgentStateResult::getMessage()const
{
return message_;
}
int GetAgentStateResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
GetAgentStateResult::Data GetAgentStateResult::getData()const
{
return data_;
}
std::string GetAgentStateResult::getCode()const
{
return code_;
}
bool GetAgentStateResult::getSuccess()const
{
return success_;
}

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.
*/
#include <alibabacloud/ccc/model/GetContactIdentifyByOutBoundTaskIdRequest.h>
using AlibabaCloud::CCC::Model::GetContactIdentifyByOutBoundTaskIdRequest;
GetContactIdentifyByOutBoundTaskIdRequest::GetContactIdentifyByOutBoundTaskIdRequest() :
RpcServiceRequest("ccc", "2017-07-05", "GetContactIdentifyByOutBoundTaskId")
{}
GetContactIdentifyByOutBoundTaskIdRequest::~GetContactIdentifyByOutBoundTaskIdRequest()
{}
std::string GetContactIdentifyByOutBoundTaskIdRequest::getInstanceId()const
{
return instanceId_;
}
void GetContactIdentifyByOutBoundTaskIdRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string GetContactIdentifyByOutBoundTaskIdRequest::getOutboundTaskId()const
{
return outboundTaskId_;
}
void GetContactIdentifyByOutBoundTaskIdRequest::setOutboundTaskId(const std::string& outboundTaskId)
{
outboundTaskId_ = outboundTaskId;
setCoreParameter("OutboundTaskId", outboundTaskId);
}

View File

@@ -1,84 +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/ccc/model/GetContactIdentifyByOutBoundTaskIdResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
GetContactIdentifyByOutBoundTaskIdResult::GetContactIdentifyByOutBoundTaskIdResult() :
ServiceResult()
{}
GetContactIdentifyByOutBoundTaskIdResult::GetContactIdentifyByOutBoundTaskIdResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetContactIdentifyByOutBoundTaskIdResult::~GetContactIdentifyByOutBoundTaskIdResult()
{}
void GetContactIdentifyByOutBoundTaskIdResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto contactIdentityNode = value["ContactIdentity"];
if(!contactIdentityNode["ContactReferrnceId"].isNull())
contactIdentity_.contactReferrnceId = contactIdentityNode["ContactReferrnceId"].asString();
if(!contactIdentityNode["JobGroupId"].isNull())
contactIdentity_.jobGroupId = contactIdentityNode["JobGroupId"].asString();
if(!contactIdentityNode["UserPhone"].isNull())
contactIdentity_.userPhone = contactIdentityNode["UserPhone"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string GetContactIdentifyByOutBoundTaskIdResult::getMessage()const
{
return message_;
}
GetContactIdentifyByOutBoundTaskIdResult::ContactIdentity GetContactIdentifyByOutBoundTaskIdResult::getContactIdentity()const
{
return contactIdentity_;
}
int GetContactIdentifyByOutBoundTaskIdResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string GetContactIdentifyByOutBoundTaskIdResult::getCode()const
{
return code_;
}
bool GetContactIdentifyByOutBoundTaskIdResult::getSuccess()const
{
return success_;
}

View File

@@ -1,60 +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/ccc/model/GetContactInfoByOutboundTaskIdRequest.h>
using AlibabaCloud::CCC::Model::GetContactInfoByOutboundTaskIdRequest;
GetContactInfoByOutboundTaskIdRequest::GetContactInfoByOutboundTaskIdRequest() :
RpcServiceRequest("ccc", "2017-07-05", "GetContactInfoByOutboundTaskId")
{}
GetContactInfoByOutboundTaskIdRequest::~GetContactInfoByOutboundTaskIdRequest()
{}
std::string GetContactInfoByOutboundTaskIdRequest::getInstanceId()const
{
return instanceId_;
}
void GetContactInfoByOutboundTaskIdRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string GetContactInfoByOutboundTaskIdRequest::getOutboundTaskId()const
{
return outboundTaskId_;
}
void GetContactInfoByOutboundTaskIdRequest::setOutboundTaskId(const std::string& outboundTaskId)
{
outboundTaskId_ = outboundTaskId;
setCoreParameter("OutboundTaskId", outboundTaskId);
}
std::string GetContactInfoByOutboundTaskIdRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void GetContactInfoByOutboundTaskIdRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}

View File

@@ -1,86 +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/ccc/model/GetContactInfoByOutboundTaskIdResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
GetContactInfoByOutboundTaskIdResult::GetContactInfoByOutboundTaskIdResult() :
ServiceResult()
{}
GetContactInfoByOutboundTaskIdResult::GetContactInfoByOutboundTaskIdResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetContactInfoByOutboundTaskIdResult::~GetContactInfoByOutboundTaskIdResult()
{}
void GetContactInfoByOutboundTaskIdResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto contactIdentityNode = value["ContactIdentity"];
if(!contactIdentityNode["ContactReferrnceId"].isNull())
contactIdentity_.contactReferrnceId = contactIdentityNode["ContactReferrnceId"].asString();
if(!contactIdentityNode["JobGroupId"].isNull())
contactIdentity_.jobGroupId = contactIdentityNode["JobGroupId"].asString();
if(!contactIdentityNode["UserPhone"].isNull())
contactIdentity_.userPhone = contactIdentityNode["UserPhone"].asString();
if(!contactIdentityNode["Caller"].isNull())
contactIdentity_.caller = contactIdentityNode["Caller"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string GetContactInfoByOutboundTaskIdResult::getMessage()const
{
return message_;
}
GetContactInfoByOutboundTaskIdResult::ContactIdentity GetContactInfoByOutboundTaskIdResult::getContactIdentity()const
{
return contactIdentity_;
}
int GetContactInfoByOutboundTaskIdResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string GetContactInfoByOutboundTaskIdResult::getCode()const
{
return code_;
}
bool GetContactInfoByOutboundTaskIdResult::getSuccess()const
{
return success_;
}

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.
*/
#include <alibabacloud/ccc/model/GetJobFileUploadUrlRequest.h>
using AlibabaCloud::CCC::Model::GetJobFileUploadUrlRequest;
GetJobFileUploadUrlRequest::GetJobFileUploadUrlRequest() :
RpcServiceRequest("ccc", "2017-07-05", "GetJobFileUploadUrl")
{}
GetJobFileUploadUrlRequest::~GetJobFileUploadUrlRequest()
{}
std::string GetJobFileUploadUrlRequest::getInstanceId()const
{
return instanceId_;
}
void GetJobFileUploadUrlRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string GetJobFileUploadUrlRequest::getFileName()const
{
return fileName_;
}
void GetJobFileUploadUrlRequest::setFileName(const std::string& fileName)
{
fileName_ = fileName;
setCoreParameter("FileName", fileName);
}

View File

@@ -1,86 +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/ccc/model/GetJobFileUploadUrlResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
GetJobFileUploadUrlResult::GetJobFileUploadUrlResult() :
ServiceResult()
{}
GetJobFileUploadUrlResult::GetJobFileUploadUrlResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetJobFileUploadUrlResult::~GetJobFileUploadUrlResult()
{}
void GetJobFileUploadUrlResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["FilePath"].isNull())
filePath_ = value["FilePath"].asString();
if(!value["UploadUrl"].isNull())
uploadUrl_ = value["UploadUrl"].asString();
}
std::string GetJobFileUploadUrlResult::getFilePath()const
{
return filePath_;
}
std::string GetJobFileUploadUrlResult::getUploadUrl()const
{
return uploadUrl_;
}
std::string GetJobFileUploadUrlResult::getMessage()const
{
return message_;
}
int GetJobFileUploadUrlResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string GetJobFileUploadUrlResult::getCode()const
{
return code_;
}
bool GetJobFileUploadUrlResult::getSuccess()const
{
return success_;
}

View File

@@ -1,60 +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/ccc/model/GetJobsProgressRequest.h>
using AlibabaCloud::CCC::Model::GetJobsProgressRequest;
GetJobsProgressRequest::GetJobsProgressRequest() :
RpcServiceRequest("ccc", "2017-07-05", "GetJobsProgress")
{}
GetJobsProgressRequest::~GetJobsProgressRequest()
{}
std::string GetJobsProgressRequest::getInstanceId()const
{
return instanceId_;
}
void GetJobsProgressRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string GetJobsProgressRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void GetJobsProgressRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}
std::string GetJobsProgressRequest::getJobGroupId()const
{
return jobGroupId_;
}
void GetJobsProgressRequest::setJobGroupId(const std::string& jobGroupId)
{
jobGroupId_ = jobGroupId;
setCoreParameter("JobGroupId", jobGroupId);
}

View File

@@ -1,102 +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/ccc/model/GetJobsProgressResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
GetJobsProgressResult::GetJobsProgressResult() :
ServiceResult()
{}
GetJobsProgressResult::GetJobsProgressResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetJobsProgressResult::~GetJobsProgressResult()
{}
void GetJobsProgressResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto jobsProgressNode = value["JobsProgress"];
if(!jobsProgressNode["Status"].isNull())
jobsProgress_.status = jobsProgressNode["Status"].asString();
if(!jobsProgressNode["StartTime"].isNull())
jobsProgress_.startTime = std::stol(jobsProgressNode["StartTime"].asString());
if(!jobsProgressNode["Duration"].isNull())
jobsProgress_.duration = std::stoi(jobsProgressNode["Duration"].asString());
if(!jobsProgressNode["TotalJobs"].isNull())
jobsProgress_.totalJobs = std::stoi(jobsProgressNode["TotalJobs"].asString());
if(!jobsProgressNode["TotalNotAnswered"].isNull())
jobsProgress_.totalNotAnswered = std::stoi(jobsProgressNode["TotalNotAnswered"].asString());
if(!jobsProgressNode["TotalCompleted"].isNull())
jobsProgress_.totalCompleted = std::stoi(jobsProgressNode["TotalCompleted"].asString());
if(!jobsProgressNode["Scheduling"].isNull())
jobsProgress_.scheduling = std::stoi(jobsProgressNode["Scheduling"].asString());
if(!jobsProgressNode["Executing"].isNull())
jobsProgress_.executing = std::stoi(jobsProgressNode["Executing"].asString());
if(!jobsProgressNode["Paused"].isNull())
jobsProgress_.paused = std::stoi(jobsProgressNode["Paused"].asString());
if(!jobsProgressNode["Failed"].isNull())
jobsProgress_.failed = std::stoi(jobsProgressNode["Failed"].asString());
if(!jobsProgressNode["Cancelled"].isNull())
jobsProgress_.cancelled = std::stoi(jobsProgressNode["Cancelled"].asString());
if(!jobsProgressNode["RepeatCall"].isNull())
jobsProgress_.repeatCall = std::stoi(jobsProgressNode["RepeatCall"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string GetJobsProgressResult::getMessage()const
{
return message_;
}
int GetJobsProgressResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string GetJobsProgressResult::getCode()const
{
return code_;
}
GetJobsProgressResult::JobsProgress GetJobsProgressResult::getJobsProgress()const
{
return jobsProgress_;
}
bool GetJobsProgressResult::getSuccess()const
{
return success_;
}

View File

@@ -1,168 +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/ccc/model/GetPredictiveJobResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
GetPredictiveJobResult::GetPredictiveJobResult() :
ServiceResult()
{}
GetPredictiveJobResult::GetPredictiveJobResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetPredictiveJobResult::~GetPredictiveJobResult()
{}
void GetPredictiveJobResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto jobNode = value["Job"];
if(!jobNode["JobId"].isNull())
job_.jobId = jobNode["JobId"].asString();
if(!jobNode["JobGroupId"].isNull())
job_.jobGroupId = jobNode["JobGroupId"].asString();
if(!jobNode["ScenarioId"].isNull())
job_.scenarioId = jobNode["ScenarioId"].asString();
if(!jobNode["StrategyId"].isNull())
job_.strategyId = jobNode["StrategyId"].asString();
if(!jobNode["Priority"].isNull())
job_.priority = std::stoi(jobNode["Priority"].asString());
if(!jobNode["SystemPriority"].isNull())
job_.systemPriority = std::stoi(jobNode["SystemPriority"].asString());
if(!jobNode["Status"].isNull())
job_.status = jobNode["Status"].asString();
if(!jobNode["ReferenceId"].isNull())
job_.referenceId = jobNode["ReferenceId"].asString();
if(!jobNode["FailureReason"].isNull())
job_.failureReason = jobNode["FailureReason"].asString();
auto allContactsNode = jobNode["Contacts"]["Contact"];
for (auto jobNodeContactsContact : allContactsNode)
{
Job::Contact contactObject;
if(!jobNodeContactsContact["ContactId"].isNull())
contactObject.contactId = jobNodeContactsContact["ContactId"].asString();
if(!jobNodeContactsContact["ContactName"].isNull())
contactObject.contactName = jobNodeContactsContact["ContactName"].asString();
if(!jobNodeContactsContact["Honorific"].isNull())
contactObject.honorific = jobNodeContactsContact["Honorific"].asString();
if(!jobNodeContactsContact["Role"].isNull())
contactObject.role = jobNodeContactsContact["Role"].asString();
if(!jobNodeContactsContact["PhoneNumber"].isNull())
contactObject.phoneNumber = jobNodeContactsContact["PhoneNumber"].asString();
if(!jobNodeContactsContact["State"].isNull())
contactObject.state = jobNodeContactsContact["State"].asString();
if(!jobNodeContactsContact["ReferenceId"].isNull())
contactObject.referenceId = jobNodeContactsContact["ReferenceId"].asString();
if(!jobNodeContactsContact["JobId"].isNull())
contactObject.jobId = jobNodeContactsContact["JobId"].asString();
job_.contacts.push_back(contactObject);
}
auto allTasksNode = jobNode["Tasks"]["Task"];
for (auto jobNodeTasksTask : allTasksNode)
{
Job::Task taskObject;
if(!jobNodeTasksTask["TaskId"].isNull())
taskObject.taskId = jobNodeTasksTask["TaskId"].asString();
if(!jobNodeTasksTask["JobId"].isNull())
taskObject.jobId = jobNodeTasksTask["JobId"].asString();
if(!jobNodeTasksTask["ScenarioId"].isNull())
taskObject.scenarioId = jobNodeTasksTask["ScenarioId"].asString();
if(!jobNodeTasksTask["ChatbotId"].isNull())
taskObject.chatbotId = jobNodeTasksTask["ChatbotId"].asString();
if(!jobNodeTasksTask["PlanedTime"].isNull())
taskObject.planedTime = std::stol(jobNodeTasksTask["PlanedTime"].asString());
if(!jobNodeTasksTask["ActualTime"].isNull())
taskObject.actualTime = std::stol(jobNodeTasksTask["ActualTime"].asString());
if(!jobNodeTasksTask["CallingNumber"].isNull())
taskObject.callingNumber = jobNodeTasksTask["CallingNumber"].asString();
if(!jobNodeTasksTask["CalledNumber"].isNull())
taskObject.calledNumber = jobNodeTasksTask["CalledNumber"].asString();
if(!jobNodeTasksTask["CallId"].isNull())
taskObject.callId = jobNodeTasksTask["CallId"].asString();
if(!jobNodeTasksTask["Status"].isNull())
taskObject.status = jobNodeTasksTask["Status"].asString();
if(!jobNodeTasksTask["Brief"].isNull())
taskObject.brief = jobNodeTasksTask["Brief"].asString();
if(!jobNodeTasksTask["Duration"].isNull())
taskObject.duration = std::stoi(jobNodeTasksTask["Duration"].asString());
auto contact1Node = value["Contact"];
if(!contact1Node["ContactId"].isNull())
taskObject.contact1.contactId = contact1Node["ContactId"].asString();
if(!contact1Node["ContactName"].isNull())
taskObject.contact1.contactName = contact1Node["ContactName"].asString();
if(!contact1Node["Honorific"].isNull())
taskObject.contact1.honorific = contact1Node["Honorific"].asString();
if(!contact1Node["Role"].isNull())
taskObject.contact1.role = contact1Node["Role"].asString();
if(!contact1Node["PhoneNumber"].isNull())
taskObject.contact1.phoneNumber = contact1Node["PhoneNumber"].asString();
if(!contact1Node["State"].isNull())
taskObject.contact1.state = contact1Node["State"].asString();
if(!contact1Node["ReferenceId"].isNull())
taskObject.contact1.referenceId = contact1Node["ReferenceId"].asString();
if(!contact1Node["JobId"].isNull())
taskObject.contact1.jobId = contact1Node["JobId"].asString();
job_.tasks.push_back(taskObject);
}
auto allCallingNumbers = jobNode["CallingNumbers"]["String"];
for (auto value : allCallingNumbers)
job_.callingNumbers.push_back(value.asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string GetPredictiveJobResult::getMessage()const
{
return message_;
}
int GetPredictiveJobResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
GetPredictiveJobResult::Job GetPredictiveJobResult::getJob()const
{
return job_;
}
std::string GetPredictiveJobResult::getCode()const
{
return code_;
}
bool GetPredictiveJobResult::getSuccess()const
{
return success_;
}

View File

@@ -27,17 +27,6 @@ ListOutboundPhoneNumberOfUserRequest::ListOutboundPhoneNumberOfUserRequest() :
ListOutboundPhoneNumberOfUserRequest::~ListOutboundPhoneNumberOfUserRequest()
{}
std::string ListOutboundPhoneNumberOfUserRequest::getInstanceId()const
{
return instanceId_;
}
void ListOutboundPhoneNumberOfUserRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
std::string ListOutboundPhoneNumberOfUserRequest::getUserId()const
{
return userId_;
@@ -49,6 +38,17 @@ void ListOutboundPhoneNumberOfUserRequest::setUserId(const std::string& userId)
setParameter("UserId", userId);
}
int ListOutboundPhoneNumberOfUserRequest::getPageNumber()const
{
return pageNumber_;
}
void ListOutboundPhoneNumberOfUserRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListOutboundPhoneNumberOfUserRequest::getAccessKeyId()const
{
return accessKeyId_;
@@ -60,3 +60,25 @@ void ListOutboundPhoneNumberOfUserRequest::setAccessKeyId(const std::string& acc
setParameter("AccessKeyId", accessKeyId);
}
std::string ListOutboundPhoneNumberOfUserRequest::getInstanceId()const
{
return instanceId_;
}
void ListOutboundPhoneNumberOfUserRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
}
int ListOutboundPhoneNumberOfUserRequest::getPageSize()const
{
return pageSize_;
}
void ListOutboundPhoneNumberOfUserRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -90,6 +90,9 @@ void ListOutboundPhoneNumberOfUserResult::parse(const std::string &payload)
outboundPhoneNumbersObject.privacyNumber.regionNameCity = privacyNumberNode["RegionNameCity"].asString();
outboundPhoneNumbers_.push_back(outboundPhoneNumbersObject);
}
auto allNumberList = value["NumberList"]["Number"];
for (const auto &item : allNumberList)
numberList_.push_back(item.asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
@@ -111,6 +114,11 @@ int ListOutboundPhoneNumberOfUserResult::getHttpStatusCode()const
return httpStatusCode_;
}
std::vector<std::string> ListOutboundPhoneNumberOfUserResult::getNumberList()const
{
return numberList_;
}
std::vector<ListOutboundPhoneNumberOfUserResult::PhoneNumber> ListOutboundPhoneNumberOfUserResult::getOutboundPhoneNumbers()const
{
return outboundPhoneNumbers_;

View File

@@ -58,80 +58,27 @@ void ListPhoneTagsResult::parse(const std::string &payload)
phoneNumberObject.number = phoneNumbersNodeListPhoneNumber["Number"].asString();
if(!phoneNumbersNodeListPhoneNumber["PhoneNumberDescription"].isNull())
phoneNumberObject.phoneNumberDescription = phoneNumbersNodeListPhoneNumber["PhoneNumberDescription"].asString();
if(!phoneNumbersNodeListPhoneNumber["TestOnly"].isNull())
phoneNumberObject.testOnly = phoneNumbersNodeListPhoneNumber["TestOnly"].asString() == "true";
if(!phoneNumbersNodeListPhoneNumber["RemainingTime"].isNull())
phoneNumberObject.remainingTime = std::stoi(phoneNumbersNodeListPhoneNumber["RemainingTime"].asString());
if(!phoneNumbersNodeListPhoneNumber["AllowOutbound"].isNull())
phoneNumberObject.allowOutbound = phoneNumbersNodeListPhoneNumber["AllowOutbound"].asString() == "true";
if(!phoneNumbersNodeListPhoneNumber["Usage"].isNull())
phoneNumberObject.usage = phoneNumbersNodeListPhoneNumber["Usage"].asString();
if(!phoneNumbersNodeListPhoneNumber["Trunks"].isNull())
phoneNumberObject.trunks = std::stoi(phoneNumbersNodeListPhoneNumber["Trunks"].asString());
if(!phoneNumbersNodeListPhoneNumber["Province"].isNull())
phoneNumberObject.province = phoneNumbersNodeListPhoneNumber["Province"].asString();
if(!phoneNumbersNodeListPhoneNumber["City"].isNull())
phoneNumberObject.city = phoneNumbersNodeListPhoneNumber["City"].asString();
if(!phoneNumbersNodeListPhoneNumber["Assignee"].isNull())
phoneNumberObject.assignee = phoneNumbersNodeListPhoneNumber["Assignee"].asString();
if(!phoneNumbersNodeListPhoneNumber["NumberCommodityStatus"].isNull())
phoneNumberObject.numberCommodityStatus = std::stoi(phoneNumbersNodeListPhoneNumber["NumberCommodityStatus"].asString());
if(!phoneNumbersNodeListPhoneNumber["Type"].isNull())
phoneNumberObject.type = std::stoi(phoneNumbersNodeListPhoneNumber["Type"].asString());
if(!phoneNumbersNodeListPhoneNumber["Concurrency"].isNull())
phoneNumberObject.concurrency = std::stoi(phoneNumbersNodeListPhoneNumber["Concurrency"].asString());
if(!phoneNumbersNodeListPhoneNumber["ServiceTag"].isNull())
phoneNumberObject.serviceTag = phoneNumbersNodeListPhoneNumber["ServiceTag"].asString();
if(!phoneNumbersNodeListPhoneNumber["SipTelX"].isNull())
phoneNumberObject.sipTelX = phoneNumbersNodeListPhoneNumber["SipTelX"].asString();
if(!phoneNumbersNodeListPhoneNumber["NumberGroupId"].isNull())
phoneNumberObject.numberGroupId = phoneNumbersNodeListPhoneNumber["NumberGroupId"].asString();
if(!phoneNumbersNodeListPhoneNumber["NumberGroupName"].isNull())
phoneNumberObject.numberGroupName = phoneNumbersNodeListPhoneNumber["NumberGroupName"].asString();
if(!phoneNumbersNodeListPhoneNumber["Provider"].isNull())
phoneNumberObject.provider = phoneNumbersNodeListPhoneNumber["Provider"].asString();
if(!phoneNumbersNodeListPhoneNumber["CreateTime"].isNull())
phoneNumberObject.createTime = std::stol(phoneNumbersNodeListPhoneNumber["CreateTime"].asString());
auto allSkillGroupsNode = allListNode["SkillGroups"]["SkillGroup"];
for (auto allListNodeSkillGroupsSkillGroup : allSkillGroupsNode)
{
PhoneNumbers::PhoneNumber::SkillGroup skillGroupsObject;
if(!allListNodeSkillGroupsSkillGroup["SkillGroupId"].isNull())
skillGroupsObject.skillGroupId = allListNodeSkillGroupsSkillGroup["SkillGroupId"].asString();
if(!allListNodeSkillGroupsSkillGroup["SkillGroupName"].isNull())
skillGroupsObject.skillGroupName = allListNodeSkillGroupsSkillGroup["SkillGroupName"].asString();
phoneNumberObject.skillGroups.push_back(skillGroupsObject);
}
auto contactFlowNode = value["ContactFlow"];
if(!contactFlowNode["ContactFlowId"].isNull())
phoneNumberObject.contactFlow.contactFlowId = contactFlowNode["ContactFlowId"].asString();
if(!contactFlowNode["InstanceId"].isNull())
phoneNumberObject.contactFlow.instanceId = contactFlowNode["InstanceId"].asString();
if(!contactFlowNode["ContactFlowName"].isNull())
phoneNumberObject.contactFlow.contactFlowName = contactFlowNode["ContactFlowName"].asString();
if(!contactFlowNode["ContactFlowDescription"].isNull())
phoneNumberObject.contactFlow.contactFlowDescription = contactFlowNode["ContactFlowDescription"].asString();
if(!contactFlowNode["Type"].isNull())
phoneNumberObject.contactFlow.type = contactFlowNode["Type"].asString();
auto privacyNumberNode = value["PrivacyNumber"];
if(!privacyNumberNode["PoolId"].isNull())
phoneNumberObject.privacyNumber.poolId = privacyNumberNode["PoolId"].asString();
if(!privacyNumberNode["Type"].isNull())
phoneNumberObject.privacyNumber.type = privacyNumberNode["Type"].asString();
if(!privacyNumberNode["TelX"].isNull())
phoneNumberObject.privacyNumber.telX = privacyNumberNode["TelX"].asString();
if(!privacyNumberNode["PoolName"].isNull())
phoneNumberObject.privacyNumber.poolName = privacyNumberNode["PoolName"].asString();
if(!privacyNumberNode["PhoneNumber"].isNull())
phoneNumberObject.privacyNumber.phoneNumber = privacyNumberNode["PhoneNumber"].asString();
if(!privacyNumberNode["Extra"].isNull())
phoneNumberObject.privacyNumber.extra = privacyNumberNode["Extra"].asString();
if(!privacyNumberNode["BizId"].isNull())
phoneNumberObject.privacyNumber.bizId = privacyNumberNode["BizId"].asString();
if(!privacyNumberNode["SubId"].isNull())
phoneNumberObject.privacyNumber.subId = privacyNumberNode["SubId"].asString();
if(!privacyNumberNode["RegionNameCity"].isNull())
phoneNumberObject.privacyNumber.regionNameCity = privacyNumberNode["RegionNameCity"].asString();
if(!phoneNumbersNodeListPhoneNumber["ContactFlowId"].isNull())
phoneNumberObject.contactFlowId = phoneNumbersNodeListPhoneNumber["ContactFlowId"].asString();
auto allSkillGroupIdList = value["SkillGroupIdList"]["SkillGroupId"];
for (auto value : allSkillGroupIdList)
phoneNumberObject.skillGroupIdList.push_back(value.asString());
phoneNumbers_.list.push_back(phoneNumberObject);
}
if(!value["Success"].isNull())

View File

@@ -1,115 +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/ccc/model/ListPredictiveJobGroupsRequest.h>
using AlibabaCloud::CCC::Model::ListPredictiveJobGroupsRequest;
ListPredictiveJobGroupsRequest::ListPredictiveJobGroupsRequest() :
RpcServiceRequest("ccc", "2017-07-05", "ListPredictiveJobGroups")
{}
ListPredictiveJobGroupsRequest::~ListPredictiveJobGroupsRequest()
{}
std::string ListPredictiveJobGroupsRequest::getCriteria()const
{
return criteria_;
}
void ListPredictiveJobGroupsRequest::setCriteria(const std::string& criteria)
{
criteria_ = criteria;
setCoreParameter("Criteria", criteria);
}
long ListPredictiveJobGroupsRequest::getEndTime()const
{
return endTime_;
}
void ListPredictiveJobGroupsRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", std::to_string(endTime));
}
long ListPredictiveJobGroupsRequest::getStartTime()const
{
return startTime_;
}
void ListPredictiveJobGroupsRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", std::to_string(startTime));
}
int ListPredictiveJobGroupsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListPredictiveJobGroupsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setCoreParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListPredictiveJobGroupsRequest::getInstanceId()const
{
return instanceId_;
}
void ListPredictiveJobGroupsRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string ListPredictiveJobGroupsRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void ListPredictiveJobGroupsRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}
std::string ListPredictiveJobGroupsRequest::getName()const
{
return name_;
}
void ListPredictiveJobGroupsRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
}
int ListPredictiveJobGroupsRequest::getPageSize()const
{
return pageSize_;
}
void ListPredictiveJobGroupsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -1,156 +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/ccc/model/ListPredictiveJobGroupsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
ListPredictiveJobGroupsResult::ListPredictiveJobGroupsResult() :
ServiceResult()
{}
ListPredictiveJobGroupsResult::ListPredictiveJobGroupsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListPredictiveJobGroupsResult::~ListPredictiveJobGroupsResult()
{}
void ListPredictiveJobGroupsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto jobGroupsNode = value["JobGroups"];
if(!jobGroupsNode["TotalCount"].isNull())
jobGroups_.totalCount = std::stoi(jobGroupsNode["TotalCount"].asString());
if(!jobGroupsNode["PageNumber"].isNull())
jobGroups_.pageNumber = std::stoi(jobGroupsNode["PageNumber"].asString());
if(!jobGroupsNode["PageSize"].isNull())
jobGroups_.pageSize = std::stoi(jobGroupsNode["PageSize"].asString());
auto allListNode = jobGroupsNode["List"]["JobGroup"];
for (auto jobGroupsNodeListJobGroup : allListNode)
{
JobGroups::JobGroup jobGroupObject;
if(!jobGroupsNodeListJobGroup["JobGroupId"].isNull())
jobGroupObject.jobGroupId = jobGroupsNodeListJobGroup["JobGroupId"].asString();
if(!jobGroupsNodeListJobGroup["InstanceId"].isNull())
jobGroupObject.instanceId = jobGroupsNodeListJobGroup["InstanceId"].asString();
if(!jobGroupsNodeListJobGroup["SkillGroupId"].isNull())
jobGroupObject.skillGroupId = jobGroupsNodeListJobGroup["SkillGroupId"].asString();
if(!jobGroupsNodeListJobGroup["SkillGroupName"].isNull())
jobGroupObject.skillGroupName = jobGroupsNodeListJobGroup["SkillGroupName"].asString();
if(!jobGroupsNodeListJobGroup["TaskType"].isNull())
jobGroupObject.taskType = jobGroupsNodeListJobGroup["TaskType"].asString();
if(!jobGroupsNodeListJobGroup["OccupancyRate"].isNull())
jobGroupObject.occupancyRate = jobGroupsNodeListJobGroup["OccupancyRate"].asString();
if(!jobGroupsNodeListJobGroup["StartTime"].isNull())
jobGroupObject.startTime = jobGroupsNodeListJobGroup["StartTime"].asString();
if(!jobGroupsNodeListJobGroup["EndTime"].isNull())
jobGroupObject.endTime = jobGroupsNodeListJobGroup["EndTime"].asString();
if(!jobGroupsNodeListJobGroup["Name"].isNull())
jobGroupObject.name = jobGroupsNodeListJobGroup["Name"].asString();
if(!jobGroupsNodeListJobGroup["Description"].isNull())
jobGroupObject.description = jobGroupsNodeListJobGroup["Description"].asString();
if(!jobGroupsNodeListJobGroup["CreationTime"].isNull())
jobGroupObject.creationTime = std::stol(jobGroupsNodeListJobGroup["CreationTime"].asString());
auto strategyNode = value["Strategy"];
if(!strategyNode["StrategyId"].isNull())
jobGroupObject.strategy.strategyId = strategyNode["StrategyId"].asString();
if(!strategyNode["StartTime"].isNull())
jobGroupObject.strategy.startTime = std::stol(strategyNode["StartTime"].asString());
if(!strategyNode["EndTime"].isNull())
jobGroupObject.strategy.endTime = std::stol(strategyNode["EndTime"].asString());
if(!strategyNode["MaxAttemptsPerDay"].isNull())
jobGroupObject.strategy.maxAttemptsPerDay = std::stoi(strategyNode["MaxAttemptsPerDay"].asString());
if(!strategyNode["MinAttemptInterval"].isNull())
jobGroupObject.strategy.minAttemptInterval = std::stoi(strategyNode["MinAttemptInterval"].asString());
auto allWorkingTimeNode = strategyNode["WorkingTime"]["TimeFrame"];
for (auto strategyNodeWorkingTimeTimeFrame : allWorkingTimeNode)
{
JobGroups::JobGroup::Strategy::TimeFrame timeFrameObject;
if(!strategyNodeWorkingTimeTimeFrame["BeginTime"].isNull())
timeFrameObject.beginTime = strategyNodeWorkingTimeTimeFrame["BeginTime"].asString();
if(!strategyNodeWorkingTimeTimeFrame["EndTime"].isNull())
timeFrameObject.endTime = strategyNodeWorkingTimeTimeFrame["EndTime"].asString();
jobGroupObject.strategy.workingTime.push_back(timeFrameObject);
}
auto progressNode = value["Progress"];
if(!progressNode["TotalJobs"].isNull())
jobGroupObject.progress.totalJobs = std::stoi(progressNode["TotalJobs"].asString());
if(!progressNode["Status"].isNull())
jobGroupObject.progress.status = progressNode["Status"].asString();
if(!progressNode["TotalNotAnswered"].isNull())
jobGroupObject.progress.totalNotAnswered = std::stoi(progressNode["TotalNotAnswered"].asString());
if(!progressNode["TotalCompleted"].isNull())
jobGroupObject.progress.totalCompleted = std::stoi(progressNode["TotalCompleted"].asString());
if(!progressNode["StartTime"].isNull())
jobGroupObject.progress.startTime = std::stol(progressNode["StartTime"].asString());
if(!progressNode["Duration"].isNull())
jobGroupObject.progress.duration = std::stoi(progressNode["Duration"].asString());
auto allCategoriesNode = progressNode["Categories"]["KeyValuePair"];
for (auto progressNodeCategoriesKeyValuePair : allCategoriesNode)
{
JobGroups::JobGroup::Progress::KeyValuePair keyValuePairObject;
if(!progressNodeCategoriesKeyValuePair["Key"].isNull())
keyValuePairObject.key = progressNodeCategoriesKeyValuePair["Key"].asString();
if(!progressNodeCategoriesKeyValuePair["Value"].isNull())
keyValuePairObject.value = progressNodeCategoriesKeyValuePair["Value"].asString();
jobGroupObject.progress.categories.push_back(keyValuePairObject);
}
jobGroups_.list.push_back(jobGroupObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string ListPredictiveJobGroupsResult::getMessage()const
{
return message_;
}
int ListPredictiveJobGroupsResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string ListPredictiveJobGroupsResult::getCode()const
{
return code_;
}
ListPredictiveJobGroupsResult::JobGroups ListPredictiveJobGroupsResult::getJobGroups()const
{
return jobGroups_;
}
bool ListPredictiveJobGroupsResult::getSuccess()const
{
return success_;
}

View File

@@ -1,126 +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/ccc/model/ListPredictiveJobStatusRequest.h>
using AlibabaCloud::CCC::Model::ListPredictiveJobStatusRequest;
ListPredictiveJobStatusRequest::ListPredictiveJobStatusRequest() :
RpcServiceRequest("ccc", "2017-07-05", "ListPredictiveJobStatus")
{}
ListPredictiveJobStatusRequest::~ListPredictiveJobStatusRequest()
{}
std::string ListPredictiveJobStatusRequest::getTimeAlignment()const
{
return timeAlignment_;
}
void ListPredictiveJobStatusRequest::setTimeAlignment(const std::string& timeAlignment)
{
timeAlignment_ = timeAlignment;
setCoreParameter("TimeAlignment", timeAlignment);
}
std::string ListPredictiveJobStatusRequest::getPhoneNumber()const
{
return phoneNumber_;
}
void ListPredictiveJobStatusRequest::setPhoneNumber(const std::string& phoneNumber)
{
phoneNumber_ = phoneNumber;
setCoreParameter("PhoneNumber", phoneNumber);
}
long ListPredictiveJobStatusRequest::getEndTime()const
{
return endTime_;
}
void ListPredictiveJobStatusRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", std::to_string(endTime));
}
long ListPredictiveJobStatusRequest::getStartTime()const
{
return startTime_;
}
void ListPredictiveJobStatusRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", std::to_string(startTime));
}
int ListPredictiveJobStatusRequest::getPageNumber()const
{
return pageNumber_;
}
void ListPredictiveJobStatusRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setCoreParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListPredictiveJobStatusRequest::getContactName()const
{
return contactName_;
}
void ListPredictiveJobStatusRequest::setContactName(const std::string& contactName)
{
contactName_ = contactName;
setCoreParameter("ContactName", contactName);
}
std::string ListPredictiveJobStatusRequest::getInstanceId()const
{
return instanceId_;
}
void ListPredictiveJobStatusRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string ListPredictiveJobStatusRequest::getJobGroupId()const
{
return jobGroupId_;
}
void ListPredictiveJobStatusRequest::setJobGroupId(const std::string& jobGroupId)
{
jobGroupId_ = jobGroupId;
setCoreParameter("JobGroupId", jobGroupId);
}
int ListPredictiveJobStatusRequest::getPageSize()const
{
return pageSize_;
}
void ListPredictiveJobStatusRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -1,133 +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/ccc/model/ListPredictiveJobStatusResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
ListPredictiveJobStatusResult::ListPredictiveJobStatusResult() :
ServiceResult()
{}
ListPredictiveJobStatusResult::ListPredictiveJobStatusResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListPredictiveJobStatusResult::~ListPredictiveJobStatusResult()
{}
void ListPredictiveJobStatusResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto jobsNode = value["Jobs"];
if(!jobsNode["TotalCount"].isNull())
jobs_.totalCount = std::stoi(jobsNode["TotalCount"].asString());
if(!jobsNode["PageNumber"].isNull())
jobs_.pageNumber = std::stoi(jobsNode["PageNumber"].asString());
if(!jobsNode["PageSize"].isNull())
jobs_.pageSize = std::stoi(jobsNode["PageSize"].asString());
auto allListNode = jobsNode["List"]["Job"];
for (auto jobsNodeListJob : allListNode)
{
Jobs::Job jobObject;
if(!jobsNodeListJob["JobId"].isNull())
jobObject.jobId = jobsNodeListJob["JobId"].asString();
if(!jobsNodeListJob["JobGroupId"].isNull())
jobObject.jobGroupId = jobsNodeListJob["JobGroupId"].asString();
if(!jobsNodeListJob["ScenarioId"].isNull())
jobObject.scenarioId = jobsNodeListJob["ScenarioId"].asString();
if(!jobsNodeListJob["StrategyId"].isNull())
jobObject.strategyId = jobsNodeListJob["StrategyId"].asString();
if(!jobsNodeListJob["Priority"].isNull())
jobObject.priority = std::stoi(jobsNodeListJob["Priority"].asString());
if(!jobsNodeListJob["SystemPriority"].isNull())
jobObject.systemPriority = std::stoi(jobsNodeListJob["SystemPriority"].asString());
if(!jobsNodeListJob["Status"].isNull())
jobObject.status = jobsNodeListJob["Status"].asString();
if(!jobsNodeListJob["ReferenceId"].isNull())
jobObject.referenceId = jobsNodeListJob["ReferenceId"].asString();
if(!jobsNodeListJob["FailureReason"].isNull())
jobObject.failureReason = jobsNodeListJob["FailureReason"].asString();
auto allContactsNode = allListNode["Contacts"]["Contact"];
for (auto allListNodeContactsContact : allContactsNode)
{
Jobs::Job::Contact contactsObject;
if(!allListNodeContactsContact["ContactId"].isNull())
contactsObject.contactId = allListNodeContactsContact["ContactId"].asString();
if(!allListNodeContactsContact["ContactName"].isNull())
contactsObject.contactName = allListNodeContactsContact["ContactName"].asString();
if(!allListNodeContactsContact["Honorific"].isNull())
contactsObject.honorific = allListNodeContactsContact["Honorific"].asString();
if(!allListNodeContactsContact["Role"].isNull())
contactsObject.role = allListNodeContactsContact["Role"].asString();
if(!allListNodeContactsContact["PhoneNumber"].isNull())
contactsObject.phoneNumber = allListNodeContactsContact["PhoneNumber"].asString();
if(!allListNodeContactsContact["State"].isNull())
contactsObject.state = allListNodeContactsContact["State"].asString();
if(!allListNodeContactsContact["ReferenceId"].isNull())
contactsObject.referenceId = allListNodeContactsContact["ReferenceId"].asString();
if(!allListNodeContactsContact["JobId"].isNull())
contactsObject.jobId = allListNodeContactsContact["JobId"].asString();
jobObject.contacts.push_back(contactsObject);
}
auto allCallingNumbers = value["CallingNumbers"]["String"];
for (auto value : allCallingNumbers)
jobObject.callingNumbers.push_back(value.asString());
jobs_.list.push_back(jobObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string ListPredictiveJobStatusResult::getMessage()const
{
return message_;
}
ListPredictiveJobStatusResult::Jobs ListPredictiveJobStatusResult::getJobs()const
{
return jobs_;
}
int ListPredictiveJobStatusResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string ListPredictiveJobStatusResult::getCode()const
{
return code_;
}
bool ListPredictiveJobStatusResult::getSuccess()const
{
return success_;
}

View File

@@ -1,126 +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/ccc/model/ListPrivacyNumberCallDetailsRequest.h>
using AlibabaCloud::CCC::Model::ListPrivacyNumberCallDetailsRequest;
ListPrivacyNumberCallDetailsRequest::ListPrivacyNumberCallDetailsRequest() :
RpcServiceRequest("ccc", "2017-07-05", "ListPrivacyNumberCallDetails")
{}
ListPrivacyNumberCallDetailsRequest::~ListPrivacyNumberCallDetailsRequest()
{}
std::string ListPrivacyNumberCallDetailsRequest::getAgentId()const
{
return agentId_;
}
void ListPrivacyNumberCallDetailsRequest::setAgentId(const std::string& agentId)
{
agentId_ = agentId;
setCoreParameter("AgentId", agentId);
}
std::string ListPrivacyNumberCallDetailsRequest::getContactId()const
{
return contactId_;
}
void ListPrivacyNumberCallDetailsRequest::setContactId(const std::string& contactId)
{
contactId_ = contactId;
setCoreParameter("ContactId", contactId);
}
long ListPrivacyNumberCallDetailsRequest::getEndTime()const
{
return endTime_;
}
void ListPrivacyNumberCallDetailsRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", std::to_string(endTime));
}
long ListPrivacyNumberCallDetailsRequest::getStartTime()const
{
return startTime_;
}
void ListPrivacyNumberCallDetailsRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", std::to_string(startTime));
}
int ListPrivacyNumberCallDetailsRequest::getPageNumber()const
{
return pageNumber_;
}
void ListPrivacyNumberCallDetailsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setCoreParameter("PageNumber", std::to_string(pageNumber));
}
std::string ListPrivacyNumberCallDetailsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ListPrivacyNumberCallDetailsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string ListPrivacyNumberCallDetailsRequest::getInstanceId()const
{
return instanceId_;
}
void ListPrivacyNumberCallDetailsRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string ListPrivacyNumberCallDetailsRequest::getAgentName()const
{
return agentName_;
}
void ListPrivacyNumberCallDetailsRequest::setAgentName(const std::string& agentName)
{
agentName_ = agentName;
setCoreParameter("AgentName", agentName);
}
int ListPrivacyNumberCallDetailsRequest::getPageSize()const
{
return pageSize_;
}
void ListPrivacyNumberCallDetailsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}

View File

@@ -1,112 +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/ccc/model/ListPrivacyNumberCallDetailsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
ListPrivacyNumberCallDetailsResult::ListPrivacyNumberCallDetailsResult() :
ServiceResult()
{}
ListPrivacyNumberCallDetailsResult::ListPrivacyNumberCallDetailsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListPrivacyNumberCallDetailsResult::~ListPrivacyNumberCallDetailsResult()
{}
void ListPrivacyNumberCallDetailsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto privacyNumberCallDetailsNode = value["PrivacyNumberCallDetails"];
if(!privacyNumberCallDetailsNode["TotalCount"].isNull())
privacyNumberCallDetails_.totalCount = std::stoi(privacyNumberCallDetailsNode["TotalCount"].asString());
if(!privacyNumberCallDetailsNode["PageNumber"].isNull())
privacyNumberCallDetails_.pageNumber = std::stoi(privacyNumberCallDetailsNode["PageNumber"].asString());
if(!privacyNumberCallDetailsNode["PageSize"].isNull())
privacyNumberCallDetails_.pageSize = std::stoi(privacyNumberCallDetailsNode["PageSize"].asString());
auto allListNode = privacyNumberCallDetailsNode["List"]["PrivacyNumberCallDetail"];
for (auto privacyNumberCallDetailsNodeListPrivacyNumberCallDetail : allListNode)
{
PrivacyNumberCallDetails::PrivacyNumberCallDetail privacyNumberCallDetailObject;
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["AgentId"].isNull())
privacyNumberCallDetailObject.agentId = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["AgentId"].asString();
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["AgentName"].isNull())
privacyNumberCallDetailObject.agentName = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["AgentName"].asString();
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["ContactId"].isNull())
privacyNumberCallDetailObject.contactId = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["ContactId"].asString();
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CallingNumber"].isNull())
privacyNumberCallDetailObject.callingNumber = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CallingNumber"].asString();
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CalledNumber"].isNull())
privacyNumberCallDetailObject.calledNumber = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CalledNumber"].asString();
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["PrivacyNumber"].isNull())
privacyNumberCallDetailObject.privacyNumber = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["PrivacyNumber"].asString();
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["ContactType"].isNull())
privacyNumberCallDetailObject.contactType = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["ContactType"].asString();
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Result"].isNull())
privacyNumberCallDetailObject.result = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Result"].asString();
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Description"].isNull())
privacyNumberCallDetailObject.description = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Description"].asString();
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CallTime"].isNull())
privacyNumberCallDetailObject.callTime = std::stol(privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CallTime"].asString());
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Status"].isNull())
privacyNumberCallDetailObject.status = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Status"].asString();
privacyNumberCallDetails_.list.push_back(privacyNumberCallDetailObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
ListPrivacyNumberCallDetailsResult::PrivacyNumberCallDetails ListPrivacyNumberCallDetailsResult::getPrivacyNumberCallDetails()const
{
return privacyNumberCallDetails_;
}
std::string ListPrivacyNumberCallDetailsResult::getMessage()const
{
return message_;
}
int ListPrivacyNumberCallDetailsResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string ListPrivacyNumberCallDetailsResult::getCode()const
{
return code_;
}
bool ListPrivacyNumberCallDetailsResult::getSuccess()const
{
return success_;
}

View File

@@ -1,60 +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/ccc/model/ListPrivilegesOfUserRequest.h>
using AlibabaCloud::CCC::Model::ListPrivilegesOfUserRequest;
ListPrivilegesOfUserRequest::ListPrivilegesOfUserRequest() :
RpcServiceRequest("ccc", "2017-07-05", "ListPrivilegesOfUser")
{}
ListPrivilegesOfUserRequest::~ListPrivilegesOfUserRequest()
{}
std::string ListPrivilegesOfUserRequest::getInstanceId()const
{
return instanceId_;
}
void ListPrivilegesOfUserRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string ListPrivilegesOfUserRequest::getUserId()const
{
return userId_;
}
void ListPrivilegesOfUserRequest::setUserId(const std::string& userId)
{
userId_ = userId;
setCoreParameter("UserId", userId);
}
std::string ListPrivilegesOfUserRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ListPrivilegesOfUserRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}

View File

@@ -1,89 +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/ccc/model/ListPrivilegesOfUserResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
ListPrivilegesOfUserResult::ListPrivilegesOfUserResult() :
ServiceResult()
{}
ListPrivilegesOfUserResult::ListPrivilegesOfUserResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ListPrivilegesOfUserResult::~ListPrivilegesOfUserResult()
{}
void ListPrivilegesOfUserResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allPrivilegesNode = value["Privileges"]["Privilege"];
for (auto valuePrivilegesPrivilege : allPrivilegesNode)
{
Privilege privilegesObject;
if(!valuePrivilegesPrivilege["PrivilegeId"].isNull())
privilegesObject.privilegeId = valuePrivilegesPrivilege["PrivilegeId"].asString();
if(!valuePrivilegesPrivilege["PrivilegeName"].isNull())
privilegesObject.privilegeName = valuePrivilegesPrivilege["PrivilegeName"].asString();
if(!valuePrivilegesPrivilege["PrivilegeDescription"].isNull())
privilegesObject.privilegeDescription = valuePrivilegesPrivilege["PrivilegeDescription"].asString();
privileges_.push_back(privilegesObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string ListPrivilegesOfUserResult::getMessage()const
{
return message_;
}
std::vector<ListPrivilegesOfUserResult::Privilege> ListPrivilegesOfUserResult::getPrivileges()const
{
return privileges_;
}
int ListPrivilegesOfUserResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string ListPrivilegesOfUserResult::getCode()const
{
return code_;
}
bool ListPrivilegesOfUserResult::getSuccess()const
{
return success_;
}

View File

@@ -1,137 +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/ccc/model/ModifyMediaRequest.h>
using AlibabaCloud::CCC::Model::ModifyMediaRequest;
ModifyMediaRequest::ModifyMediaRequest() :
RpcServiceRequest("ccc", "2017-07-05", "ModifyMedia")
{}
ModifyMediaRequest::~ModifyMediaRequest()
{}
std::string ModifyMediaRequest::getDescription()const
{
return description_;
}
void ModifyMediaRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
}
std::string ModifyMediaRequest::getOssFilePath()const
{
return ossFilePath_;
}
void ModifyMediaRequest::setOssFilePath(const std::string& ossFilePath)
{
ossFilePath_ = ossFilePath;
setCoreParameter("OssFilePath", ossFilePath);
}
std::string ModifyMediaRequest::getUploadResult()const
{
return uploadResult_;
}
void ModifyMediaRequest::setUploadResult(const std::string& uploadResult)
{
uploadResult_ = uploadResult;
setCoreParameter("UploadResult", uploadResult);
}
std::string ModifyMediaRequest::getType()const
{
return type_;
}
void ModifyMediaRequest::setType(const std::string& type)
{
type_ = type;
setCoreParameter("Type", type);
}
std::string ModifyMediaRequest::getContent()const
{
return content_;
}
void ModifyMediaRequest::setContent(const std::string& content)
{
content_ = content;
setCoreParameter("Content", content);
}
std::string ModifyMediaRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ModifyMediaRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string ModifyMediaRequest::getOssFileName()const
{
return ossFileName_;
}
void ModifyMediaRequest::setOssFileName(const std::string& ossFileName)
{
ossFileName_ = ossFileName;
setCoreParameter("OssFileName", ossFileName);
}
std::string ModifyMediaRequest::getInstanceId()const
{
return instanceId_;
}
void ModifyMediaRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string ModifyMediaRequest::getFileName()const
{
return fileName_;
}
void ModifyMediaRequest::setFileName(const std::string& fileName)
{
fileName_ = fileName;
setCoreParameter("FileName", fileName);
}
std::string ModifyMediaRequest::getName()const
{
return name_;
}
void ModifyMediaRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
}

View File

@@ -1,88 +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/ccc/model/ModifyMediaResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
ModifyMediaResult::ModifyMediaResult() :
ServiceResult()
{}
ModifyMediaResult::ModifyMediaResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyMediaResult::~ModifyMediaResult()
{}
void ModifyMediaResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto mediaUploadParamNode = value["MediaUploadParam"];
if(!mediaUploadParamNode["Instance"].isNull())
mediaUploadParam_.instance = mediaUploadParamNode["Instance"].asString();
if(!mediaUploadParamNode["Name"].isNull())
mediaUploadParam_.name = mediaUploadParamNode["Name"].asString();
if(!mediaUploadParamNode["FileName"].isNull())
mediaUploadParam_.fileName = mediaUploadParamNode["FileName"].asString();
if(!mediaUploadParamNode["OssFileName"].isNull())
mediaUploadParam_.ossFileName = mediaUploadParamNode["OssFileName"].asString();
if(!mediaUploadParamNode["OssFilePath"].isNull())
mediaUploadParam_.ossFilePath = mediaUploadParamNode["OssFilePath"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
ModifyMediaResult::MediaUploadParam ModifyMediaResult::getMediaUploadParam()const
{
return mediaUploadParam_;
}
std::string ModifyMediaResult::getMessage()const
{
return message_;
}
int ModifyMediaResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string ModifyMediaResult::getCode()const
{
return code_;
}
bool ModifyMediaResult::getSuccess()const
{
return success_;
}

View File

@@ -1,100 +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/ccc/model/ModifyNotificationConfigRequest.h>
using AlibabaCloud::CCC::Model::ModifyNotificationConfigRequest;
ModifyNotificationConfigRequest::ModifyNotificationConfigRequest() :
RpcServiceRequest("ccc", "2017-07-05", "ModifyNotificationConfig")
{}
ModifyNotificationConfigRequest::~ModifyNotificationConfigRequest()
{}
std::vector<ModifyNotificationConfigRequest::Subscriptions> ModifyNotificationConfigRequest::getSubscriptions()const
{
return subscriptions_;
}
void ModifyNotificationConfigRequest::setSubscriptions(const std::vector<Subscriptions>& subscriptions)
{
subscriptions_ = subscriptions;
int i = 0;
for(int i = 0; i!= subscriptions.size(); i++) {
auto obj = subscriptions.at(i);
std::string str ="Subscriptions."+ std::to_string(i);
setCoreParameter(str + ".DisplayName", obj.displayName);
setCoreParameter(str + ".Name", obj.name);
setCoreParameter(str + ".Selected", obj.selected ? "true" : "false");
}
}
std::string ModifyNotificationConfigRequest::getAccessPoint()const
{
return accessPoint_;
}
void ModifyNotificationConfigRequest::setAccessPoint(const std::string& accessPoint)
{
accessPoint_ = accessPoint;
setCoreParameter("AccessPoint", accessPoint);
}
std::string ModifyNotificationConfigRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void ModifyNotificationConfigRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string ModifyNotificationConfigRequest::getInstanceId()const
{
return instanceId_;
}
void ModifyNotificationConfigRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string ModifyNotificationConfigRequest::getTopic()const
{
return topic_;
}
void ModifyNotificationConfigRequest::setTopic(const std::string& topic)
{
topic_ = topic;
setCoreParameter("Topic", topic);
}
std::string ModifyNotificationConfigRequest::getProducerId()const
{
return producerId_;
}
void ModifyNotificationConfigRequest::setProducerId(const std::string& producerId)
{
producerId_ = producerId;
setCoreParameter("ProducerId", producerId);
}

View File

@@ -1,110 +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/ccc/model/ModifyNotificationConfigResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
ModifyNotificationConfigResult::ModifyNotificationConfigResult() :
ServiceResult()
{}
ModifyNotificationConfigResult::ModifyNotificationConfigResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ModifyNotificationConfigResult::~ModifyNotificationConfigResult()
{}
void ModifyNotificationConfigResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allSubscriptionsNode = value["Subscriptions"]["SubscriptionsItem"];
for (auto valueSubscriptionsSubscriptionsItem : allSubscriptionsNode)
{
SubscriptionsItem subscriptionsObject;
if(!valueSubscriptionsSubscriptionsItem["Name"].isNull())
subscriptionsObject.name = valueSubscriptionsSubscriptionsItem["Name"].asString();
if(!valueSubscriptionsSubscriptionsItem["Selected"].isNull())
subscriptionsObject.selected = valueSubscriptionsSubscriptionsItem["Selected"].asString() == "true";
if(!valueSubscriptionsSubscriptionsItem["DisplayName"].isNull())
subscriptionsObject.displayName = valueSubscriptionsSubscriptionsItem["DisplayName"].asString();
subscriptions_.push_back(subscriptionsObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["ProducerId"].isNull())
producerId_ = value["ProducerId"].asString();
if(!value["AccessPoint"].isNull())
accessPoint_ = value["AccessPoint"].asString();
if(!value["Topic"].isNull())
topic_ = value["Topic"].asString();
}
std::string ModifyNotificationConfigResult::getMessage()const
{
return message_;
}
std::vector<ModifyNotificationConfigResult::SubscriptionsItem> ModifyNotificationConfigResult::getSubscriptions()const
{
return subscriptions_;
}
std::string ModifyNotificationConfigResult::getProducerId()const
{
return producerId_;
}
std::string ModifyNotificationConfigResult::getAccessPoint()const
{
return accessPoint_;
}
int ModifyNotificationConfigResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string ModifyNotificationConfigResult::getTopic()const
{
return topic_;
}
std::string ModifyNotificationConfigResult::getCode()const
{
return code_;
}
bool ModifyNotificationConfigResult::getSuccess()const
{
return success_;
}

View File

@@ -1,107 +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/ccc/model/PickOutboundNumbersByTagsRequest.h>
using AlibabaCloud::CCC::Model::PickOutboundNumbersByTagsRequest;
PickOutboundNumbersByTagsRequest::PickOutboundNumbersByTagsRequest() :
RpcServiceRequest("ccc", "2017-07-05", "PickOutboundNumbersByTags")
{}
PickOutboundNumbersByTagsRequest::~PickOutboundNumbersByTagsRequest()
{}
std::vector<std::string> PickOutboundNumbersByTagsRequest::getPrioritizedCallerArea()const
{
return prioritizedCallerArea_;
}
void PickOutboundNumbersByTagsRequest::setPrioritizedCallerArea(const std::vector<std::string>& prioritizedCallerArea)
{
prioritizedCallerArea_ = prioritizedCallerArea;
for(int i = 0; i!= prioritizedCallerArea.size(); i++)
setCoreParameter("PrioritizedCallerArea."+ std::to_string(i), prioritizedCallerArea.at(i));
}
int PickOutboundNumbersByTagsRequest::getCount()const
{
return count_;
}
void PickOutboundNumbersByTagsRequest::setCount(int count)
{
count_ = count;
setCoreParameter("Count", std::to_string(count));
}
std::string PickOutboundNumbersByTagsRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void PickOutboundNumbersByTagsRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string PickOutboundNumbersByTagsRequest::getInstanceId()const
{
return instanceId_;
}
void PickOutboundNumbersByTagsRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::vector<std::string> PickOutboundNumbersByTagsRequest::getServiceTag()const
{
return serviceTag_;
}
void PickOutboundNumbersByTagsRequest::setServiceTag(const std::vector<std::string>& serviceTag)
{
serviceTag_ = serviceTag;
for(int i = 0; i!= serviceTag.size(); i++)
setCoreParameter("ServiceTag."+ std::to_string(i), serviceTag.at(i));
}
std::vector<std::string> PickOutboundNumbersByTagsRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void PickOutboundNumbersByTagsRequest::setSkillGroupId(const std::vector<std::string>& skillGroupId)
{
skillGroupId_ = skillGroupId;
for(int i = 0; i!= skillGroupId.size(); i++)
setCoreParameter("SkillGroupId."+ std::to_string(i), skillGroupId.at(i));
}
std::string PickOutboundNumbersByTagsRequest::getCalleeNumber()const
{
return calleeNumber_;
}
void PickOutboundNumbersByTagsRequest::setCalleeNumber(const std::string& calleeNumber)
{
calleeNumber_ = calleeNumber;
setCoreParameter("CalleeNumber", calleeNumber);
}

View File

@@ -1,97 +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/ccc/model/PickOutboundNumbersByTagsResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
PickOutboundNumbersByTagsResult::PickOutboundNumbersByTagsResult() :
ServiceResult()
{}
PickOutboundNumbersByTagsResult::PickOutboundNumbersByTagsResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
PickOutboundNumbersByTagsResult::~PickOutboundNumbersByTagsResult()
{}
void PickOutboundNumbersByTagsResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allDialNumberPairsNode = value["DialNumberPairs"]["DialNumberPair"];
for (auto valueDialNumberPairsDialNumberPair : allDialNumberPairsNode)
{
DialNumberPair dialNumberPairsObject;
auto calleeNode = value["Callee"];
if(!calleeNode["Number"].isNull())
dialNumberPairsObject.callee.number = calleeNode["Number"].asString();
if(!calleeNode["Province"].isNull())
dialNumberPairsObject.callee.province = calleeNode["Province"].asString();
if(!calleeNode["City"].isNull())
dialNumberPairsObject.callee.city = calleeNode["City"].asString();
auto callerNode = value["Caller"];
if(!callerNode["Number"].isNull())
dialNumberPairsObject.caller.number = callerNode["Number"].asString();
if(!callerNode["Province"].isNull())
dialNumberPairsObject.caller.province = callerNode["Province"].asString();
if(!callerNode["City"].isNull())
dialNumberPairsObject.caller.city = callerNode["City"].asString();
dialNumberPairs_.push_back(dialNumberPairsObject);
}
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string PickOutboundNumbersByTagsResult::getMessage()const
{
return message_;
}
int PickOutboundNumbersByTagsResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string PickOutboundNumbersByTagsResult::getCode()const
{
return code_;
}
bool PickOutboundNumbersByTagsResult::getSuccess()const
{
return success_;
}
std::vector<PickOutboundNumbersByTagsResult::DialNumberPair> PickOutboundNumbersByTagsResult::getDialNumberPairs()const
{
return dialNumberPairs_;
}

View File

@@ -1,104 +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/ccc/model/PreCreateMediaRequest.h>
using AlibabaCloud::CCC::Model::PreCreateMediaRequest;
PreCreateMediaRequest::PreCreateMediaRequest() :
RpcServiceRequest("ccc", "2017-07-05", "PreCreateMedia")
{}
PreCreateMediaRequest::~PreCreateMediaRequest()
{}
std::string PreCreateMediaRequest::getDescription()const
{
return description_;
}
void PreCreateMediaRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
}
std::string PreCreateMediaRequest::getType()const
{
return type_;
}
void PreCreateMediaRequest::setType(const std::string& type)
{
type_ = type;
setCoreParameter("Type", type);
}
std::string PreCreateMediaRequest::getContent()const
{
return content_;
}
void PreCreateMediaRequest::setContent(const std::string& content)
{
content_ = content;
setCoreParameter("Content", content);
}
std::string PreCreateMediaRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void PreCreateMediaRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string PreCreateMediaRequest::getInstanceId()const
{
return instanceId_;
}
void PreCreateMediaRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string PreCreateMediaRequest::getFileName()const
{
return fileName_;
}
void PreCreateMediaRequest::setFileName(const std::string& fileName)
{
fileName_ = fileName;
setCoreParameter("FileName", fileName);
}
std::string PreCreateMediaRequest::getName()const
{
return name_;
}
void PreCreateMediaRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
}

View File

@@ -1,86 +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/ccc/model/PreCreateMediaResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
PreCreateMediaResult::PreCreateMediaResult() :
ServiceResult()
{}
PreCreateMediaResult::PreCreateMediaResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
PreCreateMediaResult::~PreCreateMediaResult()
{}
void PreCreateMediaResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto preCreateMediaParamNode = value["PreCreateMediaParam"];
if(!preCreateMediaParamNode["OssFile"].isNull())
preCreateMediaParam_.ossFile = preCreateMediaParamNode["OssFile"].asString();
if(!preCreateMediaParamNode["OssFilePath"].isNull())
preCreateMediaParam_.ossFilePath = preCreateMediaParamNode["OssFilePath"].asString();
if(!preCreateMediaParamNode["OssBucket"].isNull())
preCreateMediaParam_.ossBucket = preCreateMediaParamNode["OssBucket"].asString();
if(!preCreateMediaParamNode["SignatureUrl"].isNull())
preCreateMediaParam_.signatureUrl = preCreateMediaParamNode["SignatureUrl"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string PreCreateMediaResult::getMessage()const
{
return message_;
}
int PreCreateMediaResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
PreCreateMediaResult::PreCreateMediaParam PreCreateMediaResult::getPreCreateMediaParam()const
{
return preCreateMediaParam_;
}
std::string PreCreateMediaResult::getCode()const
{
return code_;
}
bool PreCreateMediaResult::getSuccess()const
{
return success_;
}

View File

@@ -1,104 +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/ccc/model/PreModifyMediaRequest.h>
using AlibabaCloud::CCC::Model::PreModifyMediaRequest;
PreModifyMediaRequest::PreModifyMediaRequest() :
RpcServiceRequest("ccc", "2017-07-05", "PreModifyMedia")
{}
PreModifyMediaRequest::~PreModifyMediaRequest()
{}
std::string PreModifyMediaRequest::getDescription()const
{
return description_;
}
void PreModifyMediaRequest::setDescription(const std::string& description)
{
description_ = description;
setCoreParameter("Description", description);
}
std::string PreModifyMediaRequest::getType()const
{
return type_;
}
void PreModifyMediaRequest::setType(const std::string& type)
{
type_ = type;
setCoreParameter("Type", type);
}
std::string PreModifyMediaRequest::getContent()const
{
return content_;
}
void PreModifyMediaRequest::setContent(const std::string& content)
{
content_ = content;
setCoreParameter("Content", content);
}
std::string PreModifyMediaRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void PreModifyMediaRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string PreModifyMediaRequest::getInstanceId()const
{
return instanceId_;
}
void PreModifyMediaRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string PreModifyMediaRequest::getFileName()const
{
return fileName_;
}
void PreModifyMediaRequest::setFileName(const std::string& fileName)
{
fileName_ = fileName;
setCoreParameter("FileName", fileName);
}
std::string PreModifyMediaRequest::getName()const
{
return name_;
}
void PreModifyMediaRequest::setName(const std::string& name)
{
name_ = name;
setCoreParameter("Name", name);
}

View File

@@ -1,86 +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/ccc/model/PreModifyMediaResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
PreModifyMediaResult::PreModifyMediaResult() :
ServiceResult()
{}
PreModifyMediaResult::PreModifyMediaResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
PreModifyMediaResult::~PreModifyMediaResult()
{}
void PreModifyMediaResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto preModifyMediaParamNode = value["PreModifyMediaParam"];
if(!preModifyMediaParamNode["OssFile"].isNull())
preModifyMediaParam_.ossFile = preModifyMediaParamNode["OssFile"].asString();
if(!preModifyMediaParamNode["OssFilePath"].isNull())
preModifyMediaParam_.ossFilePath = preModifyMediaParamNode["OssFilePath"].asString();
if(!preModifyMediaParamNode["OssBucket"].isNull())
preModifyMediaParam_.ossBucket = preModifyMediaParamNode["OssBucket"].asString();
if(!preModifyMediaParamNode["SignatureUrl"].isNull())
preModifyMediaParam_.signatureUrl = preModifyMediaParamNode["SignatureUrl"].asString();
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string PreModifyMediaResult::getMessage()const
{
return message_;
}
PreModifyMediaResult::PreModifyMediaParam PreModifyMediaResult::getPreModifyMediaParam()const
{
return preModifyMediaParam_;
}
int PreModifyMediaResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string PreModifyMediaResult::getCode()const
{
return code_;
}
bool PreModifyMediaResult::getSuccess()const
{
return success_;
}

View File

@@ -1,126 +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/ccc/model/PredictiveRecordFailureRequest.h>
using AlibabaCloud::CCC::Model::PredictiveRecordFailureRequest;
PredictiveRecordFailureRequest::PredictiveRecordFailureRequest() :
RpcServiceRequest("ccc", "2017-07-05", "PredictiveRecordFailure")
{}
PredictiveRecordFailureRequest::~PredictiveRecordFailureRequest()
{}
std::string PredictiveRecordFailureRequest::getCallId()const
{
return callId_;
}
void PredictiveRecordFailureRequest::setCallId(const std::string& callId)
{
callId_ = callId;
setCoreParameter("CallId", callId);
}
long PredictiveRecordFailureRequest::getActualTime()const
{
return actualTime_;
}
void PredictiveRecordFailureRequest::setActualTime(long actualTime)
{
actualTime_ = actualTime;
setCoreParameter("ActualTime", std::to_string(actualTime));
}
std::string PredictiveRecordFailureRequest::getCallingNumber()const
{
return callingNumber_;
}
void PredictiveRecordFailureRequest::setCallingNumber(const std::string& callingNumber)
{
callingNumber_ = callingNumber;
setCoreParameter("CallingNumber", callingNumber);
}
std::string PredictiveRecordFailureRequest::getInstanceId()const
{
return instanceId_;
}
void PredictiveRecordFailureRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string PredictiveRecordFailureRequest::getDispositionCode()const
{
return dispositionCode_;
}
void PredictiveRecordFailureRequest::setDispositionCode(const std::string& dispositionCode)
{
dispositionCode_ = dispositionCode;
setCoreParameter("DispositionCode", dispositionCode);
}
std::string PredictiveRecordFailureRequest::getCalledNumber()const
{
return calledNumber_;
}
void PredictiveRecordFailureRequest::setCalledNumber(const std::string& calledNumber)
{
calledNumber_ = calledNumber;
setCoreParameter("CalledNumber", calledNumber);
}
std::string PredictiveRecordFailureRequest::getTaskId()const
{
return taskId_;
}
void PredictiveRecordFailureRequest::setTaskId(const std::string& taskId)
{
taskId_ = taskId;
setCoreParameter("TaskId", taskId);
}
std::string PredictiveRecordFailureRequest::getCabInstanceId()const
{
return cabInstanceId_;
}
void PredictiveRecordFailureRequest::setCabInstanceId(const std::string& cabInstanceId)
{
cabInstanceId_ = cabInstanceId;
setCoreParameter("CabInstanceId", cabInstanceId);
}
long PredictiveRecordFailureRequest::getCabInstanceOwnerId()const
{
return cabInstanceOwnerId_;
}
void PredictiveRecordFailureRequest::setCabInstanceOwnerId(long cabInstanceOwnerId)
{
cabInstanceOwnerId_ = cabInstanceOwnerId;
setCoreParameter("CabInstanceOwnerId", std::to_string(cabInstanceOwnerId));
}

View File

@@ -1,126 +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/ccc/model/PredictiveRecordSuccessRequest.h>
using AlibabaCloud::CCC::Model::PredictiveRecordSuccessRequest;
PredictiveRecordSuccessRequest::PredictiveRecordSuccessRequest() :
RpcServiceRequest("ccc", "2017-07-05", "PredictiveRecordSuccess")
{}
PredictiveRecordSuccessRequest::~PredictiveRecordSuccessRequest()
{}
std::string PredictiveRecordSuccessRequest::getCallId()const
{
return callId_;
}
void PredictiveRecordSuccessRequest::setCallId(const std::string& callId)
{
callId_ = callId;
setCoreParameter("CallId", callId);
}
std::string PredictiveRecordSuccessRequest::getCallingNumber()const
{
return callingNumber_;
}
void PredictiveRecordSuccessRequest::setCallingNumber(const std::string& callingNumber)
{
callingNumber_ = callingNumber;
setCoreParameter("CallingNumber", callingNumber);
}
std::string PredictiveRecordSuccessRequest::getInstanceId()const
{
return instanceId_;
}
void PredictiveRecordSuccessRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string PredictiveRecordSuccessRequest::getCalledNumber()const
{
return calledNumber_;
}
void PredictiveRecordSuccessRequest::setCalledNumber(const std::string& calledNumber)
{
calledNumber_ = calledNumber;
setCoreParameter("CalledNumber", calledNumber);
}
std::string PredictiveRecordSuccessRequest::getCallType()const
{
return callType_;
}
void PredictiveRecordSuccessRequest::setCallType(const std::string& callType)
{
callType_ = callType;
setCoreParameter("CallType", callType);
}
std::string PredictiveRecordSuccessRequest::getScenarioId()const
{
return scenarioId_;
}
void PredictiveRecordSuccessRequest::setScenarioId(const std::string& scenarioId)
{
scenarioId_ = scenarioId;
setCoreParameter("ScenarioId", scenarioId);
}
std::string PredictiveRecordSuccessRequest::getTaskId()const
{
return taskId_;
}
void PredictiveRecordSuccessRequest::setTaskId(const std::string& taskId)
{
taskId_ = taskId;
setCoreParameter("TaskId", taskId);
}
std::string PredictiveRecordSuccessRequest::getCabInstanceId()const
{
return cabInstanceId_;
}
void PredictiveRecordSuccessRequest::setCabInstanceId(const std::string& cabInstanceId)
{
cabInstanceId_ = cabInstanceId;
setCoreParameter("CabInstanceId", cabInstanceId);
}
long PredictiveRecordSuccessRequest::getCabInstanceOwnerId()const
{
return cabInstanceOwnerId_;
}
void PredictiveRecordSuccessRequest::setCabInstanceOwnerId(long cabInstanceOwnerId)
{
cabInstanceOwnerId_ = cabInstanceOwnerId;
setCoreParameter("CabInstanceOwnerId", std::to_string(cabInstanceOwnerId));
}

View File

@@ -1,60 +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/ccc/model/PublishPredictiveJobGroupRequest.h>
using AlibabaCloud::CCC::Model::PublishPredictiveJobGroupRequest;
PublishPredictiveJobGroupRequest::PublishPredictiveJobGroupRequest() :
RpcServiceRequest("ccc", "2017-07-05", "PublishPredictiveJobGroup")
{}
PublishPredictiveJobGroupRequest::~PublishPredictiveJobGroupRequest()
{}
std::string PublishPredictiveJobGroupRequest::getInstanceId()const
{
return instanceId_;
}
void PublishPredictiveJobGroupRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string PublishPredictiveJobGroupRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void PublishPredictiveJobGroupRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}
std::string PublishPredictiveJobGroupRequest::getJobGroupId()const
{
return jobGroupId_;
}
void PublishPredictiveJobGroupRequest::setJobGroupId(const std::string& jobGroupId)
{
jobGroupId_ = jobGroupId;
setCoreParameter("JobGroupId", jobGroupId);
}

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/ccc/model/PublishPredictiveJobGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
PublishPredictiveJobGroupResult::PublishPredictiveJobGroupResult() :
ServiceResult()
{}
PublishPredictiveJobGroupResult::PublishPredictiveJobGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
PublishPredictiveJobGroupResult::~PublishPredictiveJobGroupResult()
{}
void PublishPredictiveJobGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string PublishPredictiveJobGroupResult::getMessage()const
{
return message_;
}
int PublishPredictiveJobGroupResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string PublishPredictiveJobGroupResult::getCode()const
{
return code_;
}
bool PublishPredictiveJobGroupResult::getSuccess()const
{
return success_;
}

View File

@@ -1,71 +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/ccc/model/QueryRedialIndicatorRequest.h>
using AlibabaCloud::CCC::Model::QueryRedialIndicatorRequest;
QueryRedialIndicatorRequest::QueryRedialIndicatorRequest() :
RpcServiceRequest("ccc", "2017-07-05", "QueryRedialIndicator")
{}
QueryRedialIndicatorRequest::~QueryRedialIndicatorRequest()
{}
std::string QueryRedialIndicatorRequest::getContactId()const
{
return contactId_;
}
void QueryRedialIndicatorRequest::setContactId(const std::string& contactId)
{
contactId_ = contactId;
setCoreParameter("ContactId", contactId);
}
bool QueryRedialIndicatorRequest::getMockResponse()const
{
return mockResponse_;
}
void QueryRedialIndicatorRequest::setMockResponse(bool mockResponse)
{
mockResponse_ = mockResponse;
setCoreParameter("MockResponse", mockResponse ? "true" : "false");
}
std::string QueryRedialIndicatorRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void QueryRedialIndicatorRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string QueryRedialIndicatorRequest::getInstanceId()const
{
return instanceId_;
}
void QueryRedialIndicatorRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}

View File

@@ -1,79 +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/ccc/model/QueryRedialIndicatorResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
QueryRedialIndicatorResult::QueryRedialIndicatorResult() :
ServiceResult()
{}
QueryRedialIndicatorResult::QueryRedialIndicatorResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
QueryRedialIndicatorResult::~QueryRedialIndicatorResult()
{}
void QueryRedialIndicatorResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["Redial"].isNull())
redial_ = value["Redial"].asString() == "true";
}
std::string QueryRedialIndicatorResult::getMessage()const
{
return message_;
}
int QueryRedialIndicatorResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
bool QueryRedialIndicatorResult::getRedial()const
{
return redial_;
}
std::string QueryRedialIndicatorResult::getCode()const
{
return code_;
}
bool QueryRedialIndicatorResult::getSuccess()const
{
return success_;
}

View File

@@ -1,71 +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/ccc/model/RemoveNumberFromSkillGroupRequest.h>
using AlibabaCloud::CCC::Model::RemoveNumberFromSkillGroupRequest;
RemoveNumberFromSkillGroupRequest::RemoveNumberFromSkillGroupRequest() :
RpcServiceRequest("ccc", "2017-07-05", "RemoveNumberFromSkillGroup")
{}
RemoveNumberFromSkillGroupRequest::~RemoveNumberFromSkillGroupRequest()
{}
std::string RemoveNumberFromSkillGroupRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void RemoveNumberFromSkillGroupRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string RemoveNumberFromSkillGroupRequest::getNumber()const
{
return number_;
}
void RemoveNumberFromSkillGroupRequest::setNumber(const std::string& number)
{
number_ = number;
setCoreParameter("Number", number);
}
std::string RemoveNumberFromSkillGroupRequest::getInstanceId()const
{
return instanceId_;
}
void RemoveNumberFromSkillGroupRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string RemoveNumberFromSkillGroupRequest::getSkillGroupId()const
{
return skillGroupId_;
}
void RemoveNumberFromSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId)
{
skillGroupId_ = skillGroupId;
setCoreParameter("SkillGroupId", skillGroupId);
}

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/ccc/model/RemoveNumberFromSkillGroupResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
RemoveNumberFromSkillGroupResult::RemoveNumberFromSkillGroupResult() :
ServiceResult()
{}
RemoveNumberFromSkillGroupResult::RemoveNumberFromSkillGroupResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
RemoveNumberFromSkillGroupResult::~RemoveNumberFromSkillGroupResult()
{}
void RemoveNumberFromSkillGroupResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
}
std::string RemoveNumberFromSkillGroupResult::getMessage()const
{
return message_;
}
int RemoveNumberFromSkillGroupResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string RemoveNumberFromSkillGroupResult::getCode()const
{
return code_;
}
bool RemoveNumberFromSkillGroupResult::getSuccess()const
{
return success_;
}

View File

@@ -1,82 +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/ccc/model/SimpleDialRequest.h>
using AlibabaCloud::CCC::Model::SimpleDialRequest;
SimpleDialRequest::SimpleDialRequest() :
RpcServiceRequest("ccc", "2017-07-05", "SimpleDial")
{}
SimpleDialRequest::~SimpleDialRequest()
{}
std::string SimpleDialRequest::getCallee()const
{
return callee_;
}
void SimpleDialRequest::setCallee(const std::string& callee)
{
callee_ = callee;
setCoreParameter("Callee", callee);
}
std::string SimpleDialRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void SimpleDialRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string SimpleDialRequest::getCaller()const
{
return caller_;
}
void SimpleDialRequest::setCaller(const std::string& caller)
{
caller_ = caller;
setCoreParameter("Caller", caller);
}
std::string SimpleDialRequest::getInstanceId()const
{
return instanceId_;
}
void SimpleDialRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string SimpleDialRequest::getContractFlowId()const
{
return contractFlowId_;
}
void SimpleDialRequest::setContractFlowId(const std::string& contractFlowId)
{
contractFlowId_ = contractFlowId;
setCoreParameter("ContractFlowId", contractFlowId);
}

View File

@@ -1,100 +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/ccc/model/SimpleDialResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
SimpleDialResult::SimpleDialResult() :
ServiceResult()
{}
SimpleDialResult::SimpleDialResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SimpleDialResult::~SimpleDialResult()
{}
void SimpleDialResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["StatusCode"].isNull())
statusCode_ = value["StatusCode"].asString();
if(!value["StatusDesc"].isNull())
statusDesc_ = value["StatusDesc"].asString();
if(!value["TaskId"].isNull())
taskId_ = value["TaskId"].asString();
if(!value["TimeStamp"].isNull())
timeStamp_ = value["TimeStamp"].asString();
}
std::string SimpleDialResult::getStatusDesc()const
{
return statusDesc_;
}
std::string SimpleDialResult::getTaskId()const
{
return taskId_;
}
std::string SimpleDialResult::getMessage()const
{
return message_;
}
int SimpleDialResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string SimpleDialResult::getCode()const
{
return code_;
}
std::string SimpleDialResult::getStatusCode()const
{
return statusCode_;
}
bool SimpleDialResult::getSuccess()const
{
return success_;
}
std::string SimpleDialResult::getTimeStamp()const
{
return timeStamp_;
}

View File

@@ -1,82 +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/ccc/model/TwoPartiesCallRequest.h>
using AlibabaCloud::CCC::Model::TwoPartiesCallRequest;
TwoPartiesCallRequest::TwoPartiesCallRequest() :
RpcServiceRequest("ccc", "2017-07-05", "TwoPartiesCall")
{}
TwoPartiesCallRequest::~TwoPartiesCallRequest()
{}
std::string TwoPartiesCallRequest::getCalleeCustomer()const
{
return calleeCustomer_;
}
void TwoPartiesCallRequest::setCalleeCustomer(const std::string& calleeCustomer)
{
calleeCustomer_ = calleeCustomer;
setCoreParameter("CalleeCustomer", calleeCustomer);
}
std::string TwoPartiesCallRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void TwoPartiesCallRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
std::string TwoPartiesCallRequest::getCaller()const
{
return caller_;
}
void TwoPartiesCallRequest::setCaller(const std::string& caller)
{
caller_ = caller;
setCoreParameter("Caller", caller);
}
std::string TwoPartiesCallRequest::getInstanceId()const
{
return instanceId_;
}
void TwoPartiesCallRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string TwoPartiesCallRequest::getCalleeAgent()const
{
return calleeAgent_;
}
void TwoPartiesCallRequest::setCalleeAgent(const std::string& calleeAgent)
{
calleeAgent_ = calleeAgent;
setCoreParameter("CalleeAgent", calleeAgent);
}

View File

@@ -1,100 +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/ccc/model/TwoPartiesCallResult.h>
#include <json/json.h>
using namespace AlibabaCloud::CCC;
using namespace AlibabaCloud::CCC::Model;
TwoPartiesCallResult::TwoPartiesCallResult() :
ServiceResult()
{}
TwoPartiesCallResult::TwoPartiesCallResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
TwoPartiesCallResult::~TwoPartiesCallResult()
{}
void TwoPartiesCallResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Success"].isNull())
success_ = value["Success"].asString() == "true";
if(!value["Code"].isNull())
code_ = value["Code"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["HttpStatusCode"].isNull())
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
if(!value["StatusCode"].isNull())
statusCode_ = value["StatusCode"].asString();
if(!value["StatusDesc"].isNull())
statusDesc_ = value["StatusDesc"].asString();
if(!value["TaskId"].isNull())
taskId_ = value["TaskId"].asString();
if(!value["TimeStamp"].isNull())
timeStamp_ = value["TimeStamp"].asString();
}
std::string TwoPartiesCallResult::getStatusDesc()const
{
return statusDesc_;
}
std::string TwoPartiesCallResult::getTaskId()const
{
return taskId_;
}
std::string TwoPartiesCallResult::getMessage()const
{
return message_;
}
int TwoPartiesCallResult::getHttpStatusCode()const
{
return httpStatusCode_;
}
std::string TwoPartiesCallResult::getCode()const
{
return code_;
}
std::string TwoPartiesCallResult::getStatusCode()const
{
return statusCode_;
}
bool TwoPartiesCallResult::getSuccess()const
{
return success_;
}
std::string TwoPartiesCallResult::getTimeStamp()const
{
return timeStamp_;
}

View File

@@ -33,6 +33,8 @@ set(cloudauth_public_header_model
include/alibabacloud/cloudauth/model/CreateVerifySDKResult.h
include/alibabacloud/cloudauth/model/CreateVerifySettingRequest.h
include/alibabacloud/cloudauth/model/CreateVerifySettingResult.h
include/alibabacloud/cloudauth/model/DescribeAppInfoRequest.h
include/alibabacloud/cloudauth/model/DescribeAppInfoResult.h
include/alibabacloud/cloudauth/model/DescribeDeviceInfoRequest.h
include/alibabacloud/cloudauth/model/DescribeDeviceInfoResult.h
include/alibabacloud/cloudauth/model/DescribeFaceUsageRequest.h
@@ -43,6 +45,10 @@ set(cloudauth_public_header_model
include/alibabacloud/cloudauth/model/DescribeOssUploadTokenResult.h
include/alibabacloud/cloudauth/model/DescribeRPSDKRequest.h
include/alibabacloud/cloudauth/model/DescribeRPSDKResult.h
include/alibabacloud/cloudauth/model/DescribeSdkUrlRequest.h
include/alibabacloud/cloudauth/model/DescribeSdkUrlResult.h
include/alibabacloud/cloudauth/model/DescribeUpdatePackageResultRequest.h
include/alibabacloud/cloudauth/model/DescribeUpdatePackageResultResult.h
include/alibabacloud/cloudauth/model/DescribeUploadInfoRequest.h
include/alibabacloud/cloudauth/model/DescribeUploadInfoResult.h
include/alibabacloud/cloudauth/model/DescribeUserStatusRequest.h
@@ -67,6 +73,8 @@ set(cloudauth_public_header_model
include/alibabacloud/cloudauth/model/InitFaceVerifyResult.h
include/alibabacloud/cloudauth/model/ModifyDeviceInfoRequest.h
include/alibabacloud/cloudauth/model/ModifyDeviceInfoResult.h
include/alibabacloud/cloudauth/model/UpdateAppPackageRequest.h
include/alibabacloud/cloudauth/model/UpdateAppPackageResult.h
include/alibabacloud/cloudauth/model/UpdateVerifySettingRequest.h
include/alibabacloud/cloudauth/model/UpdateVerifySettingResult.h
include/alibabacloud/cloudauth/model/VerifyDeviceRequest.h
@@ -88,6 +96,8 @@ set(cloudauth_src
src/model/CreateVerifySDKResult.cc
src/model/CreateVerifySettingRequest.cc
src/model/CreateVerifySettingResult.cc
src/model/DescribeAppInfoRequest.cc
src/model/DescribeAppInfoResult.cc
src/model/DescribeDeviceInfoRequest.cc
src/model/DescribeDeviceInfoResult.cc
src/model/DescribeFaceUsageRequest.cc
@@ -98,6 +108,10 @@ set(cloudauth_src
src/model/DescribeOssUploadTokenResult.cc
src/model/DescribeRPSDKRequest.cc
src/model/DescribeRPSDKResult.cc
src/model/DescribeSdkUrlRequest.cc
src/model/DescribeSdkUrlResult.cc
src/model/DescribeUpdatePackageResultRequest.cc
src/model/DescribeUpdatePackageResultResult.cc
src/model/DescribeUploadInfoRequest.cc
src/model/DescribeUploadInfoResult.cc
src/model/DescribeUserStatusRequest.cc
@@ -122,6 +136,8 @@ set(cloudauth_src
src/model/InitFaceVerifyResult.cc
src/model/ModifyDeviceInfoRequest.cc
src/model/ModifyDeviceInfoResult.cc
src/model/UpdateAppPackageRequest.cc
src/model/UpdateAppPackageResult.cc
src/model/UpdateVerifySettingRequest.cc
src/model/UpdateVerifySettingResult.cc
src/model/VerifyDeviceRequest.cc

View File

@@ -34,6 +34,8 @@
#include "model/CreateVerifySDKResult.h"
#include "model/CreateVerifySettingRequest.h"
#include "model/CreateVerifySettingResult.h"
#include "model/DescribeAppInfoRequest.h"
#include "model/DescribeAppInfoResult.h"
#include "model/DescribeDeviceInfoRequest.h"
#include "model/DescribeDeviceInfoResult.h"
#include "model/DescribeFaceUsageRequest.h"
@@ -44,6 +46,10 @@
#include "model/DescribeOssUploadTokenResult.h"
#include "model/DescribeRPSDKRequest.h"
#include "model/DescribeRPSDKResult.h"
#include "model/DescribeSdkUrlRequest.h"
#include "model/DescribeSdkUrlResult.h"
#include "model/DescribeUpdatePackageResultRequest.h"
#include "model/DescribeUpdatePackageResultResult.h"
#include "model/DescribeUploadInfoRequest.h"
#include "model/DescribeUploadInfoResult.h"
#include "model/DescribeUserStatusRequest.h"
@@ -68,6 +74,8 @@
#include "model/InitFaceVerifyResult.h"
#include "model/ModifyDeviceInfoRequest.h"
#include "model/ModifyDeviceInfoResult.h"
#include "model/UpdateAppPackageRequest.h"
#include "model/UpdateAppPackageResult.h"
#include "model/UpdateVerifySettingRequest.h"
#include "model/UpdateVerifySettingResult.h"
#include "model/VerifyDeviceRequest.h"
@@ -101,6 +109,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateVerifySettingResult> CreateVerifySettingOutcome;
typedef std::future<CreateVerifySettingOutcome> CreateVerifySettingOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::CreateVerifySettingRequest&, const CreateVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVerifySettingAsyncHandler;
typedef Outcome<Error, Model::DescribeAppInfoResult> DescribeAppInfoOutcome;
typedef std::future<DescribeAppInfoOutcome> DescribeAppInfoOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::DescribeAppInfoRequest&, const DescribeAppInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAppInfoAsyncHandler;
typedef Outcome<Error, Model::DescribeDeviceInfoResult> DescribeDeviceInfoOutcome;
typedef std::future<DescribeDeviceInfoOutcome> DescribeDeviceInfoOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::DescribeDeviceInfoRequest&, const DescribeDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDeviceInfoAsyncHandler;
@@ -116,6 +127,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeRPSDKResult> DescribeRPSDKOutcome;
typedef std::future<DescribeRPSDKOutcome> DescribeRPSDKOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::DescribeRPSDKRequest&, const DescribeRPSDKOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRPSDKAsyncHandler;
typedef Outcome<Error, Model::DescribeSdkUrlResult> DescribeSdkUrlOutcome;
typedef std::future<DescribeSdkUrlOutcome> DescribeSdkUrlOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::DescribeSdkUrlRequest&, const DescribeSdkUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSdkUrlAsyncHandler;
typedef Outcome<Error, Model::DescribeUpdatePackageResultResult> DescribeUpdatePackageResultOutcome;
typedef std::future<DescribeUpdatePackageResultOutcome> DescribeUpdatePackageResultOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::DescribeUpdatePackageResultRequest&, const DescribeUpdatePackageResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUpdatePackageResultAsyncHandler;
typedef Outcome<Error, Model::DescribeUploadInfoResult> DescribeUploadInfoOutcome;
typedef std::future<DescribeUploadInfoOutcome> DescribeUploadInfoOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::DescribeUploadInfoRequest&, const DescribeUploadInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUploadInfoAsyncHandler;
@@ -152,6 +169,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::ModifyDeviceInfoResult> ModifyDeviceInfoOutcome;
typedef std::future<ModifyDeviceInfoOutcome> ModifyDeviceInfoOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::ModifyDeviceInfoRequest&, const ModifyDeviceInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyDeviceInfoAsyncHandler;
typedef Outcome<Error, Model::UpdateAppPackageResult> UpdateAppPackageOutcome;
typedef std::future<UpdateAppPackageOutcome> UpdateAppPackageOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::UpdateAppPackageRequest&, const UpdateAppPackageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateAppPackageAsyncHandler;
typedef Outcome<Error, Model::UpdateVerifySettingResult> UpdateVerifySettingOutcome;
typedef std::future<UpdateVerifySettingOutcome> UpdateVerifySettingOutcomeCallable;
typedef std::function<void(const CloudauthClient*, const Model::UpdateVerifySettingRequest&, const UpdateVerifySettingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateVerifySettingAsyncHandler;
@@ -184,6 +204,9 @@ namespace AlibabaCloud
CreateVerifySettingOutcome createVerifySetting(const Model::CreateVerifySettingRequest &request)const;
void createVerifySettingAsync(const Model::CreateVerifySettingRequest& request, const CreateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateVerifySettingOutcomeCallable createVerifySettingCallable(const Model::CreateVerifySettingRequest& request) const;
DescribeAppInfoOutcome describeAppInfo(const Model::DescribeAppInfoRequest &request)const;
void describeAppInfoAsync(const Model::DescribeAppInfoRequest& request, const DescribeAppInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeAppInfoOutcomeCallable describeAppInfoCallable(const Model::DescribeAppInfoRequest& request) const;
DescribeDeviceInfoOutcome describeDeviceInfo(const Model::DescribeDeviceInfoRequest &request)const;
void describeDeviceInfoAsync(const Model::DescribeDeviceInfoRequest& request, const DescribeDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDeviceInfoOutcomeCallable describeDeviceInfoCallable(const Model::DescribeDeviceInfoRequest& request) const;
@@ -199,6 +222,12 @@ namespace AlibabaCloud
DescribeRPSDKOutcome describeRPSDK(const Model::DescribeRPSDKRequest &request)const;
void describeRPSDKAsync(const Model::DescribeRPSDKRequest& request, const DescribeRPSDKAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRPSDKOutcomeCallable describeRPSDKCallable(const Model::DescribeRPSDKRequest& request) const;
DescribeSdkUrlOutcome describeSdkUrl(const Model::DescribeSdkUrlRequest &request)const;
void describeSdkUrlAsync(const Model::DescribeSdkUrlRequest& request, const DescribeSdkUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeSdkUrlOutcomeCallable describeSdkUrlCallable(const Model::DescribeSdkUrlRequest& request) const;
DescribeUpdatePackageResultOutcome describeUpdatePackageResult(const Model::DescribeUpdatePackageResultRequest &request)const;
void describeUpdatePackageResultAsync(const Model::DescribeUpdatePackageResultRequest& request, const DescribeUpdatePackageResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUpdatePackageResultOutcomeCallable describeUpdatePackageResultCallable(const Model::DescribeUpdatePackageResultRequest& request) const;
DescribeUploadInfoOutcome describeUploadInfo(const Model::DescribeUploadInfoRequest &request)const;
void describeUploadInfoAsync(const Model::DescribeUploadInfoRequest& request, const DescribeUploadInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeUploadInfoOutcomeCallable describeUploadInfoCallable(const Model::DescribeUploadInfoRequest& request) const;
@@ -235,6 +264,9 @@ namespace AlibabaCloud
ModifyDeviceInfoOutcome modifyDeviceInfo(const Model::ModifyDeviceInfoRequest &request)const;
void modifyDeviceInfoAsync(const Model::ModifyDeviceInfoRequest& request, const ModifyDeviceInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyDeviceInfoOutcomeCallable modifyDeviceInfoCallable(const Model::ModifyDeviceInfoRequest& request) const;
UpdateAppPackageOutcome updateAppPackage(const Model::UpdateAppPackageRequest &request)const;
void updateAppPackageAsync(const Model::UpdateAppPackageRequest& request, const UpdateAppPackageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateAppPackageOutcomeCallable updateAppPackageCallable(const Model::UpdateAppPackageRequest& request) const;
UpdateVerifySettingOutcome updateVerifySetting(const Model::UpdateVerifySettingRequest &request)const;
void updateVerifySettingAsync(const Model::UpdateVerifySettingRequest& request, const UpdateVerifySettingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UpdateVerifySettingOutcomeCallable updateVerifySettingCallable(const Model::UpdateVerifySettingRequest& request) const;

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEAPPINFOREQUEST_H_
#define ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEAPPINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/cloudauth/CloudauthExport.h>
namespace AlibabaCloud
{
namespace Cloudauth
{
namespace Model
{
class ALIBABACLOUD_CLOUDAUTH_EXPORT DescribeAppInfoRequest : public RpcServiceRequest
{
public:
DescribeAppInfoRequest();
~DescribeAppInfoRequest();
int getCurrentPage()const;
void setCurrentPage(int currentPage);
std::string getPlatform()const;
void setPlatform(const std::string& platform);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getPageSize()const;
void setPageSize(int pageSize);
private:
int currentPage_;
std::string platform_;
std::string sourceIp_;
int pageSize_;
};
}
}
}
#endif // !ALIBABACLOUD_CLOUDAUTH_MODEL_DESCRIBEAPPINFOREQUEST_H_

Some files were not shown because too many files have changed in this diff Show More