Przeglądaj źródła

Supported Trim, AndroidVivoPushMode, iOSInterruptionLevel, iOSRelevanceScore for Push and MassPush.

sdk-team 4 lat temu
rodzic
commit
7052337f54
76 zmienionych plików z 3224 dodań i 3817 usunięć
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 40 46
      push/include/alibabacloud/push/model/BindAliasRequest.h
  4. 40 46
      push/include/alibabacloud/push/model/BindPhoneRequest.h
  5. 43 49
      push/include/alibabacloud/push/model/BindTagRequest.h
  6. 37 43
      push/include/alibabacloud/push/model/CancelPushRequest.h
  7. 34 40
      push/include/alibabacloud/push/model/CheckCertificateRequest.h
  8. 37 43
      push/include/alibabacloud/push/model/CheckDeviceRequest.h
  9. 37 43
      push/include/alibabacloud/push/model/CheckDevicesRequest.h
  10. 37 43
      push/include/alibabacloud/push/model/CompleteContinuouslyPushRequest.h
  11. 43 49
      push/include/alibabacloud/push/model/ContinuouslyPushRequest.h
  12. 31 37
      push/include/alibabacloud/push/model/ListSummaryAppsRequest.h
  13. 34 40
      push/include/alibabacloud/push/model/ListTagsRequest.h
  14. 98 102
      push/include/alibabacloud/push/model/MassPushRequest.h
  15. 49 55
      push/include/alibabacloud/push/model/PushMessageToAndroidRequest.h
  16. 49 55
      push/include/alibabacloud/push/model/PushMessageToiOSRequest.h
  17. 52 58
      push/include/alibabacloud/push/model/PushNoticeToAndroidRequest.h
  18. 55 61
      push/include/alibabacloud/push/model/PushNoticeToiOSRequest.h
  19. 226 220
      push/include/alibabacloud/push/model/PushRequest.h
  20. 37 43
      push/include/alibabacloud/push/model/QueryAliasesRequest.h
  21. 40 46
      push/include/alibabacloud/push/model/QueryDeviceCountRequest.h
  22. 37 43
      push/include/alibabacloud/push/model/QueryDeviceInfoRequest.h
  23. 1 1
      push/include/alibabacloud/push/model/QueryDeviceInfoResult.h
  24. 46 52
      push/include/alibabacloud/push/model/QueryDeviceStatRequest.h
  25. 37 43
      push/include/alibabacloud/push/model/QueryDevicesByAccountRequest.h
  26. 37 43
      push/include/alibabacloud/push/model/QueryDevicesByAliasRequest.h
  27. 61 67
      push/include/alibabacloud/push/model/QueryPushRecordsRequest.h
  28. 2 2
      push/include/alibabacloud/push/model/QueryPushRecordsResult.h
  29. 43 49
      push/include/alibabacloud/push/model/QueryPushStatByAppRequest.h
  30. 1 1
      push/include/alibabacloud/push/model/QueryPushStatByAppResult.h
  31. 37 43
      push/include/alibabacloud/push/model/QueryPushStatByMsgRequest.h
  32. 1 1
      push/include/alibabacloud/push/model/QueryPushStatByMsgResult.h
  33. 40 46
      push/include/alibabacloud/push/model/QueryTagsRequest.h
  34. 43 49
      push/include/alibabacloud/push/model/QueryUniqueDeviceStatRequest.h
  35. 37 43
      push/include/alibabacloud/push/model/RemoveTagRequest.h
  36. 43 49
      push/include/alibabacloud/push/model/UnbindAliasRequest.h
  37. 37 43
      push/include/alibabacloud/push/model/UnbindPhoneRequest.h
  38. 43 49
      push/include/alibabacloud/push/model/UnbindTagRequest.h
  39. 36 46
      push/src/model/BindAliasRequest.cc
  40. 36 46
      push/src/model/BindPhoneRequest.cc
  41. 41 53
      push/src/model/BindTagRequest.cc
  42. 31 39
      push/src/model/CancelPushRequest.cc
  43. 26 32
      push/src/model/CheckCertificateRequest.cc
  44. 4 4
      push/src/model/CheckCertificateResult.cc
  45. 31 39
      push/src/model/CheckDeviceRequest.cc
  46. 31 39
      push/src/model/CheckDevicesRequest.cc
  47. 31 39
      push/src/model/CompleteContinuouslyPushRequest.cc
  48. 41 53
      push/src/model/ContinuouslyPushRequest.cc
  49. 21 25
      push/src/model/ListSummaryAppsRequest.cc
  50. 26 32
      push/src/model/ListTagsRequest.cc
  51. 93 97
      push/src/model/MassPushRequest.cc
  52. 51 67
      push/src/model/PushMessageToAndroidRequest.cc
  53. 51 67
      push/src/model/PushMessageToiOSRequest.cc
  54. 56 74
      push/src/model/PushNoticeToAndroidRequest.cc
  55. 61 81
      push/src/model/PushNoticeToiOSRequest.cc
  56. 362 452
      push/src/model/PushRequest.cc
  57. 31 39
      push/src/model/QueryAliasesRequest.cc
  58. 36 46
      push/src/model/QueryDeviceCountRequest.cc
  59. 31 39
      push/src/model/QueryDeviceInfoRequest.cc
  60. 12 12
      push/src/model/QueryDeviceInfoResult.cc
  61. 46 60
      push/src/model/QueryDeviceStatRequest.cc
  62. 2 2
      push/src/model/QueryDeviceStatResult.cc
  63. 31 39
      push/src/model/QueryDevicesByAccountRequest.cc
  64. 31 39
      push/src/model/QueryDevicesByAliasRequest.cc
  65. 71 95
      push/src/model/QueryPushRecordsRequest.cc
  66. 14 14
      push/src/model/QueryPushRecordsResult.cc
  67. 41 53
      push/src/model/QueryPushStatByAppRequest.cc
  68. 14 14
      push/src/model/QueryPushStatByAppResult.cc
  69. 31 39
      push/src/model/QueryPushStatByMsgRequest.cc
  70. 14 14
      push/src/model/QueryPushStatByMsgResult.cc
  71. 36 46
      push/src/model/QueryTagsRequest.cc
  72. 41 53
      push/src/model/QueryUniqueDeviceStatRequest.cc
  73. 31 39
      push/src/model/RemoveTagRequest.cc
  74. 41 53
      push/src/model/UnbindAliasRequest.cc
  75. 31 39
      push/src/model/UnbindPhoneRequest.cc
  76. 41 53
      push/src/model/UnbindTagRequest.cc

+ 3 - 0
CHANGELOG

@@ -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 - 1
VERSION

@@ -1 +1 @@
-1.36.1091
+1.36.1092

+ 40 - 46
push/include/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_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_

+ 40 - 46
push/include/alibabacloud/push/model/BindPhoneRequest.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_

+ 43 - 49
push/include/alibabacloud/push/model/BindTagRequest.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_

+ 37 - 43
push/include/alibabacloud/push/model/CancelPushRequest.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_

+ 34 - 40
push/include/alibabacloud/push/model/CheckCertificateRequest.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_

+ 37 - 43
push/include/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_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_

+ 37 - 43
push/include/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_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_

+ 37 - 43
push/include/alibabacloud/push/model/CompleteContinuouslyPushRequest.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_

+ 43 - 49
push/include/alibabacloud/push/model/ContinuouslyPushRequest.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_

+ 31 - 37
push/include/alibabacloud/push/model/ListSummaryAppsRequest.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_

+ 34 - 40
push/include/alibabacloud/push/model/ListTagsRequest.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_

+ 98 - 102
push/include/alibabacloud/push/model/MassPushRequest.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_

+ 49 - 55
push/include/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_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_

+ 49 - 55
push/include/alibabacloud/push/model/PushMessageToiOSRequest.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_

+ 52 - 58
push/include/alibabacloud/push/model/PushNoticeToAndroidRequest.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_

+ 55 - 61
push/include/alibabacloud/push/model/PushNoticeToiOSRequest.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_

+ 226 - 220
push/include/alibabacloud/push/model/PushRequest.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_

+ 37 - 43
push/include/alibabacloud/push/model/QueryAliasesRequest.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_

+ 40 - 46
push/include/alibabacloud/push/model/QueryDeviceCountRequest.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_

+ 37 - 43
push/include/alibabacloud/push/model/QueryDeviceInfoRequest.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_

+ 1 - 1
push/include/alibabacloud/push/model/QueryDeviceInfoResult.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;

+ 46 - 52
push/include/alibabacloud/push/model/QueryDeviceStatRequest.h

@@ -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_

+ 37 - 43
push/include/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_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_

+ 37 - 43
push/include/alibabacloud/push/model/QueryDevicesByAliasRequest.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_

+ 61 - 67
push/include/alibabacloud/push/model/QueryPushRecordsRequest.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_

+ 2 - 2
push/include/alibabacloud/push/model/QueryPushRecordsResult.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;

+ 43 - 49
push/include/alibabacloud/push/model/QueryPushStatByAppRequest.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_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_

+ 1 - 1
push/include/alibabacloud/push/model/QueryPushStatByAppResult.h

@@ -42,8 +42,8 @@ namespace AlibabaCloud
 					std::string time;
 					long deletedCount;
 					long smsReceiveSuccessCount;
-					long sentCount;
 					long receivedCount;
+					long sentCount;
 					long smsSentCount;
 				};
 

+ 37 - 43
push/include/alibabacloud/push/model/QueryPushStatByMsgRequest.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_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_

+ 1 - 1
push/include/alibabacloud/push/model/QueryPushStatByMsgResult.h

@@ -41,8 +41,8 @@ namespace AlibabaCloud
 					long smsReceiveFailedCount;
 					long deletedCount;
 					long smsReceiveSuccessCount;
-					long sentCount;
 					long receivedCount;
+					long sentCount;
 					std::string messageId;
 					long smsSentCount;
 				};

+ 40 - 46
push/include/alibabacloud/push/model/QueryTagsRequest.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_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_

+ 43 - 49
push/include/alibabacloud/push/model/QueryUniqueDeviceStatRequest.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_

+ 37 - 43
push/include/alibabacloud/push/model/RemoveTagRequest.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_

+ 43 - 49
push/include/alibabacloud/push/model/UnbindAliasRequest.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_

+ 37 - 43
push/include/alibabacloud/push/model/UnbindPhoneRequest.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_

+ 43 - 49
push/include/alibabacloud/push/model/UnbindTagRequest.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_

+ 36 - 46
push/src/model/BindAliasRequest.cc

@@ -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);
+}
+
+BindAliasRequest::~BindAliasRequest() {}
+
+std::string BindAliasRequest::getDeviceId() const {
+  return deviceId_;
 }
 
-void BindAliasRequest::setDeviceId(const std::string& deviceId)
-{
-	deviceId_ = deviceId;
-	setParameter("DeviceId", deviceId);
+void BindAliasRequest::setDeviceId(const std::string &deviceId) {
+  deviceId_ = deviceId;
+  setParameter(std::string("DeviceId"), deviceId);
 }
 
-std::string BindAliasRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string BindAliasRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void BindAliasRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void BindAliasRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string BindAliasRequest::getAliasName()const
-{
-	return aliasName_;
+std::string BindAliasRequest::getAliasName() const {
+  return aliasName_;
 }
 
-void BindAliasRequest::setAliasName(const std::string& aliasName)
-{
-	aliasName_ = aliasName;
-	setParameter("AliasName", aliasName);
+void BindAliasRequest::setAliasName(const std::string &aliasName) {
+  aliasName_ = aliasName;
+  setParameter(std::string("AliasName"), aliasName);
 }
 
-long BindAliasRequest::getAppKey()const
-{
-	return appKey_;
+long BindAliasRequest::getAppKey() const {
+  return appKey_;
 }
 
-void BindAliasRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void BindAliasRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 36 - 46
push/src/model/BindPhoneRequest.cc

@@ -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);
+}
+
+BindPhoneRequest::~BindPhoneRequest() {}
+
+std::string BindPhoneRequest::getPhoneNumber() const {
+  return phoneNumber_;
 }
 
-void BindPhoneRequest::setPhoneNumber(const std::string& phoneNumber)
-{
-	phoneNumber_ = phoneNumber;
-	setParameter("PhoneNumber", phoneNumber);
+void BindPhoneRequest::setPhoneNumber(const std::string &phoneNumber) {
+  phoneNumber_ = phoneNumber;
+  setParameter(std::string("PhoneNumber"), phoneNumber);
 }
 
-std::string BindPhoneRequest::getDeviceId()const
-{
-	return deviceId_;
+std::string BindPhoneRequest::getDeviceId() const {
+  return deviceId_;
 }
 
-void BindPhoneRequest::setDeviceId(const std::string& deviceId)
-{
-	deviceId_ = deviceId;
-	setParameter("DeviceId", deviceId);
+void BindPhoneRequest::setDeviceId(const std::string &deviceId) {
+  deviceId_ = deviceId;
+  setParameter(std::string("DeviceId"), deviceId);
 }
 
-std::string BindPhoneRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string BindPhoneRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void BindPhoneRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void BindPhoneRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long BindPhoneRequest::getAppKey()const
-{
-	return appKey_;
+long BindPhoneRequest::getAppKey() const {
+  return appKey_;
 }
 
-void BindPhoneRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void BindPhoneRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 41 - 53
push/src/model/BindTagRequest.cc

@@ -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);
+}
+
+BindTagRequest::~BindTagRequest() {}
+
+std::string BindTagRequest::getKeyType() const {
+  return keyType_;
 }
 
-void BindTagRequest::setKeyType(const std::string& keyType)
-{
-	keyType_ = keyType;
-	setParameter("KeyType", keyType);
+void BindTagRequest::setKeyType(const std::string &keyType) {
+  keyType_ = keyType;
+  setParameter(std::string("KeyType"), keyType);
 }
 
-std::string BindTagRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string BindTagRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void BindTagRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void BindTagRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string BindTagRequest::getTagName()const
-{
-	return tagName_;
+std::string BindTagRequest::getTagName() const {
+  return tagName_;
 }
 
-void BindTagRequest::setTagName(const std::string& tagName)
-{
-	tagName_ = tagName;
-	setParameter("TagName", tagName);
+void BindTagRequest::setTagName(const std::string &tagName) {
+  tagName_ = tagName;
+  setParameter(std::string("TagName"), tagName);
 }
 
-std::string BindTagRequest::getClientKey()const
-{
-	return clientKey_;
+std::string BindTagRequest::getClientKey() const {
+  return clientKey_;
 }
 
-void BindTagRequest::setClientKey(const std::string& clientKey)
-{
-	clientKey_ = clientKey;
-	setParameter("ClientKey", clientKey);
+void BindTagRequest::setClientKey(const std::string &clientKey) {
+  clientKey_ = clientKey;
+  setParameter(std::string("ClientKey"), clientKey);
 }
 
-long BindTagRequest::getAppKey()const
-{
-	return appKey_;
+long BindTagRequest::getAppKey() const {
+  return appKey_;
 }
 
-void BindTagRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void BindTagRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 31 - 39
push/src/model/CancelPushRequest.cc

@@ -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);
+}
+
+CancelPushRequest::~CancelPushRequest() {}
+
+long CancelPushRequest::getMessageId() const {
+  return messageId_;
 }
 
-void CancelPushRequest::setMessageId(long messageId)
-{
-	messageId_ = messageId;
-	setParameter("MessageId", std::to_string(messageId));
+void CancelPushRequest::setMessageId(long messageId) {
+  messageId_ = messageId;
+  setParameter(std::string("MessageId"), std::to_string(messageId));
 }
 
-std::string CancelPushRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string CancelPushRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void CancelPushRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void CancelPushRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long CancelPushRequest::getAppKey()const
-{
-	return appKey_;
+long CancelPushRequest::getAppKey() const {
+  return appKey_;
 }
 
-void CancelPushRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void CancelPushRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 26 - 32
push/src/model/CheckCertificateRequest.cc

@@ -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);
+}
+
+CheckCertificateRequest::~CheckCertificateRequest() {}
+
+std::string CheckCertificateRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void CheckCertificateRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void CheckCertificateRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long CheckCertificateRequest::getAppKey()const
-{
-	return appKey_;
+long CheckCertificateRequest::getAppKey() const {
+  return appKey_;
 }
 
-void CheckCertificateRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void CheckCertificateRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 4 - 4
push/src/model/CheckCertificateResult.cc

@@ -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())

+ 31 - 39
push/src/model/CheckDeviceRequest.cc

@@ -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);
+}
+
+CheckDeviceRequest::~CheckDeviceRequest() {}
+
+std::string CheckDeviceRequest::getDeviceId() const {
+  return deviceId_;
 }
 
-void CheckDeviceRequest::setDeviceId(const std::string& deviceId)
-{
-	deviceId_ = deviceId;
-	setParameter("DeviceId", deviceId);
+void CheckDeviceRequest::setDeviceId(const std::string &deviceId) {
+  deviceId_ = deviceId;
+  setParameter(std::string("DeviceId"), deviceId);
 }
 
-std::string CheckDeviceRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string CheckDeviceRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void CheckDeviceRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void CheckDeviceRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long CheckDeviceRequest::getAppKey()const
-{
-	return appKey_;
+long CheckDeviceRequest::getAppKey() const {
+  return appKey_;
 }
 
-void CheckDeviceRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void CheckDeviceRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 31 - 39
push/src/model/CheckDevicesRequest.cc

@@ -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);
+}
+
+CheckDevicesRequest::~CheckDevicesRequest() {}
+
+std::string CheckDevicesRequest::getDeviceIds() const {
+  return deviceIds_;
 }
 
-void CheckDevicesRequest::setDeviceIds(const std::string& deviceIds)
-{
-	deviceIds_ = deviceIds;
-	setParameter("DeviceIds", deviceIds);
+void CheckDevicesRequest::setDeviceIds(const std::string &deviceIds) {
+  deviceIds_ = deviceIds;
+  setParameter(std::string("DeviceIds"), deviceIds);
 }
 
-std::string CheckDevicesRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string CheckDevicesRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void CheckDevicesRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void CheckDevicesRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long CheckDevicesRequest::getAppKey()const
-{
-	return appKey_;
+long CheckDevicesRequest::getAppKey() const {
+  return appKey_;
 }
 
-void CheckDevicesRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void CheckDevicesRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 31 - 39
push/src/model/CompleteContinuouslyPushRequest.cc

@@ -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);
+}
+
+CompleteContinuouslyPushRequest::~CompleteContinuouslyPushRequest() {}
+
+std::string CompleteContinuouslyPushRequest::getMessageId() const {
+  return messageId_;
 }
 
-void CompleteContinuouslyPushRequest::setMessageId(const std::string& messageId)
-{
-	messageId_ = messageId;
-	setParameter("MessageId", messageId);
+void CompleteContinuouslyPushRequest::setMessageId(const std::string &messageId) {
+  messageId_ = messageId;
+  setParameter(std::string("MessageId"), messageId);
 }
 
-std::string CompleteContinuouslyPushRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string CompleteContinuouslyPushRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void CompleteContinuouslyPushRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void CompleteContinuouslyPushRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long CompleteContinuouslyPushRequest::getAppKey()const
-{
-	return appKey_;
+long CompleteContinuouslyPushRequest::getAppKey() const {
+  return appKey_;
 }
 
-void CompleteContinuouslyPushRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void CompleteContinuouslyPushRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 41 - 53
push/src/model/ContinuouslyPushRequest.cc

@@ -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);
+}
+
+ContinuouslyPushRequest::~ContinuouslyPushRequest() {}
+
+std::string ContinuouslyPushRequest::getMessageId() const {
+  return messageId_;
 }
 
-void ContinuouslyPushRequest::setMessageId(const std::string& messageId)
-{
-	messageId_ = messageId;
-	setParameter("MessageId", messageId);
+void ContinuouslyPushRequest::setMessageId(const std::string &messageId) {
+  messageId_ = messageId;
+  setParameter(std::string("MessageId"), messageId);
 }
 
-std::string ContinuouslyPushRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string ContinuouslyPushRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void ContinuouslyPushRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void ContinuouslyPushRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string ContinuouslyPushRequest::getTarget()const
-{
-	return target_;
+std::string ContinuouslyPushRequest::getTarget() const {
+  return target_;
 }
 
-void ContinuouslyPushRequest::setTarget(const std::string& target)
-{
-	target_ = target;
-	setParameter("Target", target);
+void ContinuouslyPushRequest::setTarget(const std::string &target) {
+  target_ = target;
+  setParameter(std::string("Target"), target);
 }
 
-long ContinuouslyPushRequest::getAppKey()const
-{
-	return appKey_;
+long ContinuouslyPushRequest::getAppKey() const {
+  return appKey_;
 }
 
-void ContinuouslyPushRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void ContinuouslyPushRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 
-std::string ContinuouslyPushRequest::getTargetValue()const
-{
-	return targetValue_;
+std::string ContinuouslyPushRequest::getTargetValue() const {
+  return targetValue_;
 }
 
-void ContinuouslyPushRequest::setTargetValue(const std::string& targetValue)
-{
-	targetValue_ = targetValue;
-	setParameter("TargetValue", targetValue);
+void ContinuouslyPushRequest::setTargetValue(const std::string &targetValue) {
+  targetValue_ = targetValue;
+  setParameter(std::string("TargetValue"), targetValue);
 }
 

+ 21 - 25
push/src/model/ListSummaryAppsRequest.cc

@@ -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);
+}
+
+ListSummaryAppsRequest::~ListSummaryAppsRequest() {}
+
+std::string ListSummaryAppsRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void ListSummaryAppsRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void ListSummaryAppsRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 

+ 26 - 32
push/src/model/ListTagsRequest.cc

@@ -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);
+}
+
+ListTagsRequest::~ListTagsRequest() {}
+
+std::string ListTagsRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void ListTagsRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void ListTagsRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long ListTagsRequest::getAppKey()const
-{
-	return appKey_;
+long ListTagsRequest::getAppKey() const {
+  return appKey_;
 }
 
-void ListTagsRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void ListTagsRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 93 - 97
push/src/model/MassPushRequest.cc

@@ -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);
+}
+
+MassPushRequest::~MassPushRequest() {}
+
+std::string MassPushRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void MassPushRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void MassPushRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::vector<MassPushRequest::PushTask> MassPushRequest::getPushTask()const
-{
-	return pushTask_;
+std::vector<MassPushRequest::PushTask> MassPushRequest::getPushTask() const {
+  return pushTask_;
 }
 
-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);
-	}
+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);
+  }
 }
 
-long MassPushRequest::getAppKey()const
-{
-	return appKey_;
+long MassPushRequest::getAppKey() const {
+  return appKey_;
 }
 
-void MassPushRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void MassPushRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 51 - 67
push/src/model/PushMessageToAndroidRequest.cc

@@ -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);
+}
+
+PushMessageToAndroidRequest::~PushMessageToAndroidRequest() {}
+
+std::string PushMessageToAndroidRequest::getTitle() const {
+  return title_;
 }
 
-void PushMessageToAndroidRequest::setTitle(const std::string& title)
-{
-	title_ = title;
-	setParameter("Title", title);
+void PushMessageToAndroidRequest::setTitle(const std::string &title) {
+  title_ = title;
+  setParameter(std::string("Title"), title);
 }
 
-std::string PushMessageToAndroidRequest::getBody()const
-{
-	return body_;
+std::string PushMessageToAndroidRequest::getBody() const {
+  return body_;
 }
 
-void PushMessageToAndroidRequest::setBody(const std::string& body)
-{
-	body_ = body;
-	setParameter("Body", body);
+void PushMessageToAndroidRequest::setBody(const std::string &body) {
+  body_ = body;
+  setParameter(std::string("Body"), body);
 }
 
-std::string PushMessageToAndroidRequest::getJobKey()const
-{
-	return jobKey_;
+std::string PushMessageToAndroidRequest::getJobKey() const {
+  return jobKey_;
 }
 
-void PushMessageToAndroidRequest::setJobKey(const std::string& jobKey)
-{
-	jobKey_ = jobKey;
-	setParameter("JobKey", jobKey);
+void PushMessageToAndroidRequest::setJobKey(const std::string &jobKey) {
+  jobKey_ = jobKey;
+  setParameter(std::string("JobKey"), jobKey);
 }
 
-std::string PushMessageToAndroidRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string PushMessageToAndroidRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void PushMessageToAndroidRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void PushMessageToAndroidRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string PushMessageToAndroidRequest::getTarget()const
-{
-	return target_;
+std::string PushMessageToAndroidRequest::getTarget() const {
+  return target_;
 }
 
-void PushMessageToAndroidRequest::setTarget(const std::string& target)
-{
-	target_ = target;
-	setParameter("Target", target);
+void PushMessageToAndroidRequest::setTarget(const std::string &target) {
+  target_ = target;
+  setParameter(std::string("Target"), target);
 }
 
-long PushMessageToAndroidRequest::getAppKey()const
-{
-	return appKey_;
+long PushMessageToAndroidRequest::getAppKey() const {
+  return appKey_;
 }
 
-void PushMessageToAndroidRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void PushMessageToAndroidRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 
-std::string PushMessageToAndroidRequest::getTargetValue()const
-{
-	return targetValue_;
+std::string PushMessageToAndroidRequest::getTargetValue() const {
+  return targetValue_;
 }
 
-void PushMessageToAndroidRequest::setTargetValue(const std::string& targetValue)
-{
-	targetValue_ = targetValue;
-	setParameter("TargetValue", targetValue);
+void PushMessageToAndroidRequest::setTargetValue(const std::string &targetValue) {
+  targetValue_ = targetValue;
+  setParameter(std::string("TargetValue"), targetValue);
 }
 

+ 51 - 67
push/src/model/PushMessageToiOSRequest.cc

@@ -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);
+}
+
+PushMessageToiOSRequest::~PushMessageToiOSRequest() {}
+
+std::string PushMessageToiOSRequest::getTitle() const {
+  return title_;
 }
 
-void PushMessageToiOSRequest::setTitle(const std::string& title)
-{
-	title_ = title;
-	setParameter("Title", title);
+void PushMessageToiOSRequest::setTitle(const std::string &title) {
+  title_ = title;
+  setParameter(std::string("Title"), title);
 }
 
-std::string PushMessageToiOSRequest::getBody()const
-{
-	return body_;
+std::string PushMessageToiOSRequest::getBody() const {
+  return body_;
 }
 
-void PushMessageToiOSRequest::setBody(const std::string& body)
-{
-	body_ = body;
-	setParameter("Body", body);
+void PushMessageToiOSRequest::setBody(const std::string &body) {
+  body_ = body;
+  setParameter(std::string("Body"), body);
 }
 
-std::string PushMessageToiOSRequest::getJobKey()const
-{
-	return jobKey_;
+std::string PushMessageToiOSRequest::getJobKey() const {
+  return jobKey_;
 }
 
-void PushMessageToiOSRequest::setJobKey(const std::string& jobKey)
-{
-	jobKey_ = jobKey;
-	setParameter("JobKey", jobKey);
+void PushMessageToiOSRequest::setJobKey(const std::string &jobKey) {
+  jobKey_ = jobKey;
+  setParameter(std::string("JobKey"), jobKey);
 }
 
-std::string PushMessageToiOSRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string PushMessageToiOSRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void PushMessageToiOSRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void PushMessageToiOSRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string PushMessageToiOSRequest::getTarget()const
-{
-	return target_;
+std::string PushMessageToiOSRequest::getTarget() const {
+  return target_;
 }
 
-void PushMessageToiOSRequest::setTarget(const std::string& target)
-{
-	target_ = target;
-	setParameter("Target", target);
+void PushMessageToiOSRequest::setTarget(const std::string &target) {
+  target_ = target;
+  setParameter(std::string("Target"), target);
 }
 
-long PushMessageToiOSRequest::getAppKey()const
-{
-	return appKey_;
+long PushMessageToiOSRequest::getAppKey() const {
+  return appKey_;
 }
 
-void PushMessageToiOSRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void PushMessageToiOSRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 
-std::string PushMessageToiOSRequest::getTargetValue()const
-{
-	return targetValue_;
+std::string PushMessageToiOSRequest::getTargetValue() const {
+  return targetValue_;
 }
 
-void PushMessageToiOSRequest::setTargetValue(const std::string& targetValue)
-{
-	targetValue_ = targetValue;
-	setParameter("TargetValue", targetValue);
+void PushMessageToiOSRequest::setTargetValue(const std::string &targetValue) {
+  targetValue_ = targetValue;
+  setParameter(std::string("TargetValue"), targetValue);
 }
 

+ 56 - 74
push/src/model/PushNoticeToAndroidRequest.cc

@@ -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);
+}
+
+PushNoticeToAndroidRequest::~PushNoticeToAndroidRequest() {}
+
+std::string PushNoticeToAndroidRequest::getExtParameters() const {
+  return extParameters_;
 }
 
-void PushNoticeToAndroidRequest::setExtParameters(const std::string& extParameters)
-{
-	extParameters_ = extParameters;
-	setParameter("ExtParameters", extParameters);
+void PushNoticeToAndroidRequest::setExtParameters(const std::string &extParameters) {
+  extParameters_ = extParameters;
+  setParameter(std::string("ExtParameters"), extParameters);
 }
 
-std::string PushNoticeToAndroidRequest::getTitle()const
-{
-	return title_;
+std::string PushNoticeToAndroidRequest::getTitle() const {
+  return title_;
 }
 
-void PushNoticeToAndroidRequest::setTitle(const std::string& title)
-{
-	title_ = title;
-	setParameter("Title", title);
+void PushNoticeToAndroidRequest::setTitle(const std::string &title) {
+  title_ = title;
+  setParameter(std::string("Title"), title);
 }
 
-std::string PushNoticeToAndroidRequest::getBody()const
-{
-	return body_;
+std::string PushNoticeToAndroidRequest::getBody() const {
+  return body_;
 }
 
-void PushNoticeToAndroidRequest::setBody(const std::string& body)
-{
-	body_ = body;
-	setParameter("Body", body);
+void PushNoticeToAndroidRequest::setBody(const std::string &body) {
+  body_ = body;
+  setParameter(std::string("Body"), body);
 }
 
-std::string PushNoticeToAndroidRequest::getJobKey()const
-{
-	return jobKey_;
+std::string PushNoticeToAndroidRequest::getJobKey() const {
+  return jobKey_;
 }
 
-void PushNoticeToAndroidRequest::setJobKey(const std::string& jobKey)
-{
-	jobKey_ = jobKey;
-	setParameter("JobKey", jobKey);
+void PushNoticeToAndroidRequest::setJobKey(const std::string &jobKey) {
+  jobKey_ = jobKey;
+  setParameter(std::string("JobKey"), jobKey);
 }
 
-std::string PushNoticeToAndroidRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string PushNoticeToAndroidRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void PushNoticeToAndroidRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void PushNoticeToAndroidRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string PushNoticeToAndroidRequest::getTarget()const
-{
-	return target_;
+std::string PushNoticeToAndroidRequest::getTarget() const {
+  return target_;
 }
 
-void PushNoticeToAndroidRequest::setTarget(const std::string& target)
-{
-	target_ = target;
-	setParameter("Target", target);
+void PushNoticeToAndroidRequest::setTarget(const std::string &target) {
+  target_ = target;
+  setParameter(std::string("Target"), target);
 }
 
-long PushNoticeToAndroidRequest::getAppKey()const
-{
-	return appKey_;
+long PushNoticeToAndroidRequest::getAppKey() const {
+  return appKey_;
 }
 
-void PushNoticeToAndroidRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void PushNoticeToAndroidRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 
-std::string PushNoticeToAndroidRequest::getTargetValue()const
-{
-	return targetValue_;
+std::string PushNoticeToAndroidRequest::getTargetValue() const {
+  return targetValue_;
 }
 
-void PushNoticeToAndroidRequest::setTargetValue(const std::string& targetValue)
-{
-	targetValue_ = targetValue;
-	setParameter("TargetValue", targetValue);
+void PushNoticeToAndroidRequest::setTargetValue(const std::string &targetValue) {
+  targetValue_ = targetValue;
+  setParameter(std::string("TargetValue"), targetValue);
 }
 

+ 61 - 81
push/src/model/PushNoticeToiOSRequest.cc

@@ -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);
+}
+
+PushNoticeToiOSRequest::~PushNoticeToiOSRequest() {}
+
+std::string PushNoticeToiOSRequest::getExtParameters() const {
+  return extParameters_;
 }
 
-void PushNoticeToiOSRequest::setExtParameters(const std::string& extParameters)
-{
-	extParameters_ = extParameters;
-	setParameter("ExtParameters", extParameters);
+void PushNoticeToiOSRequest::setExtParameters(const std::string &extParameters) {
+  extParameters_ = extParameters;
+  setParameter(std::string("ExtParameters"), extParameters);
 }
 
-std::string PushNoticeToiOSRequest::getApnsEnv()const
-{
-	return apnsEnv_;
+std::string PushNoticeToiOSRequest::getApnsEnv() const {
+  return apnsEnv_;
 }
 
-void PushNoticeToiOSRequest::setApnsEnv(const std::string& apnsEnv)
-{
-	apnsEnv_ = apnsEnv;
-	setParameter("ApnsEnv", apnsEnv);
+void PushNoticeToiOSRequest::setApnsEnv(const std::string &apnsEnv) {
+  apnsEnv_ = apnsEnv;
+  setParameter(std::string("ApnsEnv"), apnsEnv);
 }
 
-std::string PushNoticeToiOSRequest::getTitle()const
-{
-	return title_;
+std::string PushNoticeToiOSRequest::getTitle() const {
+  return title_;
 }
 
-void PushNoticeToiOSRequest::setTitle(const std::string& title)
-{
-	title_ = title;
-	setParameter("Title", title);
+void PushNoticeToiOSRequest::setTitle(const std::string &title) {
+  title_ = title;
+  setParameter(std::string("Title"), title);
 }
 
-std::string PushNoticeToiOSRequest::getBody()const
-{
-	return body_;
+std::string PushNoticeToiOSRequest::getBody() const {
+  return body_;
 }
 
-void PushNoticeToiOSRequest::setBody(const std::string& body)
-{
-	body_ = body;
-	setParameter("Body", body);
+void PushNoticeToiOSRequest::setBody(const std::string &body) {
+  body_ = body;
+  setParameter(std::string("Body"), body);
 }
 
-std::string PushNoticeToiOSRequest::getJobKey()const
-{
-	return jobKey_;
+std::string PushNoticeToiOSRequest::getJobKey() const {
+  return jobKey_;
 }
 
-void PushNoticeToiOSRequest::setJobKey(const std::string& jobKey)
-{
-	jobKey_ = jobKey;
-	setParameter("JobKey", jobKey);
+void PushNoticeToiOSRequest::setJobKey(const std::string &jobKey) {
+  jobKey_ = jobKey;
+  setParameter(std::string("JobKey"), jobKey);
 }
 
-std::string PushNoticeToiOSRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string PushNoticeToiOSRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void PushNoticeToiOSRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void PushNoticeToiOSRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string PushNoticeToiOSRequest::getTarget()const
-{
-	return target_;
+std::string PushNoticeToiOSRequest::getTarget() const {
+  return target_;
 }
 
-void PushNoticeToiOSRequest::setTarget(const std::string& target)
-{
-	target_ = target;
-	setParameter("Target", target);
+void PushNoticeToiOSRequest::setTarget(const std::string &target) {
+  target_ = target;
+  setParameter(std::string("Target"), target);
 }
 
-long PushNoticeToiOSRequest::getAppKey()const
-{
-	return appKey_;
+long PushNoticeToiOSRequest::getAppKey() const {
+  return appKey_;
 }
 
-void PushNoticeToiOSRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void PushNoticeToiOSRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 
-std::string PushNoticeToiOSRequest::getTargetValue()const
-{
-	return targetValue_;
+std::string PushNoticeToiOSRequest::getTargetValue() const {
+  return targetValue_;
 }
 
-void PushNoticeToiOSRequest::setTargetValue(const std::string& targetValue)
-{
-	targetValue_ = targetValue;
-	setParameter("TargetValue", targetValue);
+void PushNoticeToiOSRequest::setTargetValue(const std::string &targetValue) {
+  targetValue_ = targetValue;
+  setParameter(std::string("TargetValue"), targetValue);
 }
 

+ 362 - 452
push/src/model/PushRequest.cc

@@ -1,711 +1,621 @@
 /*
  * 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/PushRequest.h>
-
-using AlibabaCloud::Push::Model::PushRequest;
-
-PushRequest::PushRequest() :
-	RpcServiceRequest("push", "2016-08-01", "Push")
-{
-	setMethod(HttpRequest::Method::Post);
-}
-
-PushRequest::~PushRequest()
-{}
-
-int PushRequest::getAndroidNotificationBarType()const
-{
-	return androidNotificationBarType_;
+ */
+
+#include <alibabacloud/push/model/PushRequest.h>
+
+using AlibabaCloud::Push::Model::PushRequest;
+
+PushRequest::PushRequest()
+    : RpcServiceRequest("push", "2016-08-01", "Push") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+PushRequest::~PushRequest() {}
+
+int PushRequest::getAndroidNotificationBarType() const {
+  return androidNotificationBarType_;
+}
+
+void PushRequest::setAndroidNotificationBarType(int androidNotificationBarType) {
+  androidNotificationBarType_ = androidNotificationBarType;
+  setParameter(std::string("AndroidNotificationBarType"), std::to_string(androidNotificationBarType));
+}
+
+int PushRequest::getSmsSendPolicy() const {
+  return smsSendPolicy_;
+}
+
+void PushRequest::setSmsSendPolicy(int smsSendPolicy) {
+  smsSendPolicy_ = smsSendPolicy;
+  setParameter(std::string("SmsSendPolicy"), std::to_string(smsSendPolicy));
+}
+
+std::string PushRequest::getBody() const {
+  return body_;
+}
+
+void PushRequest::setBody(const std::string &body) {
+  body_ = body;
+  setParameter(std::string("Body"), body);
+}
+
+std::string PushRequest::getDeviceType() const {
+  return deviceType_;
+}
+
+void PushRequest::setDeviceType(const std::string &deviceType) {
+  deviceType_ = deviceType;
+  setParameter(std::string("DeviceType"), deviceType);
+}
+
+std::string PushRequest::getPushTime() const {
+  return pushTime_;
 }
 
-void PushRequest::setAndroidNotificationBarType(int androidNotificationBarType)
-{
-	androidNotificationBarType_ = androidNotificationBarType;
-	setParameter("AndroidNotificationBarType", std::to_string(androidNotificationBarType));
+void PushRequest::setPushTime(const std::string &pushTime) {
+  pushTime_ = pushTime;
+  setParameter(std::string("PushTime"), pushTime);
 }
 
-int PushRequest::getSmsSendPolicy()const
-{
-	return smsSendPolicy_;
+int PushRequest::getSendSpeed() const {
+  return sendSpeed_;
 }
 
-void PushRequest::setSmsSendPolicy(int smsSendPolicy)
-{
-	smsSendPolicy_ = smsSendPolicy;
-	setParameter("SmsSendPolicy", std::to_string(smsSendPolicy));
+void PushRequest::setSendSpeed(int sendSpeed) {
+  sendSpeed_ = sendSpeed;
+  setParameter(std::string("SendSpeed"), std::to_string(sendSpeed));
 }
 
-std::string PushRequest::getBody()const
-{
-	return body_;
+std::string PushRequest::getAndroidNotificationHuaweiChannel() const {
+  return androidNotificationHuaweiChannel_;
 }
 
-void PushRequest::setBody(const std::string& body)
-{
-	body_ = body;
-	setParameter("Body", body);
+void PushRequest::setAndroidNotificationHuaweiChannel(const std::string &androidNotificationHuaweiChannel) {
+  androidNotificationHuaweiChannel_ = androidNotificationHuaweiChannel;
+  setParameter(std::string("AndroidNotificationHuaweiChannel"), androidNotificationHuaweiChannel);
 }
 
-std::string PushRequest::getDeviceType()const
-{
-	return deviceType_;
+std::string PushRequest::getAndroidPopupActivity() const {
+  return androidPopupActivity_;
 }
 
-void PushRequest::setDeviceType(const std::string& deviceType)
-{
-	deviceType_ = deviceType;
-	setParameter("DeviceType", deviceType);
+void PushRequest::setAndroidPopupActivity(const std::string &androidPopupActivity) {
+  androidPopupActivity_ = androidPopupActivity;
+  setParameter(std::string("AndroidPopupActivity"), androidPopupActivity);
 }
 
-std::string PushRequest::getPushTime()const
-{
-	return pushTime_;
+std::string PushRequest::getIOSRemindBody() const {
+  return iOSRemindBody_;
 }
 
-void PushRequest::setPushTime(const std::string& pushTime)
-{
-	pushTime_ = pushTime;
-	setParameter("PushTime", pushTime);
+void PushRequest::setIOSRemindBody(const std::string &iOSRemindBody) {
+  iOSRemindBody_ = iOSRemindBody;
+  setParameter(std::string("iOSRemindBody"), iOSRemindBody);
 }
 
-int PushRequest::getSendSpeed()const
-{
-	return sendSpeed_;
+bool PushRequest::getTrim() const {
+  return trim_;
 }
 
-void PushRequest::setSendSpeed(int sendSpeed)
-{
-	sendSpeed_ = sendSpeed;
-	setParameter("SendSpeed", std::to_string(sendSpeed));
+void PushRequest::setTrim(bool trim) {
+  trim_ = trim;
+  setParameter(std::string("Trim"), trim ? "true" : "false");
 }
 
-std::string PushRequest::getAndroidNotificationHuaweiChannel()const
-{
-	return androidNotificationHuaweiChannel_;
+std::string PushRequest::getAndroidNotifyType() const {
+  return androidNotifyType_;
 }
 
-void PushRequest::setAndroidNotificationHuaweiChannel(const std::string& androidNotificationHuaweiChannel)
-{
-	androidNotificationHuaweiChannel_ = androidNotificationHuaweiChannel;
-	setParameter("AndroidNotificationHuaweiChannel", androidNotificationHuaweiChannel);
+void PushRequest::setAndroidNotifyType(const std::string &androidNotifyType) {
+  androidNotifyType_ = androidNotifyType;
+  setParameter(std::string("AndroidNotifyType"), androidNotifyType);
 }
 
-std::string PushRequest::getAndroidPopupActivity()const
-{
-	return androidPopupActivity_;
+std::string PushRequest::getAndroidPopupTitle() const {
+  return androidPopupTitle_;
 }
 
-void PushRequest::setAndroidPopupActivity(const std::string& androidPopupActivity)
-{
-	androidPopupActivity_ = androidPopupActivity;
-	setParameter("AndroidPopupActivity", androidPopupActivity);
+void PushRequest::setAndroidPopupTitle(const std::string &androidPopupTitle) {
+  androidPopupTitle_ = androidPopupTitle;
+  setParameter(std::string("AndroidPopupTitle"), androidPopupTitle);
 }
 
-std::string PushRequest::getIOSRemindBody()const
-{
-	return iOSRemindBody_;
+std::string PushRequest::getAndroidMessageHuaweiCategory() const {
+  return androidMessageHuaweiCategory_;
 }
 
-void PushRequest::setIOSRemindBody(const std::string& iOSRemindBody)
-{
-	iOSRemindBody_ = iOSRemindBody;
-	setParameter("IOSRemindBody", iOSRemindBody);
+void PushRequest::setAndroidMessageHuaweiCategory(const std::string &androidMessageHuaweiCategory) {
+  androidMessageHuaweiCategory_ = androidMessageHuaweiCategory;
+  setParameter(std::string("AndroidMessageHuaweiCategory"), androidMessageHuaweiCategory);
 }
 
-std::string PushRequest::getAndroidNotifyType()const
-{
-	return androidNotifyType_;
+std::string PushRequest::getIOSMusic() const {
+  return iOSMusic_;
 }
 
-void PushRequest::setAndroidNotifyType(const std::string& androidNotifyType)
-{
-	androidNotifyType_ = androidNotifyType;
-	setParameter("AndroidNotifyType", androidNotifyType);
+void PushRequest::setIOSMusic(const std::string &iOSMusic) {
+  iOSMusic_ = iOSMusic;
+  setParameter(std::string("iOSMusic"), iOSMusic);
 }
 
-std::string PushRequest::getAndroidPopupTitle()const
-{
-	return androidPopupTitle_;
+std::string PushRequest::getIOSApnsEnv() const {
+  return iOSApnsEnv_;
 }
 
-void PushRequest::setAndroidPopupTitle(const std::string& androidPopupTitle)
-{
-	androidPopupTitle_ = androidPopupTitle;
-	setParameter("AndroidPopupTitle", androidPopupTitle);
+void PushRequest::setIOSApnsEnv(const std::string &iOSApnsEnv) {
+  iOSApnsEnv_ = iOSApnsEnv;
+  setParameter(std::string("iOSApnsEnv"), iOSApnsEnv);
 }
 
-std::string PushRequest::getAndroidMessageHuaweiCategory()const
-{
-	return androidMessageHuaweiCategory_;
+bool PushRequest::getIOSMutableContent() const {
+  return iOSMutableContent_;
 }
 
-void PushRequest::setAndroidMessageHuaweiCategory(const std::string& androidMessageHuaweiCategory)
-{
-	androidMessageHuaweiCategory_ = androidMessageHuaweiCategory;
-	setParameter("AndroidMessageHuaweiCategory", androidMessageHuaweiCategory);
+void PushRequest::setIOSMutableContent(bool iOSMutableContent) {
+  iOSMutableContent_ = iOSMutableContent;
+  setParameter(std::string("iOSMutableContent"), iOSMutableContent ? "true" : "false");
 }
 
-std::string PushRequest::getIOSMusic()const
-{
-	return iOSMusic_;
+int PushRequest::getAndroidNotificationBarPriority() const {
+  return androidNotificationBarPriority_;
 }
 
-void PushRequest::setIOSMusic(const std::string& iOSMusic)
-{
-	iOSMusic_ = iOSMusic;
-	setParameter("IOSMusic", iOSMusic);
+void PushRequest::setAndroidNotificationBarPriority(int androidNotificationBarPriority) {
+  androidNotificationBarPriority_ = androidNotificationBarPriority;
+  setParameter(std::string("AndroidNotificationBarPriority"), std::to_string(androidNotificationBarPriority));
 }
 
-std::string PushRequest::getIOSApnsEnv()const
-{
-	return iOSApnsEnv_;
+std::string PushRequest::getExpireTime() const {
+  return expireTime_;
 }
 
-void PushRequest::setIOSApnsEnv(const std::string& iOSApnsEnv)
-{
-	iOSApnsEnv_ = iOSApnsEnv;
-	setParameter("IOSApnsEnv", iOSApnsEnv);
+void PushRequest::setExpireTime(const std::string &expireTime) {
+  expireTime_ = expireTime;
+  setParameter(std::string("ExpireTime"), expireTime);
 }
 
-bool PushRequest::getIOSMutableContent()const
-{
-	return iOSMutableContent_;
+std::string PushRequest::getAndroidImageUrl() const {
+  return androidImageUrl_;
 }
 
-void PushRequest::setIOSMutableContent(bool iOSMutableContent)
-{
-	iOSMutableContent_ = iOSMutableContent;
-	setParameter("IOSMutableContent", iOSMutableContent ? "true" : "false");
+void PushRequest::setAndroidImageUrl(const std::string &androidImageUrl) {
+  androidImageUrl_ = androidImageUrl;
+  setParameter(std::string("AndroidImageUrl"), androidImageUrl);
 }
 
-int PushRequest::getAndroidNotificationBarPriority()const
-{
-	return androidNotificationBarPriority_;
+std::string PushRequest::getAndroidNotificationVivoChannel() const {
+  return androidNotificationVivoChannel_;
 }
 
-void PushRequest::setAndroidNotificationBarPriority(int androidNotificationBarPriority)
-{
-	androidNotificationBarPriority_ = androidNotificationBarPriority;
-	setParameter("AndroidNotificationBarPriority", std::to_string(androidNotificationBarPriority));
+void PushRequest::setAndroidNotificationVivoChannel(const std::string &androidNotificationVivoChannel) {
+  androidNotificationVivoChannel_ = androidNotificationVivoChannel;
+  setParameter(std::string("AndroidNotificationVivoChannel"), androidNotificationVivoChannel);
 }
 
-std::string PushRequest::getExpireTime()const
-{
-	return expireTime_;
+std::string PushRequest::getIOSNotificationCategory() const {
+  return iOSNotificationCategory_;
 }
 
-void PushRequest::setExpireTime(const std::string& expireTime)
-{
-	expireTime_ = expireTime;
-	setParameter("ExpireTime", expireTime);
+void PushRequest::setIOSNotificationCategory(const std::string &iOSNotificationCategory) {
+  iOSNotificationCategory_ = iOSNotificationCategory;
+  setParameter(std::string("iOSNotificationCategory"), iOSNotificationCategory);
 }
 
-std::string PushRequest::getAndroidImageUrl()const
-{
-	return androidImageUrl_;
+std::string PushRequest::getAndroidNotificationXiaomiChannel() const {
+  return androidNotificationXiaomiChannel_;
 }
 
-void PushRequest::setAndroidImageUrl(const std::string& androidImageUrl)
-{
-	androidImageUrl_ = androidImageUrl;
-	setParameter("AndroidImageUrl", androidImageUrl);
+void PushRequest::setAndroidNotificationXiaomiChannel(const std::string &androidNotificationXiaomiChannel) {
+  androidNotificationXiaomiChannel_ = androidNotificationXiaomiChannel;
+  setParameter(std::string("AndroidNotificationXiaomiChannel"), androidNotificationXiaomiChannel);
 }
 
-std::string PushRequest::getAndroidNotificationVivoChannel()const
-{
-	return androidNotificationVivoChannel_;
+bool PushRequest::getStoreOffline() const {
+  return storeOffline_;
 }
 
-void PushRequest::setAndroidNotificationVivoChannel(const std::string& androidNotificationVivoChannel)
-{
-	androidNotificationVivoChannel_ = androidNotificationVivoChannel;
-	setParameter("AndroidNotificationVivoChannel", androidNotificationVivoChannel);
+void PushRequest::setStoreOffline(bool storeOffline) {
+  storeOffline_ = storeOffline;
+  setParameter(std::string("StoreOffline"), storeOffline ? "true" : "false");
 }
 
-std::string PushRequest::getIOSNotificationCategory()const
-{
-	return iOSNotificationCategory_;
+std::string PushRequest::getSmsParams() const {
+  return smsParams_;
 }
 
-void PushRequest::setIOSNotificationCategory(const std::string& iOSNotificationCategory)
-{
-	iOSNotificationCategory_ = iOSNotificationCategory;
-	setParameter("IOSNotificationCategory", iOSNotificationCategory);
+void PushRequest::setSmsParams(const std::string &smsParams) {
+  smsParams_ = smsParams;
+  setParameter(std::string("SmsParams"), smsParams);
 }
 
-std::string PushRequest::getAndroidNotificationXiaomiChannel()const
-{
-	return androidNotificationXiaomiChannel_;
+double PushRequest::getIOSRelevanceScore() const {
+  return iOSRelevanceScore_;
 }
 
-void PushRequest::setAndroidNotificationXiaomiChannel(const std::string& androidNotificationXiaomiChannel)
-{
-	androidNotificationXiaomiChannel_ = androidNotificationXiaomiChannel;
-	setParameter("AndroidNotificationXiaomiChannel", androidNotificationXiaomiChannel);
+void PushRequest::setIOSRelevanceScore(double iOSRelevanceScore) {
+  iOSRelevanceScore_ = iOSRelevanceScore;
+  setParameter(std::string("iOSRelevanceScore"), std::to_string(iOSRelevanceScore));
 }
 
-bool PushRequest::getStoreOffline()const
-{
-	return storeOffline_;
+int PushRequest::getAndroidVivoPushMode() const {
+  return androidVivoPushMode_;
 }
 
-void PushRequest::setStoreOffline(bool storeOffline)
-{
-	storeOffline_ = storeOffline;
-	setParameter("StoreOffline", storeOffline ? "true" : "false");
+void PushRequest::setAndroidVivoPushMode(int androidVivoPushMode) {
+  androidVivoPushMode_ = androidVivoPushMode;
+  setParameter(std::string("AndroidVivoPushMode"), std::to_string(androidVivoPushMode));
 }
 
-std::string PushRequest::getSmsParams()const
-{
-	return smsParams_;
+std::string PushRequest::getAndroidInboxBody() const {
+  return androidInboxBody_;
 }
 
-void PushRequest::setSmsParams(const std::string& smsParams)
-{
-	smsParams_ = smsParams;
-	setParameter("SmsParams", smsParams);
+void PushRequest::setAndroidInboxBody(const std::string &androidInboxBody) {
+  androidInboxBody_ = androidInboxBody;
+  setParameter(std::string("AndroidInboxBody"), androidInboxBody);
 }
 
-std::string PushRequest::getAndroidInboxBody()const
-{
-	return androidInboxBody_;
+std::string PushRequest::getJobKey() const {
+  return jobKey_;
 }
 
-void PushRequest::setAndroidInboxBody(const std::string& androidInboxBody)
-{
-	androidInboxBody_ = androidInboxBody;
-	setParameter("AndroidInboxBody", androidInboxBody);
+void PushRequest::setJobKey(const std::string &jobKey) {
+  jobKey_ = jobKey;
+  setParameter(std::string("JobKey"), jobKey);
 }
 
-std::string PushRequest::getJobKey()const
-{
-	return jobKey_;
+std::string PushRequest::getAndroidOpenUrl() const {
+  return androidOpenUrl_;
 }
 
-void PushRequest::setJobKey(const std::string& jobKey)
-{
-	jobKey_ = jobKey;
-	setParameter("JobKey", jobKey);
+void PushRequest::setAndroidOpenUrl(const std::string &androidOpenUrl) {
+  androidOpenUrl_ = androidOpenUrl;
+  setParameter(std::string("AndroidOpenUrl"), androidOpenUrl);
 }
 
-std::string PushRequest::getAndroidOpenUrl()const
-{
-	return androidOpenUrl_;
+std::string PushRequest::getAndroidXiaoMiNotifyBody() const {
+  return androidXiaoMiNotifyBody_;
 }
 
-void PushRequest::setAndroidOpenUrl(const std::string& androidOpenUrl)
-{
-	androidOpenUrl_ = androidOpenUrl;
-	setParameter("AndroidOpenUrl", androidOpenUrl);
+void PushRequest::setAndroidXiaoMiNotifyBody(const std::string &androidXiaoMiNotifyBody) {
+  androidXiaoMiNotifyBody_ = androidXiaoMiNotifyBody;
+  setParameter(std::string("AndroidXiaoMiNotifyBody"), androidXiaoMiNotifyBody);
 }
 
-std::string PushRequest::getAndroidXiaoMiNotifyBody()const
-{
-	return androidXiaoMiNotifyBody_;
+std::string PushRequest::getIOSSubtitle() const {
+  return iOSSubtitle_;
 }
 
-void PushRequest::setAndroidXiaoMiNotifyBody(const std::string& androidXiaoMiNotifyBody)
-{
-	androidXiaoMiNotifyBody_ = androidXiaoMiNotifyBody;
-	setParameter("AndroidXiaoMiNotifyBody", androidXiaoMiNotifyBody);
+void PushRequest::setIOSSubtitle(const std::string &iOSSubtitle) {
+  iOSSubtitle_ = iOSSubtitle;
+  setParameter(std::string("iOSSubtitle"), iOSSubtitle);
 }
 
-std::string PushRequest::getIOSSubtitle()const
-{
-	return iOSSubtitle_;
+std::string PushRequest::getAndroidXiaomiBigPictureUrl() const {
+  return androidXiaomiBigPictureUrl_;
 }
 
-void PushRequest::setIOSSubtitle(const std::string& iOSSubtitle)
-{
-	iOSSubtitle_ = iOSSubtitle;
-	setParameter("IOSSubtitle", iOSSubtitle);
+void PushRequest::setAndroidXiaomiBigPictureUrl(const std::string &androidXiaomiBigPictureUrl) {
+  androidXiaomiBigPictureUrl_ = androidXiaomiBigPictureUrl;
+  setParameter(std::string("AndroidXiaomiBigPictureUrl"), androidXiaomiBigPictureUrl);
 }
 
-std::string PushRequest::getAndroidXiaomiBigPictureUrl()const
-{
-	return androidXiaomiBigPictureUrl_;
+bool PushRequest::getIOSRemind() const {
+  return iOSRemind_;
 }
 
-void PushRequest::setAndroidXiaomiBigPictureUrl(const std::string& androidXiaomiBigPictureUrl)
-{
-	androidXiaomiBigPictureUrl_ = androidXiaomiBigPictureUrl;
-	setParameter("AndroidXiaomiBigPictureUrl", androidXiaomiBigPictureUrl);
+void PushRequest::setIOSRemind(bool iOSRemind) {
+  iOSRemind_ = iOSRemind;
+  setParameter(std::string("iOSRemind"), iOSRemind ? "true" : "false");
 }
 
-bool PushRequest::getIOSRemind()const
-{
-	return iOSRemind_;
+std::string PushRequest::getIOSNotificationThreadId() const {
+  return iOSNotificationThreadId_;
 }
 
-void PushRequest::setIOSRemind(bool iOSRemind)
-{
-	iOSRemind_ = iOSRemind;
-	setParameter("IOSRemind", iOSRemind ? "true" : "false");
+void PushRequest::setIOSNotificationThreadId(const std::string &iOSNotificationThreadId) {
+  iOSNotificationThreadId_ = iOSNotificationThreadId;
+  setParameter(std::string("iOSNotificationThreadId"), iOSNotificationThreadId);
 }
 
-std::string PushRequest::getIOSNotificationThreadId()const
-{
-	return iOSNotificationThreadId_;
+std::string PushRequest::getAndroidMusic() const {
+  return androidMusic_;
 }
 
-void PushRequest::setIOSNotificationThreadId(const std::string& iOSNotificationThreadId)
-{
-	iOSNotificationThreadId_ = iOSNotificationThreadId;
-	setParameter("IOSNotificationThreadId", iOSNotificationThreadId);
+void PushRequest::setAndroidMusic(const std::string &androidMusic) {
+  androidMusic_ = androidMusic;
+  setParameter(std::string("AndroidMusic"), androidMusic);
 }
 
-std::string PushRequest::getAndroidMusic()const
-{
-	return androidMusic_;
+std::string PushRequest::getIOSNotificationCollapseId() const {
+  return iOSNotificationCollapseId_;
 }
 
-void PushRequest::setAndroidMusic(const std::string& androidMusic)
-{
-	androidMusic_ = androidMusic;
-	setParameter("AndroidMusic", androidMusic);
+void PushRequest::setIOSNotificationCollapseId(const std::string &iOSNotificationCollapseId) {
+  iOSNotificationCollapseId_ = iOSNotificationCollapseId;
+  setParameter(std::string("iOSNotificationCollapseId"), iOSNotificationCollapseId);
 }
 
-std::string PushRequest::getIOSNotificationCollapseId()const
-{
-	return iOSNotificationCollapseId_;
+std::string PushRequest::getAndroidMessageHuaweiUrgency() const {
+  return androidMessageHuaweiUrgency_;
 }
 
-void PushRequest::setIOSNotificationCollapseId(const std::string& iOSNotificationCollapseId)
-{
-	iOSNotificationCollapseId_ = iOSNotificationCollapseId;
-	setParameter("IOSNotificationCollapseId", iOSNotificationCollapseId);
+void PushRequest::setAndroidMessageHuaweiUrgency(const std::string &androidMessageHuaweiUrgency) {
+  androidMessageHuaweiUrgency_ = androidMessageHuaweiUrgency;
+  setParameter(std::string("AndroidMessageHuaweiUrgency"), androidMessageHuaweiUrgency);
 }
 
-std::string PushRequest::getAndroidMessageHuaweiUrgency()const
-{
-	return androidMessageHuaweiUrgency_;
+std::string PushRequest::getPushType() const {
+  return pushType_;
 }
 
-void PushRequest::setAndroidMessageHuaweiUrgency(const std::string& androidMessageHuaweiUrgency)
-{
-	androidMessageHuaweiUrgency_ = androidMessageHuaweiUrgency;
-	setParameter("AndroidMessageHuaweiUrgency", androidMessageHuaweiUrgency);
+void PushRequest::setPushType(const std::string &pushType) {
+  pushType_ = pushType;
+  setParameter(std::string("PushType"), pushType);
 }
 
-std::string PushRequest::getPushType()const
-{
-	return pushType_;
+std::string PushRequest::getIOSInterruptionLevel() const {
+  return iOSInterruptionLevel_;
 }
 
-void PushRequest::setPushType(const std::string& pushType)
-{
-	pushType_ = pushType;
-	setParameter("PushType", pushType);
+void PushRequest::setIOSInterruptionLevel(const std::string &iOSInterruptionLevel) {
+  iOSInterruptionLevel_ = iOSInterruptionLevel;
+  setParameter(std::string("iOSInterruptionLevel"), iOSInterruptionLevel);
 }
 
-std::string PushRequest::getAndroidExtParameters()const
-{
-	return androidExtParameters_;
+std::string PushRequest::getAndroidExtParameters() const {
+  return androidExtParameters_;
 }
 
-void PushRequest::setAndroidExtParameters(const std::string& androidExtParameters)
-{
-	androidExtParameters_ = androidExtParameters;
-	setParameter("AndroidExtParameters", androidExtParameters);
+void PushRequest::setAndroidExtParameters(const std::string &androidExtParameters) {
+  androidExtParameters_ = androidExtParameters;
+  setParameter(std::string("AndroidExtParameters"), androidExtParameters);
 }
 
-int PushRequest::getIOSBadge()const
-{
-	return iOSBadge_;
+int PushRequest::getIOSBadge() const {
+  return iOSBadge_;
 }
 
-void PushRequest::setIOSBadge(int iOSBadge)
-{
-	iOSBadge_ = iOSBadge;
-	setParameter("IOSBadge", std::to_string(iOSBadge));
+void PushRequest::setIOSBadge(int iOSBadge) {
+  iOSBadge_ = iOSBadge;
+  setParameter(std::string("iOSBadge"), std::to_string(iOSBadge));
 }
 
-std::string PushRequest::getAndroidBigBody()const
-{
-	return androidBigBody_;
+std::string PushRequest::getAndroidBigBody() const {
+  return androidBigBody_;
 }
 
-void PushRequest::setAndroidBigBody(const std::string& androidBigBody)
-{
-	androidBigBody_ = androidBigBody;
-	setParameter("AndroidBigBody", androidBigBody);
+void PushRequest::setAndroidBigBody(const std::string &androidBigBody) {
+  androidBigBody_ = androidBigBody;
+  setParameter(std::string("AndroidBigBody"), androidBigBody);
 }
 
-bool PushRequest::getIOSBadgeAutoIncrement()const
-{
-	return iOSBadgeAutoIncrement_;
+bool PushRequest::getIOSBadgeAutoIncrement() const {
+  return iOSBadgeAutoIncrement_;
 }
 
-void PushRequest::setIOSBadgeAutoIncrement(bool iOSBadgeAutoIncrement)
-{
-	iOSBadgeAutoIncrement_ = iOSBadgeAutoIncrement;
-	setParameter("IOSBadgeAutoIncrement", iOSBadgeAutoIncrement ? "true" : "false");
+void PushRequest::setIOSBadgeAutoIncrement(bool iOSBadgeAutoIncrement) {
+  iOSBadgeAutoIncrement_ = iOSBadgeAutoIncrement;
+  setParameter(std::string("iOSBadgeAutoIncrement"), iOSBadgeAutoIncrement ? "true" : "false");
 }
 
-std::string PushRequest::getAndroidOpenType()const
-{
-	return androidOpenType_;
+std::string PushRequest::getAndroidOpenType() const {
+  return androidOpenType_;
 }
 
-void PushRequest::setAndroidOpenType(const std::string& androidOpenType)
-{
-	androidOpenType_ = androidOpenType;
-	setParameter("AndroidOpenType", androidOpenType);
+void PushRequest::setAndroidOpenType(const std::string &androidOpenType) {
+  androidOpenType_ = androidOpenType;
+  setParameter(std::string("AndroidOpenType"), androidOpenType);
 }
 
-std::string PushRequest::getTitle()const
-{
-	return title_;
+std::string PushRequest::getTitle() const {
+  return title_;
 }
 
-void PushRequest::setTitle(const std::string& title)
-{
-	title_ = title;
-	setParameter("Title", title);
+void PushRequest::setTitle(const std::string &title) {
+  title_ = title;
+  setParameter(std::string("Title"), title);
 }
 
-std::string PushRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string PushRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void PushRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void PushRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-int PushRequest::getSmsDelaySecs()const
-{
-	return smsDelaySecs_;
+int PushRequest::getSmsDelaySecs() const {
+  return smsDelaySecs_;
 }
 
-void PushRequest::setSmsDelaySecs(int smsDelaySecs)
-{
-	smsDelaySecs_ = smsDelaySecs;
-	setParameter("SmsDelaySecs", std::to_string(smsDelaySecs));
+void PushRequest::setSmsDelaySecs(int smsDelaySecs) {
+  smsDelaySecs_ = smsDelaySecs;
+  setParameter(std::string("SmsDelaySecs"), std::to_string(smsDelaySecs));
 }
 
-int PushRequest::getAndroidRenderStyle()const
-{
-	return androidRenderStyle_;
+int PushRequest::getAndroidRenderStyle() const {
+  return androidRenderStyle_;
 }
 
-void PushRequest::setAndroidRenderStyle(int androidRenderStyle)
-{
-	androidRenderStyle_ = androidRenderStyle;
-	setParameter("AndroidRenderStyle", std::to_string(androidRenderStyle));
+void PushRequest::setAndroidRenderStyle(int androidRenderStyle) {
+  androidRenderStyle_ = androidRenderStyle;
+  setParameter(std::string("AndroidRenderStyle"), std::to_string(androidRenderStyle));
 }
 
-std::string PushRequest::getIOSExtParameters()const
-{
-	return iOSExtParameters_;
+std::string PushRequest::getIOSExtParameters() const {
+  return iOSExtParameters_;
 }
 
-void PushRequest::setIOSExtParameters(const std::string& iOSExtParameters)
-{
-	iOSExtParameters_ = iOSExtParameters;
-	setParameter("IOSExtParameters", iOSExtParameters);
+void PushRequest::setIOSExtParameters(const std::string &iOSExtParameters) {
+  iOSExtParameters_ = iOSExtParameters;
+  setParameter(std::string("iOSExtParameters"), iOSExtParameters);
 }
 
-std::string PushRequest::getAndroidXiaomiImageUrl()const
-{
-	return androidXiaomiImageUrl_;
+std::string PushRequest::getAndroidXiaomiImageUrl() const {
+  return androidXiaomiImageUrl_;
 }
 
-void PushRequest::setAndroidXiaomiImageUrl(const std::string& androidXiaomiImageUrl)
-{
-	androidXiaomiImageUrl_ = androidXiaomiImageUrl;
-	setParameter("AndroidXiaomiImageUrl", androidXiaomiImageUrl);
+void PushRequest::setAndroidXiaomiImageUrl(const std::string &androidXiaomiImageUrl) {
+  androidXiaomiImageUrl_ = androidXiaomiImageUrl;
+  setParameter(std::string("AndroidXiaomiImageUrl"), androidXiaomiImageUrl);
 }
 
-std::string PushRequest::getSmsTemplateName()const
-{
-	return smsTemplateName_;
+std::string PushRequest::getSmsTemplateName() const {
+  return smsTemplateName_;
 }
 
-void PushRequest::setSmsTemplateName(const std::string& smsTemplateName)
-{
-	smsTemplateName_ = smsTemplateName;
-	setParameter("SmsTemplateName", smsTemplateName);
+void PushRequest::setSmsTemplateName(const std::string &smsTemplateName) {
+  smsTemplateName_ = smsTemplateName;
+  setParameter(std::string("SmsTemplateName"), smsTemplateName);
 }
 
-std::string PushRequest::getAndroidPopupBody()const
-{
-	return androidPopupBody_;
+std::string PushRequest::getAndroidPopupBody() const {
+  return androidPopupBody_;
 }
 
-void PushRequest::setAndroidPopupBody(const std::string& androidPopupBody)
-{
-	androidPopupBody_ = androidPopupBody;
-	setParameter("AndroidPopupBody", androidPopupBody);
+void PushRequest::setAndroidPopupBody(const std::string &androidPopupBody) {
+  androidPopupBody_ = androidPopupBody;
+  setParameter(std::string("AndroidPopupBody"), androidPopupBody);
 }
 
-std::string PushRequest::getAndroidBigPictureUrl()const
-{
-	return androidBigPictureUrl_;
+std::string PushRequest::getAndroidBigPictureUrl() const {
+  return androidBigPictureUrl_;
 }
 
-void PushRequest::setAndroidBigPictureUrl(const std::string& androidBigPictureUrl)
-{
-	androidBigPictureUrl_ = androidBigPictureUrl;
-	setParameter("AndroidBigPictureUrl", androidBigPictureUrl);
+void PushRequest::setAndroidBigPictureUrl(const std::string &androidBigPictureUrl) {
+  androidBigPictureUrl_ = androidBigPictureUrl;
+  setParameter(std::string("AndroidBigPictureUrl"), androidBigPictureUrl);
 }
 
-bool PushRequest::getIOSSilentNotification()const
-{
-	return iOSSilentNotification_;
+bool PushRequest::getIOSSilentNotification() const {
+  return iOSSilentNotification_;
 }
 
-void PushRequest::setIOSSilentNotification(bool iOSSilentNotification)
-{
-	iOSSilentNotification_ = iOSSilentNotification;
-	setParameter("IOSSilentNotification", iOSSilentNotification ? "true" : "false");
+void PushRequest::setIOSSilentNotification(bool iOSSilentNotification) {
+  iOSSilentNotification_ = iOSSilentNotification;
+  setParameter(std::string("iOSSilentNotification"), iOSSilentNotification ? "true" : "false");
 }
 
-std::string PushRequest::getSendChannels()const
-{
-	return sendChannels_;
+std::string PushRequest::getSendChannels() const {
+  return sendChannels_;
 }
 
-void PushRequest::setSendChannels(const std::string& sendChannels)
-{
-	sendChannels_ = sendChannels;
-	setParameter("SendChannels", sendChannels);
+void PushRequest::setSendChannels(const std::string &sendChannels) {
+  sendChannels_ = sendChannels;
+  setParameter(std::string("SendChannels"), sendChannels);
 }
 
-std::string PushRequest::getTarget()const
-{
-	return target_;
+std::string PushRequest::getTarget() const {
+  return target_;
 }
 
-void PushRequest::setTarget(const std::string& target)
-{
-	target_ = target;
-	setParameter("Target", target);
+void PushRequest::setTarget(const std::string &target) {
+  target_ = target;
+  setParameter(std::string("Target"), target);
 }
 
-std::string PushRequest::getAndroidBigTitle()const
-{
-	return androidBigTitle_;
+std::string PushRequest::getAndroidBigTitle() const {
+  return androidBigTitle_;
 }
 
-void PushRequest::setAndroidBigTitle(const std::string& androidBigTitle)
-{
-	androidBigTitle_ = androidBigTitle;
-	setParameter("AndroidBigTitle", androidBigTitle);
+void PushRequest::setAndroidBigTitle(const std::string &androidBigTitle) {
+  androidBigTitle_ = androidBigTitle;
+  setParameter(std::string("AndroidBigTitle"), androidBigTitle);
 }
 
-std::string PushRequest::getAndroidNotificationChannel()const
-{
-	return androidNotificationChannel_;
+std::string PushRequest::getAndroidNotificationChannel() const {
+  return androidNotificationChannel_;
 }
 
-void PushRequest::setAndroidNotificationChannel(const std::string& androidNotificationChannel)
-{
-	androidNotificationChannel_ = androidNotificationChannel;
-	setParameter("AndroidNotificationChannel", androidNotificationChannel);
+void PushRequest::setAndroidNotificationChannel(const std::string &androidNotificationChannel) {
+  androidNotificationChannel_ = androidNotificationChannel;
+  setParameter(std::string("AndroidNotificationChannel"), androidNotificationChannel);
 }
 
-bool PushRequest::getAndroidRemind()const
-{
-	return androidRemind_;
+bool PushRequest::getAndroidRemind() const {
+  return androidRemind_;
 }
 
-void PushRequest::setAndroidRemind(bool androidRemind)
-{
-	androidRemind_ = androidRemind;
-	setParameter("AndroidRemind", androidRemind ? "true" : "false");
+void PushRequest::setAndroidRemind(bool androidRemind) {
+  androidRemind_ = androidRemind;
+  setParameter(std::string("AndroidRemind"), androidRemind ? "true" : "false");
 }
 
-std::string PushRequest::getAndroidActivity()const
-{
-	return androidActivity_;
+std::string PushRequest::getAndroidActivity() const {
+  return androidActivity_;
 }
 
-void PushRequest::setAndroidActivity(const std::string& androidActivity)
-{
-	androidActivity_ = androidActivity;
-	setParameter("AndroidActivity", androidActivity);
+void PushRequest::setAndroidActivity(const std::string &androidActivity) {
+  androidActivity_ = androidActivity;
+  setParameter(std::string("AndroidActivity"), androidActivity);
 }
 
-std::string PushRequest::getSmsSignName()const
-{
-	return smsSignName_;
+std::string PushRequest::getSmsSignName() const {
+  return smsSignName_;
 }
 
-void PushRequest::setSmsSignName(const std::string& smsSignName)
-{
-	smsSignName_ = smsSignName;
-	setParameter("SmsSignName", smsSignName);
+void PushRequest::setSmsSignName(const std::string &smsSignName) {
+  smsSignName_ = smsSignName;
+  setParameter(std::string("SmsSignName"), smsSignName);
 }
 
-int PushRequest::getAndroidNotificationNotifyId()const
-{
-	return androidNotificationNotifyId_;
+int PushRequest::getAndroidNotificationNotifyId() const {
+  return androidNotificationNotifyId_;
 }
 
-void PushRequest::setAndroidNotificationNotifyId(int androidNotificationNotifyId)
-{
-	androidNotificationNotifyId_ = androidNotificationNotifyId;
-	setParameter("AndroidNotificationNotifyId", std::to_string(androidNotificationNotifyId));
+void PushRequest::setAndroidNotificationNotifyId(int androidNotificationNotifyId) {
+  androidNotificationNotifyId_ = androidNotificationNotifyId;
+  setParameter(std::string("AndroidNotificationNotifyId"), std::to_string(androidNotificationNotifyId));
 }
 
-long PushRequest::getAppKey()const
-{
-	return appKey_;
+long PushRequest::getAppKey() const {
+  return appKey_;
 }
 
-void PushRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void PushRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 
-std::string PushRequest::getTargetValue()const
-{
-	return targetValue_;
+std::string PushRequest::getTargetValue() const {
+  return targetValue_;
 }
 
-void PushRequest::setTargetValue(const std::string& targetValue)
-{
-	targetValue_ = targetValue;
-	setParameter("TargetValue", targetValue);
+void PushRequest::setTargetValue(const std::string &targetValue) {
+  targetValue_ = targetValue;
+  setParameter(std::string("TargetValue"), targetValue);
 }
 
-std::string PushRequest::getAndroidXiaoMiActivity()const
-{
-	return androidXiaoMiActivity_;
+std::string PushRequest::getAndroidXiaoMiActivity() const {
+  return androidXiaoMiActivity_;
 }
 
-void PushRequest::setAndroidXiaoMiActivity(const std::string& androidXiaoMiActivity)
-{
-	androidXiaoMiActivity_ = androidXiaoMiActivity;
-	setParameter("AndroidXiaoMiActivity", androidXiaoMiActivity);
+void PushRequest::setAndroidXiaoMiActivity(const std::string &androidXiaoMiActivity) {
+  androidXiaoMiActivity_ = androidXiaoMiActivity;
+  setParameter(std::string("AndroidXiaoMiActivity"), androidXiaoMiActivity);
 }
 
-std::string PushRequest::getAndroidXiaoMiNotifyTitle()const
-{
-	return androidXiaoMiNotifyTitle_;
+std::string PushRequest::getAndroidXiaoMiNotifyTitle() const {
+  return androidXiaoMiNotifyTitle_;
 }
 
-void PushRequest::setAndroidXiaoMiNotifyTitle(const std::string& androidXiaoMiNotifyTitle)
-{
-	androidXiaoMiNotifyTitle_ = androidXiaoMiNotifyTitle;
-	setParameter("AndroidXiaoMiNotifyTitle", androidXiaoMiNotifyTitle);
+void PushRequest::setAndroidXiaoMiNotifyTitle(const std::string &androidXiaoMiNotifyTitle) {
+  androidXiaoMiNotifyTitle_ = androidXiaoMiNotifyTitle;
+  setParameter(std::string("AndroidXiaoMiNotifyTitle"), androidXiaoMiNotifyTitle);
 }
 

+ 31 - 39
push/src/model/QueryAliasesRequest.cc

@@ -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);
+}
+
+QueryAliasesRequest::~QueryAliasesRequest() {}
+
+std::string QueryAliasesRequest::getDeviceId() const {
+  return deviceId_;
 }
 
-void QueryAliasesRequest::setDeviceId(const std::string& deviceId)
-{
-	deviceId_ = deviceId;
-	setParameter("DeviceId", deviceId);
+void QueryAliasesRequest::setDeviceId(const std::string &deviceId) {
+  deviceId_ = deviceId;
+  setParameter(std::string("DeviceId"), deviceId);
 }
 
-std::string QueryAliasesRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string QueryAliasesRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void QueryAliasesRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void QueryAliasesRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long QueryAliasesRequest::getAppKey()const
-{
-	return appKey_;
+long QueryAliasesRequest::getAppKey() const {
+  return appKey_;
 }
 
-void QueryAliasesRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void QueryAliasesRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 36 - 46
push/src/model/QueryDeviceCountRequest.cc

@@ -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);
+}
+
+QueryDeviceCountRequest::~QueryDeviceCountRequest() {}
+
+std::string QueryDeviceCountRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void QueryDeviceCountRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void QueryDeviceCountRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string QueryDeviceCountRequest::getTarget()const
-{
-	return target_;
+std::string QueryDeviceCountRequest::getTarget() const {
+  return target_;
 }
 
-void QueryDeviceCountRequest::setTarget(const std::string& target)
-{
-	target_ = target;
-	setParameter("Target", target);
+void QueryDeviceCountRequest::setTarget(const std::string &target) {
+  target_ = target;
+  setParameter(std::string("Target"), target);
 }
 
-long QueryDeviceCountRequest::getAppKey()const
-{
-	return appKey_;
+long QueryDeviceCountRequest::getAppKey() const {
+  return appKey_;
 }
 
-void QueryDeviceCountRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void QueryDeviceCountRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 
-std::string QueryDeviceCountRequest::getTargetValue()const
-{
-	return targetValue_;
+std::string QueryDeviceCountRequest::getTargetValue() const {
+  return targetValue_;
 }
 
-void QueryDeviceCountRequest::setTargetValue(const std::string& targetValue)
-{
-	targetValue_ = targetValue;
-	setParameter("TargetValue", targetValue);
+void QueryDeviceCountRequest::setTargetValue(const std::string &targetValue) {
+  targetValue_ = targetValue;
+  setParameter(std::string("TargetValue"), targetValue);
 }
 

+ 31 - 39
push/src/model/QueryDeviceInfoRequest.cc

@@ -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);
+}
+
+QueryDeviceInfoRequest::~QueryDeviceInfoRequest() {}
+
+std::string QueryDeviceInfoRequest::getDeviceId() const {
+  return deviceId_;
 }
 
-void QueryDeviceInfoRequest::setDeviceId(const std::string& deviceId)
-{
-	deviceId_ = deviceId;
-	setParameter("DeviceId", deviceId);
+void QueryDeviceInfoRequest::setDeviceId(const std::string &deviceId) {
+  deviceId_ = deviceId;
+  setParameter(std::string("DeviceId"), deviceId);
 }
 
-std::string QueryDeviceInfoRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string QueryDeviceInfoRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void QueryDeviceInfoRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void QueryDeviceInfoRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long QueryDeviceInfoRequest::getAppKey()const
-{
-	return appKey_;
+long QueryDeviceInfoRequest::getAppKey() const {
+  return appKey_;
 }
 
-void QueryDeviceInfoRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void QueryDeviceInfoRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 12 - 12
push/src/model/QueryDeviceInfoResult.cc

@@ -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();
 
 }
 

+ 46 - 60
push/src/model/QueryDeviceStatRequest.cc

@@ -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);
+}
+
+QueryDeviceStatRequest::~QueryDeviceStatRequest() {}
+
+std::string QueryDeviceStatRequest::getEndTime() const {
+  return endTime_;
 }
 
-void QueryDeviceStatRequest::setEndTime(const std::string& endTime)
-{
-	endTime_ = endTime;
-	setParameter("EndTime", endTime);
+void QueryDeviceStatRequest::setEndTime(const std::string &endTime) {
+  endTime_ = endTime;
+  setParameter(std::string("EndTime"), endTime);
 }
 
-std::string QueryDeviceStatRequest::getStartTime()const
-{
-	return startTime_;
+std::string QueryDeviceStatRequest::getStartTime() const {
+  return startTime_;
 }
 
-void QueryDeviceStatRequest::setStartTime(const std::string& startTime)
-{
-	startTime_ = startTime;
-	setParameter("StartTime", startTime);
+void QueryDeviceStatRequest::setStartTime(const std::string &startTime) {
+  startTime_ = startTime;
+  setParameter(std::string("StartTime"), startTime);
 }
 
-std::string QueryDeviceStatRequest::getDeviceType()const
-{
-	return deviceType_;
+std::string QueryDeviceStatRequest::getDeviceType() const {
+  return deviceType_;
 }
 
-void QueryDeviceStatRequest::setDeviceType(const std::string& deviceType)
-{
-	deviceType_ = deviceType;
-	setParameter("DeviceType", deviceType);
+void QueryDeviceStatRequest::setDeviceType(const std::string &deviceType) {
+  deviceType_ = deviceType;
+  setParameter(std::string("DeviceType"), deviceType);
 }
 
-std::string QueryDeviceStatRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string QueryDeviceStatRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void QueryDeviceStatRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void QueryDeviceStatRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long QueryDeviceStatRequest::getAppKey()const
-{
-	return appKey_;
+long QueryDeviceStatRequest::getAppKey() const {
+  return appKey_;
 }
 
-void QueryDeviceStatRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void QueryDeviceStatRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 
-std::string QueryDeviceStatRequest::getQueryType()const
-{
-	return queryType_;
+std::string QueryDeviceStatRequest::getQueryType() const {
+  return queryType_;
 }
 
-void QueryDeviceStatRequest::setQueryType(const std::string& queryType)
-{
-	queryType_ = queryType;
-	setParameter("QueryType", queryType);
+void QueryDeviceStatRequest::setQueryType(const std::string &queryType) {
+  queryType_ = queryType;
+  setParameter(std::string("QueryType"), queryType);
 }
 

+ 2 - 2
push/src/model/QueryDeviceStatResult.cc

@@ -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);
 	}
 

+ 31 - 39
push/src/model/QueryDevicesByAccountRequest.cc

@@ -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);
+}
+
+QueryDevicesByAccountRequest::~QueryDevicesByAccountRequest() {}
+
+std::string QueryDevicesByAccountRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void QueryDevicesByAccountRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void QueryDevicesByAccountRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long QueryDevicesByAccountRequest::getAppKey()const
-{
-	return appKey_;
+long QueryDevicesByAccountRequest::getAppKey() const {
+  return appKey_;
 }
 
-void QueryDevicesByAccountRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void QueryDevicesByAccountRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 
-std::string QueryDevicesByAccountRequest::getAccount()const
-{
-	return account_;
+std::string QueryDevicesByAccountRequest::getAccount() const {
+  return account_;
 }
 
-void QueryDevicesByAccountRequest::setAccount(const std::string& account)
-{
-	account_ = account;
-	setParameter("Account", account);
+void QueryDevicesByAccountRequest::setAccount(const std::string &account) {
+  account_ = account;
+  setParameter(std::string("Account"), account);
 }
 

+ 31 - 39
push/src/model/QueryDevicesByAliasRequest.cc

@@ -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);
+}
+
+QueryDevicesByAliasRequest::~QueryDevicesByAliasRequest() {}
+
+std::string QueryDevicesByAliasRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void QueryDevicesByAliasRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void QueryDevicesByAliasRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string QueryDevicesByAliasRequest::getAlias()const
-{
-	return alias_;
+std::string QueryDevicesByAliasRequest::getAlias() const {
+  return alias_;
 }
 
-void QueryDevicesByAliasRequest::setAlias(const std::string& alias)
-{
-	alias_ = alias;
-	setParameter("Alias", alias);
+void QueryDevicesByAliasRequest::setAlias(const std::string &alias) {
+  alias_ = alias;
+  setParameter(std::string("Alias"), alias);
 }
 
-long QueryDevicesByAliasRequest::getAppKey()const
-{
-	return appKey_;
+long QueryDevicesByAliasRequest::getAppKey() const {
+  return appKey_;
 }
 
-void QueryDevicesByAliasRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void QueryDevicesByAliasRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 71 - 95
push/src/model/QueryPushRecordsRequest.cc

@@ -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);
+}
+
+QueryPushRecordsRequest::~QueryPushRecordsRequest() {}
+
+std::string QueryPushRecordsRequest::getStartTime() const {
+  return startTime_;
 }
 
-void QueryPushRecordsRequest::setStartTime(const std::string& startTime)
-{
-	startTime_ = startTime;
-	setParameter("StartTime", startTime);
+void QueryPushRecordsRequest::setStartTime(const std::string &startTime) {
+  startTime_ = startTime;
+  setParameter(std::string("StartTime"), startTime);
 }
 
-std::string QueryPushRecordsRequest::getSource()const
-{
-	return source_;
+std::string QueryPushRecordsRequest::getSource() const {
+  return source_;
 }
 
-void QueryPushRecordsRequest::setSource(const std::string& source)
-{
-	source_ = source;
-	setParameter("Source", source);
+void QueryPushRecordsRequest::setSource(const std::string &source) {
+  source_ = source;
+  setParameter(std::string("Source"), source);
 }
 
-std::string QueryPushRecordsRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string QueryPushRecordsRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void QueryPushRecordsRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void QueryPushRecordsRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string QueryPushRecordsRequest::getNextToken()const
-{
-	return nextToken_;
+std::string QueryPushRecordsRequest::getNextToken() const {
+  return nextToken_;
 }
 
-void QueryPushRecordsRequest::setNextToken(const std::string& nextToken)
-{
-	nextToken_ = nextToken;
-	setParameter("NextToken", nextToken);
+void QueryPushRecordsRequest::setNextToken(const std::string &nextToken) {
+  nextToken_ = nextToken;
+  setParameter(std::string("NextToken"), nextToken);
 }
 
-int QueryPushRecordsRequest::getPageSize()const
-{
-	return pageSize_;
+int QueryPushRecordsRequest::getPageSize() const {
+  return pageSize_;
 }
 
-void QueryPushRecordsRequest::setPageSize(int pageSize)
-{
-	pageSize_ = pageSize;
-	setParameter("PageSize", std::to_string(pageSize));
+void QueryPushRecordsRequest::setPageSize(int pageSize) {
+  pageSize_ = pageSize;
+  setParameter(std::string("PageSize"), std::to_string(pageSize));
 }
 
-std::string QueryPushRecordsRequest::getKeyword()const
-{
-	return keyword_;
+std::string QueryPushRecordsRequest::getKeyword() const {
+  return keyword_;
 }
 
-void QueryPushRecordsRequest::setKeyword(const std::string& keyword)
-{
-	keyword_ = keyword;
-	setParameter("Keyword", keyword);
+void QueryPushRecordsRequest::setKeyword(const std::string &keyword) {
+  keyword_ = keyword;
+  setParameter(std::string("Keyword"), keyword);
 }
 
-std::string QueryPushRecordsRequest::getEndTime()const
-{
-	return endTime_;
+std::string QueryPushRecordsRequest::getEndTime() const {
+  return endTime_;
 }
 
-void QueryPushRecordsRequest::setEndTime(const std::string& endTime)
-{
-	endTime_ = endTime;
-	setParameter("EndTime", endTime);
+void QueryPushRecordsRequest::setEndTime(const std::string &endTime) {
+  endTime_ = endTime;
+  setParameter(std::string("EndTime"), endTime);
 }
 
-std::string QueryPushRecordsRequest::getTarget()const
-{
-	return target_;
+std::string QueryPushRecordsRequest::getTarget() const {
+  return target_;
 }
 
-void QueryPushRecordsRequest::setTarget(const std::string& target)
-{
-	target_ = target;
-	setParameter("Target", target);
+void QueryPushRecordsRequest::setTarget(const std::string &target) {
+  target_ = target;
+  setParameter(std::string("Target"), target);
 }
 
-long QueryPushRecordsRequest::getAppKey()const
-{
-	return appKey_;
+long QueryPushRecordsRequest::getAppKey() const {
+  return appKey_;
 }
 
-void QueryPushRecordsRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void QueryPushRecordsRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 
-int QueryPushRecordsRequest::getPage()const
-{
-	return page_;
+int QueryPushRecordsRequest::getPage() const {
+  return page_;
 }
 
-void QueryPushRecordsRequest::setPage(int page)
-{
-	page_ = page;
-	setParameter("Page", std::to_string(page));
+void QueryPushRecordsRequest::setPage(int page) {
+  page_ = page;
+  setParameter(std::string("Page"), std::to_string(page));
 }
 
-std::string QueryPushRecordsRequest::getPushType()const
-{
-	return pushType_;
+std::string QueryPushRecordsRequest::getPushType() const {
+  return pushType_;
 }
 
-void QueryPushRecordsRequest::setPushType(const std::string& pushType)
-{
-	pushType_ = pushType;
-	setParameter("PushType", pushType);
+void QueryPushRecordsRequest::setPushType(const std::string &pushType) {
+  pushType_ = pushType;
+  setParameter(std::string("PushType"), pushType);
 }
 

+ 14 - 14
push/src/model/QueryPushRecordsResult.cc

@@ -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());
 
 }
 

+ 41 - 53
push/src/model/QueryPushStatByAppRequest.cc

@@ -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);
+}
+
+QueryPushStatByAppRequest::~QueryPushStatByAppRequest() {}
+
+std::string QueryPushStatByAppRequest::getEndTime() const {
+  return endTime_;
 }
 
-void QueryPushStatByAppRequest::setEndTime(const std::string& endTime)
-{
-	endTime_ = endTime;
-	setParameter("EndTime", endTime);
+void QueryPushStatByAppRequest::setEndTime(const std::string &endTime) {
+  endTime_ = endTime;
+  setParameter(std::string("EndTime"), endTime);
 }
 
-std::string QueryPushStatByAppRequest::getStartTime()const
-{
-	return startTime_;
+std::string QueryPushStatByAppRequest::getStartTime() const {
+  return startTime_;
 }
 
-void QueryPushStatByAppRequest::setStartTime(const std::string& startTime)
-{
-	startTime_ = startTime;
-	setParameter("StartTime", startTime);
+void QueryPushStatByAppRequest::setStartTime(const std::string &startTime) {
+  startTime_ = startTime;
+  setParameter(std::string("StartTime"), startTime);
 }
 
-std::string QueryPushStatByAppRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string QueryPushStatByAppRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void QueryPushStatByAppRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void QueryPushStatByAppRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string QueryPushStatByAppRequest::getGranularity()const
-{
-	return granularity_;
+std::string QueryPushStatByAppRequest::getGranularity() const {
+  return granularity_;
 }
 
-void QueryPushStatByAppRequest::setGranularity(const std::string& granularity)
-{
-	granularity_ = granularity;
-	setParameter("Granularity", granularity);
+void QueryPushStatByAppRequest::setGranularity(const std::string &granularity) {
+  granularity_ = granularity;
+  setParameter(std::string("Granularity"), granularity);
 }
 
-long QueryPushStatByAppRequest::getAppKey()const
-{
-	return appKey_;
+long QueryPushStatByAppRequest::getAppKey() const {
+  return appKey_;
 }
 
-void QueryPushStatByAppRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void QueryPushStatByAppRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 14 - 14
push/src/model/QueryPushStatByAppResult.cc

@@ -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);
 	}
 

+ 31 - 39
push/src/model/QueryPushStatByMsgRequest.cc

@@ -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);
+}
+
+QueryPushStatByMsgRequest::~QueryPushStatByMsgRequest() {}
+
+long QueryPushStatByMsgRequest::getMessageId() const {
+  return messageId_;
 }
 
-void QueryPushStatByMsgRequest::setMessageId(long messageId)
-{
-	messageId_ = messageId;
-	setParameter("MessageId", std::to_string(messageId));
+void QueryPushStatByMsgRequest::setMessageId(long messageId) {
+  messageId_ = messageId;
+  setParameter(std::string("MessageId"), std::to_string(messageId));
 }
 
-std::string QueryPushStatByMsgRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string QueryPushStatByMsgRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void QueryPushStatByMsgRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void QueryPushStatByMsgRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long QueryPushStatByMsgRequest::getAppKey()const
-{
-	return appKey_;
+long QueryPushStatByMsgRequest::getAppKey() const {
+  return appKey_;
 }
 
-void QueryPushStatByMsgRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void QueryPushStatByMsgRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 14 - 14
push/src/model/QueryPushStatByMsgResult.cc

@@ -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);
 	}
 

+ 36 - 46
push/src/model/QueryTagsRequest.cc

@@ -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);
+}
+
+QueryTagsRequest::~QueryTagsRequest() {}
+
+std::string QueryTagsRequest::getKeyType() const {
+  return keyType_;
 }
 
-void QueryTagsRequest::setKeyType(const std::string& keyType)
-{
-	keyType_ = keyType;
-	setParameter("KeyType", keyType);
+void QueryTagsRequest::setKeyType(const std::string &keyType) {
+  keyType_ = keyType;
+  setParameter(std::string("KeyType"), keyType);
 }
 
-std::string QueryTagsRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string QueryTagsRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void QueryTagsRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void QueryTagsRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string QueryTagsRequest::getClientKey()const
-{
-	return clientKey_;
+std::string QueryTagsRequest::getClientKey() const {
+  return clientKey_;
 }
 
-void QueryTagsRequest::setClientKey(const std::string& clientKey)
-{
-	clientKey_ = clientKey;
-	setParameter("ClientKey", clientKey);
+void QueryTagsRequest::setClientKey(const std::string &clientKey) {
+  clientKey_ = clientKey;
+  setParameter(std::string("ClientKey"), clientKey);
 }
 
-long QueryTagsRequest::getAppKey()const
-{
-	return appKey_;
+long QueryTagsRequest::getAppKey() const {
+  return appKey_;
 }
 
-void QueryTagsRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void QueryTagsRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 41 - 53
push/src/model/QueryUniqueDeviceStatRequest.cc

@@ -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);
+}
+
+QueryUniqueDeviceStatRequest::~QueryUniqueDeviceStatRequest() {}
+
+std::string QueryUniqueDeviceStatRequest::getEndTime() const {
+  return endTime_;
 }
 
-void QueryUniqueDeviceStatRequest::setEndTime(const std::string& endTime)
-{
-	endTime_ = endTime;
-	setParameter("EndTime", endTime);
+void QueryUniqueDeviceStatRequest::setEndTime(const std::string &endTime) {
+  endTime_ = endTime;
+  setParameter(std::string("EndTime"), endTime);
 }
 
-std::string QueryUniqueDeviceStatRequest::getStartTime()const
-{
-	return startTime_;
+std::string QueryUniqueDeviceStatRequest::getStartTime() const {
+  return startTime_;
 }
 
-void QueryUniqueDeviceStatRequest::setStartTime(const std::string& startTime)
-{
-	startTime_ = startTime;
-	setParameter("StartTime", startTime);
+void QueryUniqueDeviceStatRequest::setStartTime(const std::string &startTime) {
+  startTime_ = startTime;
+  setParameter(std::string("StartTime"), startTime);
 }
 
-std::string QueryUniqueDeviceStatRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string QueryUniqueDeviceStatRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void QueryUniqueDeviceStatRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void QueryUniqueDeviceStatRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string QueryUniqueDeviceStatRequest::getGranularity()const
-{
-	return granularity_;
+std::string QueryUniqueDeviceStatRequest::getGranularity() const {
+  return granularity_;
 }
 
-void QueryUniqueDeviceStatRequest::setGranularity(const std::string& granularity)
-{
-	granularity_ = granularity;
-	setParameter("Granularity", granularity);
+void QueryUniqueDeviceStatRequest::setGranularity(const std::string &granularity) {
+  granularity_ = granularity;
+  setParameter(std::string("Granularity"), granularity);
 }
 
-long QueryUniqueDeviceStatRequest::getAppKey()const
-{
-	return appKey_;
+long QueryUniqueDeviceStatRequest::getAppKey() const {
+  return appKey_;
 }
 
-void QueryUniqueDeviceStatRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void QueryUniqueDeviceStatRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 31 - 39
push/src/model/RemoveTagRequest.cc

@@ -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);
+}
+
+RemoveTagRequest::~RemoveTagRequest() {}
+
+std::string RemoveTagRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void RemoveTagRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void RemoveTagRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string RemoveTagRequest::getTagName()const
-{
-	return tagName_;
+std::string RemoveTagRequest::getTagName() const {
+  return tagName_;
 }
 
-void RemoveTagRequest::setTagName(const std::string& tagName)
-{
-	tagName_ = tagName;
-	setParameter("TagName", tagName);
+void RemoveTagRequest::setTagName(const std::string &tagName) {
+  tagName_ = tagName;
+  setParameter(std::string("TagName"), tagName);
 }
 
-long RemoveTagRequest::getAppKey()const
-{
-	return appKey_;
+long RemoveTagRequest::getAppKey() const {
+  return appKey_;
 }
 
-void RemoveTagRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void RemoveTagRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 41 - 53
push/src/model/UnbindAliasRequest.cc

@@ -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);
+}
+
+UnbindAliasRequest::~UnbindAliasRequest() {}
+
+std::string UnbindAliasRequest::getDeviceId() const {
+  return deviceId_;
 }
 
-void UnbindAliasRequest::setDeviceId(const std::string& deviceId)
-{
-	deviceId_ = deviceId;
-	setParameter("DeviceId", deviceId);
+void UnbindAliasRequest::setDeviceId(const std::string &deviceId) {
+  deviceId_ = deviceId;
+  setParameter(std::string("DeviceId"), deviceId);
 }
 
-std::string UnbindAliasRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string UnbindAliasRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void UnbindAliasRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void UnbindAliasRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string UnbindAliasRequest::getAliasName()const
-{
-	return aliasName_;
+std::string UnbindAliasRequest::getAliasName() const {
+  return aliasName_;
 }
 
-void UnbindAliasRequest::setAliasName(const std::string& aliasName)
-{
-	aliasName_ = aliasName;
-	setParameter("AliasName", aliasName);
+void UnbindAliasRequest::setAliasName(const std::string &aliasName) {
+  aliasName_ = aliasName;
+  setParameter(std::string("AliasName"), aliasName);
 }
 
-long UnbindAliasRequest::getAppKey()const
-{
-	return appKey_;
+long UnbindAliasRequest::getAppKey() const {
+  return appKey_;
 }
 
-void UnbindAliasRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void UnbindAliasRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 
-bool UnbindAliasRequest::getUnbindAll()const
-{
-	return unbindAll_;
+bool UnbindAliasRequest::getUnbindAll() const {
+  return unbindAll_;
 }
 
-void UnbindAliasRequest::setUnbindAll(bool unbindAll)
-{
-	unbindAll_ = unbindAll;
-	setParameter("UnbindAll", unbindAll ? "true" : "false");
+void UnbindAliasRequest::setUnbindAll(bool unbindAll) {
+  unbindAll_ = unbindAll;
+  setParameter(std::string("UnbindAll"), unbindAll ? "true" : "false");
 }
 

+ 31 - 39
push/src/model/UnbindPhoneRequest.cc

@@ -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);
+}
+
+UnbindPhoneRequest::~UnbindPhoneRequest() {}
+
+std::string UnbindPhoneRequest::getDeviceId() const {
+  return deviceId_;
 }
 
-void UnbindPhoneRequest::setDeviceId(const std::string& deviceId)
-{
-	deviceId_ = deviceId;
-	setParameter("DeviceId", deviceId);
+void UnbindPhoneRequest::setDeviceId(const std::string &deviceId) {
+  deviceId_ = deviceId;
+  setParameter(std::string("DeviceId"), deviceId);
 }
 
-std::string UnbindPhoneRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string UnbindPhoneRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void UnbindPhoneRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void UnbindPhoneRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-long UnbindPhoneRequest::getAppKey()const
-{
-	return appKey_;
+long UnbindPhoneRequest::getAppKey() const {
+  return appKey_;
 }
 
-void UnbindPhoneRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void UnbindPhoneRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }
 

+ 41 - 53
push/src/model/UnbindTagRequest.cc

@@ -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);
+}
+
+UnbindTagRequest::~UnbindTagRequest() {}
+
+std::string UnbindTagRequest::getKeyType() const {
+  return keyType_;
 }
 
-void UnbindTagRequest::setKeyType(const std::string& keyType)
-{
-	keyType_ = keyType;
-	setParameter("KeyType", keyType);
+void UnbindTagRequest::setKeyType(const std::string &keyType) {
+  keyType_ = keyType;
+  setParameter(std::string("KeyType"), keyType);
 }
 
-std::string UnbindTagRequest::getAccessKeyId()const
-{
-	return accessKeyId_;
+std::string UnbindTagRequest::getAccessKeyId() const {
+  return accessKeyId_;
 }
 
-void UnbindTagRequest::setAccessKeyId(const std::string& accessKeyId)
-{
-	accessKeyId_ = accessKeyId;
-	setParameter("AccessKeyId", accessKeyId);
+void UnbindTagRequest::setAccessKeyId(const std::string &accessKeyId) {
+  accessKeyId_ = accessKeyId;
+  setParameter(std::string("AccessKeyId"), accessKeyId);
 }
 
-std::string UnbindTagRequest::getTagName()const
-{
-	return tagName_;
+std::string UnbindTagRequest::getTagName() const {
+  return tagName_;
 }
 
-void UnbindTagRequest::setTagName(const std::string& tagName)
-{
-	tagName_ = tagName;
-	setParameter("TagName", tagName);
+void UnbindTagRequest::setTagName(const std::string &tagName) {
+  tagName_ = tagName;
+  setParameter(std::string("TagName"), tagName);
 }
 
-std::string UnbindTagRequest::getClientKey()const
-{
-	return clientKey_;
+std::string UnbindTagRequest::getClientKey() const {
+  return clientKey_;
 }
 
-void UnbindTagRequest::setClientKey(const std::string& clientKey)
-{
-	clientKey_ = clientKey;
-	setParameter("ClientKey", clientKey);
+void UnbindTagRequest::setClientKey(const std::string &clientKey) {
+  clientKey_ = clientKey;
+  setParameter(std::string("ClientKey"), clientKey);
 }
 
-long UnbindTagRequest::getAppKey()const
-{
-	return appKey_;
+long UnbindTagRequest::getAppKey() const {
+  return appKey_;
 }
 
-void UnbindTagRequest::setAppKey(long appKey)
-{
-	appKey_ = appKey;
-	setParameter("AppKey", std::to_string(appKey));
+void UnbindTagRequest::setAppKey(long appKey) {
+  appKey_ = appKey;
+  setParameter(std::string("AppKey"), std::to_string(appKey));
 }