Supported Trim, AndroidVivoPushMode, iOSInterruptionLevel, iOSRelevanceScore for Push and MassPush.
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
2022-03-29 Version: 1.36.1092
|
||||
- Supported Trim, AndroidVivoPushMode, iOSInterruptionLevel, iOSRelevanceScore for Push and MassPush.
|
||||
|
||||
2022-03-28 Version: 1.36.1091
|
||||
- Support more params in text, clockWidget.
|
||||
|
||||
|
||||
@@ -1,57 +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_PUSH_MODEL_BINDALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDALIASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindAliasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindAliasRequest();
|
||||
~BindAliasRequest();
|
||||
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAliasName()const;
|
||||
void setAliasName(const std::string& aliasName);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
std::string aliasName_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDALIASREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_BINDALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDALIASREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindAliasRequest : public RpcServiceRequest {
|
||||
public:
|
||||
BindAliasRequest();
|
||||
~BindAliasRequest();
|
||||
std::string getDeviceId() const;
|
||||
void setDeviceId(const std::string &deviceId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAliasName() const;
|
||||
void setAliasName(const std::string &aliasName);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
std::string aliasName_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDALIASREQUEST_H_
|
||||
|
||||
@@ -1,57 +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_PUSH_MODEL_BINDPHONEREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDPHONEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindPhoneRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindPhoneRequest();
|
||||
~BindPhoneRequest();
|
||||
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string phoneNumber_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDPHONEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_BINDPHONEREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDPHONEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindPhoneRequest : public RpcServiceRequest {
|
||||
public:
|
||||
BindPhoneRequest();
|
||||
~BindPhoneRequest();
|
||||
std::string getPhoneNumber() const;
|
||||
void setPhoneNumber(const std::string &phoneNumber);
|
||||
std::string getDeviceId() const;
|
||||
void setDeviceId(const std::string &deviceId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string phoneNumber_;
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDPHONEREQUEST_H_
|
||||
|
||||
@@ -1,60 +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_PUSH_MODEL_BINDTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDTAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BindTagRequest();
|
||||
~BindTagRequest();
|
||||
|
||||
std::string getKeyType()const;
|
||||
void setKeyType(const std::string& keyType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTagName()const;
|
||||
void setTagName(const std::string& tagName);
|
||||
std::string getClientKey()const;
|
||||
void setClientKey(const std::string& clientKey);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string keyType_;
|
||||
std::string accessKeyId_;
|
||||
std::string tagName_;
|
||||
std::string clientKey_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDTAGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_BINDTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_BINDTAGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT BindTagRequest : public RpcServiceRequest {
|
||||
public:
|
||||
BindTagRequest();
|
||||
~BindTagRequest();
|
||||
std::string getKeyType() const;
|
||||
void setKeyType(const std::string &keyType);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTagName() const;
|
||||
void setTagName(const std::string &tagName);
|
||||
std::string getClientKey() const;
|
||||
void setClientKey(const std::string &clientKey);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string keyType_;
|
||||
std::string accessKeyId_;
|
||||
std::string tagName_;
|
||||
std::string clientKey_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_BINDTAGREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_CANCELPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CANCELPUSHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT CancelPushRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelPushRequest();
|
||||
~CancelPushRequest();
|
||||
|
||||
long getMessageId()const;
|
||||
void setMessageId(long messageId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
long messageId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CANCELPUSHREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_CANCELPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CANCELPUSHREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT CancelPushRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CancelPushRequest();
|
||||
~CancelPushRequest();
|
||||
long getMessageId() const;
|
||||
void setMessageId(long messageId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
long messageId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CANCELPUSHREQUEST_H_
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_CHECKCERTIFICATEREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CHECKCERTIFICATEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT CheckCertificateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckCertificateRequest();
|
||||
~CheckCertificateRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CHECKCERTIFICATEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_CHECKCERTIFICATEREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CHECKCERTIFICATEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT CheckCertificateRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CheckCertificateRequest();
|
||||
~CheckCertificateRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CHECKCERTIFICATEREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_CHECKDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CHECKDEVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT CheckDeviceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckDeviceRequest();
|
||||
~CheckDeviceRequest();
|
||||
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CHECKDEVICEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_CHECKDEVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CHECKDEVICEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT CheckDeviceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CheckDeviceRequest();
|
||||
~CheckDeviceRequest();
|
||||
std::string getDeviceId() const;
|
||||
void setDeviceId(const std::string &deviceId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CHECKDEVICEREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_CHECKDEVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CHECKDEVICESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT CheckDevicesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CheckDevicesRequest();
|
||||
~CheckDevicesRequest();
|
||||
|
||||
std::string getDeviceIds()const;
|
||||
void setDeviceIds(const std::string& deviceIds);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceIds_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CHECKDEVICESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_CHECKDEVICESREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CHECKDEVICESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT CheckDevicesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CheckDevicesRequest();
|
||||
~CheckDevicesRequest();
|
||||
std::string getDeviceIds() const;
|
||||
void setDeviceIds(const std::string &deviceIds);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceIds_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CHECKDEVICESREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_COMPLETECONTINUOUSLYPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_COMPLETECONTINUOUSLYPUSHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT CompleteContinuouslyPushRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CompleteContinuouslyPushRequest();
|
||||
~CompleteContinuouslyPushRequest();
|
||||
|
||||
std::string getMessageId()const;
|
||||
void setMessageId(const std::string& messageId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string messageId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_COMPLETECONTINUOUSLYPUSHREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_COMPLETECONTINUOUSLYPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_COMPLETECONTINUOUSLYPUSHREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT CompleteContinuouslyPushRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CompleteContinuouslyPushRequest();
|
||||
~CompleteContinuouslyPushRequest();
|
||||
std::string getMessageId() const;
|
||||
void setMessageId(const std::string &messageId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string messageId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_COMPLETECONTINUOUSLYPUSHREQUEST_H_
|
||||
|
||||
@@ -1,60 +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_PUSH_MODEL_CONTINUOUSLYPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CONTINUOUSLYPUSHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT ContinuouslyPushRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ContinuouslyPushRequest();
|
||||
~ContinuouslyPushRequest();
|
||||
|
||||
std::string getMessageId()const;
|
||||
void setMessageId(const std::string& messageId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
|
||||
private:
|
||||
std::string messageId_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CONTINUOUSLYPUSHREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_CONTINUOUSLYPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_CONTINUOUSLYPUSHREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT ContinuouslyPushRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ContinuouslyPushRequest();
|
||||
~ContinuouslyPushRequest();
|
||||
std::string getMessageId() const;
|
||||
void setMessageId(const std::string &messageId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTarget() const;
|
||||
void setTarget(const std::string &target);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue() const;
|
||||
void setTargetValue(const std::string &targetValue);
|
||||
|
||||
private:
|
||||
std::string messageId_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_CONTINUOUSLYPUSHREQUEST_H_
|
||||
|
||||
@@ -1,48 +1,42 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_LISTSUMMARYAPPSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_LISTSUMMARYAPPSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT ListSummaryAppsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListSummaryAppsRequest();
|
||||
~ListSummaryAppsRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_LISTSUMMARYAPPSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_LISTSUMMARYAPPSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_LISTSUMMARYAPPSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT ListSummaryAppsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListSummaryAppsRequest();
|
||||
~ListSummaryAppsRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_LISTSUMMARYAPPSREQUEST_H_
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_LISTTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_LISTTAGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT ListTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListTagsRequest();
|
||||
~ListTagsRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_LISTTAGSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_LISTTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_LISTTAGSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT ListTagsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListTagsRequest();
|
||||
~ListTagsRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_LISTTAGSREQUEST_H_
|
||||
|
||||
@@ -1,113 +1,109 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_MASSPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_MASSPUSHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT MassPushRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct PushTask
|
||||
{
|
||||
int androidNotificationBarType;
|
||||
std::string body;
|
||||
std::string deviceType;
|
||||
std::string pushTime;
|
||||
int sendSpeed;
|
||||
std::string androidNotificationHuaweiChannel;
|
||||
std::string androidPopupActivity;
|
||||
std::string iOSRemindBody;
|
||||
std::string androidNotifyType;
|
||||
std::string androidPopupTitle;
|
||||
std::string androidMessageHuaweiCategory;
|
||||
std::string iOSMusic;
|
||||
std::string iOSApnsEnv;
|
||||
bool iOSMutableContent;
|
||||
int androidNotificationBarPriority;
|
||||
std::string expireTime;
|
||||
std::string androidImageUrl;
|
||||
std::string androidNotificationVivoChannel;
|
||||
std::string iOSNotificationCategory;
|
||||
std::string androidNotificationXiaomiChannel;
|
||||
bool storeOffline;
|
||||
std::string androidInboxBody;
|
||||
std::string jobKey;
|
||||
std::string androidOpenUrl;
|
||||
std::string androidXiaoMiNotifyBody;
|
||||
std::string iOSSubtitle;
|
||||
std::string androidXiaomiBigPictureUrl;
|
||||
bool iOSRemind;
|
||||
std::string iOSNotificationThreadId;
|
||||
std::string androidMusic;
|
||||
std::string iOSNotificationCollapseId;
|
||||
std::string androidMessageHuaweiUrgency;
|
||||
std::string pushType;
|
||||
std::string androidExtParameters;
|
||||
int iOSBadge;
|
||||
std::string androidBigBody;
|
||||
bool iOSBadgeAutoIncrement;
|
||||
std::string androidOpenType;
|
||||
std::string title;
|
||||
std::string androidRenderStyle;
|
||||
std::string iOSExtParameters;
|
||||
std::string androidXiaomiImageUrl;
|
||||
std::string androidPopupBody;
|
||||
std::string androidBigPictureUrl;
|
||||
bool iOSSilentNotification;
|
||||
std::string sendChannels;
|
||||
std::string target;
|
||||
std::string androidBigTitle;
|
||||
std::string androidNotificationChannel;
|
||||
bool androidRemind;
|
||||
std::string androidActivity;
|
||||
int androidNotificationNotifyId;
|
||||
std::string targetValue;
|
||||
std::string androidXiaoMiNotifyTitle;
|
||||
std::string androidXiaoMiActivity;
|
||||
};
|
||||
|
||||
public:
|
||||
MassPushRequest();
|
||||
~MassPushRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::vector<PushTask> getPushTask()const;
|
||||
void setPushTask(const std::vector<PushTask>& pushTask);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::vector<PushTask> pushTask_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_MASSPUSHREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_MASSPUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_MASSPUSHREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT MassPushRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct PushTask {
|
||||
int androidNotificationBarType;
|
||||
std::string body;
|
||||
std::string deviceType;
|
||||
std::string pushTime;
|
||||
int sendSpeed;
|
||||
std::string androidNotificationHuaweiChannel;
|
||||
std::string androidPopupActivity;
|
||||
std::string iOSRemindBody;
|
||||
bool trim;
|
||||
std::string androidNotifyType;
|
||||
std::string androidPopupTitle;
|
||||
std::string androidMessageHuaweiCategory;
|
||||
std::string iOSMusic;
|
||||
std::string iOSApnsEnv;
|
||||
bool iOSMutableContent;
|
||||
int androidNotificationBarPriority;
|
||||
std::string expireTime;
|
||||
std::string androidImageUrl;
|
||||
std::string androidNotificationVivoChannel;
|
||||
std::string iOSNotificationCategory;
|
||||
std::string androidNotificationXiaomiChannel;
|
||||
bool storeOffline;
|
||||
double iOSRelevanceScore;
|
||||
int androidVivoPushMode;
|
||||
std::string androidInboxBody;
|
||||
std::string jobKey;
|
||||
std::string androidOpenUrl;
|
||||
std::string androidXiaoMiNotifyBody;
|
||||
std::string iOSSubtitle;
|
||||
std::string androidXiaomiBigPictureUrl;
|
||||
bool iOSRemind;
|
||||
std::string iOSNotificationThreadId;
|
||||
std::string androidMusic;
|
||||
std::string iOSNotificationCollapseId;
|
||||
std::string androidMessageHuaweiUrgency;
|
||||
std::string pushType;
|
||||
std::string iOSInterruptionLevel;
|
||||
std::string androidExtParameters;
|
||||
int iOSBadge;
|
||||
std::string androidBigBody;
|
||||
bool iOSBadgeAutoIncrement;
|
||||
std::string androidOpenType;
|
||||
std::string title;
|
||||
std::string androidRenderStyle;
|
||||
std::string iOSExtParameters;
|
||||
std::string androidXiaomiImageUrl;
|
||||
std::string androidPopupBody;
|
||||
std::string androidBigPictureUrl;
|
||||
bool iOSSilentNotification;
|
||||
std::string sendChannels;
|
||||
std::string target;
|
||||
std::string androidBigTitle;
|
||||
std::string androidNotificationChannel;
|
||||
bool androidRemind;
|
||||
std::string androidActivity;
|
||||
int androidNotificationNotifyId;
|
||||
std::string targetValue;
|
||||
std::string androidXiaoMiNotifyTitle;
|
||||
std::string androidXiaoMiActivity;
|
||||
};
|
||||
MassPushRequest();
|
||||
~MassPushRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::vector<PushTask> getPushTask() const;
|
||||
void setPushTask(const std::vector<PushTask> &pushTask);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::vector<PushTask> pushTask_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_MASSPUSHREQUEST_H_
|
||||
|
||||
@@ -1,66 +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_PUSH_MODEL_PUSHMESSAGETOANDROIDREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOANDROIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushMessageToAndroidRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PushMessageToAndroidRequest();
|
||||
~PushMessageToAndroidRequest();
|
||||
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
std::string getJobKey()const;
|
||||
void setJobKey(const std::string& jobKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
|
||||
private:
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOANDROIDREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOANDROIDREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOANDROIDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushMessageToAndroidRequest : public RpcServiceRequest {
|
||||
public:
|
||||
PushMessageToAndroidRequest();
|
||||
~PushMessageToAndroidRequest();
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
std::string getJobKey() const;
|
||||
void setJobKey(const std::string &jobKey);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTarget() const;
|
||||
void setTarget(const std::string &target);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue() const;
|
||||
void setTargetValue(const std::string &targetValue);
|
||||
|
||||
private:
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOANDROIDREQUEST_H_
|
||||
|
||||
@@ -1,66 +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_PUSH_MODEL_PUSHMESSAGETOIOSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOIOSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushMessageToiOSRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PushMessageToiOSRequest();
|
||||
~PushMessageToiOSRequest();
|
||||
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
std::string getJobKey()const;
|
||||
void setJobKey(const std::string& jobKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
|
||||
private:
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOIOSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOIOSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOIOSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushMessageToiOSRequest : public RpcServiceRequest {
|
||||
public:
|
||||
PushMessageToiOSRequest();
|
||||
~PushMessageToiOSRequest();
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
std::string getJobKey() const;
|
||||
void setJobKey(const std::string &jobKey);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTarget() const;
|
||||
void setTarget(const std::string &target);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue() const;
|
||||
void setTargetValue(const std::string &targetValue);
|
||||
|
||||
private:
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHMESSAGETOIOSREQUEST_H_
|
||||
|
||||
@@ -1,69 +1,63 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_PUSHNOTICETOANDROIDREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOANDROIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushNoticeToAndroidRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PushNoticeToAndroidRequest();
|
||||
~PushNoticeToAndroidRequest();
|
||||
|
||||
std::string getExtParameters()const;
|
||||
void setExtParameters(const std::string& extParameters);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
std::string getJobKey()const;
|
||||
void setJobKey(const std::string& jobKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
|
||||
private:
|
||||
std::string extParameters_;
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOANDROIDREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOANDROIDREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOANDROIDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushNoticeToAndroidRequest : public RpcServiceRequest {
|
||||
public:
|
||||
PushNoticeToAndroidRequest();
|
||||
~PushNoticeToAndroidRequest();
|
||||
std::string getExtParameters() const;
|
||||
void setExtParameters(const std::string &extParameters);
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
std::string getJobKey() const;
|
||||
void setJobKey(const std::string &jobKey);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTarget() const;
|
||||
void setTarget(const std::string &target);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue() const;
|
||||
void setTargetValue(const std::string &targetValue);
|
||||
|
||||
private:
|
||||
std::string extParameters_;
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOANDROIDREQUEST_H_
|
||||
|
||||
@@ -1,72 +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_PUSH_MODEL_PUSHNOTICETOIOSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOIOSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushNoticeToiOSRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PushNoticeToiOSRequest();
|
||||
~PushNoticeToiOSRequest();
|
||||
|
||||
std::string getExtParameters()const;
|
||||
void setExtParameters(const std::string& extParameters);
|
||||
std::string getApnsEnv()const;
|
||||
void setApnsEnv(const std::string& apnsEnv);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
std::string getJobKey()const;
|
||||
void setJobKey(const std::string& jobKey);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
|
||||
private:
|
||||
std::string extParameters_;
|
||||
std::string apnsEnv_;
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOIOSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOIOSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOIOSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushNoticeToiOSRequest : public RpcServiceRequest {
|
||||
public:
|
||||
PushNoticeToiOSRequest();
|
||||
~PushNoticeToiOSRequest();
|
||||
std::string getExtParameters() const;
|
||||
void setExtParameters(const std::string &extParameters);
|
||||
std::string getApnsEnv() const;
|
||||
void setApnsEnv(const std::string &apnsEnv);
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
std::string getJobKey() const;
|
||||
void setJobKey(const std::string &jobKey);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTarget() const;
|
||||
void setTarget(const std::string &target);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue() const;
|
||||
void setTargetValue(const std::string &targetValue);
|
||||
|
||||
private:
|
||||
std::string extParameters_;
|
||||
std::string apnsEnv_;
|
||||
std::string title_;
|
||||
std::string body_;
|
||||
std::string jobKey_;
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHNOTICETOIOSREQUEST_H_
|
||||
|
||||
@@ -1,231 +1,237 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_PUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PushRequest();
|
||||
~PushRequest();
|
||||
|
||||
int getAndroidNotificationBarType()const;
|
||||
void setAndroidNotificationBarType(int androidNotificationBarType);
|
||||
int getSmsSendPolicy()const;
|
||||
void setSmsSendPolicy(int smsSendPolicy);
|
||||
std::string getBody()const;
|
||||
void setBody(const std::string& body);
|
||||
std::string getDeviceType()const;
|
||||
void setDeviceType(const std::string& deviceType);
|
||||
std::string getPushTime()const;
|
||||
void setPushTime(const std::string& pushTime);
|
||||
int getSendSpeed()const;
|
||||
void setSendSpeed(int sendSpeed);
|
||||
std::string getAndroidNotificationHuaweiChannel()const;
|
||||
void setAndroidNotificationHuaweiChannel(const std::string& androidNotificationHuaweiChannel);
|
||||
std::string getAndroidPopupActivity()const;
|
||||
void setAndroidPopupActivity(const std::string& androidPopupActivity);
|
||||
std::string getIOSRemindBody()const;
|
||||
void setIOSRemindBody(const std::string& iOSRemindBody);
|
||||
std::string getAndroidNotifyType()const;
|
||||
void setAndroidNotifyType(const std::string& androidNotifyType);
|
||||
std::string getAndroidPopupTitle()const;
|
||||
void setAndroidPopupTitle(const std::string& androidPopupTitle);
|
||||
std::string getAndroidMessageHuaweiCategory()const;
|
||||
void setAndroidMessageHuaweiCategory(const std::string& androidMessageHuaweiCategory);
|
||||
std::string getIOSMusic()const;
|
||||
void setIOSMusic(const std::string& iOSMusic);
|
||||
std::string getIOSApnsEnv()const;
|
||||
void setIOSApnsEnv(const std::string& iOSApnsEnv);
|
||||
bool getIOSMutableContent()const;
|
||||
void setIOSMutableContent(bool iOSMutableContent);
|
||||
int getAndroidNotificationBarPriority()const;
|
||||
void setAndroidNotificationBarPriority(int androidNotificationBarPriority);
|
||||
std::string getExpireTime()const;
|
||||
void setExpireTime(const std::string& expireTime);
|
||||
std::string getAndroidImageUrl()const;
|
||||
void setAndroidImageUrl(const std::string& androidImageUrl);
|
||||
std::string getAndroidNotificationVivoChannel()const;
|
||||
void setAndroidNotificationVivoChannel(const std::string& androidNotificationVivoChannel);
|
||||
std::string getIOSNotificationCategory()const;
|
||||
void setIOSNotificationCategory(const std::string& iOSNotificationCategory);
|
||||
std::string getAndroidNotificationXiaomiChannel()const;
|
||||
void setAndroidNotificationXiaomiChannel(const std::string& androidNotificationXiaomiChannel);
|
||||
bool getStoreOffline()const;
|
||||
void setStoreOffline(bool storeOffline);
|
||||
std::string getSmsParams()const;
|
||||
void setSmsParams(const std::string& smsParams);
|
||||
std::string getAndroidInboxBody()const;
|
||||
void setAndroidInboxBody(const std::string& androidInboxBody);
|
||||
std::string getJobKey()const;
|
||||
void setJobKey(const std::string& jobKey);
|
||||
std::string getAndroidOpenUrl()const;
|
||||
void setAndroidOpenUrl(const std::string& androidOpenUrl);
|
||||
std::string getAndroidXiaoMiNotifyBody()const;
|
||||
void setAndroidXiaoMiNotifyBody(const std::string& androidXiaoMiNotifyBody);
|
||||
std::string getIOSSubtitle()const;
|
||||
void setIOSSubtitle(const std::string& iOSSubtitle);
|
||||
std::string getAndroidXiaomiBigPictureUrl()const;
|
||||
void setAndroidXiaomiBigPictureUrl(const std::string& androidXiaomiBigPictureUrl);
|
||||
bool getIOSRemind()const;
|
||||
void setIOSRemind(bool iOSRemind);
|
||||
std::string getIOSNotificationThreadId()const;
|
||||
void setIOSNotificationThreadId(const std::string& iOSNotificationThreadId);
|
||||
std::string getAndroidMusic()const;
|
||||
void setAndroidMusic(const std::string& androidMusic);
|
||||
std::string getIOSNotificationCollapseId()const;
|
||||
void setIOSNotificationCollapseId(const std::string& iOSNotificationCollapseId);
|
||||
std::string getAndroidMessageHuaweiUrgency()const;
|
||||
void setAndroidMessageHuaweiUrgency(const std::string& androidMessageHuaweiUrgency);
|
||||
std::string getPushType()const;
|
||||
void setPushType(const std::string& pushType);
|
||||
std::string getAndroidExtParameters()const;
|
||||
void setAndroidExtParameters(const std::string& androidExtParameters);
|
||||
int getIOSBadge()const;
|
||||
void setIOSBadge(int iOSBadge);
|
||||
std::string getAndroidBigBody()const;
|
||||
void setAndroidBigBody(const std::string& androidBigBody);
|
||||
bool getIOSBadgeAutoIncrement()const;
|
||||
void setIOSBadgeAutoIncrement(bool iOSBadgeAutoIncrement);
|
||||
std::string getAndroidOpenType()const;
|
||||
void setAndroidOpenType(const std::string& androidOpenType);
|
||||
std::string getTitle()const;
|
||||
void setTitle(const std::string& title);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
int getSmsDelaySecs()const;
|
||||
void setSmsDelaySecs(int smsDelaySecs);
|
||||
int getAndroidRenderStyle()const;
|
||||
void setAndroidRenderStyle(int androidRenderStyle);
|
||||
std::string getIOSExtParameters()const;
|
||||
void setIOSExtParameters(const std::string& iOSExtParameters);
|
||||
std::string getAndroidXiaomiImageUrl()const;
|
||||
void setAndroidXiaomiImageUrl(const std::string& androidXiaomiImageUrl);
|
||||
std::string getSmsTemplateName()const;
|
||||
void setSmsTemplateName(const std::string& smsTemplateName);
|
||||
std::string getAndroidPopupBody()const;
|
||||
void setAndroidPopupBody(const std::string& androidPopupBody);
|
||||
std::string getAndroidBigPictureUrl()const;
|
||||
void setAndroidBigPictureUrl(const std::string& androidBigPictureUrl);
|
||||
bool getIOSSilentNotification()const;
|
||||
void setIOSSilentNotification(bool iOSSilentNotification);
|
||||
std::string getSendChannels()const;
|
||||
void setSendChannels(const std::string& sendChannels);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
std::string getAndroidBigTitle()const;
|
||||
void setAndroidBigTitle(const std::string& androidBigTitle);
|
||||
std::string getAndroidNotificationChannel()const;
|
||||
void setAndroidNotificationChannel(const std::string& androidNotificationChannel);
|
||||
bool getAndroidRemind()const;
|
||||
void setAndroidRemind(bool androidRemind);
|
||||
std::string getAndroidActivity()const;
|
||||
void setAndroidActivity(const std::string& androidActivity);
|
||||
std::string getSmsSignName()const;
|
||||
void setSmsSignName(const std::string& smsSignName);
|
||||
int getAndroidNotificationNotifyId()const;
|
||||
void setAndroidNotificationNotifyId(int androidNotificationNotifyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
std::string getAndroidXiaoMiActivity()const;
|
||||
void setAndroidXiaoMiActivity(const std::string& androidXiaoMiActivity);
|
||||
std::string getAndroidXiaoMiNotifyTitle()const;
|
||||
void setAndroidXiaoMiNotifyTitle(const std::string& androidXiaoMiNotifyTitle);
|
||||
|
||||
private:
|
||||
int androidNotificationBarType_;
|
||||
int smsSendPolicy_;
|
||||
std::string body_;
|
||||
std::string deviceType_;
|
||||
std::string pushTime_;
|
||||
int sendSpeed_;
|
||||
std::string androidNotificationHuaweiChannel_;
|
||||
std::string androidPopupActivity_;
|
||||
std::string iOSRemindBody_;
|
||||
std::string androidNotifyType_;
|
||||
std::string androidPopupTitle_;
|
||||
std::string androidMessageHuaweiCategory_;
|
||||
std::string iOSMusic_;
|
||||
std::string iOSApnsEnv_;
|
||||
bool iOSMutableContent_;
|
||||
int androidNotificationBarPriority_;
|
||||
std::string expireTime_;
|
||||
std::string androidImageUrl_;
|
||||
std::string androidNotificationVivoChannel_;
|
||||
std::string iOSNotificationCategory_;
|
||||
std::string androidNotificationXiaomiChannel_;
|
||||
bool storeOffline_;
|
||||
std::string smsParams_;
|
||||
std::string androidInboxBody_;
|
||||
std::string jobKey_;
|
||||
std::string androidOpenUrl_;
|
||||
std::string androidXiaoMiNotifyBody_;
|
||||
std::string iOSSubtitle_;
|
||||
std::string androidXiaomiBigPictureUrl_;
|
||||
bool iOSRemind_;
|
||||
std::string iOSNotificationThreadId_;
|
||||
std::string androidMusic_;
|
||||
std::string iOSNotificationCollapseId_;
|
||||
std::string androidMessageHuaweiUrgency_;
|
||||
std::string pushType_;
|
||||
std::string androidExtParameters_;
|
||||
int iOSBadge_;
|
||||
std::string androidBigBody_;
|
||||
bool iOSBadgeAutoIncrement_;
|
||||
std::string androidOpenType_;
|
||||
std::string title_;
|
||||
std::string accessKeyId_;
|
||||
int smsDelaySecs_;
|
||||
int androidRenderStyle_;
|
||||
std::string iOSExtParameters_;
|
||||
std::string androidXiaomiImageUrl_;
|
||||
std::string smsTemplateName_;
|
||||
std::string androidPopupBody_;
|
||||
std::string androidBigPictureUrl_;
|
||||
bool iOSSilentNotification_;
|
||||
std::string sendChannels_;
|
||||
std::string target_;
|
||||
std::string androidBigTitle_;
|
||||
std::string androidNotificationChannel_;
|
||||
bool androidRemind_;
|
||||
std::string androidActivity_;
|
||||
std::string smsSignName_;
|
||||
int androidNotificationNotifyId_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
std::string androidXiaoMiActivity_;
|
||||
std::string androidXiaoMiNotifyTitle_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_PUSHREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_PUSHREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT PushRequest : public RpcServiceRequest {
|
||||
public:
|
||||
PushRequest();
|
||||
~PushRequest();
|
||||
int getAndroidNotificationBarType() const;
|
||||
void setAndroidNotificationBarType(int androidNotificationBarType);
|
||||
int getSmsSendPolicy() const;
|
||||
void setSmsSendPolicy(int smsSendPolicy);
|
||||
std::string getBody() const;
|
||||
void setBody(const std::string &body);
|
||||
std::string getDeviceType() const;
|
||||
void setDeviceType(const std::string &deviceType);
|
||||
std::string getPushTime() const;
|
||||
void setPushTime(const std::string &pushTime);
|
||||
int getSendSpeed() const;
|
||||
void setSendSpeed(int sendSpeed);
|
||||
std::string getAndroidNotificationHuaweiChannel() const;
|
||||
void setAndroidNotificationHuaweiChannel(const std::string &androidNotificationHuaweiChannel);
|
||||
std::string getAndroidPopupActivity() const;
|
||||
void setAndroidPopupActivity(const std::string &androidPopupActivity);
|
||||
std::string getIOSRemindBody() const;
|
||||
void setIOSRemindBody(const std::string &iOSRemindBody);
|
||||
bool getTrim() const;
|
||||
void setTrim(bool trim);
|
||||
std::string getAndroidNotifyType() const;
|
||||
void setAndroidNotifyType(const std::string &androidNotifyType);
|
||||
std::string getAndroidPopupTitle() const;
|
||||
void setAndroidPopupTitle(const std::string &androidPopupTitle);
|
||||
std::string getAndroidMessageHuaweiCategory() const;
|
||||
void setAndroidMessageHuaweiCategory(const std::string &androidMessageHuaweiCategory);
|
||||
std::string getIOSMusic() const;
|
||||
void setIOSMusic(const std::string &iOSMusic);
|
||||
std::string getIOSApnsEnv() const;
|
||||
void setIOSApnsEnv(const std::string &iOSApnsEnv);
|
||||
bool getIOSMutableContent() const;
|
||||
void setIOSMutableContent(bool iOSMutableContent);
|
||||
int getAndroidNotificationBarPriority() const;
|
||||
void setAndroidNotificationBarPriority(int androidNotificationBarPriority);
|
||||
std::string getExpireTime() const;
|
||||
void setExpireTime(const std::string &expireTime);
|
||||
std::string getAndroidImageUrl() const;
|
||||
void setAndroidImageUrl(const std::string &androidImageUrl);
|
||||
std::string getAndroidNotificationVivoChannel() const;
|
||||
void setAndroidNotificationVivoChannel(const std::string &androidNotificationVivoChannel);
|
||||
std::string getIOSNotificationCategory() const;
|
||||
void setIOSNotificationCategory(const std::string &iOSNotificationCategory);
|
||||
std::string getAndroidNotificationXiaomiChannel() const;
|
||||
void setAndroidNotificationXiaomiChannel(const std::string &androidNotificationXiaomiChannel);
|
||||
bool getStoreOffline() const;
|
||||
void setStoreOffline(bool storeOffline);
|
||||
std::string getSmsParams() const;
|
||||
void setSmsParams(const std::string &smsParams);
|
||||
double getIOSRelevanceScore() const;
|
||||
void setIOSRelevanceScore(double iOSRelevanceScore);
|
||||
int getAndroidVivoPushMode() const;
|
||||
void setAndroidVivoPushMode(int androidVivoPushMode);
|
||||
std::string getAndroidInboxBody() const;
|
||||
void setAndroidInboxBody(const std::string &androidInboxBody);
|
||||
std::string getJobKey() const;
|
||||
void setJobKey(const std::string &jobKey);
|
||||
std::string getAndroidOpenUrl() const;
|
||||
void setAndroidOpenUrl(const std::string &androidOpenUrl);
|
||||
std::string getAndroidXiaoMiNotifyBody() const;
|
||||
void setAndroidXiaoMiNotifyBody(const std::string &androidXiaoMiNotifyBody);
|
||||
std::string getIOSSubtitle() const;
|
||||
void setIOSSubtitle(const std::string &iOSSubtitle);
|
||||
std::string getAndroidXiaomiBigPictureUrl() const;
|
||||
void setAndroidXiaomiBigPictureUrl(const std::string &androidXiaomiBigPictureUrl);
|
||||
bool getIOSRemind() const;
|
||||
void setIOSRemind(bool iOSRemind);
|
||||
std::string getIOSNotificationThreadId() const;
|
||||
void setIOSNotificationThreadId(const std::string &iOSNotificationThreadId);
|
||||
std::string getAndroidMusic() const;
|
||||
void setAndroidMusic(const std::string &androidMusic);
|
||||
std::string getIOSNotificationCollapseId() const;
|
||||
void setIOSNotificationCollapseId(const std::string &iOSNotificationCollapseId);
|
||||
std::string getAndroidMessageHuaweiUrgency() const;
|
||||
void setAndroidMessageHuaweiUrgency(const std::string &androidMessageHuaweiUrgency);
|
||||
std::string getPushType() const;
|
||||
void setPushType(const std::string &pushType);
|
||||
std::string getIOSInterruptionLevel() const;
|
||||
void setIOSInterruptionLevel(const std::string &iOSInterruptionLevel);
|
||||
std::string getAndroidExtParameters() const;
|
||||
void setAndroidExtParameters(const std::string &androidExtParameters);
|
||||
int getIOSBadge() const;
|
||||
void setIOSBadge(int iOSBadge);
|
||||
std::string getAndroidBigBody() const;
|
||||
void setAndroidBigBody(const std::string &androidBigBody);
|
||||
bool getIOSBadgeAutoIncrement() const;
|
||||
void setIOSBadgeAutoIncrement(bool iOSBadgeAutoIncrement);
|
||||
std::string getAndroidOpenType() const;
|
||||
void setAndroidOpenType(const std::string &androidOpenType);
|
||||
std::string getTitle() const;
|
||||
void setTitle(const std::string &title);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
int getSmsDelaySecs() const;
|
||||
void setSmsDelaySecs(int smsDelaySecs);
|
||||
int getAndroidRenderStyle() const;
|
||||
void setAndroidRenderStyle(int androidRenderStyle);
|
||||
std::string getIOSExtParameters() const;
|
||||
void setIOSExtParameters(const std::string &iOSExtParameters);
|
||||
std::string getAndroidXiaomiImageUrl() const;
|
||||
void setAndroidXiaomiImageUrl(const std::string &androidXiaomiImageUrl);
|
||||
std::string getSmsTemplateName() const;
|
||||
void setSmsTemplateName(const std::string &smsTemplateName);
|
||||
std::string getAndroidPopupBody() const;
|
||||
void setAndroidPopupBody(const std::string &androidPopupBody);
|
||||
std::string getAndroidBigPictureUrl() const;
|
||||
void setAndroidBigPictureUrl(const std::string &androidBigPictureUrl);
|
||||
bool getIOSSilentNotification() const;
|
||||
void setIOSSilentNotification(bool iOSSilentNotification);
|
||||
std::string getSendChannels() const;
|
||||
void setSendChannels(const std::string &sendChannels);
|
||||
std::string getTarget() const;
|
||||
void setTarget(const std::string &target);
|
||||
std::string getAndroidBigTitle() const;
|
||||
void setAndroidBigTitle(const std::string &androidBigTitle);
|
||||
std::string getAndroidNotificationChannel() const;
|
||||
void setAndroidNotificationChannel(const std::string &androidNotificationChannel);
|
||||
bool getAndroidRemind() const;
|
||||
void setAndroidRemind(bool androidRemind);
|
||||
std::string getAndroidActivity() const;
|
||||
void setAndroidActivity(const std::string &androidActivity);
|
||||
std::string getSmsSignName() const;
|
||||
void setSmsSignName(const std::string &smsSignName);
|
||||
int getAndroidNotificationNotifyId() const;
|
||||
void setAndroidNotificationNotifyId(int androidNotificationNotifyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue() const;
|
||||
void setTargetValue(const std::string &targetValue);
|
||||
std::string getAndroidXiaoMiActivity() const;
|
||||
void setAndroidXiaoMiActivity(const std::string &androidXiaoMiActivity);
|
||||
std::string getAndroidXiaoMiNotifyTitle() const;
|
||||
void setAndroidXiaoMiNotifyTitle(const std::string &androidXiaoMiNotifyTitle);
|
||||
|
||||
private:
|
||||
int androidNotificationBarType_;
|
||||
int smsSendPolicy_;
|
||||
std::string body_;
|
||||
std::string deviceType_;
|
||||
std::string pushTime_;
|
||||
int sendSpeed_;
|
||||
std::string androidNotificationHuaweiChannel_;
|
||||
std::string androidPopupActivity_;
|
||||
std::string iOSRemindBody_;
|
||||
bool trim_;
|
||||
std::string androidNotifyType_;
|
||||
std::string androidPopupTitle_;
|
||||
std::string androidMessageHuaweiCategory_;
|
||||
std::string iOSMusic_;
|
||||
std::string iOSApnsEnv_;
|
||||
bool iOSMutableContent_;
|
||||
int androidNotificationBarPriority_;
|
||||
std::string expireTime_;
|
||||
std::string androidImageUrl_;
|
||||
std::string androidNotificationVivoChannel_;
|
||||
std::string iOSNotificationCategory_;
|
||||
std::string androidNotificationXiaomiChannel_;
|
||||
bool storeOffline_;
|
||||
std::string smsParams_;
|
||||
double iOSRelevanceScore_;
|
||||
int androidVivoPushMode_;
|
||||
std::string androidInboxBody_;
|
||||
std::string jobKey_;
|
||||
std::string androidOpenUrl_;
|
||||
std::string androidXiaoMiNotifyBody_;
|
||||
std::string iOSSubtitle_;
|
||||
std::string androidXiaomiBigPictureUrl_;
|
||||
bool iOSRemind_;
|
||||
std::string iOSNotificationThreadId_;
|
||||
std::string androidMusic_;
|
||||
std::string iOSNotificationCollapseId_;
|
||||
std::string androidMessageHuaweiUrgency_;
|
||||
std::string pushType_;
|
||||
std::string iOSInterruptionLevel_;
|
||||
std::string androidExtParameters_;
|
||||
int iOSBadge_;
|
||||
std::string androidBigBody_;
|
||||
bool iOSBadgeAutoIncrement_;
|
||||
std::string androidOpenType_;
|
||||
std::string title_;
|
||||
std::string accessKeyId_;
|
||||
int smsDelaySecs_;
|
||||
int androidRenderStyle_;
|
||||
std::string iOSExtParameters_;
|
||||
std::string androidXiaomiImageUrl_;
|
||||
std::string smsTemplateName_;
|
||||
std::string androidPopupBody_;
|
||||
std::string androidBigPictureUrl_;
|
||||
bool iOSSilentNotification_;
|
||||
std::string sendChannels_;
|
||||
std::string target_;
|
||||
std::string androidBigTitle_;
|
||||
std::string androidNotificationChannel_;
|
||||
bool androidRemind_;
|
||||
std::string androidActivity_;
|
||||
std::string smsSignName_;
|
||||
int androidNotificationNotifyId_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
std::string androidXiaoMiActivity_;
|
||||
std::string androidXiaoMiNotifyTitle_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_PUSHREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_QUERYALIASESREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYALIASESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryAliasesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryAliasesRequest();
|
||||
~QueryAliasesRequest();
|
||||
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYALIASESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_QUERYALIASESREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYALIASESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryAliasesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryAliasesRequest();
|
||||
~QueryAliasesRequest();
|
||||
std::string getDeviceId() const;
|
||||
void setDeviceId(const std::string &deviceId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYALIASESREQUEST_H_
|
||||
|
||||
@@ -1,57 +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_PUSH_MODEL_QUERYDEVICECOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICECOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDeviceCountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDeviceCountRequest();
|
||||
~QueryDeviceCountRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue()const;
|
||||
void setTargetValue(const std::string& targetValue);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICECOUNTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_QUERYDEVICECOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICECOUNTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDeviceCountRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryDeviceCountRequest();
|
||||
~QueryDeviceCountRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTarget() const;
|
||||
void setTarget(const std::string &target);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getTargetValue() const;
|
||||
void setTargetValue(const std::string &targetValue);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
std::string targetValue_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICECOUNTREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_QUERYDEVICEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICEINFOREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDeviceInfoRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDeviceInfoRequest();
|
||||
~QueryDeviceInfoRequest();
|
||||
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICEINFOREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_QUERYDEVICEINFOREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICEINFOREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDeviceInfoRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryDeviceInfoRequest();
|
||||
~QueryDeviceInfoRequest();
|
||||
std::string getDeviceId() const;
|
||||
void setDeviceId(const std::string &deviceId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICEINFOREQUEST_H_
|
||||
|
||||
@@ -35,8 +35,8 @@ namespace AlibabaCloud
|
||||
struct DeviceInfo
|
||||
{
|
||||
std::string lastOnlineTime;
|
||||
std::string deviceType;
|
||||
std::string account;
|
||||
std::string deviceType;
|
||||
std::string deviceId;
|
||||
std::string deviceToken;
|
||||
std::string alias;
|
||||
|
||||
@@ -1,63 +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_PUSH_MODEL_QUERYDEVICESTATREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESTATREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDeviceStatRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDeviceStatRequest();
|
||||
~QueryDeviceStatRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getDeviceType()const;
|
||||
void setDeviceType(const std::string& deviceType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getQueryType()const;
|
||||
void setQueryType(const std::string& queryType);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string deviceType_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
std::string queryType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESTATREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESTATREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESTATREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDeviceStatRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryDeviceStatRequest();
|
||||
~QueryDeviceStatRequest();
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getDeviceType() const;
|
||||
void setDeviceType(const std::string &deviceType);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getQueryType() const;
|
||||
void setQueryType(const std::string &queryType);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string deviceType_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
std::string queryType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESTATREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_QUERYDEVICESBYACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYACCOUNTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDevicesByAccountRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDevicesByAccountRequest();
|
||||
~QueryDevicesByAccountRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getAccount()const;
|
||||
void setAccount(const std::string& account);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
std::string account_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYACCOUNTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYACCOUNTREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYACCOUNTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDevicesByAccountRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryDevicesByAccountRequest();
|
||||
~QueryDevicesByAccountRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
std::string getAccount() const;
|
||||
void setAccount(const std::string &account);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
std::string account_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYACCOUNTREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_QUERYDEVICESBYALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYALIASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDevicesByAliasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryDevicesByAliasRequest();
|
||||
~QueryDevicesByAliasRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAlias()const;
|
||||
void setAlias(const std::string& alias);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string alias_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYALIASREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYALIASREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryDevicesByAliasRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryDevicesByAliasRequest();
|
||||
~QueryDevicesByAliasRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAlias() const;
|
||||
void setAlias(const std::string &alias);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string alias_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYDEVICESBYALIASREQUEST_H_
|
||||
|
||||
@@ -1,78 +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_PUSH_MODEL_QUERYPUSHRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHRECORDSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushRecordsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryPushRecordsRequest();
|
||||
~QueryPushRecordsRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getSource()const;
|
||||
void setSource(const std::string& source);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getKeyword()const;
|
||||
void setKeyword(const std::string& keyword);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getTarget()const;
|
||||
void setTarget(const std::string& target);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
int getPage()const;
|
||||
void setPage(int page);
|
||||
std::string getPushType()const;
|
||||
void setPushType(const std::string& pushType);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string source_;
|
||||
std::string accessKeyId_;
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
std::string keyword_;
|
||||
std::string endTime_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
int page_;
|
||||
std::string pushType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHRECORDSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_QUERYPUSHRECORDSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHRECORDSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushRecordsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryPushRecordsRequest();
|
||||
~QueryPushRecordsRequest();
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getSource() const;
|
||||
void setSource(const std::string &source);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getKeyword() const;
|
||||
void setKeyword(const std::string &keyword);
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getTarget() const;
|
||||
void setTarget(const std::string &target);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
int getPage() const;
|
||||
void setPage(int page);
|
||||
std::string getPushType() const;
|
||||
void setPushType(const std::string &pushType);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string source_;
|
||||
std::string accessKeyId_;
|
||||
std::string nextToken_;
|
||||
int pageSize_;
|
||||
std::string keyword_;
|
||||
std::string endTime_;
|
||||
std::string target_;
|
||||
long appKey_;
|
||||
int page_;
|
||||
std::string pushType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHRECORDSREQUEST_H_
|
||||
|
||||
@@ -35,10 +35,10 @@ namespace AlibabaCloud
|
||||
struct PushInfo
|
||||
{
|
||||
std::string status;
|
||||
std::string pushType;
|
||||
std::string deviceType;
|
||||
std::string target;
|
||||
std::string pushType;
|
||||
std::string pushTime;
|
||||
std::string target;
|
||||
long appKey;
|
||||
std::string title;
|
||||
std::string body;
|
||||
|
||||
@@ -1,60 +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_PUSH_MODEL_QUERYPUSHSTATBYAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYAPPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushStatByAppRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryPushStatByAppRequest();
|
||||
~QueryPushStatByAppRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getGranularity()const;
|
||||
void setGranularity(const std::string& granularity);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string granularity_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYAPPREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYAPPREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYAPPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushStatByAppRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryPushStatByAppRequest();
|
||||
~QueryPushStatByAppRequest();
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getGranularity() const;
|
||||
void setGranularity(const std::string &granularity);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string granularity_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYAPPREQUEST_H_
|
||||
|
||||
@@ -42,8 +42,8 @@ namespace AlibabaCloud
|
||||
std::string time;
|
||||
long deletedCount;
|
||||
long smsReceiveSuccessCount;
|
||||
long sentCount;
|
||||
long receivedCount;
|
||||
long sentCount;
|
||||
long smsSentCount;
|
||||
};
|
||||
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_QUERYPUSHSTATBYMSGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYMSGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushStatByMsgRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryPushStatByMsgRequest();
|
||||
~QueryPushStatByMsgRequest();
|
||||
|
||||
long getMessageId()const;
|
||||
void setMessageId(long messageId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
long messageId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYMSGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYMSGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYMSGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryPushStatByMsgRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryPushStatByMsgRequest();
|
||||
~QueryPushStatByMsgRequest();
|
||||
long getMessageId() const;
|
||||
void setMessageId(long messageId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
long messageId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYPUSHSTATBYMSGREQUEST_H_
|
||||
|
||||
@@ -41,8 +41,8 @@ namespace AlibabaCloud
|
||||
long smsReceiveFailedCount;
|
||||
long deletedCount;
|
||||
long smsReceiveSuccessCount;
|
||||
long sentCount;
|
||||
long receivedCount;
|
||||
long sentCount;
|
||||
std::string messageId;
|
||||
long smsSentCount;
|
||||
};
|
||||
|
||||
@@ -1,57 +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_PUSH_MODEL_QUERYTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYTAGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryTagsRequest();
|
||||
~QueryTagsRequest();
|
||||
|
||||
std::string getKeyType()const;
|
||||
void setKeyType(const std::string& keyType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getClientKey()const;
|
||||
void setClientKey(const std::string& clientKey);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string keyType_;
|
||||
std::string accessKeyId_;
|
||||
std::string clientKey_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYTAGSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_QUERYTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYTAGSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryTagsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryTagsRequest();
|
||||
~QueryTagsRequest();
|
||||
std::string getKeyType() const;
|
||||
void setKeyType(const std::string &keyType);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getClientKey() const;
|
||||
void setClientKey(const std::string &clientKey);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string keyType_;
|
||||
std::string accessKeyId_;
|
||||
std::string clientKey_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYTAGSREQUEST_H_
|
||||
|
||||
@@ -1,60 +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_PUSH_MODEL_QUERYUNIQUEDEVICESTATREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYUNIQUEDEVICESTATREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryUniqueDeviceStatRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryUniqueDeviceStatRequest();
|
||||
~QueryUniqueDeviceStatRequest();
|
||||
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getGranularity()const;
|
||||
void setGranularity(const std::string& granularity);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string granularity_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYUNIQUEDEVICESTATREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_QUERYUNIQUEDEVICESTATREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_QUERYUNIQUEDEVICESTATREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT QueryUniqueDeviceStatRequest : public RpcServiceRequest {
|
||||
public:
|
||||
QueryUniqueDeviceStatRequest();
|
||||
~QueryUniqueDeviceStatRequest();
|
||||
std::string getEndTime() const;
|
||||
void setEndTime(const std::string &endTime);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getGranularity() const;
|
||||
void setGranularity(const std::string &granularity);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::string accessKeyId_;
|
||||
std::string granularity_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_QUERYUNIQUEDEVICESTATREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_REMOVETAGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_REMOVETAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT RemoveTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveTagRequest();
|
||||
~RemoveTagRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTagName()const;
|
||||
void setTagName(const std::string& tagName);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string tagName_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_REMOVETAGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_REMOVETAGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_REMOVETAGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT RemoveTagRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RemoveTagRequest();
|
||||
~RemoveTagRequest();
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTagName() const;
|
||||
void setTagName(const std::string &tagName);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string tagName_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_REMOVETAGREQUEST_H_
|
||||
|
||||
@@ -1,60 +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_PUSH_MODEL_UNBINDALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDALIASREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindAliasRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnbindAliasRequest();
|
||||
~UnbindAliasRequest();
|
||||
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAliasName()const;
|
||||
void setAliasName(const std::string& aliasName);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
bool getUnbindAll()const;
|
||||
void setUnbindAll(bool unbindAll);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
std::string aliasName_;
|
||||
long appKey_;
|
||||
bool unbindAll_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDALIASREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_UNBINDALIASREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDALIASREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindAliasRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UnbindAliasRequest();
|
||||
~UnbindAliasRequest();
|
||||
std::string getDeviceId() const;
|
||||
void setDeviceId(const std::string &deviceId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAliasName() const;
|
||||
void setAliasName(const std::string &aliasName);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
bool getUnbindAll() const;
|
||||
void setUnbindAll(bool unbindAll);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
std::string aliasName_;
|
||||
long appKey_;
|
||||
bool unbindAll_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDALIASREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_PUSH_MODEL_UNBINDPHONEREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDPHONEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindPhoneRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnbindPhoneRequest();
|
||||
~UnbindPhoneRequest();
|
||||
|
||||
std::string getDeviceId()const;
|
||||
void setDeviceId(const std::string& deviceId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDPHONEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_UNBINDPHONEREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDPHONEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindPhoneRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UnbindPhoneRequest();
|
||||
~UnbindPhoneRequest();
|
||||
std::string getDeviceId() const;
|
||||
void setDeviceId(const std::string &deviceId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string deviceId_;
|
||||
std::string accessKeyId_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDPHONEREQUEST_H_
|
||||
|
||||
@@ -1,60 +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_PUSH_MODEL_UNBINDTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDTAGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Push
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindTagRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UnbindTagRequest();
|
||||
~UnbindTagRequest();
|
||||
|
||||
std::string getKeyType()const;
|
||||
void setKeyType(const std::string& keyType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getTagName()const;
|
||||
void setTagName(const std::string& tagName);
|
||||
std::string getClientKey()const;
|
||||
void setClientKey(const std::string& clientKey);
|
||||
long getAppKey()const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string keyType_;
|
||||
std::string accessKeyId_;
|
||||
std::string tagName_;
|
||||
std::string clientKey_;
|
||||
long appKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDTAGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_PUSH_MODEL_UNBINDTAGREQUEST_H_
|
||||
#define ALIBABACLOUD_PUSH_MODEL_UNBINDTAGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/push/PushExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Push {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_PUSH_EXPORT UnbindTagRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UnbindTagRequest();
|
||||
~UnbindTagRequest();
|
||||
std::string getKeyType() const;
|
||||
void setKeyType(const std::string &keyType);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTagName() const;
|
||||
void setTagName(const std::string &tagName);
|
||||
std::string getClientKey() const;
|
||||
void setClientKey(const std::string &clientKey);
|
||||
long getAppKey() const;
|
||||
void setAppKey(long appKey);
|
||||
|
||||
private:
|
||||
std::string keyType_;
|
||||
std::string accessKeyId_;
|
||||
std::string tagName_;
|
||||
std::string clientKey_;
|
||||
long appKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Push
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_PUSH_MODEL_UNBINDTAGREQUEST_H_
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/BindAliasRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::BindAliasRequest;
|
||||
|
||||
BindAliasRequest::BindAliasRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "BindAlias")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BindAliasRequest::~BindAliasRequest()
|
||||
{}
|
||||
|
||||
std::string BindAliasRequest::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/BindAliasRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::BindAliasRequest;
|
||||
|
||||
BindAliasRequest::BindAliasRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "BindAlias") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void BindAliasRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setParameter("DeviceId", deviceId);
|
||||
BindAliasRequest::~BindAliasRequest() {}
|
||||
|
||||
std::string BindAliasRequest::getDeviceId() const {
|
||||
return deviceId_;
|
||||
}
|
||||
|
||||
std::string BindAliasRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void BindAliasRequest::setDeviceId(const std::string &deviceId) {
|
||||
deviceId_ = deviceId;
|
||||
setParameter(std::string("DeviceId"), deviceId);
|
||||
}
|
||||
|
||||
void BindAliasRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string BindAliasRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string BindAliasRequest::getAliasName()const
|
||||
{
|
||||
return aliasName_;
|
||||
void BindAliasRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void BindAliasRequest::setAliasName(const std::string& aliasName)
|
||||
{
|
||||
aliasName_ = aliasName;
|
||||
setParameter("AliasName", aliasName);
|
||||
std::string BindAliasRequest::getAliasName() const {
|
||||
return aliasName_;
|
||||
}
|
||||
|
||||
long BindAliasRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void BindAliasRequest::setAliasName(const std::string &aliasName) {
|
||||
aliasName_ = aliasName;
|
||||
setParameter(std::string("AliasName"), aliasName);
|
||||
}
|
||||
|
||||
void BindAliasRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long BindAliasRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void BindAliasRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/BindPhoneRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::BindPhoneRequest;
|
||||
|
||||
BindPhoneRequest::BindPhoneRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "BindPhone")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BindPhoneRequest::~BindPhoneRequest()
|
||||
{}
|
||||
|
||||
std::string BindPhoneRequest::getPhoneNumber()const
|
||||
{
|
||||
return phoneNumber_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/BindPhoneRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::BindPhoneRequest;
|
||||
|
||||
BindPhoneRequest::BindPhoneRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "BindPhone") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void BindPhoneRequest::setPhoneNumber(const std::string& phoneNumber)
|
||||
{
|
||||
phoneNumber_ = phoneNumber;
|
||||
setParameter("PhoneNumber", phoneNumber);
|
||||
BindPhoneRequest::~BindPhoneRequest() {}
|
||||
|
||||
std::string BindPhoneRequest::getPhoneNumber() const {
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
std::string BindPhoneRequest::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
void BindPhoneRequest::setPhoneNumber(const std::string &phoneNumber) {
|
||||
phoneNumber_ = phoneNumber;
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
void BindPhoneRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setParameter("DeviceId", deviceId);
|
||||
std::string BindPhoneRequest::getDeviceId() const {
|
||||
return deviceId_;
|
||||
}
|
||||
|
||||
std::string BindPhoneRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void BindPhoneRequest::setDeviceId(const std::string &deviceId) {
|
||||
deviceId_ = deviceId;
|
||||
setParameter(std::string("DeviceId"), deviceId);
|
||||
}
|
||||
|
||||
void BindPhoneRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string BindPhoneRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long BindPhoneRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void BindPhoneRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void BindPhoneRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long BindPhoneRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void BindPhoneRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/BindTagRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::BindTagRequest;
|
||||
|
||||
BindTagRequest::BindTagRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "BindTag")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BindTagRequest::~BindTagRequest()
|
||||
{}
|
||||
|
||||
std::string BindTagRequest::getKeyType()const
|
||||
{
|
||||
return keyType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/BindTagRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::BindTagRequest;
|
||||
|
||||
BindTagRequest::BindTagRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "BindTag") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void BindTagRequest::setKeyType(const std::string& keyType)
|
||||
{
|
||||
keyType_ = keyType;
|
||||
setParameter("KeyType", keyType);
|
||||
BindTagRequest::~BindTagRequest() {}
|
||||
|
||||
std::string BindTagRequest::getKeyType() const {
|
||||
return keyType_;
|
||||
}
|
||||
|
||||
std::string BindTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void BindTagRequest::setKeyType(const std::string &keyType) {
|
||||
keyType_ = keyType;
|
||||
setParameter(std::string("KeyType"), keyType);
|
||||
}
|
||||
|
||||
void BindTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string BindTagRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string BindTagRequest::getTagName()const
|
||||
{
|
||||
return tagName_;
|
||||
void BindTagRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void BindTagRequest::setTagName(const std::string& tagName)
|
||||
{
|
||||
tagName_ = tagName;
|
||||
setParameter("TagName", tagName);
|
||||
std::string BindTagRequest::getTagName() const {
|
||||
return tagName_;
|
||||
}
|
||||
|
||||
std::string BindTagRequest::getClientKey()const
|
||||
{
|
||||
return clientKey_;
|
||||
void BindTagRequest::setTagName(const std::string &tagName) {
|
||||
tagName_ = tagName;
|
||||
setParameter(std::string("TagName"), tagName);
|
||||
}
|
||||
|
||||
void BindTagRequest::setClientKey(const std::string& clientKey)
|
||||
{
|
||||
clientKey_ = clientKey;
|
||||
setParameter("ClientKey", clientKey);
|
||||
std::string BindTagRequest::getClientKey() const {
|
||||
return clientKey_;
|
||||
}
|
||||
|
||||
long BindTagRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void BindTagRequest::setClientKey(const std::string &clientKey) {
|
||||
clientKey_ = clientKey;
|
||||
setParameter(std::string("ClientKey"), clientKey);
|
||||
}
|
||||
|
||||
void BindTagRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long BindTagRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void BindTagRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/CancelPushRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::CancelPushRequest;
|
||||
|
||||
CancelPushRequest::CancelPushRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "CancelPush")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CancelPushRequest::~CancelPushRequest()
|
||||
{}
|
||||
|
||||
long CancelPushRequest::getMessageId()const
|
||||
{
|
||||
return messageId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/CancelPushRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::CancelPushRequest;
|
||||
|
||||
CancelPushRequest::CancelPushRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "CancelPush") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CancelPushRequest::setMessageId(long messageId)
|
||||
{
|
||||
messageId_ = messageId;
|
||||
setParameter("MessageId", std::to_string(messageId));
|
||||
CancelPushRequest::~CancelPushRequest() {}
|
||||
|
||||
long CancelPushRequest::getMessageId() const {
|
||||
return messageId_;
|
||||
}
|
||||
|
||||
std::string CancelPushRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void CancelPushRequest::setMessageId(long messageId) {
|
||||
messageId_ = messageId;
|
||||
setParameter(std::string("MessageId"), std::to_string(messageId));
|
||||
}
|
||||
|
||||
void CancelPushRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string CancelPushRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long CancelPushRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void CancelPushRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void CancelPushRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long CancelPushRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void CancelPushRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/CheckCertificateRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::CheckCertificateRequest;
|
||||
|
||||
CheckCertificateRequest::CheckCertificateRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "CheckCertificate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckCertificateRequest::~CheckCertificateRequest()
|
||||
{}
|
||||
|
||||
std::string CheckCertificateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/CheckCertificateRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::CheckCertificateRequest;
|
||||
|
||||
CheckCertificateRequest::CheckCertificateRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "CheckCertificate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CheckCertificateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
CheckCertificateRequest::~CheckCertificateRequest() {}
|
||||
|
||||
std::string CheckCertificateRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long CheckCertificateRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void CheckCertificateRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void CheckCertificateRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long CheckCertificateRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void CheckCertificateRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -40,15 +40,15 @@ void CheckCertificateResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto productionCertInfoNode = value["ProductionCertInfo"];
|
||||
if(!productionCertInfoNode["ExipreTime"].isNull())
|
||||
productionCertInfo_.exipreTime = std::stol(productionCertInfoNode["ExipreTime"].asString());
|
||||
if(!productionCertInfoNode["Status"].isNull())
|
||||
productionCertInfo_.status = productionCertInfoNode["Status"].asString();
|
||||
if(!productionCertInfoNode["ExipreTime"].isNull())
|
||||
productionCertInfo_.exipreTime = std::stol(productionCertInfoNode["ExipreTime"].asString());
|
||||
auto developmentCertInfoNode = value["DevelopmentCertInfo"];
|
||||
if(!developmentCertInfoNode["ExipreTime"].isNull())
|
||||
developmentCertInfo_.exipreTime = std::stol(developmentCertInfoNode["ExipreTime"].asString());
|
||||
if(!developmentCertInfoNode["Status"].isNull())
|
||||
developmentCertInfo_.status = developmentCertInfoNode["Status"].asString();
|
||||
if(!developmentCertInfoNode["ExipreTime"].isNull())
|
||||
developmentCertInfo_.exipreTime = std::stol(developmentCertInfoNode["ExipreTime"].asString());
|
||||
if(!value["Android"].isNull())
|
||||
android_ = value["Android"].asString() == "true";
|
||||
if(!value["IOS"].isNull())
|
||||
|
||||
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/CheckDeviceRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::CheckDeviceRequest;
|
||||
|
||||
CheckDeviceRequest::CheckDeviceRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "CheckDevice")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckDeviceRequest::~CheckDeviceRequest()
|
||||
{}
|
||||
|
||||
std::string CheckDeviceRequest::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/CheckDeviceRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::CheckDeviceRequest;
|
||||
|
||||
CheckDeviceRequest::CheckDeviceRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "CheckDevice") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CheckDeviceRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setParameter("DeviceId", deviceId);
|
||||
CheckDeviceRequest::~CheckDeviceRequest() {}
|
||||
|
||||
std::string CheckDeviceRequest::getDeviceId() const {
|
||||
return deviceId_;
|
||||
}
|
||||
|
||||
std::string CheckDeviceRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void CheckDeviceRequest::setDeviceId(const std::string &deviceId) {
|
||||
deviceId_ = deviceId;
|
||||
setParameter(std::string("DeviceId"), deviceId);
|
||||
}
|
||||
|
||||
void CheckDeviceRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string CheckDeviceRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long CheckDeviceRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void CheckDeviceRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void CheckDeviceRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long CheckDeviceRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void CheckDeviceRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/CheckDevicesRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::CheckDevicesRequest;
|
||||
|
||||
CheckDevicesRequest::CheckDevicesRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "CheckDevices")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CheckDevicesRequest::~CheckDevicesRequest()
|
||||
{}
|
||||
|
||||
std::string CheckDevicesRequest::getDeviceIds()const
|
||||
{
|
||||
return deviceIds_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/CheckDevicesRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::CheckDevicesRequest;
|
||||
|
||||
CheckDevicesRequest::CheckDevicesRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "CheckDevices") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CheckDevicesRequest::setDeviceIds(const std::string& deviceIds)
|
||||
{
|
||||
deviceIds_ = deviceIds;
|
||||
setParameter("DeviceIds", deviceIds);
|
||||
CheckDevicesRequest::~CheckDevicesRequest() {}
|
||||
|
||||
std::string CheckDevicesRequest::getDeviceIds() const {
|
||||
return deviceIds_;
|
||||
}
|
||||
|
||||
std::string CheckDevicesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void CheckDevicesRequest::setDeviceIds(const std::string &deviceIds) {
|
||||
deviceIds_ = deviceIds;
|
||||
setParameter(std::string("DeviceIds"), deviceIds);
|
||||
}
|
||||
|
||||
void CheckDevicesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string CheckDevicesRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long CheckDevicesRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void CheckDevicesRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void CheckDevicesRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long CheckDevicesRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void CheckDevicesRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/CompleteContinuouslyPushRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::CompleteContinuouslyPushRequest;
|
||||
|
||||
CompleteContinuouslyPushRequest::CompleteContinuouslyPushRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "CompleteContinuouslyPush")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CompleteContinuouslyPushRequest::~CompleteContinuouslyPushRequest()
|
||||
{}
|
||||
|
||||
std::string CompleteContinuouslyPushRequest::getMessageId()const
|
||||
{
|
||||
return messageId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/CompleteContinuouslyPushRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::CompleteContinuouslyPushRequest;
|
||||
|
||||
CompleteContinuouslyPushRequest::CompleteContinuouslyPushRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "CompleteContinuouslyPush") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CompleteContinuouslyPushRequest::setMessageId(const std::string& messageId)
|
||||
{
|
||||
messageId_ = messageId;
|
||||
setParameter("MessageId", messageId);
|
||||
CompleteContinuouslyPushRequest::~CompleteContinuouslyPushRequest() {}
|
||||
|
||||
std::string CompleteContinuouslyPushRequest::getMessageId() const {
|
||||
return messageId_;
|
||||
}
|
||||
|
||||
std::string CompleteContinuouslyPushRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void CompleteContinuouslyPushRequest::setMessageId(const std::string &messageId) {
|
||||
messageId_ = messageId;
|
||||
setParameter(std::string("MessageId"), messageId);
|
||||
}
|
||||
|
||||
void CompleteContinuouslyPushRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string CompleteContinuouslyPushRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long CompleteContinuouslyPushRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void CompleteContinuouslyPushRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void CompleteContinuouslyPushRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long CompleteContinuouslyPushRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void CompleteContinuouslyPushRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/ContinuouslyPushRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::ContinuouslyPushRequest;
|
||||
|
||||
ContinuouslyPushRequest::ContinuouslyPushRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "ContinuouslyPush")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ContinuouslyPushRequest::~ContinuouslyPushRequest()
|
||||
{}
|
||||
|
||||
std::string ContinuouslyPushRequest::getMessageId()const
|
||||
{
|
||||
return messageId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/ContinuouslyPushRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::ContinuouslyPushRequest;
|
||||
|
||||
ContinuouslyPushRequest::ContinuouslyPushRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "ContinuouslyPush") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ContinuouslyPushRequest::setMessageId(const std::string& messageId)
|
||||
{
|
||||
messageId_ = messageId;
|
||||
setParameter("MessageId", messageId);
|
||||
ContinuouslyPushRequest::~ContinuouslyPushRequest() {}
|
||||
|
||||
std::string ContinuouslyPushRequest::getMessageId() const {
|
||||
return messageId_;
|
||||
}
|
||||
|
||||
std::string ContinuouslyPushRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void ContinuouslyPushRequest::setMessageId(const std::string &messageId) {
|
||||
messageId_ = messageId;
|
||||
setParameter(std::string("MessageId"), messageId);
|
||||
}
|
||||
|
||||
void ContinuouslyPushRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string ContinuouslyPushRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string ContinuouslyPushRequest::getTarget()const
|
||||
{
|
||||
return target_;
|
||||
void ContinuouslyPushRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void ContinuouslyPushRequest::setTarget(const std::string& target)
|
||||
{
|
||||
target_ = target;
|
||||
setParameter("Target", target);
|
||||
std::string ContinuouslyPushRequest::getTarget() const {
|
||||
return target_;
|
||||
}
|
||||
|
||||
long ContinuouslyPushRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void ContinuouslyPushRequest::setTarget(const std::string &target) {
|
||||
target_ = target;
|
||||
setParameter(std::string("Target"), target);
|
||||
}
|
||||
|
||||
void ContinuouslyPushRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long ContinuouslyPushRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
std::string ContinuouslyPushRequest::getTargetValue()const
|
||||
{
|
||||
return targetValue_;
|
||||
void ContinuouslyPushRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
void ContinuouslyPushRequest::setTargetValue(const std::string& targetValue)
|
||||
{
|
||||
targetValue_ = targetValue;
|
||||
setParameter("TargetValue", targetValue);
|
||||
std::string ContinuouslyPushRequest::getTargetValue() const {
|
||||
return targetValue_;
|
||||
}
|
||||
|
||||
void ContinuouslyPushRequest::setTargetValue(const std::string &targetValue) {
|
||||
targetValue_ = targetValue;
|
||||
setParameter(std::string("TargetValue"), targetValue);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,40 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/ListSummaryAppsRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::ListSummaryAppsRequest;
|
||||
|
||||
ListSummaryAppsRequest::ListSummaryAppsRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "ListSummaryApps")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListSummaryAppsRequest::~ListSummaryAppsRequest()
|
||||
{}
|
||||
|
||||
std::string ListSummaryAppsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/ListSummaryAppsRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::ListSummaryAppsRequest;
|
||||
|
||||
ListSummaryAppsRequest::ListSummaryAppsRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "ListSummaryApps") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ListSummaryAppsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
ListSummaryAppsRequest::~ListSummaryAppsRequest() {}
|
||||
|
||||
std::string ListSummaryAppsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListSummaryAppsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/ListTagsRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::ListTagsRequest;
|
||||
|
||||
ListTagsRequest::ListTagsRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "ListTags")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListTagsRequest::~ListTagsRequest()
|
||||
{}
|
||||
|
||||
std::string ListTagsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/ListTagsRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::ListTagsRequest;
|
||||
|
||||
ListTagsRequest::ListTagsRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "ListTags") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ListTagsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
ListTagsRequest::~ListTagsRequest() {}
|
||||
|
||||
std::string ListTagsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long ListTagsRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void ListTagsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void ListTagsRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long ListTagsRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void ListTagsRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,120 +1,116 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/MassPushRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::MassPushRequest;
|
||||
|
||||
MassPushRequest::MassPushRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "MassPush")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
MassPushRequest::~MassPushRequest()
|
||||
{}
|
||||
|
||||
std::string MassPushRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/MassPushRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::MassPushRequest;
|
||||
|
||||
MassPushRequest::MassPushRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "MassPush") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void MassPushRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
MassPushRequest::~MassPushRequest() {}
|
||||
|
||||
std::string MassPushRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::vector<MassPushRequest::PushTask> MassPushRequest::getPushTask()const
|
||||
{
|
||||
return pushTask_;
|
||||
void MassPushRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void MassPushRequest::setPushTask(const std::vector<PushTask>& pushTask)
|
||||
{
|
||||
pushTask_ = pushTask;
|
||||
for(int dep1 = 0; dep1!= pushTask.size(); dep1++) {
|
||||
auto pushTaskObj = pushTask.at(dep1);
|
||||
std::string pushTaskObjStr = "PushTask." + std::to_string(dep1 + 1);
|
||||
setParameter(pushTaskObjStr + ".AndroidNotificationBarType", std::to_string(pushTaskObj.androidNotificationBarType));
|
||||
setParameter(pushTaskObjStr + ".Body", pushTaskObj.body);
|
||||
setParameter(pushTaskObjStr + ".DeviceType", pushTaskObj.deviceType);
|
||||
setParameter(pushTaskObjStr + ".PushTime", pushTaskObj.pushTime);
|
||||
setParameter(pushTaskObjStr + ".SendSpeed", std::to_string(pushTaskObj.sendSpeed));
|
||||
setParameter(pushTaskObjStr + ".AndroidNotificationHuaweiChannel", pushTaskObj.androidNotificationHuaweiChannel);
|
||||
setParameter(pushTaskObjStr + ".AndroidPopupActivity", pushTaskObj.androidPopupActivity);
|
||||
setParameter(pushTaskObjStr + ".IOSRemindBody", pushTaskObj.iOSRemindBody);
|
||||
setParameter(pushTaskObjStr + ".AndroidNotifyType", pushTaskObj.androidNotifyType);
|
||||
setParameter(pushTaskObjStr + ".AndroidPopupTitle", pushTaskObj.androidPopupTitle);
|
||||
setParameter(pushTaskObjStr + ".AndroidMessageHuaweiCategory", pushTaskObj.androidMessageHuaweiCategory);
|
||||
setParameter(pushTaskObjStr + ".IOSMusic", pushTaskObj.iOSMusic);
|
||||
setParameter(pushTaskObjStr + ".IOSApnsEnv", pushTaskObj.iOSApnsEnv);
|
||||
setParameter(pushTaskObjStr + ".IOSMutableContent", pushTaskObj.iOSMutableContent ? "true" : "false");
|
||||
setParameter(pushTaskObjStr + ".AndroidNotificationBarPriority", std::to_string(pushTaskObj.androidNotificationBarPriority));
|
||||
setParameter(pushTaskObjStr + ".ExpireTime", pushTaskObj.expireTime);
|
||||
setParameter(pushTaskObjStr + ".AndroidImageUrl", pushTaskObj.androidImageUrl);
|
||||
setParameter(pushTaskObjStr + ".AndroidNotificationVivoChannel", pushTaskObj.androidNotificationVivoChannel);
|
||||
setParameter(pushTaskObjStr + ".IOSNotificationCategory", pushTaskObj.iOSNotificationCategory);
|
||||
setParameter(pushTaskObjStr + ".AndroidNotificationXiaomiChannel", pushTaskObj.androidNotificationXiaomiChannel);
|
||||
setParameter(pushTaskObjStr + ".StoreOffline", pushTaskObj.storeOffline ? "true" : "false");
|
||||
setParameter(pushTaskObjStr + ".AndroidInboxBody", pushTaskObj.androidInboxBody);
|
||||
setParameter(pushTaskObjStr + ".JobKey", pushTaskObj.jobKey);
|
||||
setParameter(pushTaskObjStr + ".AndroidOpenUrl", pushTaskObj.androidOpenUrl);
|
||||
setParameter(pushTaskObjStr + ".AndroidXiaoMiNotifyBody", pushTaskObj.androidXiaoMiNotifyBody);
|
||||
setParameter(pushTaskObjStr + ".IOSSubtitle", pushTaskObj.iOSSubtitle);
|
||||
setParameter(pushTaskObjStr + ".AndroidXiaomiBigPictureUrl", pushTaskObj.androidXiaomiBigPictureUrl);
|
||||
setParameter(pushTaskObjStr + ".IOSRemind", pushTaskObj.iOSRemind ? "true" : "false");
|
||||
setParameter(pushTaskObjStr + ".IOSNotificationThreadId", pushTaskObj.iOSNotificationThreadId);
|
||||
setParameter(pushTaskObjStr + ".AndroidMusic", pushTaskObj.androidMusic);
|
||||
setParameter(pushTaskObjStr + ".IOSNotificationCollapseId", pushTaskObj.iOSNotificationCollapseId);
|
||||
setParameter(pushTaskObjStr + ".AndroidMessageHuaweiUrgency", pushTaskObj.androidMessageHuaweiUrgency);
|
||||
setParameter(pushTaskObjStr + ".PushType", pushTaskObj.pushType);
|
||||
setParameter(pushTaskObjStr + ".AndroidExtParameters", pushTaskObj.androidExtParameters);
|
||||
setParameter(pushTaskObjStr + ".IOSBadge", std::to_string(pushTaskObj.iOSBadge));
|
||||
setParameter(pushTaskObjStr + ".AndroidBigBody", pushTaskObj.androidBigBody);
|
||||
setParameter(pushTaskObjStr + ".IOSBadgeAutoIncrement", pushTaskObj.iOSBadgeAutoIncrement ? "true" : "false");
|
||||
setParameter(pushTaskObjStr + ".AndroidOpenType", pushTaskObj.androidOpenType);
|
||||
setParameter(pushTaskObjStr + ".Title", pushTaskObj.title);
|
||||
setParameter(pushTaskObjStr + ".AndroidRenderStyle", pushTaskObj.androidRenderStyle);
|
||||
setParameter(pushTaskObjStr + ".IOSExtParameters", pushTaskObj.iOSExtParameters);
|
||||
setParameter(pushTaskObjStr + ".AndroidXiaomiImageUrl", pushTaskObj.androidXiaomiImageUrl);
|
||||
setParameter(pushTaskObjStr + ".AndroidPopupBody", pushTaskObj.androidPopupBody);
|
||||
setParameter(pushTaskObjStr + ".AndroidBigPictureUrl", pushTaskObj.androidBigPictureUrl);
|
||||
setParameter(pushTaskObjStr + ".IOSSilentNotification", pushTaskObj.iOSSilentNotification ? "true" : "false");
|
||||
setParameter(pushTaskObjStr + ".SendChannels", pushTaskObj.sendChannels);
|
||||
setParameter(pushTaskObjStr + ".Target", pushTaskObj.target);
|
||||
setParameter(pushTaskObjStr + ".AndroidBigTitle", pushTaskObj.androidBigTitle);
|
||||
setParameter(pushTaskObjStr + ".AndroidNotificationChannel", pushTaskObj.androidNotificationChannel);
|
||||
setParameter(pushTaskObjStr + ".AndroidRemind", pushTaskObj.androidRemind ? "true" : "false");
|
||||
setParameter(pushTaskObjStr + ".AndroidActivity", pushTaskObj.androidActivity);
|
||||
setParameter(pushTaskObjStr + ".AndroidNotificationNotifyId", std::to_string(pushTaskObj.androidNotificationNotifyId));
|
||||
setParameter(pushTaskObjStr + ".TargetValue", pushTaskObj.targetValue);
|
||||
setParameter(pushTaskObjStr + ".AndroidXiaoMiNotifyTitle", pushTaskObj.androidXiaoMiNotifyTitle);
|
||||
setParameter(pushTaskObjStr + ".AndroidXiaoMiActivity", pushTaskObj.androidXiaoMiActivity);
|
||||
}
|
||||
std::vector<MassPushRequest::PushTask> MassPushRequest::getPushTask() const {
|
||||
return pushTask_;
|
||||
}
|
||||
|
||||
long MassPushRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void MassPushRequest::setPushTask(const std::vector<MassPushRequest::PushTask> &pushTask) {
|
||||
pushTask_ = pushTask;
|
||||
for(int dep1 = 0; dep1 != pushTask.size(); dep1++) {
|
||||
auto pushTaskObj = pushTask.at(dep1);
|
||||
std::string pushTaskObjStr = std::string("PushTask") + "." + std::to_string(dep1 + 1);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidNotificationBarType", std::to_string(pushTaskObj.androidNotificationBarType));
|
||||
setBodyParameter(pushTaskObjStr + ".Body", pushTaskObj.body);
|
||||
setBodyParameter(pushTaskObjStr + ".DeviceType", pushTaskObj.deviceType);
|
||||
setBodyParameter(pushTaskObjStr + ".PushTime", pushTaskObj.pushTime);
|
||||
setBodyParameter(pushTaskObjStr + ".SendSpeed", std::to_string(pushTaskObj.sendSpeed));
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidNotificationHuaweiChannel", pushTaskObj.androidNotificationHuaweiChannel);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidPopupActivity", pushTaskObj.androidPopupActivity);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSRemindBody", pushTaskObj.iOSRemindBody);
|
||||
setBodyParameter(pushTaskObjStr + ".Trim", pushTaskObj.trim ? "true" : "false");
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidNotifyType", pushTaskObj.androidNotifyType);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidPopupTitle", pushTaskObj.androidPopupTitle);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidMessageHuaweiCategory", pushTaskObj.androidMessageHuaweiCategory);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSMusic", pushTaskObj.iOSMusic);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSApnsEnv", pushTaskObj.iOSApnsEnv);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSMutableContent", pushTaskObj.iOSMutableContent ? "true" : "false");
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidNotificationBarPriority", std::to_string(pushTaskObj.androidNotificationBarPriority));
|
||||
setBodyParameter(pushTaskObjStr + ".ExpireTime", pushTaskObj.expireTime);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidImageUrl", pushTaskObj.androidImageUrl);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidNotificationVivoChannel", pushTaskObj.androidNotificationVivoChannel);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSNotificationCategory", pushTaskObj.iOSNotificationCategory);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidNotificationXiaomiChannel", pushTaskObj.androidNotificationXiaomiChannel);
|
||||
setBodyParameter(pushTaskObjStr + ".StoreOffline", pushTaskObj.storeOffline ? "true" : "false");
|
||||
setBodyParameter(pushTaskObjStr + ".iOSRelevanceScore", std::to_string(pushTaskObj.iOSRelevanceScore));
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidVivoPushMode", std::to_string(pushTaskObj.androidVivoPushMode));
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidInboxBody", pushTaskObj.androidInboxBody);
|
||||
setBodyParameter(pushTaskObjStr + ".JobKey", pushTaskObj.jobKey);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidOpenUrl", pushTaskObj.androidOpenUrl);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidXiaoMiNotifyBody", pushTaskObj.androidXiaoMiNotifyBody);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSSubtitle", pushTaskObj.iOSSubtitle);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidXiaomiBigPictureUrl", pushTaskObj.androidXiaomiBigPictureUrl);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSRemind", pushTaskObj.iOSRemind ? "true" : "false");
|
||||
setBodyParameter(pushTaskObjStr + ".iOSNotificationThreadId", pushTaskObj.iOSNotificationThreadId);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidMusic", pushTaskObj.androidMusic);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSNotificationCollapseId", pushTaskObj.iOSNotificationCollapseId);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidMessageHuaweiUrgency", pushTaskObj.androidMessageHuaweiUrgency);
|
||||
setBodyParameter(pushTaskObjStr + ".PushType", pushTaskObj.pushType);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSInterruptionLevel", pushTaskObj.iOSInterruptionLevel);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidExtParameters", pushTaskObj.androidExtParameters);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSBadge", std::to_string(pushTaskObj.iOSBadge));
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidBigBody", pushTaskObj.androidBigBody);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSBadgeAutoIncrement", pushTaskObj.iOSBadgeAutoIncrement ? "true" : "false");
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidOpenType", pushTaskObj.androidOpenType);
|
||||
setBodyParameter(pushTaskObjStr + ".Title", pushTaskObj.title);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidRenderStyle", pushTaskObj.androidRenderStyle);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSExtParameters", pushTaskObj.iOSExtParameters);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidXiaomiImageUrl", pushTaskObj.androidXiaomiImageUrl);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidPopupBody", pushTaskObj.androidPopupBody);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidBigPictureUrl", pushTaskObj.androidBigPictureUrl);
|
||||
setBodyParameter(pushTaskObjStr + ".iOSSilentNotification", pushTaskObj.iOSSilentNotification ? "true" : "false");
|
||||
setBodyParameter(pushTaskObjStr + ".SendChannels", pushTaskObj.sendChannels);
|
||||
setBodyParameter(pushTaskObjStr + ".Target", pushTaskObj.target);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidBigTitle", pushTaskObj.androidBigTitle);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidNotificationChannel", pushTaskObj.androidNotificationChannel);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidRemind", pushTaskObj.androidRemind ? "true" : "false");
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidActivity", pushTaskObj.androidActivity);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidNotificationNotifyId", std::to_string(pushTaskObj.androidNotificationNotifyId));
|
||||
setBodyParameter(pushTaskObjStr + ".TargetValue", pushTaskObj.targetValue);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidXiaoMiNotifyTitle", pushTaskObj.androidXiaoMiNotifyTitle);
|
||||
setBodyParameter(pushTaskObjStr + ".AndroidXiaoMiActivity", pushTaskObj.androidXiaoMiActivity);
|
||||
}
|
||||
}
|
||||
|
||||
void MassPushRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long MassPushRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void MassPushRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/PushMessageToAndroidRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::PushMessageToAndroidRequest;
|
||||
|
||||
PushMessageToAndroidRequest::PushMessageToAndroidRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "PushMessageToAndroid")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
PushMessageToAndroidRequest::~PushMessageToAndroidRequest()
|
||||
{}
|
||||
|
||||
std::string PushMessageToAndroidRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/PushMessageToAndroidRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::PushMessageToAndroidRequest;
|
||||
|
||||
PushMessageToAndroidRequest::PushMessageToAndroidRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "PushMessageToAndroid") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void PushMessageToAndroidRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setParameter("Title", title);
|
||||
PushMessageToAndroidRequest::~PushMessageToAndroidRequest() {}
|
||||
|
||||
std::string PushMessageToAndroidRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
std::string PushMessageToAndroidRequest::getBody()const
|
||||
{
|
||||
return body_;
|
||||
void PushMessageToAndroidRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
void PushMessageToAndroidRequest::setBody(const std::string& body)
|
||||
{
|
||||
body_ = body;
|
||||
setParameter("Body", body);
|
||||
std::string PushMessageToAndroidRequest::getBody() const {
|
||||
return body_;
|
||||
}
|
||||
|
||||
std::string PushMessageToAndroidRequest::getJobKey()const
|
||||
{
|
||||
return jobKey_;
|
||||
void PushMessageToAndroidRequest::setBody(const std::string &body) {
|
||||
body_ = body;
|
||||
setParameter(std::string("Body"), body);
|
||||
}
|
||||
|
||||
void PushMessageToAndroidRequest::setJobKey(const std::string& jobKey)
|
||||
{
|
||||
jobKey_ = jobKey;
|
||||
setParameter("JobKey", jobKey);
|
||||
std::string PushMessageToAndroidRequest::getJobKey() const {
|
||||
return jobKey_;
|
||||
}
|
||||
|
||||
std::string PushMessageToAndroidRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void PushMessageToAndroidRequest::setJobKey(const std::string &jobKey) {
|
||||
jobKey_ = jobKey;
|
||||
setParameter(std::string("JobKey"), jobKey);
|
||||
}
|
||||
|
||||
void PushMessageToAndroidRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string PushMessageToAndroidRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string PushMessageToAndroidRequest::getTarget()const
|
||||
{
|
||||
return target_;
|
||||
void PushMessageToAndroidRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void PushMessageToAndroidRequest::setTarget(const std::string& target)
|
||||
{
|
||||
target_ = target;
|
||||
setParameter("Target", target);
|
||||
std::string PushMessageToAndroidRequest::getTarget() const {
|
||||
return target_;
|
||||
}
|
||||
|
||||
long PushMessageToAndroidRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void PushMessageToAndroidRequest::setTarget(const std::string &target) {
|
||||
target_ = target;
|
||||
setParameter(std::string("Target"), target);
|
||||
}
|
||||
|
||||
void PushMessageToAndroidRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long PushMessageToAndroidRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
std::string PushMessageToAndroidRequest::getTargetValue()const
|
||||
{
|
||||
return targetValue_;
|
||||
void PushMessageToAndroidRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
void PushMessageToAndroidRequest::setTargetValue(const std::string& targetValue)
|
||||
{
|
||||
targetValue_ = targetValue;
|
||||
setParameter("TargetValue", targetValue);
|
||||
std::string PushMessageToAndroidRequest::getTargetValue() const {
|
||||
return targetValue_;
|
||||
}
|
||||
|
||||
void PushMessageToAndroidRequest::setTargetValue(const std::string &targetValue) {
|
||||
targetValue_ = targetValue;
|
||||
setParameter(std::string("TargetValue"), targetValue);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/PushMessageToiOSRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::PushMessageToiOSRequest;
|
||||
|
||||
PushMessageToiOSRequest::PushMessageToiOSRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "PushMessageToiOS")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
PushMessageToiOSRequest::~PushMessageToiOSRequest()
|
||||
{}
|
||||
|
||||
std::string PushMessageToiOSRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/PushMessageToiOSRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::PushMessageToiOSRequest;
|
||||
|
||||
PushMessageToiOSRequest::PushMessageToiOSRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "PushMessageToiOS") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void PushMessageToiOSRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setParameter("Title", title);
|
||||
PushMessageToiOSRequest::~PushMessageToiOSRequest() {}
|
||||
|
||||
std::string PushMessageToiOSRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
std::string PushMessageToiOSRequest::getBody()const
|
||||
{
|
||||
return body_;
|
||||
void PushMessageToiOSRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
void PushMessageToiOSRequest::setBody(const std::string& body)
|
||||
{
|
||||
body_ = body;
|
||||
setParameter("Body", body);
|
||||
std::string PushMessageToiOSRequest::getBody() const {
|
||||
return body_;
|
||||
}
|
||||
|
||||
std::string PushMessageToiOSRequest::getJobKey()const
|
||||
{
|
||||
return jobKey_;
|
||||
void PushMessageToiOSRequest::setBody(const std::string &body) {
|
||||
body_ = body;
|
||||
setParameter(std::string("Body"), body);
|
||||
}
|
||||
|
||||
void PushMessageToiOSRequest::setJobKey(const std::string& jobKey)
|
||||
{
|
||||
jobKey_ = jobKey;
|
||||
setParameter("JobKey", jobKey);
|
||||
std::string PushMessageToiOSRequest::getJobKey() const {
|
||||
return jobKey_;
|
||||
}
|
||||
|
||||
std::string PushMessageToiOSRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void PushMessageToiOSRequest::setJobKey(const std::string &jobKey) {
|
||||
jobKey_ = jobKey;
|
||||
setParameter(std::string("JobKey"), jobKey);
|
||||
}
|
||||
|
||||
void PushMessageToiOSRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string PushMessageToiOSRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string PushMessageToiOSRequest::getTarget()const
|
||||
{
|
||||
return target_;
|
||||
void PushMessageToiOSRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void PushMessageToiOSRequest::setTarget(const std::string& target)
|
||||
{
|
||||
target_ = target;
|
||||
setParameter("Target", target);
|
||||
std::string PushMessageToiOSRequest::getTarget() const {
|
||||
return target_;
|
||||
}
|
||||
|
||||
long PushMessageToiOSRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void PushMessageToiOSRequest::setTarget(const std::string &target) {
|
||||
target_ = target;
|
||||
setParameter(std::string("Target"), target);
|
||||
}
|
||||
|
||||
void PushMessageToiOSRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long PushMessageToiOSRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
std::string PushMessageToiOSRequest::getTargetValue()const
|
||||
{
|
||||
return targetValue_;
|
||||
void PushMessageToiOSRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
void PushMessageToiOSRequest::setTargetValue(const std::string& targetValue)
|
||||
{
|
||||
targetValue_ = targetValue;
|
||||
setParameter("TargetValue", targetValue);
|
||||
std::string PushMessageToiOSRequest::getTargetValue() const {
|
||||
return targetValue_;
|
||||
}
|
||||
|
||||
void PushMessageToiOSRequest::setTargetValue(const std::string &targetValue) {
|
||||
targetValue_ = targetValue;
|
||||
setParameter(std::string("TargetValue"), targetValue);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/PushNoticeToAndroidRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::PushNoticeToAndroidRequest;
|
||||
|
||||
PushNoticeToAndroidRequest::PushNoticeToAndroidRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "PushNoticeToAndroid")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
PushNoticeToAndroidRequest::~PushNoticeToAndroidRequest()
|
||||
{}
|
||||
|
||||
std::string PushNoticeToAndroidRequest::getExtParameters()const
|
||||
{
|
||||
return extParameters_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/PushNoticeToAndroidRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::PushNoticeToAndroidRequest;
|
||||
|
||||
PushNoticeToAndroidRequest::PushNoticeToAndroidRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "PushNoticeToAndroid") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void PushNoticeToAndroidRequest::setExtParameters(const std::string& extParameters)
|
||||
{
|
||||
extParameters_ = extParameters;
|
||||
setParameter("ExtParameters", extParameters);
|
||||
PushNoticeToAndroidRequest::~PushNoticeToAndroidRequest() {}
|
||||
|
||||
std::string PushNoticeToAndroidRequest::getExtParameters() const {
|
||||
return extParameters_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToAndroidRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
void PushNoticeToAndroidRequest::setExtParameters(const std::string &extParameters) {
|
||||
extParameters_ = extParameters;
|
||||
setParameter(std::string("ExtParameters"), extParameters);
|
||||
}
|
||||
|
||||
void PushNoticeToAndroidRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setParameter("Title", title);
|
||||
std::string PushNoticeToAndroidRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToAndroidRequest::getBody()const
|
||||
{
|
||||
return body_;
|
||||
void PushNoticeToAndroidRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
void PushNoticeToAndroidRequest::setBody(const std::string& body)
|
||||
{
|
||||
body_ = body;
|
||||
setParameter("Body", body);
|
||||
std::string PushNoticeToAndroidRequest::getBody() const {
|
||||
return body_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToAndroidRequest::getJobKey()const
|
||||
{
|
||||
return jobKey_;
|
||||
void PushNoticeToAndroidRequest::setBody(const std::string &body) {
|
||||
body_ = body;
|
||||
setParameter(std::string("Body"), body);
|
||||
}
|
||||
|
||||
void PushNoticeToAndroidRequest::setJobKey(const std::string& jobKey)
|
||||
{
|
||||
jobKey_ = jobKey;
|
||||
setParameter("JobKey", jobKey);
|
||||
std::string PushNoticeToAndroidRequest::getJobKey() const {
|
||||
return jobKey_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToAndroidRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void PushNoticeToAndroidRequest::setJobKey(const std::string &jobKey) {
|
||||
jobKey_ = jobKey;
|
||||
setParameter(std::string("JobKey"), jobKey);
|
||||
}
|
||||
|
||||
void PushNoticeToAndroidRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string PushNoticeToAndroidRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToAndroidRequest::getTarget()const
|
||||
{
|
||||
return target_;
|
||||
void PushNoticeToAndroidRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void PushNoticeToAndroidRequest::setTarget(const std::string& target)
|
||||
{
|
||||
target_ = target;
|
||||
setParameter("Target", target);
|
||||
std::string PushNoticeToAndroidRequest::getTarget() const {
|
||||
return target_;
|
||||
}
|
||||
|
||||
long PushNoticeToAndroidRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void PushNoticeToAndroidRequest::setTarget(const std::string &target) {
|
||||
target_ = target;
|
||||
setParameter(std::string("Target"), target);
|
||||
}
|
||||
|
||||
void PushNoticeToAndroidRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long PushNoticeToAndroidRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToAndroidRequest::getTargetValue()const
|
||||
{
|
||||
return targetValue_;
|
||||
void PushNoticeToAndroidRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
void PushNoticeToAndroidRequest::setTargetValue(const std::string& targetValue)
|
||||
{
|
||||
targetValue_ = targetValue;
|
||||
setParameter("TargetValue", targetValue);
|
||||
std::string PushNoticeToAndroidRequest::getTargetValue() const {
|
||||
return targetValue_;
|
||||
}
|
||||
|
||||
void PushNoticeToAndroidRequest::setTargetValue(const std::string &targetValue) {
|
||||
targetValue_ = targetValue;
|
||||
setParameter(std::string("TargetValue"), targetValue);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,128 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/PushNoticeToiOSRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::PushNoticeToiOSRequest;
|
||||
|
||||
PushNoticeToiOSRequest::PushNoticeToiOSRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "PushNoticeToiOS")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
PushNoticeToiOSRequest::~PushNoticeToiOSRequest()
|
||||
{}
|
||||
|
||||
std::string PushNoticeToiOSRequest::getExtParameters()const
|
||||
{
|
||||
return extParameters_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/PushNoticeToiOSRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::PushNoticeToiOSRequest;
|
||||
|
||||
PushNoticeToiOSRequest::PushNoticeToiOSRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "PushNoticeToiOS") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void PushNoticeToiOSRequest::setExtParameters(const std::string& extParameters)
|
||||
{
|
||||
extParameters_ = extParameters;
|
||||
setParameter("ExtParameters", extParameters);
|
||||
PushNoticeToiOSRequest::~PushNoticeToiOSRequest() {}
|
||||
|
||||
std::string PushNoticeToiOSRequest::getExtParameters() const {
|
||||
return extParameters_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToiOSRequest::getApnsEnv()const
|
||||
{
|
||||
return apnsEnv_;
|
||||
void PushNoticeToiOSRequest::setExtParameters(const std::string &extParameters) {
|
||||
extParameters_ = extParameters;
|
||||
setParameter(std::string("ExtParameters"), extParameters);
|
||||
}
|
||||
|
||||
void PushNoticeToiOSRequest::setApnsEnv(const std::string& apnsEnv)
|
||||
{
|
||||
apnsEnv_ = apnsEnv;
|
||||
setParameter("ApnsEnv", apnsEnv);
|
||||
std::string PushNoticeToiOSRequest::getApnsEnv() const {
|
||||
return apnsEnv_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToiOSRequest::getTitle()const
|
||||
{
|
||||
return title_;
|
||||
void PushNoticeToiOSRequest::setApnsEnv(const std::string &apnsEnv) {
|
||||
apnsEnv_ = apnsEnv;
|
||||
setParameter(std::string("ApnsEnv"), apnsEnv);
|
||||
}
|
||||
|
||||
void PushNoticeToiOSRequest::setTitle(const std::string& title)
|
||||
{
|
||||
title_ = title;
|
||||
setParameter("Title", title);
|
||||
std::string PushNoticeToiOSRequest::getTitle() const {
|
||||
return title_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToiOSRequest::getBody()const
|
||||
{
|
||||
return body_;
|
||||
void PushNoticeToiOSRequest::setTitle(const std::string &title) {
|
||||
title_ = title;
|
||||
setParameter(std::string("Title"), title);
|
||||
}
|
||||
|
||||
void PushNoticeToiOSRequest::setBody(const std::string& body)
|
||||
{
|
||||
body_ = body;
|
||||
setParameter("Body", body);
|
||||
std::string PushNoticeToiOSRequest::getBody() const {
|
||||
return body_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToiOSRequest::getJobKey()const
|
||||
{
|
||||
return jobKey_;
|
||||
void PushNoticeToiOSRequest::setBody(const std::string &body) {
|
||||
body_ = body;
|
||||
setParameter(std::string("Body"), body);
|
||||
}
|
||||
|
||||
void PushNoticeToiOSRequest::setJobKey(const std::string& jobKey)
|
||||
{
|
||||
jobKey_ = jobKey;
|
||||
setParameter("JobKey", jobKey);
|
||||
std::string PushNoticeToiOSRequest::getJobKey() const {
|
||||
return jobKey_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToiOSRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void PushNoticeToiOSRequest::setJobKey(const std::string &jobKey) {
|
||||
jobKey_ = jobKey;
|
||||
setParameter(std::string("JobKey"), jobKey);
|
||||
}
|
||||
|
||||
void PushNoticeToiOSRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string PushNoticeToiOSRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToiOSRequest::getTarget()const
|
||||
{
|
||||
return target_;
|
||||
void PushNoticeToiOSRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void PushNoticeToiOSRequest::setTarget(const std::string& target)
|
||||
{
|
||||
target_ = target;
|
||||
setParameter("Target", target);
|
||||
std::string PushNoticeToiOSRequest::getTarget() const {
|
||||
return target_;
|
||||
}
|
||||
|
||||
long PushNoticeToiOSRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void PushNoticeToiOSRequest::setTarget(const std::string &target) {
|
||||
target_ = target;
|
||||
setParameter(std::string("Target"), target);
|
||||
}
|
||||
|
||||
void PushNoticeToiOSRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long PushNoticeToiOSRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
std::string PushNoticeToiOSRequest::getTargetValue()const
|
||||
{
|
||||
return targetValue_;
|
||||
void PushNoticeToiOSRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
void PushNoticeToiOSRequest::setTargetValue(const std::string& targetValue)
|
||||
{
|
||||
targetValue_ = targetValue;
|
||||
setParameter("TargetValue", targetValue);
|
||||
std::string PushNoticeToiOSRequest::getTargetValue() const {
|
||||
return targetValue_;
|
||||
}
|
||||
|
||||
void PushNoticeToiOSRequest::setTargetValue(const std::string &targetValue) {
|
||||
targetValue_ = targetValue;
|
||||
setParameter(std::string("TargetValue"), targetValue);
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryAliasesRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryAliasesRequest;
|
||||
|
||||
QueryAliasesRequest::QueryAliasesRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "QueryAliases")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryAliasesRequest::~QueryAliasesRequest()
|
||||
{}
|
||||
|
||||
std::string QueryAliasesRequest::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryAliasesRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryAliasesRequest;
|
||||
|
||||
QueryAliasesRequest::QueryAliasesRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "QueryAliases") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryAliasesRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setParameter("DeviceId", deviceId);
|
||||
QueryAliasesRequest::~QueryAliasesRequest() {}
|
||||
|
||||
std::string QueryAliasesRequest::getDeviceId() const {
|
||||
return deviceId_;
|
||||
}
|
||||
|
||||
std::string QueryAliasesRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void QueryAliasesRequest::setDeviceId(const std::string &deviceId) {
|
||||
deviceId_ = deviceId;
|
||||
setParameter(std::string("DeviceId"), deviceId);
|
||||
}
|
||||
|
||||
void QueryAliasesRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string QueryAliasesRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long QueryAliasesRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void QueryAliasesRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void QueryAliasesRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long QueryAliasesRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void QueryAliasesRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryDeviceCountRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryDeviceCountRequest;
|
||||
|
||||
QueryDeviceCountRequest::QueryDeviceCountRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "QueryDeviceCount")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDeviceCountRequest::~QueryDeviceCountRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDeviceCountRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryDeviceCountRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryDeviceCountRequest;
|
||||
|
||||
QueryDeviceCountRequest::QueryDeviceCountRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "QueryDeviceCount") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDeviceCountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
QueryDeviceCountRequest::~QueryDeviceCountRequest() {}
|
||||
|
||||
std::string QueryDeviceCountRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string QueryDeviceCountRequest::getTarget()const
|
||||
{
|
||||
return target_;
|
||||
void QueryDeviceCountRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void QueryDeviceCountRequest::setTarget(const std::string& target)
|
||||
{
|
||||
target_ = target;
|
||||
setParameter("Target", target);
|
||||
std::string QueryDeviceCountRequest::getTarget() const {
|
||||
return target_;
|
||||
}
|
||||
|
||||
long QueryDeviceCountRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void QueryDeviceCountRequest::setTarget(const std::string &target) {
|
||||
target_ = target;
|
||||
setParameter(std::string("Target"), target);
|
||||
}
|
||||
|
||||
void QueryDeviceCountRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long QueryDeviceCountRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
std::string QueryDeviceCountRequest::getTargetValue()const
|
||||
{
|
||||
return targetValue_;
|
||||
void QueryDeviceCountRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
void QueryDeviceCountRequest::setTargetValue(const std::string& targetValue)
|
||||
{
|
||||
targetValue_ = targetValue;
|
||||
setParameter("TargetValue", targetValue);
|
||||
std::string QueryDeviceCountRequest::getTargetValue() const {
|
||||
return targetValue_;
|
||||
}
|
||||
|
||||
void QueryDeviceCountRequest::setTargetValue(const std::string &targetValue) {
|
||||
targetValue_ = targetValue;
|
||||
setParameter(std::string("TargetValue"), targetValue);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryDeviceInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryDeviceInfoRequest;
|
||||
|
||||
QueryDeviceInfoRequest::QueryDeviceInfoRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "QueryDeviceInfo")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDeviceInfoRequest::~QueryDeviceInfoRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDeviceInfoRequest::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryDeviceInfoRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryDeviceInfoRequest;
|
||||
|
||||
QueryDeviceInfoRequest::QueryDeviceInfoRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "QueryDeviceInfo") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDeviceInfoRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setParameter("DeviceId", deviceId);
|
||||
QueryDeviceInfoRequest::~QueryDeviceInfoRequest() {}
|
||||
|
||||
std::string QueryDeviceInfoRequest::getDeviceId() const {
|
||||
return deviceId_;
|
||||
}
|
||||
|
||||
std::string QueryDeviceInfoRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void QueryDeviceInfoRequest::setDeviceId(const std::string &deviceId) {
|
||||
deviceId_ = deviceId;
|
||||
setParameter(std::string("DeviceId"), deviceId);
|
||||
}
|
||||
|
||||
void QueryDeviceInfoRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string QueryDeviceInfoRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long QueryDeviceInfoRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void QueryDeviceInfoRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void QueryDeviceInfoRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long QueryDeviceInfoRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void QueryDeviceInfoRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -40,26 +40,26 @@ void QueryDeviceInfoResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto deviceInfoNode = value["DeviceInfo"];
|
||||
if(!deviceInfoNode["DeviceId"].isNull())
|
||||
deviceInfo_.deviceId = deviceInfoNode["DeviceId"].asString();
|
||||
if(!deviceInfoNode["DeviceType"].isNull())
|
||||
deviceInfo_.deviceType = deviceInfoNode["DeviceType"].asString();
|
||||
if(!deviceInfoNode["Account"].isNull())
|
||||
deviceInfo_.account = deviceInfoNode["Account"].asString();
|
||||
if(!deviceInfoNode["DeviceToken"].isNull())
|
||||
deviceInfo_.deviceToken = deviceInfoNode["DeviceToken"].asString();
|
||||
if(!deviceInfoNode["Tags"].isNull())
|
||||
deviceInfo_.tags = deviceInfoNode["Tags"].asString();
|
||||
if(!deviceInfoNode["Alias"].isNull())
|
||||
deviceInfo_.alias = deviceInfoNode["Alias"].asString();
|
||||
if(!deviceInfoNode["LastOnlineTime"].isNull())
|
||||
deviceInfo_.lastOnlineTime = deviceInfoNode["LastOnlineTime"].asString();
|
||||
if(!deviceInfoNode["Online"].isNull())
|
||||
deviceInfo_.online = deviceInfoNode["Online"].asString() == "true";
|
||||
if(!deviceInfoNode["PhoneNumber"].isNull())
|
||||
deviceInfo_.phoneNumber = deviceInfoNode["PhoneNumber"].asString();
|
||||
if(!deviceInfoNode["PushEnabled"].isNull())
|
||||
deviceInfo_.pushEnabled = deviceInfoNode["PushEnabled"].asString() == "true";
|
||||
if(!deviceInfoNode["DeviceType"].isNull())
|
||||
deviceInfo_.deviceType = deviceInfoNode["DeviceType"].asString();
|
||||
if(!deviceInfoNode["DeviceId"].isNull())
|
||||
deviceInfo_.deviceId = deviceInfoNode["DeviceId"].asString();
|
||||
if(!deviceInfoNode["Online"].isNull())
|
||||
deviceInfo_.online = deviceInfoNode["Online"].asString() == "true";
|
||||
if(!deviceInfoNode["Tags"].isNull())
|
||||
deviceInfo_.tags = deviceInfoNode["Tags"].asString();
|
||||
if(!deviceInfoNode["DeviceToken"].isNull())
|
||||
deviceInfo_.deviceToken = deviceInfoNode["DeviceToken"].asString();
|
||||
if(!deviceInfoNode["Alias"].isNull())
|
||||
deviceInfo_.alias = deviceInfoNode["Alias"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryDeviceStatRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryDeviceStatRequest;
|
||||
|
||||
QueryDeviceStatRequest::QueryDeviceStatRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "QueryDeviceStat")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDeviceStatRequest::~QueryDeviceStatRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDeviceStatRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryDeviceStatRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryDeviceStatRequest;
|
||||
|
||||
QueryDeviceStatRequest::QueryDeviceStatRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "QueryDeviceStat") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDeviceStatRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
QueryDeviceStatRequest::~QueryDeviceStatRequest() {}
|
||||
|
||||
std::string QueryDeviceStatRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string QueryDeviceStatRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
void QueryDeviceStatRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void QueryDeviceStatRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
std::string QueryDeviceStatRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string QueryDeviceStatRequest::getDeviceType()const
|
||||
{
|
||||
return deviceType_;
|
||||
void QueryDeviceStatRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void QueryDeviceStatRequest::setDeviceType(const std::string& deviceType)
|
||||
{
|
||||
deviceType_ = deviceType;
|
||||
setParameter("DeviceType", deviceType);
|
||||
std::string QueryDeviceStatRequest::getDeviceType() const {
|
||||
return deviceType_;
|
||||
}
|
||||
|
||||
std::string QueryDeviceStatRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void QueryDeviceStatRequest::setDeviceType(const std::string &deviceType) {
|
||||
deviceType_ = deviceType;
|
||||
setParameter(std::string("DeviceType"), deviceType);
|
||||
}
|
||||
|
||||
void QueryDeviceStatRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string QueryDeviceStatRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long QueryDeviceStatRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void QueryDeviceStatRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void QueryDeviceStatRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long QueryDeviceStatRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
std::string QueryDeviceStatRequest::getQueryType()const
|
||||
{
|
||||
return queryType_;
|
||||
void QueryDeviceStatRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
void QueryDeviceStatRequest::setQueryType(const std::string& queryType)
|
||||
{
|
||||
queryType_ = queryType;
|
||||
setParameter("QueryType", queryType);
|
||||
std::string QueryDeviceStatRequest::getQueryType() const {
|
||||
return queryType_;
|
||||
}
|
||||
|
||||
void QueryDeviceStatRequest::setQueryType(const std::string &queryType) {
|
||||
queryType_ = queryType;
|
||||
setParameter(std::string("QueryType"), queryType);
|
||||
}
|
||||
|
||||
|
||||
@@ -45,10 +45,10 @@ void QueryDeviceStatResult::parse(const std::string &payload)
|
||||
AppDeviceStat appDeviceStatsObject;
|
||||
if(!valueAppDeviceStatsAppDeviceStat["Time"].isNull())
|
||||
appDeviceStatsObject.time = valueAppDeviceStatsAppDeviceStat["Time"].asString();
|
||||
if(!valueAppDeviceStatsAppDeviceStat["Count"].isNull())
|
||||
appDeviceStatsObject.count = std::stol(valueAppDeviceStatsAppDeviceStat["Count"].asString());
|
||||
if(!valueAppDeviceStatsAppDeviceStat["DeviceType"].isNull())
|
||||
appDeviceStatsObject.deviceType = valueAppDeviceStatsAppDeviceStat["DeviceType"].asString();
|
||||
if(!valueAppDeviceStatsAppDeviceStat["Count"].isNull())
|
||||
appDeviceStatsObject.count = std::stol(valueAppDeviceStatsAppDeviceStat["Count"].asString());
|
||||
appDeviceStats_.push_back(appDeviceStatsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryDevicesByAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryDevicesByAccountRequest;
|
||||
|
||||
QueryDevicesByAccountRequest::QueryDevicesByAccountRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "QueryDevicesByAccount")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDevicesByAccountRequest::~QueryDevicesByAccountRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDevicesByAccountRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryDevicesByAccountRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryDevicesByAccountRequest;
|
||||
|
||||
QueryDevicesByAccountRequest::QueryDevicesByAccountRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "QueryDevicesByAccount") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDevicesByAccountRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
QueryDevicesByAccountRequest::~QueryDevicesByAccountRequest() {}
|
||||
|
||||
std::string QueryDevicesByAccountRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long QueryDevicesByAccountRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void QueryDevicesByAccountRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void QueryDevicesByAccountRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long QueryDevicesByAccountRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
std::string QueryDevicesByAccountRequest::getAccount()const
|
||||
{
|
||||
return account_;
|
||||
void QueryDevicesByAccountRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
void QueryDevicesByAccountRequest::setAccount(const std::string& account)
|
||||
{
|
||||
account_ = account;
|
||||
setParameter("Account", account);
|
||||
std::string QueryDevicesByAccountRequest::getAccount() const {
|
||||
return account_;
|
||||
}
|
||||
|
||||
void QueryDevicesByAccountRequest::setAccount(const std::string &account) {
|
||||
account_ = account;
|
||||
setParameter(std::string("Account"), account);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryDevicesByAliasRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryDevicesByAliasRequest;
|
||||
|
||||
QueryDevicesByAliasRequest::QueryDevicesByAliasRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "QueryDevicesByAlias")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryDevicesByAliasRequest::~QueryDevicesByAliasRequest()
|
||||
{}
|
||||
|
||||
std::string QueryDevicesByAliasRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryDevicesByAliasRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryDevicesByAliasRequest;
|
||||
|
||||
QueryDevicesByAliasRequest::QueryDevicesByAliasRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "QueryDevicesByAlias") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryDevicesByAliasRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
QueryDevicesByAliasRequest::~QueryDevicesByAliasRequest() {}
|
||||
|
||||
std::string QueryDevicesByAliasRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string QueryDevicesByAliasRequest::getAlias()const
|
||||
{
|
||||
return alias_;
|
||||
void QueryDevicesByAliasRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void QueryDevicesByAliasRequest::setAlias(const std::string& alias)
|
||||
{
|
||||
alias_ = alias;
|
||||
setParameter("Alias", alias);
|
||||
std::string QueryDevicesByAliasRequest::getAlias() const {
|
||||
return alias_;
|
||||
}
|
||||
|
||||
long QueryDevicesByAliasRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void QueryDevicesByAliasRequest::setAlias(const std::string &alias) {
|
||||
alias_ = alias;
|
||||
setParameter(std::string("Alias"), alias);
|
||||
}
|
||||
|
||||
void QueryDevicesByAliasRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long QueryDevicesByAliasRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void QueryDevicesByAliasRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,150 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryPushRecordsRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryPushRecordsRequest;
|
||||
|
||||
QueryPushRecordsRequest::QueryPushRecordsRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "QueryPushRecords")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryPushRecordsRequest::~QueryPushRecordsRequest()
|
||||
{}
|
||||
|
||||
std::string QueryPushRecordsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryPushRecordsRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryPushRecordsRequest;
|
||||
|
||||
QueryPushRecordsRequest::QueryPushRecordsRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "QueryPushRecords") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
QueryPushRecordsRequest::~QueryPushRecordsRequest() {}
|
||||
|
||||
std::string QueryPushRecordsRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string QueryPushRecordsRequest::getSource()const
|
||||
{
|
||||
return source_;
|
||||
void QueryPushRecordsRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setSource(const std::string& source)
|
||||
{
|
||||
source_ = source;
|
||||
setParameter("Source", source);
|
||||
std::string QueryPushRecordsRequest::getSource() const {
|
||||
return source_;
|
||||
}
|
||||
|
||||
std::string QueryPushRecordsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void QueryPushRecordsRequest::setSource(const std::string &source) {
|
||||
source_ = source;
|
||||
setParameter(std::string("Source"), source);
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string QueryPushRecordsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string QueryPushRecordsRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
void QueryPushRecordsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
std::string QueryPushRecordsRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
int QueryPushRecordsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void QueryPushRecordsRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
int QueryPushRecordsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
std::string QueryPushRecordsRequest::getKeyword()const
|
||||
{
|
||||
return keyword_;
|
||||
void QueryPushRecordsRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setKeyword(const std::string& keyword)
|
||||
{
|
||||
keyword_ = keyword;
|
||||
setParameter("Keyword", keyword);
|
||||
std::string QueryPushRecordsRequest::getKeyword() const {
|
||||
return keyword_;
|
||||
}
|
||||
|
||||
std::string QueryPushRecordsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void QueryPushRecordsRequest::setKeyword(const std::string &keyword) {
|
||||
keyword_ = keyword;
|
||||
setParameter(std::string("Keyword"), keyword);
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string QueryPushRecordsRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string QueryPushRecordsRequest::getTarget()const
|
||||
{
|
||||
return target_;
|
||||
void QueryPushRecordsRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setTarget(const std::string& target)
|
||||
{
|
||||
target_ = target;
|
||||
setParameter("Target", target);
|
||||
std::string QueryPushRecordsRequest::getTarget() const {
|
||||
return target_;
|
||||
}
|
||||
|
||||
long QueryPushRecordsRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void QueryPushRecordsRequest::setTarget(const std::string &target) {
|
||||
target_ = target;
|
||||
setParameter(std::string("Target"), target);
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long QueryPushRecordsRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
int QueryPushRecordsRequest::getPage()const
|
||||
{
|
||||
return page_;
|
||||
void QueryPushRecordsRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setPage(int page)
|
||||
{
|
||||
page_ = page;
|
||||
setParameter("Page", std::to_string(page));
|
||||
int QueryPushRecordsRequest::getPage() const {
|
||||
return page_;
|
||||
}
|
||||
|
||||
std::string QueryPushRecordsRequest::getPushType()const
|
||||
{
|
||||
return pushType_;
|
||||
void QueryPushRecordsRequest::setPage(int page) {
|
||||
page_ = page;
|
||||
setParameter(std::string("Page"), std::to_string(page));
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setPushType(const std::string& pushType)
|
||||
{
|
||||
pushType_ = pushType;
|
||||
setParameter("PushType", pushType);
|
||||
std::string QueryPushRecordsRequest::getPushType() const {
|
||||
return pushType_;
|
||||
}
|
||||
|
||||
void QueryPushRecordsRequest::setPushType(const std::string &pushType) {
|
||||
pushType_ = pushType;
|
||||
setParameter(std::string("PushType"), pushType);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,36 +43,36 @@ void QueryPushRecordsResult::parse(const std::string &payload)
|
||||
for (auto valuePushInfosPushInfo : allPushInfosNode)
|
||||
{
|
||||
PushInfo pushInfosObject;
|
||||
if(!valuePushInfosPushInfo["AppKey"].isNull())
|
||||
pushInfosObject.appKey = std::stol(valuePushInfosPushInfo["AppKey"].asString());
|
||||
if(!valuePushInfosPushInfo["Status"].isNull())
|
||||
pushInfosObject.status = valuePushInfosPushInfo["Status"].asString();
|
||||
if(!valuePushInfosPushInfo["MessageId"].isNull())
|
||||
pushInfosObject.messageId = valuePushInfosPushInfo["MessageId"].asString();
|
||||
if(!valuePushInfosPushInfo["PushType"].isNull())
|
||||
pushInfosObject.pushType = valuePushInfosPushInfo["PushType"].asString();
|
||||
if(!valuePushInfosPushInfo["AppKey"].isNull())
|
||||
pushInfosObject.appKey = std::stol(valuePushInfosPushInfo["AppKey"].asString());
|
||||
if(!valuePushInfosPushInfo["DeviceType"].isNull())
|
||||
pushInfosObject.deviceType = valuePushInfosPushInfo["DeviceType"].asString();
|
||||
if(!valuePushInfosPushInfo["Target"].isNull())
|
||||
pushInfosObject.target = valuePushInfosPushInfo["Target"].asString();
|
||||
if(!valuePushInfosPushInfo["PushType"].isNull())
|
||||
pushInfosObject.pushType = valuePushInfosPushInfo["PushType"].asString();
|
||||
if(!valuePushInfosPushInfo["Body"].isNull())
|
||||
pushInfosObject.body = valuePushInfosPushInfo["Body"].asString();
|
||||
if(!valuePushInfosPushInfo["Title"].isNull())
|
||||
pushInfosObject.title = valuePushInfosPushInfo["Title"].asString();
|
||||
if(!valuePushInfosPushInfo["Source"].isNull())
|
||||
pushInfosObject.source = valuePushInfosPushInfo["Source"].asString();
|
||||
if(!valuePushInfosPushInfo["PushTime"].isNull())
|
||||
pushInfosObject.pushTime = valuePushInfosPushInfo["PushTime"].asString();
|
||||
if(!valuePushInfosPushInfo["Title"].isNull())
|
||||
pushInfosObject.title = valuePushInfosPushInfo["Title"].asString();
|
||||
if(!valuePushInfosPushInfo["Body"].isNull())
|
||||
pushInfosObject.body = valuePushInfosPushInfo["Body"].asString();
|
||||
if(!valuePushInfosPushInfo["Status"].isNull())
|
||||
pushInfosObject.status = valuePushInfosPushInfo["Status"].asString();
|
||||
if(!valuePushInfosPushInfo["Target"].isNull())
|
||||
pushInfosObject.target = valuePushInfosPushInfo["Target"].asString();
|
||||
pushInfos_.push_back(pushInfosObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
nextToken_ = value["NextToken"].asString();
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["Page"].isNull())
|
||||
page_ = std::stoi(value["Page"].asString());
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stoi(value["Total"].asString());
|
||||
if(!value["Page"].isNull())
|
||||
page_ = std::stoi(value["Page"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryPushStatByAppRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryPushStatByAppRequest;
|
||||
|
||||
QueryPushStatByAppRequest::QueryPushStatByAppRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "QueryPushStatByApp")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryPushStatByAppRequest::~QueryPushStatByAppRequest()
|
||||
{}
|
||||
|
||||
std::string QueryPushStatByAppRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryPushStatByAppRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryPushStatByAppRequest;
|
||||
|
||||
QueryPushStatByAppRequest::QueryPushStatByAppRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "QueryPushStatByApp") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryPushStatByAppRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
QueryPushStatByAppRequest::~QueryPushStatByAppRequest() {}
|
||||
|
||||
std::string QueryPushStatByAppRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string QueryPushStatByAppRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
void QueryPushStatByAppRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void QueryPushStatByAppRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
std::string QueryPushStatByAppRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string QueryPushStatByAppRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void QueryPushStatByAppRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void QueryPushStatByAppRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string QueryPushStatByAppRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string QueryPushStatByAppRequest::getGranularity()const
|
||||
{
|
||||
return granularity_;
|
||||
void QueryPushStatByAppRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void QueryPushStatByAppRequest::setGranularity(const std::string& granularity)
|
||||
{
|
||||
granularity_ = granularity;
|
||||
setParameter("Granularity", granularity);
|
||||
std::string QueryPushStatByAppRequest::getGranularity() const {
|
||||
return granularity_;
|
||||
}
|
||||
|
||||
long QueryPushStatByAppRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void QueryPushStatByAppRequest::setGranularity(const std::string &granularity) {
|
||||
granularity_ = granularity;
|
||||
setParameter(std::string("Granularity"), granularity);
|
||||
}
|
||||
|
||||
void QueryPushStatByAppRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long QueryPushStatByAppRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void QueryPushStatByAppRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -45,26 +45,26 @@ void QueryPushStatByAppResult::parse(const std::string &payload)
|
||||
AppPushStat appPushStatsObject;
|
||||
if(!valueAppPushStatsAppPushStat["Time"].isNull())
|
||||
appPushStatsObject.time = valueAppPushStatsAppPushStat["Time"].asString();
|
||||
if(!valueAppPushStatsAppPushStat["AcceptCount"].isNull())
|
||||
appPushStatsObject.acceptCount = std::stol(valueAppPushStatsAppPushStat["AcceptCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["SentCount"].isNull())
|
||||
appPushStatsObject.sentCount = std::stol(valueAppPushStatsAppPushStat["SentCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["ReceivedCount"].isNull())
|
||||
appPushStatsObject.receivedCount = std::stol(valueAppPushStatsAppPushStat["ReceivedCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["OpenedCount"].isNull())
|
||||
appPushStatsObject.openedCount = std::stol(valueAppPushStatsAppPushStat["OpenedCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["DeletedCount"].isNull())
|
||||
appPushStatsObject.deletedCount = std::stol(valueAppPushStatsAppPushStat["DeletedCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["SmsSentCount"].isNull())
|
||||
appPushStatsObject.smsSentCount = std::stol(valueAppPushStatsAppPushStat["SmsSentCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["SmsSkipCount"].isNull())
|
||||
appPushStatsObject.smsSkipCount = std::stol(valueAppPushStatsAppPushStat["SmsSkipCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["SmsFailedCount"].isNull())
|
||||
appPushStatsObject.smsFailedCount = std::stol(valueAppPushStatsAppPushStat["SmsFailedCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["OpenedCount"].isNull())
|
||||
appPushStatsObject.openedCount = std::stol(valueAppPushStatsAppPushStat["OpenedCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["SmsReceiveSuccessCount"].isNull())
|
||||
appPushStatsObject.smsReceiveSuccessCount = std::stol(valueAppPushStatsAppPushStat["SmsReceiveSuccessCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["SmsSkipCount"].isNull())
|
||||
appPushStatsObject.smsSkipCount = std::stol(valueAppPushStatsAppPushStat["SmsSkipCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["SmsReceiveFailedCount"].isNull())
|
||||
appPushStatsObject.smsReceiveFailedCount = std::stol(valueAppPushStatsAppPushStat["SmsReceiveFailedCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["SmsFailedCount"].isNull())
|
||||
appPushStatsObject.smsFailedCount = std::stol(valueAppPushStatsAppPushStat["SmsFailedCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["ReceivedCount"].isNull())
|
||||
appPushStatsObject.receivedCount = std::stol(valueAppPushStatsAppPushStat["ReceivedCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["SentCount"].isNull())
|
||||
appPushStatsObject.sentCount = std::stol(valueAppPushStatsAppPushStat["SentCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["SmsSentCount"].isNull())
|
||||
appPushStatsObject.smsSentCount = std::stol(valueAppPushStatsAppPushStat["SmsSentCount"].asString());
|
||||
if(!valueAppPushStatsAppPushStat["AcceptCount"].isNull())
|
||||
appPushStatsObject.acceptCount = std::stol(valueAppPushStatsAppPushStat["AcceptCount"].asString());
|
||||
appPushStats_.push_back(appPushStatsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryPushStatByMsgRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryPushStatByMsgRequest;
|
||||
|
||||
QueryPushStatByMsgRequest::QueryPushStatByMsgRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "QueryPushStatByMsg")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryPushStatByMsgRequest::~QueryPushStatByMsgRequest()
|
||||
{}
|
||||
|
||||
long QueryPushStatByMsgRequest::getMessageId()const
|
||||
{
|
||||
return messageId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryPushStatByMsgRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryPushStatByMsgRequest;
|
||||
|
||||
QueryPushStatByMsgRequest::QueryPushStatByMsgRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "QueryPushStatByMsg") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryPushStatByMsgRequest::setMessageId(long messageId)
|
||||
{
|
||||
messageId_ = messageId;
|
||||
setParameter("MessageId", std::to_string(messageId));
|
||||
QueryPushStatByMsgRequest::~QueryPushStatByMsgRequest() {}
|
||||
|
||||
long QueryPushStatByMsgRequest::getMessageId() const {
|
||||
return messageId_;
|
||||
}
|
||||
|
||||
std::string QueryPushStatByMsgRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void QueryPushStatByMsgRequest::setMessageId(long messageId) {
|
||||
messageId_ = messageId;
|
||||
setParameter(std::string("MessageId"), std::to_string(messageId));
|
||||
}
|
||||
|
||||
void QueryPushStatByMsgRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string QueryPushStatByMsgRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long QueryPushStatByMsgRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void QueryPushStatByMsgRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void QueryPushStatByMsgRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long QueryPushStatByMsgRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void QueryPushStatByMsgRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -45,26 +45,26 @@ void QueryPushStatByMsgResult::parse(const std::string &payload)
|
||||
PushStat pushStatsObject;
|
||||
if(!valuePushStatsPushStat["MessageId"].isNull())
|
||||
pushStatsObject.messageId = valuePushStatsPushStat["MessageId"].asString();
|
||||
if(!valuePushStatsPushStat["AcceptCount"].isNull())
|
||||
pushStatsObject.acceptCount = std::stol(valuePushStatsPushStat["AcceptCount"].asString());
|
||||
if(!valuePushStatsPushStat["SentCount"].isNull())
|
||||
pushStatsObject.sentCount = std::stol(valuePushStatsPushStat["SentCount"].asString());
|
||||
if(!valuePushStatsPushStat["ReceivedCount"].isNull())
|
||||
pushStatsObject.receivedCount = std::stol(valuePushStatsPushStat["ReceivedCount"].asString());
|
||||
if(!valuePushStatsPushStat["OpenedCount"].isNull())
|
||||
pushStatsObject.openedCount = std::stol(valuePushStatsPushStat["OpenedCount"].asString());
|
||||
if(!valuePushStatsPushStat["DeletedCount"].isNull())
|
||||
pushStatsObject.deletedCount = std::stol(valuePushStatsPushStat["DeletedCount"].asString());
|
||||
if(!valuePushStatsPushStat["SmsSentCount"].isNull())
|
||||
pushStatsObject.smsSentCount = std::stol(valuePushStatsPushStat["SmsSentCount"].asString());
|
||||
if(!valuePushStatsPushStat["SmsSkipCount"].isNull())
|
||||
pushStatsObject.smsSkipCount = std::stol(valuePushStatsPushStat["SmsSkipCount"].asString());
|
||||
if(!valuePushStatsPushStat["SmsFailedCount"].isNull())
|
||||
pushStatsObject.smsFailedCount = std::stol(valuePushStatsPushStat["SmsFailedCount"].asString());
|
||||
if(!valuePushStatsPushStat["OpenedCount"].isNull())
|
||||
pushStatsObject.openedCount = std::stol(valuePushStatsPushStat["OpenedCount"].asString());
|
||||
if(!valuePushStatsPushStat["SmsReceiveSuccessCount"].isNull())
|
||||
pushStatsObject.smsReceiveSuccessCount = std::stol(valuePushStatsPushStat["SmsReceiveSuccessCount"].asString());
|
||||
if(!valuePushStatsPushStat["SmsSkipCount"].isNull())
|
||||
pushStatsObject.smsSkipCount = std::stol(valuePushStatsPushStat["SmsSkipCount"].asString());
|
||||
if(!valuePushStatsPushStat["SmsReceiveFailedCount"].isNull())
|
||||
pushStatsObject.smsReceiveFailedCount = std::stol(valuePushStatsPushStat["SmsReceiveFailedCount"].asString());
|
||||
if(!valuePushStatsPushStat["SmsFailedCount"].isNull())
|
||||
pushStatsObject.smsFailedCount = std::stol(valuePushStatsPushStat["SmsFailedCount"].asString());
|
||||
if(!valuePushStatsPushStat["ReceivedCount"].isNull())
|
||||
pushStatsObject.receivedCount = std::stol(valuePushStatsPushStat["ReceivedCount"].asString());
|
||||
if(!valuePushStatsPushStat["SentCount"].isNull())
|
||||
pushStatsObject.sentCount = std::stol(valuePushStatsPushStat["SentCount"].asString());
|
||||
if(!valuePushStatsPushStat["SmsSentCount"].isNull())
|
||||
pushStatsObject.smsSentCount = std::stol(valuePushStatsPushStat["SmsSentCount"].asString());
|
||||
if(!valuePushStatsPushStat["AcceptCount"].isNull())
|
||||
pushStatsObject.acceptCount = std::stol(valuePushStatsPushStat["AcceptCount"].asString());
|
||||
pushStats_.push_back(pushStatsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryTagsRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryTagsRequest;
|
||||
|
||||
QueryTagsRequest::QueryTagsRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "QueryTags")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryTagsRequest::~QueryTagsRequest()
|
||||
{}
|
||||
|
||||
std::string QueryTagsRequest::getKeyType()const
|
||||
{
|
||||
return keyType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryTagsRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryTagsRequest;
|
||||
|
||||
QueryTagsRequest::QueryTagsRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "QueryTags") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryTagsRequest::setKeyType(const std::string& keyType)
|
||||
{
|
||||
keyType_ = keyType;
|
||||
setParameter("KeyType", keyType);
|
||||
QueryTagsRequest::~QueryTagsRequest() {}
|
||||
|
||||
std::string QueryTagsRequest::getKeyType() const {
|
||||
return keyType_;
|
||||
}
|
||||
|
||||
std::string QueryTagsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void QueryTagsRequest::setKeyType(const std::string &keyType) {
|
||||
keyType_ = keyType;
|
||||
setParameter(std::string("KeyType"), keyType);
|
||||
}
|
||||
|
||||
void QueryTagsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string QueryTagsRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string QueryTagsRequest::getClientKey()const
|
||||
{
|
||||
return clientKey_;
|
||||
void QueryTagsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void QueryTagsRequest::setClientKey(const std::string& clientKey)
|
||||
{
|
||||
clientKey_ = clientKey;
|
||||
setParameter("ClientKey", clientKey);
|
||||
std::string QueryTagsRequest::getClientKey() const {
|
||||
return clientKey_;
|
||||
}
|
||||
|
||||
long QueryTagsRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void QueryTagsRequest::setClientKey(const std::string &clientKey) {
|
||||
clientKey_ = clientKey;
|
||||
setParameter(std::string("ClientKey"), clientKey);
|
||||
}
|
||||
|
||||
void QueryTagsRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long QueryTagsRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void QueryTagsRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryUniqueDeviceStatRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryUniqueDeviceStatRequest;
|
||||
|
||||
QueryUniqueDeviceStatRequest::QueryUniqueDeviceStatRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "QueryUniqueDeviceStat")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
QueryUniqueDeviceStatRequest::~QueryUniqueDeviceStatRequest()
|
||||
{}
|
||||
|
||||
std::string QueryUniqueDeviceStatRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/QueryUniqueDeviceStatRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::QueryUniqueDeviceStatRequest;
|
||||
|
||||
QueryUniqueDeviceStatRequest::QueryUniqueDeviceStatRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "QueryUniqueDeviceStat") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void QueryUniqueDeviceStatRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
QueryUniqueDeviceStatRequest::~QueryUniqueDeviceStatRequest() {}
|
||||
|
||||
std::string QueryUniqueDeviceStatRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string QueryUniqueDeviceStatRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
void QueryUniqueDeviceStatRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void QueryUniqueDeviceStatRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
std::string QueryUniqueDeviceStatRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string QueryUniqueDeviceStatRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void QueryUniqueDeviceStatRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void QueryUniqueDeviceStatRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string QueryUniqueDeviceStatRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string QueryUniqueDeviceStatRequest::getGranularity()const
|
||||
{
|
||||
return granularity_;
|
||||
void QueryUniqueDeviceStatRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void QueryUniqueDeviceStatRequest::setGranularity(const std::string& granularity)
|
||||
{
|
||||
granularity_ = granularity;
|
||||
setParameter("Granularity", granularity);
|
||||
std::string QueryUniqueDeviceStatRequest::getGranularity() const {
|
||||
return granularity_;
|
||||
}
|
||||
|
||||
long QueryUniqueDeviceStatRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void QueryUniqueDeviceStatRequest::setGranularity(const std::string &granularity) {
|
||||
granularity_ = granularity;
|
||||
setParameter(std::string("Granularity"), granularity);
|
||||
}
|
||||
|
||||
void QueryUniqueDeviceStatRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long QueryUniqueDeviceStatRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void QueryUniqueDeviceStatRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/RemoveTagRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::RemoveTagRequest;
|
||||
|
||||
RemoveTagRequest::RemoveTagRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "RemoveTag")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
RemoveTagRequest::~RemoveTagRequest()
|
||||
{}
|
||||
|
||||
std::string RemoveTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/RemoveTagRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::RemoveTagRequest;
|
||||
|
||||
RemoveTagRequest::RemoveTagRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "RemoveTag") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void RemoveTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
RemoveTagRequest::~RemoveTagRequest() {}
|
||||
|
||||
std::string RemoveTagRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string RemoveTagRequest::getTagName()const
|
||||
{
|
||||
return tagName_;
|
||||
void RemoveTagRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void RemoveTagRequest::setTagName(const std::string& tagName)
|
||||
{
|
||||
tagName_ = tagName;
|
||||
setParameter("TagName", tagName);
|
||||
std::string RemoveTagRequest::getTagName() const {
|
||||
return tagName_;
|
||||
}
|
||||
|
||||
long RemoveTagRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void RemoveTagRequest::setTagName(const std::string &tagName) {
|
||||
tagName_ = tagName;
|
||||
setParameter(std::string("TagName"), tagName);
|
||||
}
|
||||
|
||||
void RemoveTagRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long RemoveTagRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void RemoveTagRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/UnbindAliasRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::UnbindAliasRequest;
|
||||
|
||||
UnbindAliasRequest::UnbindAliasRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "UnbindAlias")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UnbindAliasRequest::~UnbindAliasRequest()
|
||||
{}
|
||||
|
||||
std::string UnbindAliasRequest::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/UnbindAliasRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::UnbindAliasRequest;
|
||||
|
||||
UnbindAliasRequest::UnbindAliasRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "UnbindAlias") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void UnbindAliasRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setParameter("DeviceId", deviceId);
|
||||
UnbindAliasRequest::~UnbindAliasRequest() {}
|
||||
|
||||
std::string UnbindAliasRequest::getDeviceId() const {
|
||||
return deviceId_;
|
||||
}
|
||||
|
||||
std::string UnbindAliasRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void UnbindAliasRequest::setDeviceId(const std::string &deviceId) {
|
||||
deviceId_ = deviceId;
|
||||
setParameter(std::string("DeviceId"), deviceId);
|
||||
}
|
||||
|
||||
void UnbindAliasRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string UnbindAliasRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string UnbindAliasRequest::getAliasName()const
|
||||
{
|
||||
return aliasName_;
|
||||
void UnbindAliasRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void UnbindAliasRequest::setAliasName(const std::string& aliasName)
|
||||
{
|
||||
aliasName_ = aliasName;
|
||||
setParameter("AliasName", aliasName);
|
||||
std::string UnbindAliasRequest::getAliasName() const {
|
||||
return aliasName_;
|
||||
}
|
||||
|
||||
long UnbindAliasRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void UnbindAliasRequest::setAliasName(const std::string &aliasName) {
|
||||
aliasName_ = aliasName;
|
||||
setParameter(std::string("AliasName"), aliasName);
|
||||
}
|
||||
|
||||
void UnbindAliasRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long UnbindAliasRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
bool UnbindAliasRequest::getUnbindAll()const
|
||||
{
|
||||
return unbindAll_;
|
||||
void UnbindAliasRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
void UnbindAliasRequest::setUnbindAll(bool unbindAll)
|
||||
{
|
||||
unbindAll_ = unbindAll;
|
||||
setParameter("UnbindAll", unbindAll ? "true" : "false");
|
||||
bool UnbindAliasRequest::getUnbindAll() const {
|
||||
return unbindAll_;
|
||||
}
|
||||
|
||||
void UnbindAliasRequest::setUnbindAll(bool unbindAll) {
|
||||
unbindAll_ = unbindAll;
|
||||
setParameter(std::string("UnbindAll"), unbindAll ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/UnbindPhoneRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::UnbindPhoneRequest;
|
||||
|
||||
UnbindPhoneRequest::UnbindPhoneRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "UnbindPhone")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UnbindPhoneRequest::~UnbindPhoneRequest()
|
||||
{}
|
||||
|
||||
std::string UnbindPhoneRequest::getDeviceId()const
|
||||
{
|
||||
return deviceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/UnbindPhoneRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::UnbindPhoneRequest;
|
||||
|
||||
UnbindPhoneRequest::UnbindPhoneRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "UnbindPhone") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void UnbindPhoneRequest::setDeviceId(const std::string& deviceId)
|
||||
{
|
||||
deviceId_ = deviceId;
|
||||
setParameter("DeviceId", deviceId);
|
||||
UnbindPhoneRequest::~UnbindPhoneRequest() {}
|
||||
|
||||
std::string UnbindPhoneRequest::getDeviceId() const {
|
||||
return deviceId_;
|
||||
}
|
||||
|
||||
std::string UnbindPhoneRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void UnbindPhoneRequest::setDeviceId(const std::string &deviceId) {
|
||||
deviceId_ = deviceId;
|
||||
setParameter(std::string("DeviceId"), deviceId);
|
||||
}
|
||||
|
||||
void UnbindPhoneRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string UnbindPhoneRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
long UnbindPhoneRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void UnbindPhoneRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void UnbindPhoneRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long UnbindPhoneRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void UnbindPhoneRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/UnbindTagRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::UnbindTagRequest;
|
||||
|
||||
UnbindTagRequest::UnbindTagRequest() :
|
||||
RpcServiceRequest("push", "2016-08-01", "UnbindTag")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
UnbindTagRequest::~UnbindTagRequest()
|
||||
{}
|
||||
|
||||
std::string UnbindTagRequest::getKeyType()const
|
||||
{
|
||||
return keyType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/push/model/UnbindTagRequest.h>
|
||||
|
||||
using AlibabaCloud::Push::Model::UnbindTagRequest;
|
||||
|
||||
UnbindTagRequest::UnbindTagRequest()
|
||||
: RpcServiceRequest("push", "2016-08-01", "UnbindTag") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void UnbindTagRequest::setKeyType(const std::string& keyType)
|
||||
{
|
||||
keyType_ = keyType;
|
||||
setParameter("KeyType", keyType);
|
||||
UnbindTagRequest::~UnbindTagRequest() {}
|
||||
|
||||
std::string UnbindTagRequest::getKeyType() const {
|
||||
return keyType_;
|
||||
}
|
||||
|
||||
std::string UnbindTagRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
void UnbindTagRequest::setKeyType(const std::string &keyType) {
|
||||
keyType_ = keyType;
|
||||
setParameter(std::string("KeyType"), keyType);
|
||||
}
|
||||
|
||||
void UnbindTagRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
std::string UnbindTagRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
std::string UnbindTagRequest::getTagName()const
|
||||
{
|
||||
return tagName_;
|
||||
void UnbindTagRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
void UnbindTagRequest::setTagName(const std::string& tagName)
|
||||
{
|
||||
tagName_ = tagName;
|
||||
setParameter("TagName", tagName);
|
||||
std::string UnbindTagRequest::getTagName() const {
|
||||
return tagName_;
|
||||
}
|
||||
|
||||
std::string UnbindTagRequest::getClientKey()const
|
||||
{
|
||||
return clientKey_;
|
||||
void UnbindTagRequest::setTagName(const std::string &tagName) {
|
||||
tagName_ = tagName;
|
||||
setParameter(std::string("TagName"), tagName);
|
||||
}
|
||||
|
||||
void UnbindTagRequest::setClientKey(const std::string& clientKey)
|
||||
{
|
||||
clientKey_ = clientKey;
|
||||
setParameter("ClientKey", clientKey);
|
||||
std::string UnbindTagRequest::getClientKey() const {
|
||||
return clientKey_;
|
||||
}
|
||||
|
||||
long UnbindTagRequest::getAppKey()const
|
||||
{
|
||||
return appKey_;
|
||||
void UnbindTagRequest::setClientKey(const std::string &clientKey) {
|
||||
clientKey_ = clientKey;
|
||||
setParameter(std::string("ClientKey"), clientKey);
|
||||
}
|
||||
|
||||
void UnbindTagRequest::setAppKey(long appKey)
|
||||
{
|
||||
appKey_ = appKey;
|
||||
setParameter("AppKey", std::to_string(appKey));
|
||||
long UnbindTagRequest::getAppKey() const {
|
||||
return appKey_;
|
||||
}
|
||||
|
||||
void UnbindTagRequest::setAppKey(long appKey) {
|
||||
appKey_ = appKey;
|
||||
setParameter(std::string("AppKey"), std::to_string(appKey));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user