Generate SDK by new Generator
This commit is contained in:
@@ -22,12 +22,28 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DysmsapiExport.h"
|
||||
#include "model/SendSmsRequest.h"
|
||||
#include "model/SendSmsResult.h"
|
||||
#include "model/SendBatchSmsRequest.h"
|
||||
#include "model/SendBatchSmsResult.h"
|
||||
#include "model/AddSmsSignRequest.h"
|
||||
#include "model/AddSmsSignResult.h"
|
||||
#include "model/AddSmsTemplateRequest.h"
|
||||
#include "model/AddSmsTemplateResult.h"
|
||||
#include "model/DeleteSmsSignRequest.h"
|
||||
#include "model/DeleteSmsSignResult.h"
|
||||
#include "model/DeleteSmsTemplateRequest.h"
|
||||
#include "model/DeleteSmsTemplateResult.h"
|
||||
#include "model/ModifySmsSignRequest.h"
|
||||
#include "model/ModifySmsSignResult.h"
|
||||
#include "model/ModifySmsTemplateRequest.h"
|
||||
#include "model/ModifySmsTemplateResult.h"
|
||||
#include "model/QuerySendDetailsRequest.h"
|
||||
#include "model/QuerySendDetailsResult.h"
|
||||
#include "model/QuerySmsSignRequest.h"
|
||||
#include "model/QuerySmsSignResult.h"
|
||||
#include "model/QuerySmsTemplateRequest.h"
|
||||
#include "model/QuerySmsTemplateResult.h"
|
||||
#include "model/SendBatchSmsRequest.h"
|
||||
#include "model/SendBatchSmsResult.h"
|
||||
#include "model/SendSmsRequest.h"
|
||||
#include "model/SendSmsResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -37,29 +53,77 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT DysmsapiClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::SendSmsResult> SendSmsOutcome;
|
||||
typedef std::future<SendSmsOutcome> SendSmsOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::SendSmsRequest&, const SendSmsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendSmsAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendBatchSmsResult> SendBatchSmsOutcome;
|
||||
typedef std::future<SendBatchSmsOutcome> SendBatchSmsOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::SendBatchSmsRequest&, const SendBatchSmsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendBatchSmsAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddSmsSignResult> AddSmsSignOutcome;
|
||||
typedef std::future<AddSmsSignOutcome> AddSmsSignOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::AddSmsSignRequest&, const AddSmsSignOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddSmsSignAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddSmsTemplateResult> AddSmsTemplateOutcome;
|
||||
typedef std::future<AddSmsTemplateOutcome> AddSmsTemplateOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::AddSmsTemplateRequest&, const AddSmsTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddSmsTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSmsSignResult> DeleteSmsSignOutcome;
|
||||
typedef std::future<DeleteSmsSignOutcome> DeleteSmsSignOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::DeleteSmsSignRequest&, const DeleteSmsSignOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSmsSignAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSmsTemplateResult> DeleteSmsTemplateOutcome;
|
||||
typedef std::future<DeleteSmsTemplateOutcome> DeleteSmsTemplateOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::DeleteSmsTemplateRequest&, const DeleteSmsTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSmsTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySmsSignResult> ModifySmsSignOutcome;
|
||||
typedef std::future<ModifySmsSignOutcome> ModifySmsSignOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::ModifySmsSignRequest&, const ModifySmsSignOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySmsSignAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySmsTemplateResult> ModifySmsTemplateOutcome;
|
||||
typedef std::future<ModifySmsTemplateOutcome> ModifySmsTemplateOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::ModifySmsTemplateRequest&, const ModifySmsTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySmsTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySendDetailsResult> QuerySendDetailsOutcome;
|
||||
typedef std::future<QuerySendDetailsOutcome> QuerySendDetailsOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::QuerySendDetailsRequest&, const QuerySendDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySendDetailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySmsSignResult> QuerySmsSignOutcome;
|
||||
typedef std::future<QuerySmsSignOutcome> QuerySmsSignOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::QuerySmsSignRequest&, const QuerySmsSignOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySmsSignAsyncHandler;
|
||||
typedef Outcome<Error, Model::QuerySmsTemplateResult> QuerySmsTemplateOutcome;
|
||||
typedef std::future<QuerySmsTemplateOutcome> QuerySmsTemplateOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::QuerySmsTemplateRequest&, const QuerySmsTemplateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySmsTemplateAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendBatchSmsResult> SendBatchSmsOutcome;
|
||||
typedef std::future<SendBatchSmsOutcome> SendBatchSmsOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::SendBatchSmsRequest&, const SendBatchSmsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendBatchSmsAsyncHandler;
|
||||
typedef Outcome<Error, Model::SendSmsResult> SendSmsOutcome;
|
||||
typedef std::future<SendSmsOutcome> SendSmsOutcomeCallable;
|
||||
typedef std::function<void(const DysmsapiClient*, const Model::SendSmsRequest&, const SendSmsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendSmsAsyncHandler;
|
||||
|
||||
DysmsapiClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
DysmsapiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
DysmsapiClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~DysmsapiClient();
|
||||
SendSmsOutcome sendSms(const Model::SendSmsRequest &request)const;
|
||||
void sendSmsAsync(const Model::SendSmsRequest& request, const SendSmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendSmsOutcomeCallable sendSmsCallable(const Model::SendSmsRequest& request) const;
|
||||
SendBatchSmsOutcome sendBatchSms(const Model::SendBatchSmsRequest &request)const;
|
||||
void sendBatchSmsAsync(const Model::SendBatchSmsRequest& request, const SendBatchSmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendBatchSmsOutcomeCallable sendBatchSmsCallable(const Model::SendBatchSmsRequest& request) const;
|
||||
AddSmsSignOutcome addSmsSign(const Model::AddSmsSignRequest &request)const;
|
||||
void addSmsSignAsync(const Model::AddSmsSignRequest& request, const AddSmsSignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddSmsSignOutcomeCallable addSmsSignCallable(const Model::AddSmsSignRequest& request) const;
|
||||
AddSmsTemplateOutcome addSmsTemplate(const Model::AddSmsTemplateRequest &request)const;
|
||||
void addSmsTemplateAsync(const Model::AddSmsTemplateRequest& request, const AddSmsTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddSmsTemplateOutcomeCallable addSmsTemplateCallable(const Model::AddSmsTemplateRequest& request) const;
|
||||
DeleteSmsSignOutcome deleteSmsSign(const Model::DeleteSmsSignRequest &request)const;
|
||||
void deleteSmsSignAsync(const Model::DeleteSmsSignRequest& request, const DeleteSmsSignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSmsSignOutcomeCallable deleteSmsSignCallable(const Model::DeleteSmsSignRequest& request) const;
|
||||
DeleteSmsTemplateOutcome deleteSmsTemplate(const Model::DeleteSmsTemplateRequest &request)const;
|
||||
void deleteSmsTemplateAsync(const Model::DeleteSmsTemplateRequest& request, const DeleteSmsTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSmsTemplateOutcomeCallable deleteSmsTemplateCallable(const Model::DeleteSmsTemplateRequest& request) const;
|
||||
ModifySmsSignOutcome modifySmsSign(const Model::ModifySmsSignRequest &request)const;
|
||||
void modifySmsSignAsync(const Model::ModifySmsSignRequest& request, const ModifySmsSignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySmsSignOutcomeCallable modifySmsSignCallable(const Model::ModifySmsSignRequest& request) const;
|
||||
ModifySmsTemplateOutcome modifySmsTemplate(const Model::ModifySmsTemplateRequest &request)const;
|
||||
void modifySmsTemplateAsync(const Model::ModifySmsTemplateRequest& request, const ModifySmsTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySmsTemplateOutcomeCallable modifySmsTemplateCallable(const Model::ModifySmsTemplateRequest& request) const;
|
||||
QuerySendDetailsOutcome querySendDetails(const Model::QuerySendDetailsRequest &request)const;
|
||||
void querySendDetailsAsync(const Model::QuerySendDetailsRequest& request, const QuerySendDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySendDetailsOutcomeCallable querySendDetailsCallable(const Model::QuerySendDetailsRequest& request) const;
|
||||
QuerySmsSignOutcome querySmsSign(const Model::QuerySmsSignRequest &request)const;
|
||||
void querySmsSignAsync(const Model::QuerySmsSignRequest& request, const QuerySmsSignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySmsSignOutcomeCallable querySmsSignCallable(const Model::QuerySmsSignRequest& request) const;
|
||||
QuerySmsTemplateOutcome querySmsTemplate(const Model::QuerySmsTemplateRequest &request)const;
|
||||
void querySmsTemplateAsync(const Model::QuerySmsTemplateRequest& request, const QuerySmsTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySmsTemplateOutcomeCallable querySmsTemplateCallable(const Model::QuerySmsTemplateRequest& request) const;
|
||||
SendBatchSmsOutcome sendBatchSms(const Model::SendBatchSmsRequest &request)const;
|
||||
void sendBatchSmsAsync(const Model::SendBatchSmsRequest& request, const SendBatchSmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendBatchSmsOutcomeCallable sendBatchSmsCallable(const Model::SendBatchSmsRequest& request) const;
|
||||
SendSmsOutcome sendSms(const Model::SendSmsRequest &request)const;
|
||||
void sendSmsAsync(const Model::SendSmsRequest& request, const SendSmsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendSmsOutcomeCallable sendSmsCallable(const Model::SendSmsRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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_DYSMSAPI_MODEL_ADDSMSSIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_ADDSMSSIGNREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT AddSmsSignRequest : public RpcServiceRequest
|
||||
{
|
||||
struct SignFileList
|
||||
{
|
||||
std::string fileContents;
|
||||
std::string fileSuffix;
|
||||
};
|
||||
|
||||
public:
|
||||
AddSmsSignRequest();
|
||||
~AddSmsSignRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSignName()const;
|
||||
void setSignName(const std::string& signName);
|
||||
std::vector<SignFileList> getSignFileList()const;
|
||||
void setSignFileList(const std::vector<SignFileList>& signFileList);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getSignSource()const;
|
||||
void setSignSource(int signSource);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string remark_;
|
||||
std::string accessKeyId_;
|
||||
std::string signName_;
|
||||
std::vector<SignFileList> signFileList_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
int signSource_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_ADDSMSSIGNREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_DYSMSAPI_MODEL_ADDSMSSIGNRESULT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_ADDSMSSIGNRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT AddSmsSignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddSmsSignResult();
|
||||
explicit AddSmsSignResult(const std::string &payload);
|
||||
~AddSmsSignResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getSignName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string signName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_ADDSMSSIGNRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DYSMSAPI_MODEL_ADDSMSTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_ADDSMSTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT AddSmsTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddSmsTemplateRequest();
|
||||
~AddSmsTemplateRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getTemplateType()const;
|
||||
void setTemplateType(int templateType);
|
||||
std::string getTemplateName()const;
|
||||
void setTemplateName(const std::string& templateName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateContent()const;
|
||||
void setTemplateContent(const std::string& templateContent);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string remark_;
|
||||
std::string accessKeyId_;
|
||||
int templateType_;
|
||||
std::string templateName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string templateContent_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_ADDSMSTEMPLATEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_DYSMSAPI_MODEL_ADDSMSTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_ADDSMSTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT AddSmsTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddSmsTemplateResult();
|
||||
explicit AddSmsTemplateResult(const std::string &payload);
|
||||
~AddSmsTemplateResult();
|
||||
std::string getTemplateCode()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string templateCode_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_ADDSMSTEMPLATERESULT_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_DYSMSAPI_MODEL_DELETESMSSIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_DELETESMSSIGNREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT DeleteSmsSignRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSmsSignRequest();
|
||||
~DeleteSmsSignRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSignName()const;
|
||||
void setSignName(const std::string& signName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string signName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_DELETESMSSIGNREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_DYSMSAPI_MODEL_DELETESMSSIGNRESULT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_DELETESMSSIGNRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT DeleteSmsSignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteSmsSignResult();
|
||||
explicit DeleteSmsSignResult(const std::string &payload);
|
||||
~DeleteSmsSignResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getSignName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string signName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_DELETESMSSIGNRESULT_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_DYSMSAPI_MODEL_DELETESMSTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_DELETESMSTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT DeleteSmsTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSmsTemplateRequest();
|
||||
~DeleteSmsTemplateRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTemplateCode()const;
|
||||
void setTemplateCode(const std::string& templateCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string templateCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_DELETESMSTEMPLATEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_DYSMSAPI_MODEL_DELETESMSTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_DELETESMSTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT DeleteSmsTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteSmsTemplateResult();
|
||||
explicit DeleteSmsTemplateResult(const std::string &payload);
|
||||
~DeleteSmsTemplateResult();
|
||||
std::string getTemplateCode()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string templateCode_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_DELETESMSTEMPLATERESULT_H_
|
||||
@@ -0,0 +1,74 @@
|
||||
/*
|
||||
* 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_DYSMSAPI_MODEL_MODIFYSMSSIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_MODIFYSMSSIGNREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT ModifySmsSignRequest : public RpcServiceRequest
|
||||
{
|
||||
struct SignFileList
|
||||
{
|
||||
std::string fileContents;
|
||||
std::string fileSuffix;
|
||||
};
|
||||
|
||||
public:
|
||||
ModifySmsSignRequest();
|
||||
~ModifySmsSignRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSignName()const;
|
||||
void setSignName(const std::string& signName);
|
||||
std::vector<SignFileList> getSignFileList()const;
|
||||
void setSignFileList(const std::vector<SignFileList>& signFileList);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
int getSignSource()const;
|
||||
void setSignSource(int signSource);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string remark_;
|
||||
std::string accessKeyId_;
|
||||
std::string signName_;
|
||||
std::vector<SignFileList> signFileList_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
int signSource_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_MODIFYSMSSIGNREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_DYSMSAPI_MODEL_MODIFYSMSSIGNRESULT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_MODIFYSMSSIGNRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT ModifySmsSignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifySmsSignResult();
|
||||
explicit ModifySmsSignResult(const std::string &payload);
|
||||
~ModifySmsSignResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getSignName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string signName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_MODIFYSMSSIGNRESULT_H_
|
||||
@@ -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_DYSMSAPI_MODEL_MODIFYSMSTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_MODIFYSMSTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT ModifySmsTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifySmsTemplateRequest();
|
||||
~ModifySmsTemplateRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getTemplateType()const;
|
||||
void setTemplateType(int templateType);
|
||||
std::string getTemplateName()const;
|
||||
void setTemplateName(const std::string& templateName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateContent()const;
|
||||
void setTemplateContent(const std::string& templateContent);
|
||||
std::string getTemplateCode()const;
|
||||
void setTemplateCode(const std::string& templateCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string remark_;
|
||||
std::string accessKeyId_;
|
||||
int templateType_;
|
||||
std::string templateName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string templateContent_;
|
||||
std::string templateCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_MODIFYSMSTEMPLATEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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_DYSMSAPI_MODEL_MODIFYSMSTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_MODIFYSMSTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT ModifySmsTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifySmsTemplateResult();
|
||||
explicit ModifySmsTemplateResult(const std::string &payload);
|
||||
~ModifySmsTemplateResult();
|
||||
std::string getTemplateCode()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string templateCode_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_MODIFYSMSTEMPLATERESULT_H_
|
||||
@@ -37,33 +37,33 @@ namespace AlibabaCloud
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getSendDate()const;
|
||||
void setSendDate(const std::string& sendDate);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSendDate()const;
|
||||
void setSendDate(const std::string& sendDate);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getCurrentPage()const;
|
||||
void setCurrentPage(long currentPage);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getBizId()const;
|
||||
void setBizId(const std::string& bizId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string sendDate_;
|
||||
std::string phoneNumber_;
|
||||
std::string bizId_;
|
||||
std::string accessKeyId_;
|
||||
std::string sendDate_;
|
||||
long pageSize_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long currentPage_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string bizId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_DYSMSAPI_MODEL_QUERYSMSSIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSMSSIGNREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT QuerySmsSignRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySmsSignRequest();
|
||||
~QuerySmsSignRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSignName()const;
|
||||
void setSignName(const std::string& signName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string signName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSMSSIGNREQUEST_H_
|
||||
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* 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_DYSMSAPI_MODEL_QUERYSMSSIGNRESULT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSMSSIGNRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT QuerySmsSignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QuerySmsSignResult();
|
||||
explicit QuerySmsSignResult(const std::string &payload);
|
||||
~QuerySmsSignResult();
|
||||
std::string getMessage()const;
|
||||
int getSignStatus()const;
|
||||
std::string getCode()const;
|
||||
std::string getCreateDate()const;
|
||||
std::string getReason()const;
|
||||
std::string getSignName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int signStatus_;
|
||||
std::string code_;
|
||||
std::string createDate_;
|
||||
std::string reason_;
|
||||
std::string signName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSMSSIGNRESULT_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_DYSMSAPI_MODEL_QUERYSMSTEMPLATEREQUEST_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSMSTEMPLATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT QuerySmsTemplateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QuerySmsTemplateRequest();
|
||||
~QuerySmsTemplateRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTemplateCode()const;
|
||||
void setTemplateCode(const std::string& templateCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string templateCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSMSTEMPLATEREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* 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_DYSMSAPI_MODEL_QUERYSMSTEMPLATERESULT_H_
|
||||
#define ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSMSTEMPLATERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dysmsapi/DysmsapiExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dysmsapi
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DYSMSAPI_EXPORT QuerySmsTemplateResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QuerySmsTemplateResult();
|
||||
explicit QuerySmsTemplateResult(const std::string &payload);
|
||||
~QuerySmsTemplateResult();
|
||||
std::string getTemplateCode()const;
|
||||
std::string getMessage()const;
|
||||
std::string getTemplateContent()const;
|
||||
std::string getTemplateName()const;
|
||||
int getTemplateType()const;
|
||||
std::string getCode()const;
|
||||
std::string getCreateDate()const;
|
||||
std::string getReason()const;
|
||||
int getTemplateStatus()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string templateCode_;
|
||||
std::string message_;
|
||||
std::string templateContent_;
|
||||
std::string templateName_;
|
||||
int templateType_;
|
||||
std::string code_;
|
||||
std::string createDate_;
|
||||
std::string reason_;
|
||||
int templateStatus_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DYSMSAPI_MODEL_QUERYSMSTEMPLATERESULT_H_
|
||||
@@ -35,35 +35,35 @@ namespace AlibabaCloud
|
||||
SendBatchSmsRequest();
|
||||
~SendBatchSmsRequest();
|
||||
|
||||
std::string getTemplateParamJson()const;
|
||||
void setTemplateParamJson(const std::string& templateParamJson);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTemplateParamJson()const;
|
||||
void setTemplateParamJson(const std::string& templateParamJson);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getSmsUpExtendCodeJson()const;
|
||||
void setSmsUpExtendCodeJson(const std::string& smsUpExtendCodeJson);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSmsUpExtendCodeJson()const;
|
||||
void setSmsUpExtendCodeJson(const std::string& smsUpExtendCodeJson);
|
||||
std::string getSignNameJson()const;
|
||||
void setSignNameJson(const std::string& signNameJson);
|
||||
std::string getTemplateCode()const;
|
||||
void setTemplateCode(const std::string& templateCode);
|
||||
std::string getPhoneNumberJson()const;
|
||||
void setPhoneNumberJson(const std::string& phoneNumberJson);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string templateParamJson_;
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string templateParamJson_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string smsUpExtendCodeJson_;
|
||||
long ownerId_;
|
||||
std::string smsUpExtendCodeJson_;
|
||||
std::string signNameJson_;
|
||||
std::string templateCode_;
|
||||
std::string phoneNumberJson_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,37 +35,37 @@ namespace AlibabaCloud
|
||||
SendSmsRequest();
|
||||
~SendSmsRequest();
|
||||
|
||||
std::string getSmsUpExtendCode()const;
|
||||
void setSmsUpExtendCode(const std::string& smsUpExtendCode);
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSmsUpExtendCode()const;
|
||||
void setSmsUpExtendCode(const std::string& smsUpExtendCode);
|
||||
std::string getSignName()const;
|
||||
void setSignName(const std::string& signName);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
std::string getPhoneNumbers()const;
|
||||
void setPhoneNumbers(const std::string& phoneNumbers);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getOutId()const;
|
||||
void setOutId(const std::string& outId);
|
||||
std::string getTemplateCode()const;
|
||||
void setTemplateCode(const std::string& templateCode);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTemplateParam()const;
|
||||
void setTemplateParam(const std::string& templateParam);
|
||||
|
||||
private:
|
||||
std::string smsUpExtendCode_;
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string smsUpExtendCode_;
|
||||
std::string signName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string phoneNumbers_;
|
||||
std::string outId_;
|
||||
long ownerId_;
|
||||
std::string outId_;
|
||||
std::string templateCode_;
|
||||
std::string accessKeyId_;
|
||||
std::string templateParam_;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user