由择仁发起的CCC SDK自动发布, BUILD_ID=445, 版本号:1.2.2
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
207
ccc/include/alibabacloud/ccc/CCCClient.h
Normal file
207
ccc/include/alibabacloud/ccc/CCCClient.h
Normal file
@@ -0,0 +1,207 @@
|
||||
/*
|
||||
* 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_CCCCLIENT_H_
|
||||
#define ALIBABACLOUD_CCC_CCCCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CCCExport.h"
|
||||
#include "model/ListRecordingsByContactIdRequest.h"
|
||||
#include "model/ListRecordingsByContactIdResult.h"
|
||||
#include "model/ListUsersOfSkillGroupRequest.h"
|
||||
#include "model/ListUsersOfSkillGroupResult.h"
|
||||
#include "model/DeleteSkillGroupRequest.h"
|
||||
#include "model/DeleteSkillGroupResult.h"
|
||||
#include "model/ModifyPhoneNumberRequest.h"
|
||||
#include "model/ModifyPhoneNumberResult.h"
|
||||
#include "model/ListUsersRequest.h"
|
||||
#include "model/ListUsersResult.h"
|
||||
#include "model/ListSkillGroupsRequest.h"
|
||||
#include "model/ListSkillGroupsResult.h"
|
||||
#include "model/ListSkillGroupsOfUserRequest.h"
|
||||
#include "model/ListSkillGroupsOfUserResult.h"
|
||||
#include "model/RemovePhoneNumberRequest.h"
|
||||
#include "model/RemovePhoneNumberResult.h"
|
||||
#include "model/ListCallDetailRecordsRequest.h"
|
||||
#include "model/ListCallDetailRecordsResult.h"
|
||||
#include "model/AddPhoneNumberRequest.h"
|
||||
#include "model/AddPhoneNumberResult.h"
|
||||
#include "model/ListRecordingsRequest.h"
|
||||
#include "model/ListRecordingsResult.h"
|
||||
#include "model/GetConfigRequest.h"
|
||||
#include "model/GetConfigResult.h"
|
||||
#include "model/DownloadRecordingRequest.h"
|
||||
#include "model/DownloadRecordingResult.h"
|
||||
#include "model/ListPhoneNumbersRequest.h"
|
||||
#include "model/ListPhoneNumbersResult.h"
|
||||
#include "model/RefreshTokenRequest.h"
|
||||
#include "model/RefreshTokenResult.h"
|
||||
#include "model/RequestLoginInfoRequest.h"
|
||||
#include "model/RequestLoginInfoResult.h"
|
||||
#include "model/GetServiceExtensionsRequest.h"
|
||||
#include "model/GetServiceExtensionsResult.h"
|
||||
#include "model/ListContactFlowsRequest.h"
|
||||
#include "model/ListContactFlowsResult.h"
|
||||
#include "model/ListRolesRequest.h"
|
||||
#include "model/ListRolesResult.h"
|
||||
#include "model/GetUserRequest.h"
|
||||
#include "model/GetUserResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT CCCClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ListRecordingsByContactIdResult> ListRecordingsByContactIdOutcome;
|
||||
typedef std::future<ListRecordingsByContactIdOutcome> ListRecordingsByContactIdOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRecordingsByContactIdRequest&, const ListRecordingsByContactIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRecordingsByContactIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUsersOfSkillGroupResult> ListUsersOfSkillGroupOutcome;
|
||||
typedef std::future<ListUsersOfSkillGroupOutcome> ListUsersOfSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListUsersOfSkillGroupRequest&, const ListUsersOfSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersOfSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSkillGroupResult> DeleteSkillGroupOutcome;
|
||||
typedef std::future<DeleteSkillGroupOutcome> DeleteSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DeleteSkillGroupRequest&, const DeleteSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSkillGroupAsyncHandler;
|
||||
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;
|
||||
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
|
||||
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSkillGroupsResult> ListSkillGroupsOutcome;
|
||||
typedef std::future<ListSkillGroupsOutcome> ListSkillGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSkillGroupsRequest&, const ListSkillGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSkillGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListSkillGroupsOfUserResult> ListSkillGroupsOfUserOutcome;
|
||||
typedef std::future<ListSkillGroupsOfUserOutcome> ListSkillGroupsOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListSkillGroupsOfUserRequest&, const ListSkillGroupsOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSkillGroupsOfUserAsyncHandler;
|
||||
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;
|
||||
typedef Outcome<Error, Model::ListCallDetailRecordsResult> ListCallDetailRecordsOutcome;
|
||||
typedef std::future<ListCallDetailRecordsOutcome> ListCallDetailRecordsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListCallDetailRecordsRequest&, const ListCallDetailRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCallDetailRecordsAsyncHandler;
|
||||
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;
|
||||
typedef Outcome<Error, Model::ListRecordingsResult> ListRecordingsOutcome;
|
||||
typedef std::future<ListRecordingsOutcome> ListRecordingsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRecordingsRequest&, const ListRecordingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRecordingsAsyncHandler;
|
||||
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::DownloadRecordingResult> DownloadRecordingOutcome;
|
||||
typedef std::future<DownloadRecordingOutcome> DownloadRecordingOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::DownloadRecordingRequest&, const DownloadRecordingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DownloadRecordingAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPhoneNumbersResult> ListPhoneNumbersOutcome;
|
||||
typedef std::future<ListPhoneNumbersOutcome> ListPhoneNumbersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPhoneNumbersRequest&, const ListPhoneNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhoneNumbersAsyncHandler;
|
||||
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::RequestLoginInfoResult> RequestLoginInfoOutcome;
|
||||
typedef std::future<RequestLoginInfoOutcome> RequestLoginInfoOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RequestLoginInfoRequest&, const RequestLoginInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RequestLoginInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetServiceExtensionsResult> GetServiceExtensionsOutcome;
|
||||
typedef std::future<GetServiceExtensionsOutcome> GetServiceExtensionsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetServiceExtensionsRequest&, const GetServiceExtensionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServiceExtensionsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListContactFlowsResult> ListContactFlowsOutcome;
|
||||
typedef std::future<ListContactFlowsOutcome> ListContactFlowsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListContactFlowsRequest&, const ListContactFlowsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListContactFlowsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRolesResult> ListRolesOutcome;
|
||||
typedef std::future<ListRolesOutcome> ListRolesOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRolesRequest&, const ListRolesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRolesAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetUserResult> GetUserOutcome;
|
||||
typedef std::future<GetUserOutcome> GetUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetUserRequest&, const GetUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetUserAsyncHandler;
|
||||
|
||||
CCCClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CCCClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CCCClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CCCClient();
|
||||
ListRecordingsByContactIdOutcome listRecordingsByContactId(const Model::ListRecordingsByContactIdRequest &request)const;
|
||||
void listRecordingsByContactIdAsync(const Model::ListRecordingsByContactIdRequest& request, const ListRecordingsByContactIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRecordingsByContactIdOutcomeCallable listRecordingsByContactIdCallable(const Model::ListRecordingsByContactIdRequest& request) const;
|
||||
ListUsersOfSkillGroupOutcome listUsersOfSkillGroup(const Model::ListUsersOfSkillGroupRequest &request)const;
|
||||
void listUsersOfSkillGroupAsync(const Model::ListUsersOfSkillGroupRequest& request, const ListUsersOfSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersOfSkillGroupOutcomeCallable listUsersOfSkillGroupCallable(const Model::ListUsersOfSkillGroupRequest& request) const;
|
||||
DeleteSkillGroupOutcome deleteSkillGroup(const Model::DeleteSkillGroupRequest &request)const;
|
||||
void deleteSkillGroupAsync(const Model::DeleteSkillGroupRequest& request, const DeleteSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSkillGroupOutcomeCallable deleteSkillGroupCallable(const Model::DeleteSkillGroupRequest& 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;
|
||||
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
|
||||
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
|
||||
ListSkillGroupsOutcome listSkillGroups(const Model::ListSkillGroupsRequest &request)const;
|
||||
void listSkillGroupsAsync(const Model::ListSkillGroupsRequest& request, const ListSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSkillGroupsOutcomeCallable listSkillGroupsCallable(const Model::ListSkillGroupsRequest& request) const;
|
||||
ListSkillGroupsOfUserOutcome listSkillGroupsOfUser(const Model::ListSkillGroupsOfUserRequest &request)const;
|
||||
void listSkillGroupsOfUserAsync(const Model::ListSkillGroupsOfUserRequest& request, const ListSkillGroupsOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSkillGroupsOfUserOutcomeCallable listSkillGroupsOfUserCallable(const Model::ListSkillGroupsOfUserRequest& 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;
|
||||
ListCallDetailRecordsOutcome listCallDetailRecords(const Model::ListCallDetailRecordsRequest &request)const;
|
||||
void listCallDetailRecordsAsync(const Model::ListCallDetailRecordsRequest& request, const ListCallDetailRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCallDetailRecordsOutcomeCallable listCallDetailRecordsCallable(const Model::ListCallDetailRecordsRequest& 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;
|
||||
ListRecordingsOutcome listRecordings(const Model::ListRecordingsRequest &request)const;
|
||||
void listRecordingsAsync(const Model::ListRecordingsRequest& request, const ListRecordingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRecordingsOutcomeCallable listRecordingsCallable(const Model::ListRecordingsRequest& 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;
|
||||
DownloadRecordingOutcome downloadRecording(const Model::DownloadRecordingRequest &request)const;
|
||||
void downloadRecordingAsync(const Model::DownloadRecordingRequest& request, const DownloadRecordingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DownloadRecordingOutcomeCallable downloadRecordingCallable(const Model::DownloadRecordingRequest& request) const;
|
||||
ListPhoneNumbersOutcome listPhoneNumbers(const Model::ListPhoneNumbersRequest &request)const;
|
||||
void listPhoneNumbersAsync(const Model::ListPhoneNumbersRequest& request, const ListPhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhoneNumbersOutcomeCallable listPhoneNumbersCallable(const Model::ListPhoneNumbersRequest& 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;
|
||||
RequestLoginInfoOutcome requestLoginInfo(const Model::RequestLoginInfoRequest &request)const;
|
||||
void requestLoginInfoAsync(const Model::RequestLoginInfoRequest& request, const RequestLoginInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RequestLoginInfoOutcomeCallable requestLoginInfoCallable(const Model::RequestLoginInfoRequest& request) const;
|
||||
GetServiceExtensionsOutcome getServiceExtensions(const Model::GetServiceExtensionsRequest &request)const;
|
||||
void getServiceExtensionsAsync(const Model::GetServiceExtensionsRequest& request, const GetServiceExtensionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetServiceExtensionsOutcomeCallable getServiceExtensionsCallable(const Model::GetServiceExtensionsRequest& request) const;
|
||||
ListContactFlowsOutcome listContactFlows(const Model::ListContactFlowsRequest &request)const;
|
||||
void listContactFlowsAsync(const Model::ListContactFlowsRequest& request, const ListContactFlowsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListContactFlowsOutcomeCallable listContactFlowsCallable(const Model::ListContactFlowsRequest& request) const;
|
||||
ListRolesOutcome listRoles(const Model::ListRolesRequest &request)const;
|
||||
void listRolesAsync(const Model::ListRolesRequest& request, const ListRolesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRolesOutcomeCallable listRolesCallable(const Model::ListRolesRequest& request) const;
|
||||
GetUserOutcome getUser(const Model::GetUserRequest &request)const;
|
||||
void getUserAsync(const Model::GetUserRequest& request, const GetUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetUserOutcomeCallable getUserCallable(const Model::GetUserRequest& request) const;
|
||||
|
||||
private:
|
||||
virtual EndpointOutcome endpoint()const override;
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CCC_CCCCLIENT_H_
|
||||
32
ccc/include/alibabacloud/ccc/CCCExport.h
Normal file
32
ccc/include/alibabacloud/ccc/CCCExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_CCCEXPORT_H_
|
||||
#define ALIBABACLOUD_CCC_CCCEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_CCC_LIBRARY)
|
||||
# define ALIBABACLOUD_CCC_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_CCC_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_CCC_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_CCC_CCCEXPORT_H_
|
||||
60
ccc/include/alibabacloud/ccc/model/AddPhoneNumberRequest.h
Normal file
60
ccc/include/alibabacloud/ccc/model/AddPhoneNumberRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_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 AddPhoneNumberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddPhoneNumberRequest();
|
||||
~AddPhoneNumberRequest();
|
||||
|
||||
std::string getContactFlowId()const;
|
||||
void setContactFlowId(const std::string& contactFlowId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUsage()const;
|
||||
void setUsage(const std::string& usage);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string contactFlowId_;
|
||||
std::string instanceId_;
|
||||
std::string usage_;
|
||||
std::string phoneNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERREQUEST_H_
|
||||
80
ccc/include/alibabacloud/ccc/model/AddPhoneNumberResult.h
Normal file
80
ccc/include/alibabacloud/ccc/model/AddPhoneNumberResult.h
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_ADDPHONENUMBERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERRESULT_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 AddPhoneNumberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhoneNumber
|
||||
{
|
||||
struct ContactFlow
|
||||
{
|
||||
std::string type;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string contactFlowName;
|
||||
std::string contactFlowDescription;
|
||||
};
|
||||
std::string usage;
|
||||
bool testOnly;
|
||||
bool allowOutbound;
|
||||
std::string number;
|
||||
std::string instanceId;
|
||||
int remainingTime;
|
||||
int trunks;
|
||||
std::string phoneNumberId;
|
||||
std::vector<ContactFlow> contactFlow;
|
||||
std::string phoneNumberDescription;
|
||||
};
|
||||
|
||||
|
||||
AddPhoneNumberResult();
|
||||
explicit AddPhoneNumberResult(const std::string &payload);
|
||||
~AddPhoneNumberResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<PhoneNumber> getPhoneNumber()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<PhoneNumber> phoneNumber_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERRESULT_H_
|
||||
54
ccc/include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h
Normal file
54
ccc/include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h
Normal 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_CCC_MODEL_DELETESKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPREQUEST_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 DeleteSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSkillGroupRequest();
|
||||
~DeleteSkillGroupRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPREQUEST_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/DeleteSkillGroupResult.h
Normal file
57
ccc/include/alibabacloud/ccc/model/DeleteSkillGroupResult.h
Normal 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_CCC_MODEL_DELETESKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPRESULT_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 DeleteSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteSkillGroupResult();
|
||||
explicit DeleteSkillGroupResult(const std::string &payload);
|
||||
~DeleteSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPRESULT_H_
|
||||
@@ -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_CCC_MODEL_DOWNLOADRECORDINGREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADRECORDINGREQUEST_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 DownloadRecordingRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DownloadRecordingRequest();
|
||||
~DownloadRecordingRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getFileName()const;
|
||||
void setFileName(const std::string& fileName);
|
||||
std::string getChannel()const;
|
||||
void setChannel(const std::string& channel);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string fileName_;
|
||||
std::string channel_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADRECORDINGREQUEST_H_
|
||||
64
ccc/include/alibabacloud/ccc/model/DownloadRecordingResult.h
Normal file
64
ccc/include/alibabacloud/ccc/model/DownloadRecordingResult.h
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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_DOWNLOADRECORDINGRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_DOWNLOADRECORDINGRESULT_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 DownloadRecordingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MediaDownloadParam
|
||||
{
|
||||
std::string fileName;
|
||||
std::string signatureUrl;
|
||||
};
|
||||
|
||||
|
||||
DownloadRecordingResult();
|
||||
explicit DownloadRecordingResult(const std::string &payload);
|
||||
~DownloadRecordingResult();
|
||||
std::vector<MediaDownloadParam> getMediaDownloadParam()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MediaDownloadParam> mediaDownloadParam_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_DOWNLOADRECORDINGRESULT_H_
|
||||
60
ccc/include/alibabacloud/ccc/model/GetConfigRequest.h
Normal file
60
ccc/include/alibabacloud/ccc/model/GetConfigRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCONFIGREQUEST_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 GetConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetConfigRequest();
|
||||
~GetConfigRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getObjectType()const;
|
||||
void setObjectType(const std::string& objectType);
|
||||
std::string getObjectId()const;
|
||||
void setObjectId(const std::string& objectId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string name_;
|
||||
std::string objectType_;
|
||||
std::string objectId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONFIGREQUEST_H_
|
||||
64
ccc/include/alibabacloud/ccc/model/GetConfigResult.h
Normal file
64
ccc/include/alibabacloud/ccc/model/GetConfigResult.h
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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_GETCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCONFIGRESULT_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 GetConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ConfigItem
|
||||
{
|
||||
std::string value;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetConfigResult();
|
||||
explicit GetConfigResult(const std::string &payload);
|
||||
~GetConfigResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<ConfigItem> getConfigItem()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<ConfigItem> configItem_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONFIGRESULT_H_
|
||||
@@ -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_CCC_MODEL_GETSERVICEEXTENSIONSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETSERVICEEXTENSIONSREQUEST_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 GetServiceExtensionsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetServiceExtensionsRequest();
|
||||
~GetServiceExtensionsRequest();
|
||||
|
||||
std::string getServiceType()const;
|
||||
void setServiceType(const std::string& serviceType);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string serviceType_;
|
||||
std::string instanceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETSERVICEEXTENSIONSREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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_GETSERVICEEXTENSIONSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETSERVICEEXTENSIONSRESULT_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 GetServiceExtensionsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ServiceExtension
|
||||
{
|
||||
std::string number;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
GetServiceExtensionsResult();
|
||||
explicit GetServiceExtensionsResult(const std::string &payload);
|
||||
~GetServiceExtensionsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<ServiceExtension> getServiceExtensions()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<ServiceExtension> serviceExtensions_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETSERVICEEXTENSIONSRESULT_H_
|
||||
54
ccc/include/alibabacloud/ccc/model/GetUserRequest.h
Normal file
54
ccc/include/alibabacloud/ccc/model/GetUserRequest.h
Normal 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_CCC_MODEL_GETUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETUSERREQUEST_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 GetUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetUserRequest();
|
||||
~GetUserRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string userId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETUSERREQUEST_H_
|
||||
96
ccc/include/alibabacloud/ccc/model/GetUserResult.h
Normal file
96
ccc/include/alibabacloud/ccc/model/GetUserResult.h
Normal file
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* 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_GETUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETUSERRESULT_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 GetUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct User
|
||||
{
|
||||
struct Detail
|
||||
{
|
||||
std::string loginName;
|
||||
std::string department;
|
||||
std::string email;
|
||||
std::string phone;
|
||||
std::string displayName;
|
||||
};
|
||||
struct Role
|
||||
{
|
||||
std::string roleName;
|
||||
std::string instanceId;
|
||||
std::string roleDescription;
|
||||
std::string roleId;
|
||||
};
|
||||
struct SkillLevel
|
||||
{
|
||||
struct Skill
|
||||
{
|
||||
std::string skillGroupName;
|
||||
std::string instanceId;
|
||||
std::string skillGroupId;
|
||||
std::string skillGroupDescription;
|
||||
};
|
||||
std::vector<Skill> skill;
|
||||
std::string skillLevelId;
|
||||
int level;
|
||||
};
|
||||
std::vector<SkillLevel> skillLevels;
|
||||
std::string instanceId;
|
||||
std::string userId;
|
||||
std::string ramId;
|
||||
std::vector<Role> roles;
|
||||
std::vector<Detail> detail;
|
||||
};
|
||||
|
||||
|
||||
GetUserResult();
|
||||
explicit GetUserResult(const std::string &payload);
|
||||
~GetUserResult();
|
||||
std::vector<User> getUser()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<User> user_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETUSERRESULT_H_
|
||||
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* 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_LISTCALLDETAILRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCALLDETAILRECORDSREQUEST_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 ListCallDetailRecordsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCallDetailRecordsRequest();
|
||||
~ListCallDetailRecordsRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getContactDisposition()const;
|
||||
void setContactDisposition(const std::string& contactDisposition);
|
||||
std::string getContactType()const;
|
||||
void setContactType(const std::string& contactType);
|
||||
std::string getCriteria()const;
|
||||
void setCriteria(const std::string& criteria);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
long getStopTime()const;
|
||||
void setStopTime(long stopTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
bool getWithRecording()const;
|
||||
void setWithRecording(bool withRecording);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string contactDisposition_;
|
||||
std::string contactType_;
|
||||
std::string criteria_;
|
||||
std::string phoneNumber_;
|
||||
int pageSize_;
|
||||
long startTime_;
|
||||
long stopTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
bool withRecording_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCALLDETAILRECORDSREQUEST_H_
|
||||
112
ccc/include/alibabacloud/ccc/model/ListCallDetailRecordsResult.h
Normal file
112
ccc/include/alibabacloud/ccc/model/ListCallDetailRecordsResult.h
Normal file
@@ -0,0 +1,112 @@
|
||||
/*
|
||||
* 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_LISTCALLDETAILRECORDSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCALLDETAILRECORDSRESULT_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 ListCallDetailRecordsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CallDetailRecords
|
||||
{
|
||||
struct CallDetailRecord
|
||||
{
|
||||
struct CallDetailAgent
|
||||
{
|
||||
int holdTime;
|
||||
int workTime;
|
||||
std::string skillGroupName;
|
||||
long startTime;
|
||||
int queueTime;
|
||||
std::string contactId;
|
||||
std::string agentId;
|
||||
std::string agentName;
|
||||
int ringTime;
|
||||
int talkTime;
|
||||
};
|
||||
struct Recording
|
||||
{
|
||||
std::string filePath;
|
||||
std::string calledNumber;
|
||||
std::string contactType;
|
||||
std::string instanceId;
|
||||
std::string fileName;
|
||||
std::string channel;
|
||||
long startTime;
|
||||
int duration;
|
||||
std::string contactId;
|
||||
std::string callingNumber;
|
||||
std::string fileDescription;
|
||||
std::string agentId;
|
||||
std::string agentName;
|
||||
};
|
||||
std::string calledNumber;
|
||||
std::string contactType;
|
||||
std::string contactDisposition;
|
||||
std::string instanceId;
|
||||
int satisfaction;
|
||||
std::vector<CallDetailRecord::CallDetailAgent> agents;
|
||||
long startTime;
|
||||
int duration;
|
||||
std::vector<CallDetailRecord::Recording> recordings;
|
||||
std::string contactId;
|
||||
std::string callingNumber;
|
||||
std::string extraAttr;
|
||||
std::string skillGroupNames;
|
||||
std::string agentNames;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<CallDetailRecord> list;
|
||||
};
|
||||
|
||||
|
||||
ListCallDetailRecordsResult();
|
||||
explicit ListCallDetailRecordsResult(const std::string &payload);
|
||||
~ListCallDetailRecordsResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<CallDetailRecords> getCallDetailRecords()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<CallDetailRecords> callDetailRecords_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCALLDETAILRECORDSRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/ListContactFlowsRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/ListContactFlowsRequest.h
Normal 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_CCC_MODEL_LISTCONTACTFLOWSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSREQUEST_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 ListContactFlowsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListContactFlowsRequest();
|
||||
~ListContactFlowsRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSREQUEST_H_
|
||||
92
ccc/include/alibabacloud/ccc/model/ListContactFlowsResult.h
Normal file
92
ccc/include/alibabacloud/ccc/model/ListContactFlowsResult.h
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* 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_LISTCONTACTFLOWSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSRESULT_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 ListContactFlowsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ContactFlow
|
||||
{
|
||||
struct ContactFlowVersion
|
||||
{
|
||||
std::string lastModified;
|
||||
std::string status;
|
||||
std::string lastModifiedBy;
|
||||
std::string lockedBy;
|
||||
std::string contactFlowVersionId;
|
||||
std::string version;
|
||||
std::string contactFlowVersionDescription;
|
||||
};
|
||||
struct PhoneNumber
|
||||
{
|
||||
std::string usage;
|
||||
bool testOnly;
|
||||
bool allowOutbound;
|
||||
std::string number;
|
||||
std::string instanceId;
|
||||
int remainingTime;
|
||||
int trunks;
|
||||
std::string phoneNumberId;
|
||||
std::string phoneNumberDescription;
|
||||
};
|
||||
std::vector<ContactFlow::PhoneNumber> phoneNumbers;
|
||||
std::string type;
|
||||
std::string appliedVersion;
|
||||
std::vector<ContactFlow::ContactFlowVersion> versions;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string contactFlowName;
|
||||
std::string contactFlowDescription;
|
||||
};
|
||||
|
||||
|
||||
ListContactFlowsResult();
|
||||
explicit ListContactFlowsResult(const std::string &payload);
|
||||
~ListContactFlowsResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<ContactFlow> getContactFlows()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<ContactFlow> contactFlows_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSRESULT_H_
|
||||
54
ccc/include/alibabacloud/ccc/model/ListPhoneNumbersRequest.h
Normal file
54
ccc/include/alibabacloud/ccc/model/ListPhoneNumbersRequest.h
Normal 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_CCC_MODEL_LISTPHONENUMBERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSREQUEST_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 ListPhoneNumbersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPhoneNumbersRequest();
|
||||
~ListPhoneNumbersRequest();
|
||||
|
||||
bool getOutboundOnly()const;
|
||||
void setOutboundOnly(bool outboundOnly);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
bool outboundOnly_;
|
||||
std::string instanceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSREQUEST_H_
|
||||
80
ccc/include/alibabacloud/ccc/model/ListPhoneNumbersResult.h
Normal file
80
ccc/include/alibabacloud/ccc/model/ListPhoneNumbersResult.h
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_LISTPHONENUMBERSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSRESULT_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 ListPhoneNumbersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhoneNumber
|
||||
{
|
||||
struct ContactFlow
|
||||
{
|
||||
std::string type;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string contactFlowName;
|
||||
std::string contactFlowDescription;
|
||||
};
|
||||
std::string usage;
|
||||
bool testOnly;
|
||||
bool allowOutbound;
|
||||
std::string number;
|
||||
std::string instanceId;
|
||||
int remainingTime;
|
||||
int trunks;
|
||||
std::string phoneNumberId;
|
||||
std::vector<ContactFlow> contactFlow;
|
||||
std::string phoneNumberDescription;
|
||||
};
|
||||
|
||||
|
||||
ListPhoneNumbersResult();
|
||||
explicit ListPhoneNumbersResult(const std::string &payload);
|
||||
~ListPhoneNumbersResult();
|
||||
std::vector<PhoneNumber> getPhoneNumbers()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PhoneNumber> phoneNumbers_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSRESULT_H_
|
||||
@@ -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_CCC_MODEL_LISTRECORDINGSBYCONTACTIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTRECORDINGSBYCONTACTIDREQUEST_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 ListRecordingsByContactIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListRecordingsByContactIdRequest();
|
||||
~ListRecordingsByContactIdRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getContactId()const;
|
||||
void setContactId(const std::string& contactId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string contactId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTRECORDINGSBYCONTACTIDREQUEST_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTRECORDINGSBYCONTACTIDRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTRECORDINGSBYCONTACTIDRESULT_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 ListRecordingsByContactIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Recording
|
||||
{
|
||||
std::string filePath;
|
||||
std::string calledNumber;
|
||||
std::string contactType;
|
||||
std::string instanceId;
|
||||
std::string fileName;
|
||||
std::string channel;
|
||||
long startTime;
|
||||
int duration;
|
||||
std::string contactId;
|
||||
std::string callingNumber;
|
||||
std::string fileDescription;
|
||||
std::string agentId;
|
||||
std::string agentName;
|
||||
};
|
||||
|
||||
|
||||
ListRecordingsByContactIdResult();
|
||||
explicit ListRecordingsByContactIdResult(const std::string &payload);
|
||||
~ListRecordingsByContactIdResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<Recording> getRecordings()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<Recording> recordings_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTRECORDINGSBYCONTACTIDRESULT_H_
|
||||
72
ccc/include/alibabacloud/ccc/model/ListRecordingsRequest.h
Normal file
72
ccc/include/alibabacloud/ccc/model/ListRecordingsRequest.h
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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_LISTRECORDINGSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTRECORDINGSREQUEST_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 ListRecordingsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListRecordingsRequest();
|
||||
~ListRecordingsRequest();
|
||||
|
||||
std::string getAgentId()const;
|
||||
void setAgentId(const std::string& agentId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCriteria()const;
|
||||
void setCriteria(const std::string& criteria);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
long getStopTime()const;
|
||||
void setStopTime(long stopTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string agentId_;
|
||||
std::string instanceId_;
|
||||
std::string criteria_;
|
||||
std::string phoneNumber_;
|
||||
int pageSize_;
|
||||
long startTime_;
|
||||
long stopTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTRECORDINGSREQUEST_H_
|
||||
82
ccc/include/alibabacloud/ccc/model/ListRecordingsResult.h
Normal file
82
ccc/include/alibabacloud/ccc/model/ListRecordingsResult.h
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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_LISTRECORDINGSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTRECORDINGSRESULT_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 ListRecordingsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Recordings
|
||||
{
|
||||
struct Recording
|
||||
{
|
||||
std::string filePath;
|
||||
std::string calledNumber;
|
||||
std::string contactType;
|
||||
std::string instanceId;
|
||||
std::string fileName;
|
||||
std::string channel;
|
||||
long startTime;
|
||||
int duration;
|
||||
std::string contactId;
|
||||
std::string callingNumber;
|
||||
std::string fileDescription;
|
||||
std::string agentId;
|
||||
std::string agentName;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<Recording> list;
|
||||
};
|
||||
|
||||
|
||||
ListRecordingsResult();
|
||||
explicit ListRecordingsResult(const std::string &payload);
|
||||
~ListRecordingsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<Recordings> getRecordings()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<Recordings> recordings_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTRECORDINGSRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/ListRolesRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/ListRolesRequest.h
Normal 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_CCC_MODEL_LISTROLESREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTROLESREQUEST_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 ListRolesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListRolesRequest();
|
||||
~ListRolesRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTROLESREQUEST_H_
|
||||
66
ccc/include/alibabacloud/ccc/model/ListRolesResult.h
Normal file
66
ccc/include/alibabacloud/ccc/model/ListRolesResult.h
Normal file
@@ -0,0 +1,66 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTROLESRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTROLESRESULT_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 ListRolesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Role
|
||||
{
|
||||
std::string roleName;
|
||||
std::string instanceId;
|
||||
std::string roleDescription;
|
||||
std::string roleId;
|
||||
};
|
||||
|
||||
|
||||
ListRolesResult();
|
||||
explicit ListRolesResult(const std::string &payload);
|
||||
~ListRolesResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<Role> getRoles()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<Role> roles_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTROLESRESULT_H_
|
||||
@@ -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_CCC_MODEL_LISTSKILLGROUPSOFUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSOFUSERREQUEST_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 ListSkillGroupsOfUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListSkillGroupsOfUserRequest();
|
||||
~ListSkillGroupsOfUserRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string userId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSOFUSERREQUEST_H_
|
||||
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSOFUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSOFUSERRESULT_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 ListSkillGroupsOfUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SkillLevel
|
||||
{
|
||||
struct Skill
|
||||
{
|
||||
struct PhoneNumber
|
||||
{
|
||||
std::string usage;
|
||||
bool testOnly;
|
||||
bool allowOutbound;
|
||||
std::string number;
|
||||
std::string instanceId;
|
||||
int remainingTime;
|
||||
int trunks;
|
||||
std::string phoneNumberId;
|
||||
std::string phoneNumberDescription;
|
||||
};
|
||||
std::string skillGroupName;
|
||||
std::string instanceId;
|
||||
std::string skillGroupId;
|
||||
std::vector<PhoneNumber> outboundPhoneNumbers;
|
||||
std::string skillGroupDescription;
|
||||
};
|
||||
std::vector<Skill> skill;
|
||||
std::string skillLevelId;
|
||||
int level;
|
||||
};
|
||||
|
||||
|
||||
ListSkillGroupsOfUserResult();
|
||||
explicit ListSkillGroupsOfUserResult(const std::string &payload);
|
||||
~ListSkillGroupsOfUserResult();
|
||||
std::vector<SkillLevel> getSkillLevels()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<SkillLevel> skillLevels_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSOFUSERRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/ListSkillGroupsRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/ListSkillGroupsRequest.h
Normal 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_CCC_MODEL_LISTSKILLGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSREQUEST_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 ListSkillGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListSkillGroupsRequest();
|
||||
~ListSkillGroupsRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSREQUEST_H_
|
||||
82
ccc/include/alibabacloud/ccc/model/ListSkillGroupsResult.h
Normal file
82
ccc/include/alibabacloud/ccc/model/ListSkillGroupsResult.h
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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_LISTSKILLGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSRESULT_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 ListSkillGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SkillGroup
|
||||
{
|
||||
struct PhoneNumber
|
||||
{
|
||||
std::string usage;
|
||||
bool testOnly;
|
||||
bool allowOutbound;
|
||||
std::string number;
|
||||
std::string instanceId;
|
||||
int remainingTime;
|
||||
int trunks;
|
||||
std::string phoneNumberId;
|
||||
std::string phoneNumberDescription;
|
||||
};
|
||||
std::string skillGroupName;
|
||||
std::string accSkillGroupName;
|
||||
std::string instanceId;
|
||||
int userCount;
|
||||
std::string skillGroupId;
|
||||
std::vector<SkillGroup::PhoneNumber> outboundPhoneNumbers;
|
||||
std::string accQueueName;
|
||||
std::string skillGroupDescription;
|
||||
};
|
||||
|
||||
|
||||
ListSkillGroupsResult();
|
||||
explicit ListSkillGroupsResult(const std::string &payload);
|
||||
~ListSkillGroupsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<SkillGroup> getSkillGroups()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<SkillGroup> skillGroups_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTUSERSOFSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTUSERSOFSKILLGROUPREQUEST_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 ListUsersOfSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListUsersOfSkillGroupRequest();
|
||||
~ListUsersOfSkillGroupRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERSOFSKILLGROUPREQUEST_H_
|
||||
111
ccc/include/alibabacloud/ccc/model/ListUsersOfSkillGroupResult.h
Normal file
111
ccc/include/alibabacloud/ccc/model/ListUsersOfSkillGroupResult.h
Normal file
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* 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_LISTUSERSOFSKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTUSERSOFSKILLGROUPRESULT_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 ListUsersOfSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Users
|
||||
{
|
||||
struct User
|
||||
{
|
||||
struct Detail
|
||||
{
|
||||
std::string loginName;
|
||||
std::string department;
|
||||
std::string email;
|
||||
std::string phone;
|
||||
std::string displayName;
|
||||
};
|
||||
struct Role
|
||||
{
|
||||
struct Privilege
|
||||
{
|
||||
std::string privilegeDescription;
|
||||
std::string privilegeId;
|
||||
std::string privilegeName;
|
||||
};
|
||||
std::string roleName;
|
||||
std::string instanceId;
|
||||
int userCount;
|
||||
std::vector<Role::Privilege> privileges;
|
||||
std::string roleDescription;
|
||||
std::string roleId;
|
||||
};
|
||||
struct SkillLevel
|
||||
{
|
||||
struct Skill
|
||||
{
|
||||
std::string skillGroupName;
|
||||
std::string instanceId;
|
||||
std::string skillGroupId;
|
||||
std::string skillGroupDescription;
|
||||
};
|
||||
std::vector<Skill> skill;
|
||||
std::string skillLevelId;
|
||||
int level;
|
||||
};
|
||||
std::vector<User::SkillLevel> skillLevels;
|
||||
std::string instanceId;
|
||||
std::string userId;
|
||||
std::string ramId;
|
||||
std::vector<User::Role> roles;
|
||||
std::vector<Detail> detail;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<User> list;
|
||||
};
|
||||
|
||||
|
||||
ListUsersOfSkillGroupResult();
|
||||
explicit ListUsersOfSkillGroupResult(const std::string &payload);
|
||||
~ListUsersOfSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<Users> getUsers()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<Users> users_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERSOFSKILLGROUPRESULT_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/ListUsersRequest.h
Normal file
57
ccc/include/alibabacloud/ccc/model/ListUsersRequest.h
Normal 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_CCC_MODEL_LISTUSERSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTUSERSREQUEST_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 ListUsersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListUsersRequest();
|
||||
~ListUsersRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERSREQUEST_H_
|
||||
104
ccc/include/alibabacloud/ccc/model/ListUsersResult.h
Normal file
104
ccc/include/alibabacloud/ccc/model/ListUsersResult.h
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* 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_LISTUSERSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTUSERSRESULT_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 ListUsersResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Users
|
||||
{
|
||||
struct User
|
||||
{
|
||||
struct Detail
|
||||
{
|
||||
std::string loginName;
|
||||
std::string department;
|
||||
std::string email;
|
||||
std::string phone;
|
||||
std::string displayName;
|
||||
};
|
||||
struct Role
|
||||
{
|
||||
std::string roleName;
|
||||
std::string instanceId;
|
||||
std::string roleDescription;
|
||||
std::string roleId;
|
||||
};
|
||||
struct SkillLevel
|
||||
{
|
||||
struct Skill
|
||||
{
|
||||
std::string skillGroupName;
|
||||
std::string instanceId;
|
||||
std::string skillGroupId;
|
||||
std::string skillGroupDescription;
|
||||
};
|
||||
std::vector<Skill> skill;
|
||||
std::string skillLevelId;
|
||||
int level;
|
||||
};
|
||||
std::vector<User::SkillLevel> skillLevels;
|
||||
std::string instanceId;
|
||||
std::string userId;
|
||||
bool primary;
|
||||
std::string ramId;
|
||||
std::vector<User::Role> roles;
|
||||
std::vector<Detail> detail;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<User> list;
|
||||
};
|
||||
|
||||
|
||||
ListUsersResult();
|
||||
explicit ListUsersResult(const std::string &payload);
|
||||
~ListUsersResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<Users> getUsers()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<Users> users_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERSRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERREQUEST_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 ModifyPhoneNumberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyPhoneNumberRequest();
|
||||
~ModifyPhoneNumberRequest();
|
||||
|
||||
std::string getContactFlowId()const;
|
||||
void setContactFlowId(const std::string& contactFlowId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getPhoneNumberId()const;
|
||||
void setPhoneNumberId(const std::string& phoneNumberId);
|
||||
std::string getUsage()const;
|
||||
void setUsage(const std::string& usage);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string contactFlowId_;
|
||||
std::string instanceId_;
|
||||
std::string phoneNumberId_;
|
||||
std::string usage_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERREQUEST_H_
|
||||
80
ccc/include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
Normal file
80
ccc/include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* 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_MODIFYPHONENUMBERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERRESULT_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 ModifyPhoneNumberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PhoneNumber
|
||||
{
|
||||
struct ContactFlow
|
||||
{
|
||||
std::string type;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string contactFlowName;
|
||||
std::string contactFlowDescription;
|
||||
};
|
||||
std::string usage;
|
||||
bool testOnly;
|
||||
bool allowOutbound;
|
||||
std::string number;
|
||||
std::string instanceId;
|
||||
int remainingTime;
|
||||
int trunks;
|
||||
std::string phoneNumberId;
|
||||
std::vector<ContactFlow> contactFlow;
|
||||
std::string phoneNumberDescription;
|
||||
};
|
||||
|
||||
|
||||
ModifyPhoneNumberResult();
|
||||
explicit ModifyPhoneNumberResult(const std::string &payload);
|
||||
~ModifyPhoneNumberResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<PhoneNumber> getPhoneNumber()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<PhoneNumber> phoneNumber_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/RefreshTokenRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/RefreshTokenRequest.h
Normal 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_CCC_MODEL_REFRESHTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REFRESHTOKENREQUEST_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 RefreshTokenRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RefreshTokenRequest();
|
||||
~RefreshTokenRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REFRESHTOKENREQUEST_H_
|
||||
64
ccc/include/alibabacloud/ccc/model/RefreshTokenResult.h
Normal file
64
ccc/include/alibabacloud/ccc/model/RefreshTokenResult.h
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* 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_REFRESHTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REFRESHTOKENRESULT_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 RefreshTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Token
|
||||
{
|
||||
std::string signData;
|
||||
std::string signature;
|
||||
};
|
||||
|
||||
|
||||
RefreshTokenResult();
|
||||
explicit RefreshTokenResult(const std::string &payload);
|
||||
~RefreshTokenResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<Token> getToken()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<Token> token_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REFRESHTOKENRESULT_H_
|
||||
@@ -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_CCC_MODEL_REMOVEPHONENUMBERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERREQUEST_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 RemovePhoneNumberRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemovePhoneNumberRequest();
|
||||
~RemovePhoneNumberRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getPhoneNumberId()const;
|
||||
void setPhoneNumberId(const std::string& phoneNumberId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string phoneNumberId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERREQUEST_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/RemovePhoneNumberResult.h
Normal file
57
ccc/include/alibabacloud/ccc/model/RemovePhoneNumberResult.h
Normal 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_CCC_MODEL_REMOVEPHONENUMBERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERRESULT_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 RemovePhoneNumberResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemovePhoneNumberResult();
|
||||
explicit RemovePhoneNumberResult(const std::string &payload);
|
||||
~RemovePhoneNumberResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/RequestLoginInfoRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/RequestLoginInfoRequest.h
Normal 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_CCC_MODEL_REQUESTLOGININFOREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REQUESTLOGININFOREQUEST_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 RequestLoginInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RequestLoginInfoRequest();
|
||||
~RequestLoginInfoRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REQUESTLOGININFOREQUEST_H_
|
||||
72
ccc/include/alibabacloud/ccc/model/RequestLoginInfoResult.h
Normal file
72
ccc/include/alibabacloud/ccc/model/RequestLoginInfoResult.h
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* 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_REQUESTLOGININFORESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REQUESTLOGININFORESULT_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 RequestLoginInfoResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct LoginInfo
|
||||
{
|
||||
std::string agentServerUrl;
|
||||
std::string extension;
|
||||
std::string tenantId;
|
||||
std::string userName;
|
||||
std::string signData;
|
||||
std::string signature;
|
||||
std::string displayName;
|
||||
std::string phoneNumber;
|
||||
std::string region;
|
||||
std::string webRtcUrl;
|
||||
};
|
||||
|
||||
|
||||
RequestLoginInfoResult();
|
||||
explicit RequestLoginInfoResult(const std::string &payload);
|
||||
~RequestLoginInfoResult();
|
||||
std::vector<LoginInfo> getLoginInfo()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<LoginInfo> loginInfo_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REQUESTLOGININFORESULT_H_
|
||||
Reference in New Issue
Block a user