Browse Source

QueryMonthlyBillResponse add roundDownDiscount.

sdk-team 7 years ago
parent
commit
aab08f0a43
56 changed files with 2773 additions and 4 deletions
  1. 5 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 69 0
      bssopenapi/include/alibabacloud/bssopenapi/model/ChangeResellerConsumeAmountRequest.h
  4. 57 0
      bssopenapi/include/alibabacloud/bssopenapi/model/ChangeResellerConsumeAmountResult.h
  5. 72 0
      bssopenapi/include/alibabacloud/bssopenapi/model/CreateAgAccountRequest.h
  6. 64 0
      bssopenapi/include/alibabacloud/bssopenapi/model/CreateAgAccountResult.h
  7. 3 0
      bssopenapi/include/alibabacloud/bssopenapi/model/CreateInstanceRequest.h
  8. 57 0
      bssopenapi/include/alibabacloud/bssopenapi/model/CreateResellerUserQuotaRequest.h
  9. 57 0
      bssopenapi/include/alibabacloud/bssopenapi/model/CreateResellerUserQuotaResult.h
  10. 48 0
      bssopenapi/include/alibabacloud/bssopenapi/model/GetCustomerAccountInfoRequest.h
  11. 66 0
      bssopenapi/include/alibabacloud/bssopenapi/model/GetCustomerAccountInfoResult.h
  12. 45 0
      bssopenapi/include/alibabacloud/bssopenapi/model/GetCustomerListRequest.h
  13. 61 0
      bssopenapi/include/alibabacloud/bssopenapi/model/GetCustomerListResult.h
  14. 1 0
      bssopenapi/include/alibabacloud/bssopenapi/model/GetOrderDetailResult.h
  15. 3 0
      bssopenapi/include/alibabacloud/bssopenapi/model/ModifyInstanceRequest.h
  16. 66 0
      bssopenapi/include/alibabacloud/bssopenapi/model/QueryAccountTransactionsRequest.h
  17. 81 0
      bssopenapi/include/alibabacloud/bssopenapi/model/QueryAccountTransactionsResult.h
  18. 1 0
      bssopenapi/include/alibabacloud/bssopenapi/model/QueryBillOverviewResult.h
  19. 1 0
      bssopenapi/include/alibabacloud/bssopenapi/model/QueryBillResult.h
  20. 10 1
      bssopenapi/include/alibabacloud/bssopenapi/model/QueryInstanceBillResult.h
  21. 1 0
      bssopenapi/include/alibabacloud/bssopenapi/model/QueryOrdersResult.h
  22. 51 0
      bssopenapi/include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaRequest.h
  23. 57 0
      bssopenapi/include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaResult.h
  24. 54 0
      bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdRequest.h
  25. 57 0
      bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdResult.h
  26. 57 0
      bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserQuotaRequest.h
  27. 57 0
      bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserQuotaResult.h
  28. 54 0
      bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserStatusRequest.h
  29. 57 0
      bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserStatusResult.h
  30. 115 0
      bssopenapi/src/model/ChangeResellerConsumeAmountRequest.cc
  31. 73 0
      bssopenapi/src/model/ChangeResellerConsumeAmountResult.cc
  32. 126 0
      bssopenapi/src/model/CreateAgAccountRequest.cc
  33. 80 0
      bssopenapi/src/model/CreateAgAccountResult.cc
  34. 11 0
      bssopenapi/src/model/CreateInstanceRequest.cc
  35. 71 0
      bssopenapi/src/model/CreateResellerUserQuotaRequest.cc
  36. 73 0
      bssopenapi/src/model/CreateResellerUserQuotaResult.cc
  37. 38 0
      bssopenapi/src/model/GetCustomerAccountInfoRequest.cc
  38. 84 0
      bssopenapi/src/model/GetCustomerAccountInfoResult.cc
  39. 27 0
      bssopenapi/src/model/GetCustomerListRequest.cc
  40. 75 0
      bssopenapi/src/model/GetCustomerListResult.cc
  41. 2 0
      bssopenapi/src/model/GetOrderDetailResult.cc
  42. 11 0
      bssopenapi/src/model/ModifyInstanceRequest.cc
  43. 104 0
      bssopenapi/src/model/QueryAccountTransactionsRequest.cc
  44. 112 0
      bssopenapi/src/model/QueryAccountTransactionsResult.cc
  45. 2 0
      bssopenapi/src/model/QueryBillOverviewResult.cc
  46. 2 0
      bssopenapi/src/model/QueryBillResult.cc
  47. 20 2
      bssopenapi/src/model/QueryInstanceBillResult.cc
  48. 2 0
      bssopenapi/src/model/QueryOrdersResult.cc
  49. 49 0
      bssopenapi/src/model/QueryResellerAvailableQuotaRequest.cc
  50. 73 0
      bssopenapi/src/model/QueryResellerAvailableQuotaResult.cc
  51. 60 0
      bssopenapi/src/model/SetResellerUserAlarmThresholdRequest.cc
  52. 73 0
      bssopenapi/src/model/SetResellerUserAlarmThresholdResult.cc
  53. 71 0
      bssopenapi/src/model/SetResellerUserQuotaRequest.cc
  54. 73 0
      bssopenapi/src/model/SetResellerUserQuotaResult.cc
  55. 60 0
      bssopenapi/src/model/SetResellerUserStatusRequest.cc
  56. 73 0
      bssopenapi/src/model/SetResellerUserStatusResult.cc

+ 5 - 0
CHANGELOG

@@ -1,3 +1,8 @@
+2019-07-19 Version 1.36.67
+- QueryMonthlyBillResponse add roundDownDiscount.
+- QueryBillResponse add roundDownDiscount.
+- QueryInstanceBillResponse add item.
+
 2019-07-18 Version 1.36.66
 - Add a new field named Input to SubmitAIJob api request to set the input file of AI job.
 - Change the field MediaId of SubmitAIJob api to non-mandatory.

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.66
+1.36.67

+ 69 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/ChangeResellerConsumeAmountRequest.h

@@ -0,0 +1,69 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTREQUEST_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT ChangeResellerConsumeAmountRequest : public RpcServiceRequest
+			{
+
+			public:
+				ChangeResellerConsumeAmountRequest();
+				~ChangeResellerConsumeAmountRequest();
+
+				std::string getAdjustType()const;
+				void setAdjustType(const std::string& adjustType);
+				std::string getAmount()const;
+				void setAmount(const std::string& amount);
+				std::string getOutBizId()const;
+				void setOutBizId(const std::string& outBizId);
+				std::string getExtendMap()const;
+				void setExtendMap(const std::string& extendMap);
+				std::string getCurrency()const;
+				void setCurrency(const std::string& currency);
+				std::string getSource()const;
+				void setSource(const std::string& source);
+				long getOwnerId()const;
+				void setOwnerId(long ownerId);
+				std::string getBusinessType()const;
+				void setBusinessType(const std::string& businessType);
+
+            private:
+				std::string adjustType_;
+				std::string amount_;
+				std::string outBizId_;
+				std::string extendMap_;
+				std::string currency_;
+				std::string source_;
+				long ownerId_;
+				std::string businessType_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTREQUEST_H_

+ 57 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/ChangeResellerConsumeAmountResult.h

@@ -0,0 +1,57 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTRESULT_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT ChangeResellerConsumeAmountResult : public ServiceResult
+			{
+			public:
+
+
+				ChangeResellerConsumeAmountResult();
+				explicit ChangeResellerConsumeAmountResult(const std::string &payload);
+				~ChangeResellerConsumeAmountResult();
+				std::string getMessage()const;
+				std::string getData()const;
+				std::string getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				std::string data_;
+				std::string code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CHANGERESELLERCONSUMEAMOUNTRESULT_H_

+ 72 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/CreateAgAccountRequest.h

@@ -0,0 +1,72 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEAGACCOUNTREQUEST_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEAGACCOUNTREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateAgAccountRequest : public RpcServiceRequest
+			{
+
+			public:
+				CreateAgAccountRequest();
+				~CreateAgAccountRequest();
+
+				std::string getFirstName()const;
+				void setFirstName(const std::string& firstName);
+				std::string getLoginEmail()const;
+				void setLoginEmail(const std::string& loginEmail);
+				std::string getProvinceName()const;
+				void setProvinceName(const std::string& provinceName);
+				std::string getCityName()const;
+				void setCityName(const std::string& cityName);
+				std::string getAccountAttr()const;
+				void setAccountAttr(const std::string& accountAttr);
+				std::string getPostcode()const;
+				void setPostcode(const std::string& postcode);
+				std::string getEnterpriseName()const;
+				void setEnterpriseName(const std::string& enterpriseName);
+				std::string getNationCode()const;
+				void setNationCode(const std::string& nationCode);
+				std::string getLastName()const;
+				void setLastName(const std::string& lastName);
+
+            private:
+				std::string firstName_;
+				std::string loginEmail_;
+				std::string provinceName_;
+				std::string cityName_;
+				std::string accountAttr_;
+				std::string postcode_;
+				std::string enterpriseName_;
+				std::string nationCode_;
+				std::string lastName_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEAGACCOUNTREQUEST_H_

+ 64 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/CreateAgAccountResult.h

@@ -0,0 +1,64 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEAGACCOUNTRESULT_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEAGACCOUNTRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateAgAccountResult : public ServiceResult
+			{
+			public:
+				struct AgRelationDto
+				{
+					std::string type;
+					std::string mpk;
+					std::string pk;
+					std::string ramAdminRoleName;
+				};
+
+
+				CreateAgAccountResult();
+				explicit CreateAgAccountResult(const std::string &payload);
+				~CreateAgAccountResult();
+				std::string getMessage()const;
+				AgRelationDto getAgRelationDto()const;
+				std::string getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				AgRelationDto agRelationDto_;
+				std::string code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATEAGACCOUNTRESULT_H_

+ 3 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/CreateInstanceRequest.h

@@ -44,6 +44,8 @@ namespace AlibabaCloud
 				void setProductCode(const std::string& productCode);
 				int getPeriod()const;
 				void setPeriod(int period);
+				std::string getClientToken()const;
+				void setClientToken(const std::string& clientToken);
 				std::string getSubscriptionType()const;
 				void setSubscriptionType(const std::string& subscriptionType);
 				int getRenewPeriod()const;
@@ -60,6 +62,7 @@ namespace AlibabaCloud
             private:
 				std::string productCode_;
 				int period_;
+				std::string clientToken_;
 				std::string subscriptionType_;
 				int renewPeriod_;
 				std::vector<Parameter> parameter_;

+ 57 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/CreateResellerUserQuotaRequest.h

@@ -0,0 +1,57 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTAREQUEST_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTAREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateResellerUserQuotaRequest : public RpcServiceRequest
+			{
+
+			public:
+				CreateResellerUserQuotaRequest();
+				~CreateResellerUserQuotaRequest();
+
+				std::string getAmount()const;
+				void setAmount(const std::string& amount);
+				std::string getOutBizId()const;
+				void setOutBizId(const std::string& outBizId);
+				std::string getCurrency()const;
+				void setCurrency(const std::string& currency);
+				long getOwnerId()const;
+				void setOwnerId(long ownerId);
+
+            private:
+				std::string amount_;
+				std::string outBizId_;
+				std::string currency_;
+				long ownerId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTAREQUEST_H_

+ 57 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/CreateResellerUserQuotaResult.h

@@ -0,0 +1,57 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTARESULT_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTARESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT CreateResellerUserQuotaResult : public ServiceResult
+			{
+			public:
+
+
+				CreateResellerUserQuotaResult();
+				explicit CreateResellerUserQuotaResult(const std::string &payload);
+				~CreateResellerUserQuotaResult();
+				std::string getMessage()const;
+				bool getData()const;
+				std::string getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				bool data_;
+				std::string code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_CREATERESELLERUSERQUOTARESULT_H_

+ 48 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/GetCustomerAccountInfoRequest.h

@@ -0,0 +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_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFOREQUEST_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFOREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT GetCustomerAccountInfoRequest : public RpcServiceRequest
+			{
+
+			public:
+				GetCustomerAccountInfoRequest();
+				~GetCustomerAccountInfoRequest();
+
+				long getOwnerId()const;
+				void setOwnerId(long ownerId);
+
+            private:
+				long ownerId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFOREQUEST_H_

+ 66 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/GetCustomerAccountInfoResult.h

@@ -0,0 +1,66 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFORESULT_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFORESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT GetCustomerAccountInfoResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					std::string loginEmail;
+					std::string creditLimitStatus;
+					std::string hostingStatus;
+					long mpk;
+					bool isCertified;
+					std::string accountType;
+				};
+
+
+				GetCustomerAccountInfoResult();
+				explicit GetCustomerAccountInfoResult(const std::string &payload);
+				~GetCustomerAccountInfoResult();
+				std::string getMessage()const;
+				Data getData()const;
+				std::string getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				Data data_;
+				std::string code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERACCOUNTINFORESULT_H_

+ 45 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/GetCustomerListRequest.h

@@ -0,0 +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_BSSOPENAPI_MODEL_GETCUSTOMERLISTREQUEST_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERLISTREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT GetCustomerListRequest : public RpcServiceRequest
+			{
+
+			public:
+				GetCustomerListRequest();
+				~GetCustomerListRequest();
+
+
+            private:
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERLISTREQUEST_H_

+ 61 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/GetCustomerListResult.h

@@ -0,0 +1,61 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERLISTRESULT_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERLISTRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT GetCustomerListResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					std::vector<std::string> uidList;
+				};
+
+
+				GetCustomerListResult();
+				explicit GetCustomerListResult(const std::string &payload);
+				~GetCustomerListResult();
+				std::string getMessage()const;
+				Data getData()const;
+				std::string getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				Data data_;
+				std::string code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_GETCUSTOMERLISTRESULT_H_

+ 1 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/GetOrderDetailResult.h

@@ -43,6 +43,7 @@ namespace AlibabaCloud
 						std::string createTime;
 						std::string productType;
 						std::string quantity;
+						std::string relatedOrderId;
 						std::string paymentTime;
 						std::string tax;
 						std::string paymentCurrency;

+ 3 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/ModifyInstanceRequest.h

@@ -44,6 +44,8 @@ namespace AlibabaCloud
 				void setProductCode(const std::string& productCode);
 				std::string getInstanceId()const;
 				void setInstanceId(const std::string& instanceId);
+				std::string getClientToken()const;
+				void setClientToken(const std::string& clientToken);
 				std::string getSubscriptionType()const;
 				void setSubscriptionType(const std::string& subscriptionType);
 				std::string getModifyType()const;
@@ -58,6 +60,7 @@ namespace AlibabaCloud
             private:
 				std::string productCode_;
 				std::string instanceId_;
+				std::string clientToken_;
 				std::string subscriptionType_;
 				std::string modifyType_;
 				std::vector<Parameter> parameter_;

+ 66 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/QueryAccountTransactionsRequest.h

@@ -0,0 +1,66 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSREQUEST_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountTransactionsRequest : public RpcServiceRequest
+			{
+
+			public:
+				QueryAccountTransactionsRequest();
+				~QueryAccountTransactionsRequest();
+
+				std::string getRecordID()const;
+				void setRecordID(const std::string& recordID);
+				int getPageSize()const;
+				void setPageSize(int pageSize);
+				std::string getTransactionChannelSN()const;
+				void setTransactionChannelSN(const std::string& transactionChannelSN);
+				std::string getCreateTimeStart()const;
+				void setCreateTimeStart(const std::string& createTimeStart);
+				std::string getTransactionNumber()const;
+				void setTransactionNumber(const std::string& transactionNumber);
+				int getPageNum()const;
+				void setPageNum(int pageNum);
+				std::string getCreateTimeEnd()const;
+				void setCreateTimeEnd(const std::string& createTimeEnd);
+
+            private:
+				std::string recordID_;
+				int pageSize_;
+				std::string transactionChannelSN_;
+				std::string createTimeStart_;
+				std::string transactionNumber_;
+				int pageNum_;
+				std::string createTimeEnd_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSREQUEST_H_

+ 81 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/QueryAccountTransactionsResult.h

@@ -0,0 +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.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSRESULT_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryAccountTransactionsResult : public ServiceResult
+			{
+			public:
+				struct Data
+				{
+					struct AccountTransactionsListItem
+					{
+						std::string transactionType;
+						std::string billingCycle;
+						std::string transactionNumber;
+						std::string amount;
+						std::string transactionAccount;
+						std::string transactionTime;
+						std::string transactionChannelSN;
+						std::string remarks;
+						std::string fundType;
+						std::string transactionFlow;
+						std::string recordID;
+						std::string balance;
+						std::string transactionChannel;
+					};
+					int totalCount;
+					int pageNum;
+					int pageSize;
+					std::vector<AccountTransactionsListItem> accountTransactionsList;
+					std::string accountName;
+				};
+
+
+				QueryAccountTransactionsResult();
+				explicit QueryAccountTransactionsResult(const std::string &payload);
+				~QueryAccountTransactionsResult();
+				std::string getMessage()const;
+				Data getData()const;
+				std::string getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				Data data_;
+				std::string code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYACCOUNTTRANSACTIONSRESULT_H_

+ 1 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/QueryBillOverviewResult.h

@@ -38,6 +38,7 @@ namespace AlibabaCloud
 					{
 						float deductedByCoupons;
 						float afterTaxAmount;
+						std::string roundDownDiscount;
 						std::string productName;
 						std::string productDetail;
 						std::string productCode;

+ 1 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/QueryBillResult.h

@@ -54,6 +54,7 @@ namespace AlibabaCloud
 						std::string status;
 						std::string paymentTransactionID;
 						float deductedByCoupons;
+						std::string roundDownDiscount;
 						std::string productDetail;
 						std::string productCode;
 						std::string productType;

+ 10 - 1
bssopenapi/include/alibabacloud/bssopenapi/model/QueryInstanceBillResult.h

@@ -36,6 +36,7 @@ namespace AlibabaCloud
 				{
 					struct Item
 					{
+						std::string instanceSpec;
 						std::string productName;
 						std::string instanceID;
 						float deductedByCashCoupons;
@@ -45,22 +46,30 @@ namespace AlibabaCloud
 						float deductedByPrepaidCard;
 						float invoiceDiscount;
 						std::string subscriptionType;
+						std::string item;
 						float pretaxGrossAmount;
+						std::string instanceConfig;
 						std::string currency;
 						std::string costUnit;
+						std::string resourceGroup;
 						std::string billingType;
 						float usage;
 						float deductedByCoupons;
 						std::string productDetail;
 						std::string productCode;
+						std::string zone;
 						std::string productType;
 						float outstandingAmount;
 						std::string billingItem;
-						float servicePeriod;
+						std::string nickName;
+						std::string intranetIP;
 						float deductedByResourcePackage;
 						std::string usageUnit;
 						long ownerID;
 						float pretaxAmount;
+						std::string internetIP;
+						std::string region;
+						std::string tag;
 					};
 					std::string billingCycle;
 					int totalCount;

+ 1 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/QueryOrdersResult.h

@@ -40,6 +40,7 @@ namespace AlibabaCloud
 						std::string productCode;
 						std::string createTime;
 						std::string productType;
+						std::string relatedOrderId;
 						std::string paymentTime;
 						std::string tax;
 						std::string paymentCurrency;

+ 51 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaRequest.h

@@ -0,0 +1,51 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRESELLERAVAILABLEQUOTAREQUEST_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRESELLERAVAILABLEQUOTAREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryResellerAvailableQuotaRequest : public RpcServiceRequest
+			{
+
+			public:
+				QueryResellerAvailableQuotaRequest();
+				~QueryResellerAvailableQuotaRequest();
+
+				std::string getItemCodes()const;
+				void setItemCodes(const std::string& itemCodes);
+				long getOwnerId()const;
+				void setOwnerId(long ownerId);
+
+            private:
+				std::string itemCodes_;
+				long ownerId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRESELLERAVAILABLEQUOTAREQUEST_H_

+ 57 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/QueryResellerAvailableQuotaResult.h

@@ -0,0 +1,57 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRESELLERAVAILABLEQUOTARESULT_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRESELLERAVAILABLEQUOTARESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT QueryResellerAvailableQuotaResult : public ServiceResult
+			{
+			public:
+
+
+				QueryResellerAvailableQuotaResult();
+				explicit QueryResellerAvailableQuotaResult(const std::string &payload);
+				~QueryResellerAvailableQuotaResult();
+				std::string getMessage()const;
+				std::string getData()const;
+				std::string getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				std::string data_;
+				std::string code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYRESELLERAVAILABLEQUOTARESULT_H_

+ 54 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdRequest.h

@@ -0,0 +1,54 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERALARMTHRESHOLDREQUEST_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERALARMTHRESHOLDREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT SetResellerUserAlarmThresholdRequest : public RpcServiceRequest
+			{
+
+			public:
+				SetResellerUserAlarmThresholdRequest();
+				~SetResellerUserAlarmThresholdRequest();
+
+				std::string getAlarmType()const;
+				void setAlarmType(const std::string& alarmType);
+				std::string getAlarmThresholds()const;
+				void setAlarmThresholds(const std::string& alarmThresholds);
+				long getOwnerId()const;
+				void setOwnerId(long ownerId);
+
+            private:
+				std::string alarmType_;
+				std::string alarmThresholds_;
+				long ownerId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERALARMTHRESHOLDREQUEST_H_

+ 57 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdResult.h

@@ -0,0 +1,57 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERALARMTHRESHOLDRESULT_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERALARMTHRESHOLDRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT SetResellerUserAlarmThresholdResult : public ServiceResult
+			{
+			public:
+
+
+				SetResellerUserAlarmThresholdResult();
+				explicit SetResellerUserAlarmThresholdResult(const std::string &payload);
+				~SetResellerUserAlarmThresholdResult();
+				std::string getMessage()const;
+				bool getData()const;
+				std::string getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				bool data_;
+				std::string code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERALARMTHRESHOLDRESULT_H_

+ 57 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserQuotaRequest.h

@@ -0,0 +1,57 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERQUOTAREQUEST_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERQUOTAREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT SetResellerUserQuotaRequest : public RpcServiceRequest
+			{
+
+			public:
+				SetResellerUserQuotaRequest();
+				~SetResellerUserQuotaRequest();
+
+				std::string getAmount()const;
+				void setAmount(const std::string& amount);
+				std::string getOutBizId()const;
+				void setOutBizId(const std::string& outBizId);
+				std::string getCurrency()const;
+				void setCurrency(const std::string& currency);
+				long getOwnerId()const;
+				void setOwnerId(long ownerId);
+
+            private:
+				std::string amount_;
+				std::string outBizId_;
+				std::string currency_;
+				long ownerId_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERQUOTAREQUEST_H_

+ 57 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserQuotaResult.h

@@ -0,0 +1,57 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERQUOTARESULT_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERQUOTARESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT SetResellerUserQuotaResult : public ServiceResult
+			{
+			public:
+
+
+				SetResellerUserQuotaResult();
+				explicit SetResellerUserQuotaResult(const std::string &payload);
+				~SetResellerUserQuotaResult();
+				std::string getMessage()const;
+				bool getData()const;
+				std::string getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				bool data_;
+				std::string code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERQUOTARESULT_H_

+ 54 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserStatusRequest.h

@@ -0,0 +1,54 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERSTATUSREQUEST_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERSTATUSREQUEST_H_
+
+#include <string>
+#include <vector>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT SetResellerUserStatusRequest : public RpcServiceRequest
+			{
+
+			public:
+				SetResellerUserStatusRequest();
+				~SetResellerUserStatusRequest();
+
+				std::string getOwnerId()const;
+				void setOwnerId(const std::string& ownerId);
+				std::string getStatus()const;
+				void setStatus(const std::string& status);
+				std::string getBusinessType()const;
+				void setBusinessType(const std::string& businessType);
+
+            private:
+				std::string ownerId_;
+				std::string status_;
+				std::string businessType_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERSTATUSREQUEST_H_

+ 57 - 0
bssopenapi/include/alibabacloud/bssopenapi/model/SetResellerUserStatusResult.h

@@ -0,0 +1,57 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERSTATUSRESULT_H_
+#define ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERSTATUSRESULT_H_
+
+#include <string>
+#include <vector>
+#include <utility>
+#include <alibabacloud/core/ServiceResult.h>
+#include <alibabacloud/bssopenapi/BssOpenApiExport.h>
+
+namespace AlibabaCloud
+{
+	namespace BssOpenApi
+	{
+		namespace Model
+		{
+			class ALIBABACLOUD_BSSOPENAPI_EXPORT SetResellerUserStatusResult : public ServiceResult
+			{
+			public:
+
+
+				SetResellerUserStatusResult();
+				explicit SetResellerUserStatusResult(const std::string &payload);
+				~SetResellerUserStatusResult();
+				std::string getMessage()const;
+				bool getData()const;
+				std::string getCode()const;
+				bool getSuccess()const;
+
+			protected:
+				void parse(const std::string &payload);
+			private:
+				std::string message_;
+				bool data_;
+				std::string code_;
+				bool success_;
+
+			};
+		}
+	}
+}
+#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_SETRESELLERUSERSTATUSRESULT_H_

+ 115 - 0
bssopenapi/src/model/ChangeResellerConsumeAmountRequest.cc

@@ -0,0 +1,115 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/ChangeResellerConsumeAmountRequest.h>
+
+using AlibabaCloud::BssOpenApi::Model::ChangeResellerConsumeAmountRequest;
+
+ChangeResellerConsumeAmountRequest::ChangeResellerConsumeAmountRequest() :
+	RpcServiceRequest("bssopenapi", "2017-12-14", "ChangeResellerConsumeAmount")
+{}
+
+ChangeResellerConsumeAmountRequest::~ChangeResellerConsumeAmountRequest()
+{}
+
+std::string ChangeResellerConsumeAmountRequest::getAdjustType()const
+{
+	return adjustType_;
+}
+
+void ChangeResellerConsumeAmountRequest::setAdjustType(const std::string& adjustType)
+{
+	adjustType_ = adjustType;
+	setCoreParameter("AdjustType", adjustType);
+}
+
+std::string ChangeResellerConsumeAmountRequest::getAmount()const
+{
+	return amount_;
+}
+
+void ChangeResellerConsumeAmountRequest::setAmount(const std::string& amount)
+{
+	amount_ = amount;
+	setCoreParameter("Amount", amount);
+}
+
+std::string ChangeResellerConsumeAmountRequest::getOutBizId()const
+{
+	return outBizId_;
+}
+
+void ChangeResellerConsumeAmountRequest::setOutBizId(const std::string& outBizId)
+{
+	outBizId_ = outBizId;
+	setCoreParameter("OutBizId", outBizId);
+}
+
+std::string ChangeResellerConsumeAmountRequest::getExtendMap()const
+{
+	return extendMap_;
+}
+
+void ChangeResellerConsumeAmountRequest::setExtendMap(const std::string& extendMap)
+{
+	extendMap_ = extendMap;
+	setCoreParameter("ExtendMap", extendMap);
+}
+
+std::string ChangeResellerConsumeAmountRequest::getCurrency()const
+{
+	return currency_;
+}
+
+void ChangeResellerConsumeAmountRequest::setCurrency(const std::string& currency)
+{
+	currency_ = currency;
+	setCoreParameter("Currency", currency);
+}
+
+std::string ChangeResellerConsumeAmountRequest::getSource()const
+{
+	return source_;
+}
+
+void ChangeResellerConsumeAmountRequest::setSource(const std::string& source)
+{
+	source_ = source;
+	setCoreParameter("Source", source);
+}
+
+long ChangeResellerConsumeAmountRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void ChangeResellerConsumeAmountRequest::setOwnerId(long ownerId)
+{
+	ownerId_ = ownerId;
+	setCoreParameter("OwnerId", std::to_string(ownerId));
+}
+
+std::string ChangeResellerConsumeAmountRequest::getBusinessType()const
+{
+	return businessType_;
+}
+
+void ChangeResellerConsumeAmountRequest::setBusinessType(const std::string& businessType)
+{
+	businessType_ = businessType;
+	setCoreParameter("BusinessType", businessType);
+}
+

+ 73 - 0
bssopenapi/src/model/ChangeResellerConsumeAmountResult.cc

@@ -0,0 +1,73 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/ChangeResellerConsumeAmountResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::BssOpenApi;
+using namespace AlibabaCloud::BssOpenApi::Model;
+
+ChangeResellerConsumeAmountResult::ChangeResellerConsumeAmountResult() :
+	ServiceResult()
+{}
+
+ChangeResellerConsumeAmountResult::ChangeResellerConsumeAmountResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+ChangeResellerConsumeAmountResult::~ChangeResellerConsumeAmountResult()
+{}
+
+void ChangeResellerConsumeAmountResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+	if(!value["Data"].isNull())
+		data_ = value["Data"].asString();
+
+}
+
+std::string ChangeResellerConsumeAmountResult::getMessage()const
+{
+	return message_;
+}
+
+std::string ChangeResellerConsumeAmountResult::getData()const
+{
+	return data_;
+}
+
+std::string ChangeResellerConsumeAmountResult::getCode()const
+{
+	return code_;
+}
+
+bool ChangeResellerConsumeAmountResult::getSuccess()const
+{
+	return success_;
+}
+

+ 126 - 0
bssopenapi/src/model/CreateAgAccountRequest.cc

@@ -0,0 +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/bssopenapi/model/CreateAgAccountRequest.h>
+
+using AlibabaCloud::BssOpenApi::Model::CreateAgAccountRequest;
+
+CreateAgAccountRequest::CreateAgAccountRequest() :
+	RpcServiceRequest("bssopenapi", "2017-12-14", "CreateAgAccount")
+{}
+
+CreateAgAccountRequest::~CreateAgAccountRequest()
+{}
+
+std::string CreateAgAccountRequest::getFirstName()const
+{
+	return firstName_;
+}
+
+void CreateAgAccountRequest::setFirstName(const std::string& firstName)
+{
+	firstName_ = firstName;
+	setCoreParameter("FirstName", firstName);
+}
+
+std::string CreateAgAccountRequest::getLoginEmail()const
+{
+	return loginEmail_;
+}
+
+void CreateAgAccountRequest::setLoginEmail(const std::string& loginEmail)
+{
+	loginEmail_ = loginEmail;
+	setCoreParameter("LoginEmail", loginEmail);
+}
+
+std::string CreateAgAccountRequest::getProvinceName()const
+{
+	return provinceName_;
+}
+
+void CreateAgAccountRequest::setProvinceName(const std::string& provinceName)
+{
+	provinceName_ = provinceName;
+	setCoreParameter("ProvinceName", provinceName);
+}
+
+std::string CreateAgAccountRequest::getCityName()const
+{
+	return cityName_;
+}
+
+void CreateAgAccountRequest::setCityName(const std::string& cityName)
+{
+	cityName_ = cityName;
+	setCoreParameter("CityName", cityName);
+}
+
+std::string CreateAgAccountRequest::getAccountAttr()const
+{
+	return accountAttr_;
+}
+
+void CreateAgAccountRequest::setAccountAttr(const std::string& accountAttr)
+{
+	accountAttr_ = accountAttr;
+	setCoreParameter("AccountAttr", accountAttr);
+}
+
+std::string CreateAgAccountRequest::getPostcode()const
+{
+	return postcode_;
+}
+
+void CreateAgAccountRequest::setPostcode(const std::string& postcode)
+{
+	postcode_ = postcode;
+	setCoreParameter("Postcode", postcode);
+}
+
+std::string CreateAgAccountRequest::getEnterpriseName()const
+{
+	return enterpriseName_;
+}
+
+void CreateAgAccountRequest::setEnterpriseName(const std::string& enterpriseName)
+{
+	enterpriseName_ = enterpriseName;
+	setCoreParameter("EnterpriseName", enterpriseName);
+}
+
+std::string CreateAgAccountRequest::getNationCode()const
+{
+	return nationCode_;
+}
+
+void CreateAgAccountRequest::setNationCode(const std::string& nationCode)
+{
+	nationCode_ = nationCode;
+	setCoreParameter("NationCode", nationCode);
+}
+
+std::string CreateAgAccountRequest::getLastName()const
+{
+	return lastName_;
+}
+
+void CreateAgAccountRequest::setLastName(const std::string& lastName)
+{
+	lastName_ = lastName;
+	setCoreParameter("LastName", lastName);
+}
+

+ 80 - 0
bssopenapi/src/model/CreateAgAccountResult.cc

@@ -0,0 +1,80 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/bssopenapi/model/CreateAgAccountResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::BssOpenApi;
+using namespace AlibabaCloud::BssOpenApi::Model;
+
+CreateAgAccountResult::CreateAgAccountResult() :
+	ServiceResult()
+{}
+
+CreateAgAccountResult::CreateAgAccountResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+CreateAgAccountResult::~CreateAgAccountResult()
+{}
+
+void CreateAgAccountResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+	auto agRelationDtoNode = value["AgRelationDto"];
+	if(!agRelationDtoNode["Pk"].isNull())
+		agRelationDto_.pk = agRelationDtoNode["Pk"].asString();
+	if(!agRelationDtoNode["Type"].isNull())
+		agRelationDto_.type = agRelationDtoNode["Type"].asString();
+	if(!agRelationDtoNode["Mpk"].isNull())
+		agRelationDto_.mpk = agRelationDtoNode["Mpk"].asString();
+	if(!agRelationDtoNode["RamAdminRoleName"].isNull())
+		agRelationDto_.ramAdminRoleName = agRelationDtoNode["RamAdminRoleName"].asString();
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+
+}
+
+std::string CreateAgAccountResult::getMessage()const
+{
+	return message_;
+}
+
+CreateAgAccountResult::AgRelationDto CreateAgAccountResult::getAgRelationDto()const
+{
+	return agRelationDto_;
+}
+
+std::string CreateAgAccountResult::getCode()const
+{
+	return code_;
+}
+
+bool CreateAgAccountResult::getSuccess()const
+{
+	return success_;
+}
+

+ 11 - 0
bssopenapi/src/model/CreateInstanceRequest.cc

@@ -47,6 +47,17 @@ void CreateInstanceRequest::setPeriod(int period)
 	setCoreParameter("Period", std::to_string(period));
 }
 
+std::string CreateInstanceRequest::getClientToken()const
+{
+	return clientToken_;
+}
+
+void CreateInstanceRequest::setClientToken(const std::string& clientToken)
+{
+	clientToken_ = clientToken;
+	setCoreParameter("ClientToken", clientToken);
+}
+
 std::string CreateInstanceRequest::getSubscriptionType()const
 {
 	return subscriptionType_;

+ 71 - 0
bssopenapi/src/model/CreateResellerUserQuotaRequest.cc

@@ -0,0 +1,71 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/CreateResellerUserQuotaRequest.h>
+
+using AlibabaCloud::BssOpenApi::Model::CreateResellerUserQuotaRequest;
+
+CreateResellerUserQuotaRequest::CreateResellerUserQuotaRequest() :
+	RpcServiceRequest("bssopenapi", "2017-12-14", "CreateResellerUserQuota")
+{}
+
+CreateResellerUserQuotaRequest::~CreateResellerUserQuotaRequest()
+{}
+
+std::string CreateResellerUserQuotaRequest::getAmount()const
+{
+	return amount_;
+}
+
+void CreateResellerUserQuotaRequest::setAmount(const std::string& amount)
+{
+	amount_ = amount;
+	setCoreParameter("Amount", amount);
+}
+
+std::string CreateResellerUserQuotaRequest::getOutBizId()const
+{
+	return outBizId_;
+}
+
+void CreateResellerUserQuotaRequest::setOutBizId(const std::string& outBizId)
+{
+	outBizId_ = outBizId;
+	setCoreParameter("OutBizId", outBizId);
+}
+
+std::string CreateResellerUserQuotaRequest::getCurrency()const
+{
+	return currency_;
+}
+
+void CreateResellerUserQuotaRequest::setCurrency(const std::string& currency)
+{
+	currency_ = currency;
+	setCoreParameter("Currency", currency);
+}
+
+long CreateResellerUserQuotaRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void CreateResellerUserQuotaRequest::setOwnerId(long ownerId)
+{
+	ownerId_ = ownerId;
+	setCoreParameter("OwnerId", std::to_string(ownerId));
+}
+

+ 73 - 0
bssopenapi/src/model/CreateResellerUserQuotaResult.cc

@@ -0,0 +1,73 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/CreateResellerUserQuotaResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::BssOpenApi;
+using namespace AlibabaCloud::BssOpenApi::Model;
+
+CreateResellerUserQuotaResult::CreateResellerUserQuotaResult() :
+	ServiceResult()
+{}
+
+CreateResellerUserQuotaResult::CreateResellerUserQuotaResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+CreateResellerUserQuotaResult::~CreateResellerUserQuotaResult()
+{}
+
+void CreateResellerUserQuotaResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+	if(!value["Data"].isNull())
+		data_ = value["Data"].asString() == "true";
+
+}
+
+std::string CreateResellerUserQuotaResult::getMessage()const
+{
+	return message_;
+}
+
+bool CreateResellerUserQuotaResult::getData()const
+{
+	return data_;
+}
+
+std::string CreateResellerUserQuotaResult::getCode()const
+{
+	return code_;
+}
+
+bool CreateResellerUserQuotaResult::getSuccess()const
+{
+	return success_;
+}
+

+ 38 - 0
bssopenapi/src/model/GetCustomerAccountInfoRequest.cc

@@ -0,0 +1,38 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/GetCustomerAccountInfoRequest.h>
+
+using AlibabaCloud::BssOpenApi::Model::GetCustomerAccountInfoRequest;
+
+GetCustomerAccountInfoRequest::GetCustomerAccountInfoRequest() :
+	RpcServiceRequest("bssopenapi", "2017-12-14", "GetCustomerAccountInfo")
+{}
+
+GetCustomerAccountInfoRequest::~GetCustomerAccountInfoRequest()
+{}
+
+long GetCustomerAccountInfoRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void GetCustomerAccountInfoRequest::setOwnerId(long ownerId)
+{
+	ownerId_ = ownerId;
+	setCoreParameter("OwnerId", std::to_string(ownerId));
+}
+

+ 84 - 0
bssopenapi/src/model/GetCustomerAccountInfoResult.cc

@@ -0,0 +1,84 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/GetCustomerAccountInfoResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::BssOpenApi;
+using namespace AlibabaCloud::BssOpenApi::Model;
+
+GetCustomerAccountInfoResult::GetCustomerAccountInfoResult() :
+	ServiceResult()
+{}
+
+GetCustomerAccountInfoResult::GetCustomerAccountInfoResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+GetCustomerAccountInfoResult::~GetCustomerAccountInfoResult()
+{}
+
+void GetCustomerAccountInfoResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+	auto dataNode = value["Data"];
+	if(!dataNode["LoginEmail"].isNull())
+		data_.loginEmail = dataNode["LoginEmail"].asString();
+	if(!dataNode["AccountType"].isNull())
+		data_.accountType = dataNode["AccountType"].asString();
+	if(!dataNode["Mpk"].isNull())
+		data_.mpk = std::stol(dataNode["Mpk"].asString());
+	if(!dataNode["HostingStatus"].isNull())
+		data_.hostingStatus = dataNode["HostingStatus"].asString();
+	if(!dataNode["CreditLimitStatus"].isNull())
+		data_.creditLimitStatus = dataNode["CreditLimitStatus"].asString();
+	if(!dataNode["IsCertified"].isNull())
+		data_.isCertified = dataNode["IsCertified"].asString() == "true";
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+
+}
+
+std::string GetCustomerAccountInfoResult::getMessage()const
+{
+	return message_;
+}
+
+GetCustomerAccountInfoResult::Data GetCustomerAccountInfoResult::getData()const
+{
+	return data_;
+}
+
+std::string GetCustomerAccountInfoResult::getCode()const
+{
+	return code_;
+}
+
+bool GetCustomerAccountInfoResult::getSuccess()const
+{
+	return success_;
+}
+

+ 27 - 0
bssopenapi/src/model/GetCustomerListRequest.cc

@@ -0,0 +1,27 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/GetCustomerListRequest.h>
+
+using AlibabaCloud::BssOpenApi::Model::GetCustomerListRequest;
+
+GetCustomerListRequest::GetCustomerListRequest() :
+	RpcServiceRequest("bssopenapi", "2017-12-14", "GetCustomerList")
+{}
+
+GetCustomerListRequest::~GetCustomerListRequest()
+{}
+

+ 75 - 0
bssopenapi/src/model/GetCustomerListResult.cc

@@ -0,0 +1,75 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/bssopenapi/model/GetCustomerListResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::BssOpenApi;
+using namespace AlibabaCloud::BssOpenApi::Model;
+
+GetCustomerListResult::GetCustomerListResult() :
+	ServiceResult()
+{}
+
+GetCustomerListResult::GetCustomerListResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+GetCustomerListResult::~GetCustomerListResult()
+{}
+
+void GetCustomerListResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+	auto dataNode = value["Data"];
+		auto allUidList = dataNode["UidList"]["Item"];
+		for (auto value : allUidList)
+			data_.uidList.push_back(value.asString());
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+
+}
+
+std::string GetCustomerListResult::getMessage()const
+{
+	return message_;
+}
+
+GetCustomerListResult::Data GetCustomerListResult::getData()const
+{
+	return data_;
+}
+
+std::string GetCustomerListResult::getCode()const
+{
+	return code_;
+}
+
+bool GetCustomerListResult::getSuccess()const
+{
+	return success_;
+}
+

+ 2 - 0
bssopenapi/src/model/GetOrderDetailResult.cc

@@ -99,6 +99,8 @@ void GetOrderDetailResult::parse(const std::string &payload)
 			orderObject.paymentCurrency = value["PaymentCurrency"].asString();
 		if(!value["Operator"].isNull())
 			orderObject._operator = value["Operator"].asString();
+		if(!value["RelatedOrderId"].isNull())
+			orderObject.relatedOrderId = value["RelatedOrderId"].asString();
 		data_.orderList.push_back(orderObject);
 	}
 	if(!value["Success"].isNull())

+ 11 - 0
bssopenapi/src/model/ModifyInstanceRequest.cc

@@ -47,6 +47,17 @@ void ModifyInstanceRequest::setInstanceId(const std::string& instanceId)
 	setCoreParameter("InstanceId", instanceId);
 }
 
+std::string ModifyInstanceRequest::getClientToken()const
+{
+	return clientToken_;
+}
+
+void ModifyInstanceRequest::setClientToken(const std::string& clientToken)
+{
+	clientToken_ = clientToken;
+	setCoreParameter("ClientToken", clientToken);
+}
+
 std::string ModifyInstanceRequest::getSubscriptionType()const
 {
 	return subscriptionType_;

+ 104 - 0
bssopenapi/src/model/QueryAccountTransactionsRequest.cc

@@ -0,0 +1,104 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/bssopenapi/model/QueryAccountTransactionsRequest.h>
+
+using AlibabaCloud::BssOpenApi::Model::QueryAccountTransactionsRequest;
+
+QueryAccountTransactionsRequest::QueryAccountTransactionsRequest() :
+	RpcServiceRequest("bssopenapi", "2017-12-14", "QueryAccountTransactions")
+{}
+
+QueryAccountTransactionsRequest::~QueryAccountTransactionsRequest()
+{}
+
+std::string QueryAccountTransactionsRequest::getRecordID()const
+{
+	return recordID_;
+}
+
+void QueryAccountTransactionsRequest::setRecordID(const std::string& recordID)
+{
+	recordID_ = recordID;
+	setCoreParameter("RecordID", recordID);
+}
+
+int QueryAccountTransactionsRequest::getPageSize()const
+{
+	return pageSize_;
+}
+
+void QueryAccountTransactionsRequest::setPageSize(int pageSize)
+{
+	pageSize_ = pageSize;
+	setCoreParameter("PageSize", std::to_string(pageSize));
+}
+
+std::string QueryAccountTransactionsRequest::getTransactionChannelSN()const
+{
+	return transactionChannelSN_;
+}
+
+void QueryAccountTransactionsRequest::setTransactionChannelSN(const std::string& transactionChannelSN)
+{
+	transactionChannelSN_ = transactionChannelSN;
+	setCoreParameter("TransactionChannelSN", transactionChannelSN);
+}
+
+std::string QueryAccountTransactionsRequest::getCreateTimeStart()const
+{
+	return createTimeStart_;
+}
+
+void QueryAccountTransactionsRequest::setCreateTimeStart(const std::string& createTimeStart)
+{
+	createTimeStart_ = createTimeStart;
+	setCoreParameter("CreateTimeStart", createTimeStart);
+}
+
+std::string QueryAccountTransactionsRequest::getTransactionNumber()const
+{
+	return transactionNumber_;
+}
+
+void QueryAccountTransactionsRequest::setTransactionNumber(const std::string& transactionNumber)
+{
+	transactionNumber_ = transactionNumber;
+	setCoreParameter("TransactionNumber", transactionNumber);
+}
+
+int QueryAccountTransactionsRequest::getPageNum()const
+{
+	return pageNum_;
+}
+
+void QueryAccountTransactionsRequest::setPageNum(int pageNum)
+{
+	pageNum_ = pageNum;
+	setCoreParameter("PageNum", std::to_string(pageNum));
+}
+
+std::string QueryAccountTransactionsRequest::getCreateTimeEnd()const
+{
+	return createTimeEnd_;
+}
+
+void QueryAccountTransactionsRequest::setCreateTimeEnd(const std::string& createTimeEnd)
+{
+	createTimeEnd_ = createTimeEnd;
+	setCoreParameter("CreateTimeEnd", createTimeEnd);
+}
+

+ 112 - 0
bssopenapi/src/model/QueryAccountTransactionsResult.cc

@@ -0,0 +1,112 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/bssopenapi/model/QueryAccountTransactionsResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::BssOpenApi;
+using namespace AlibabaCloud::BssOpenApi::Model;
+
+QueryAccountTransactionsResult::QueryAccountTransactionsResult() :
+	ServiceResult()
+{}
+
+QueryAccountTransactionsResult::QueryAccountTransactionsResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+QueryAccountTransactionsResult::~QueryAccountTransactionsResult()
+{}
+
+void QueryAccountTransactionsResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+	auto dataNode = value["Data"];
+	if(!dataNode["AccountName"].isNull())
+		data_.accountName = dataNode["AccountName"].asString();
+	if(!dataNode["TotalCount"].isNull())
+		data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
+	if(!dataNode["PageNum"].isNull())
+		data_.pageNum = std::stoi(dataNode["PageNum"].asString());
+	if(!dataNode["PageSize"].isNull())
+		data_.pageSize = std::stoi(dataNode["PageSize"].asString());
+	auto allAccountTransactionsList = value["AccountTransactionsList"]["AccountTransactionsListItem"];
+	for (auto value : allAccountTransactionsList)
+	{
+		Data::AccountTransactionsListItem accountTransactionsListItemObject;
+		if(!value["TransactionNumber"].isNull())
+			accountTransactionsListItemObject.transactionNumber = value["TransactionNumber"].asString();
+		if(!value["TransactionTime"].isNull())
+			accountTransactionsListItemObject.transactionTime = value["TransactionTime"].asString();
+		if(!value["TransactionFlow"].isNull())
+			accountTransactionsListItemObject.transactionFlow = value["TransactionFlow"].asString();
+		if(!value["TransactionType"].isNull())
+			accountTransactionsListItemObject.transactionType = value["TransactionType"].asString();
+		if(!value["TransactionChannel"].isNull())
+			accountTransactionsListItemObject.transactionChannel = value["TransactionChannel"].asString();
+		if(!value["TransactionChannelSN"].isNull())
+			accountTransactionsListItemObject.transactionChannelSN = value["TransactionChannelSN"].asString();
+		if(!value["FundType"].isNull())
+			accountTransactionsListItemObject.fundType = value["FundType"].asString();
+		if(!value["RecordID"].isNull())
+			accountTransactionsListItemObject.recordID = value["RecordID"].asString();
+		if(!value["Remarks"].isNull())
+			accountTransactionsListItemObject.remarks = value["Remarks"].asString();
+		if(!value["BillingCycle"].isNull())
+			accountTransactionsListItemObject.billingCycle = value["BillingCycle"].asString();
+		if(!value["Amount"].isNull())
+			accountTransactionsListItemObject.amount = value["Amount"].asString();
+		if(!value["Balance"].isNull())
+			accountTransactionsListItemObject.balance = value["Balance"].asString();
+		if(!value["TransactionAccount"].isNull())
+			accountTransactionsListItemObject.transactionAccount = value["TransactionAccount"].asString();
+		data_.accountTransactionsList.push_back(accountTransactionsListItemObject);
+	}
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+
+}
+
+std::string QueryAccountTransactionsResult::getMessage()const
+{
+	return message_;
+}
+
+QueryAccountTransactionsResult::Data QueryAccountTransactionsResult::getData()const
+{
+	return data_;
+}
+
+std::string QueryAccountTransactionsResult::getCode()const
+{
+	return code_;
+}
+
+bool QueryAccountTransactionsResult::getSuccess()const
+{
+	return success_;
+}
+

+ 2 - 0
bssopenapi/src/model/QueryBillOverviewResult.cc

@@ -89,6 +89,8 @@ void QueryBillOverviewResult::parse(const std::string &payload)
 			itemObject.afterTaxAmount = std::stof(value["AfterTaxAmount"].asString());
 		if(!value["PaymentCurrency"].isNull())
 			itemObject.paymentCurrency = value["PaymentCurrency"].asString();
+		if(!value["RoundDownDiscount"].isNull())
+			itemObject.roundDownDiscount = value["RoundDownDiscount"].asString();
 		data_.items.push_back(itemObject);
 	}
 	if(!value["Success"].isNull())

+ 2 - 0
bssopenapi/src/model/QueryBillResult.cc

@@ -109,6 +109,8 @@ void QueryBillResult::parse(const std::string &payload)
 			itemObject.paymentCurrency = value["PaymentCurrency"].asString();
 		if(!value["PaymentTransactionID"].isNull())
 			itemObject.paymentTransactionID = value["PaymentTransactionID"].asString();
+		if(!value["RoundDownDiscount"].isNull())
+			itemObject.roundDownDiscount = value["RoundDownDiscount"].asString();
 		data_.items.push_back(itemObject);
 	}
 	if(!value["Success"].isNull())

+ 20 - 2
bssopenapi/src/model/QueryInstanceBillResult.cc

@@ -59,8 +59,6 @@ void QueryInstanceBillResult::parse(const std::string &payload)
 		Data::Item itemObject;
 		if(!value["InstanceID"].isNull())
 			itemObject.instanceID = value["InstanceID"].asString();
-		if(!value["ServicePeriod"].isNull())
-			itemObject.servicePeriod = std::stof(value["ServicePeriod"].asString());
 		if(!value["BillingType"].isNull())
 			itemObject.billingType = value["BillingType"].asString();
 		if(!value["CostUnit"].isNull())
@@ -107,6 +105,26 @@ void QueryInstanceBillResult::parse(const std::string &payload)
 			itemObject.outstandingAmount = std::stof(value["OutstandingAmount"].asString());
 		if(!value["Currency"].isNull())
 			itemObject.currency = value["Currency"].asString();
+		if(!value["NickName"].isNull())
+			itemObject.nickName = value["NickName"].asString();
+		if(!value["ResourceGroup"].isNull())
+			itemObject.resourceGroup = value["ResourceGroup"].asString();
+		if(!value["Tag"].isNull())
+			itemObject.tag = value["Tag"].asString();
+		if(!value["InstanceConfig"].isNull())
+			itemObject.instanceConfig = value["InstanceConfig"].asString();
+		if(!value["InstanceSpec"].isNull())
+			itemObject.instanceSpec = value["InstanceSpec"].asString();
+		if(!value["InternetIP"].isNull())
+			itemObject.internetIP = value["InternetIP"].asString();
+		if(!value["IntranetIP"].isNull())
+			itemObject.intranetIP = value["IntranetIP"].asString();
+		if(!value["Region"].isNull())
+			itemObject.region = value["Region"].asString();
+		if(!value["Zone"].isNull())
+			itemObject.zone = value["Zone"].asString();
+		if(!value["Item"].isNull())
+			itemObject.item = value["Item"].asString();
 		data_.items.push_back(itemObject);
 	}
 	if(!value["Success"].isNull())

+ 2 - 0
bssopenapi/src/model/QueryOrdersResult.cc

@@ -83,6 +83,8 @@ void QueryOrdersResult::parse(const std::string &payload)
 			orderObject.afterTaxAmount = value["AfterTaxAmount"].asString();
 		if(!value["PaymentCurrency"].isNull())
 			orderObject.paymentCurrency = value["PaymentCurrency"].asString();
+		if(!value["RelatedOrderId"].isNull())
+			orderObject.relatedOrderId = value["RelatedOrderId"].asString();
 		data_.orderList.push_back(orderObject);
 	}
 	if(!value["Success"].isNull())

+ 49 - 0
bssopenapi/src/model/QueryResellerAvailableQuotaRequest.cc

@@ -0,0 +1,49 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/QueryResellerAvailableQuotaRequest.h>
+
+using AlibabaCloud::BssOpenApi::Model::QueryResellerAvailableQuotaRequest;
+
+QueryResellerAvailableQuotaRequest::QueryResellerAvailableQuotaRequest() :
+	RpcServiceRequest("bssopenapi", "2017-12-14", "QueryResellerAvailableQuota")
+{}
+
+QueryResellerAvailableQuotaRequest::~QueryResellerAvailableQuotaRequest()
+{}
+
+std::string QueryResellerAvailableQuotaRequest::getItemCodes()const
+{
+	return itemCodes_;
+}
+
+void QueryResellerAvailableQuotaRequest::setItemCodes(const std::string& itemCodes)
+{
+	itemCodes_ = itemCodes;
+	setCoreParameter("ItemCodes", itemCodes);
+}
+
+long QueryResellerAvailableQuotaRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void QueryResellerAvailableQuotaRequest::setOwnerId(long ownerId)
+{
+	ownerId_ = ownerId;
+	setCoreParameter("OwnerId", std::to_string(ownerId));
+}
+

+ 73 - 0
bssopenapi/src/model/QueryResellerAvailableQuotaResult.cc

@@ -0,0 +1,73 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/QueryResellerAvailableQuotaResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::BssOpenApi;
+using namespace AlibabaCloud::BssOpenApi::Model;
+
+QueryResellerAvailableQuotaResult::QueryResellerAvailableQuotaResult() :
+	ServiceResult()
+{}
+
+QueryResellerAvailableQuotaResult::QueryResellerAvailableQuotaResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+QueryResellerAvailableQuotaResult::~QueryResellerAvailableQuotaResult()
+{}
+
+void QueryResellerAvailableQuotaResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+	if(!value["Data"].isNull())
+		data_ = value["Data"].asString();
+
+}
+
+std::string QueryResellerAvailableQuotaResult::getMessage()const
+{
+	return message_;
+}
+
+std::string QueryResellerAvailableQuotaResult::getData()const
+{
+	return data_;
+}
+
+std::string QueryResellerAvailableQuotaResult::getCode()const
+{
+	return code_;
+}
+
+bool QueryResellerAvailableQuotaResult::getSuccess()const
+{
+	return success_;
+}
+

+ 60 - 0
bssopenapi/src/model/SetResellerUserAlarmThresholdRequest.cc

@@ -0,0 +1,60 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/bssopenapi/model/SetResellerUserAlarmThresholdRequest.h>
+
+using AlibabaCloud::BssOpenApi::Model::SetResellerUserAlarmThresholdRequest;
+
+SetResellerUserAlarmThresholdRequest::SetResellerUserAlarmThresholdRequest() :
+	RpcServiceRequest("bssopenapi", "2017-12-14", "SetResellerUserAlarmThreshold")
+{}
+
+SetResellerUserAlarmThresholdRequest::~SetResellerUserAlarmThresholdRequest()
+{}
+
+std::string SetResellerUserAlarmThresholdRequest::getAlarmType()const
+{
+	return alarmType_;
+}
+
+void SetResellerUserAlarmThresholdRequest::setAlarmType(const std::string& alarmType)
+{
+	alarmType_ = alarmType;
+	setCoreParameter("AlarmType", alarmType);
+}
+
+std::string SetResellerUserAlarmThresholdRequest::getAlarmThresholds()const
+{
+	return alarmThresholds_;
+}
+
+void SetResellerUserAlarmThresholdRequest::setAlarmThresholds(const std::string& alarmThresholds)
+{
+	alarmThresholds_ = alarmThresholds;
+	setCoreParameter("AlarmThresholds", alarmThresholds);
+}
+
+long SetResellerUserAlarmThresholdRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void SetResellerUserAlarmThresholdRequest::setOwnerId(long ownerId)
+{
+	ownerId_ = ownerId;
+	setCoreParameter("OwnerId", std::to_string(ownerId));
+}
+

+ 73 - 0
bssopenapi/src/model/SetResellerUserAlarmThresholdResult.cc

@@ -0,0 +1,73 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/SetResellerUserAlarmThresholdResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::BssOpenApi;
+using namespace AlibabaCloud::BssOpenApi::Model;
+
+SetResellerUserAlarmThresholdResult::SetResellerUserAlarmThresholdResult() :
+	ServiceResult()
+{}
+
+SetResellerUserAlarmThresholdResult::SetResellerUserAlarmThresholdResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+SetResellerUserAlarmThresholdResult::~SetResellerUserAlarmThresholdResult()
+{}
+
+void SetResellerUserAlarmThresholdResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+	if(!value["Data"].isNull())
+		data_ = value["Data"].asString() == "true";
+
+}
+
+std::string SetResellerUserAlarmThresholdResult::getMessage()const
+{
+	return message_;
+}
+
+bool SetResellerUserAlarmThresholdResult::getData()const
+{
+	return data_;
+}
+
+std::string SetResellerUserAlarmThresholdResult::getCode()const
+{
+	return code_;
+}
+
+bool SetResellerUserAlarmThresholdResult::getSuccess()const
+{
+	return success_;
+}
+

+ 71 - 0
bssopenapi/src/model/SetResellerUserQuotaRequest.cc

@@ -0,0 +1,71 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/SetResellerUserQuotaRequest.h>
+
+using AlibabaCloud::BssOpenApi::Model::SetResellerUserQuotaRequest;
+
+SetResellerUserQuotaRequest::SetResellerUserQuotaRequest() :
+	RpcServiceRequest("bssopenapi", "2017-12-14", "SetResellerUserQuota")
+{}
+
+SetResellerUserQuotaRequest::~SetResellerUserQuotaRequest()
+{}
+
+std::string SetResellerUserQuotaRequest::getAmount()const
+{
+	return amount_;
+}
+
+void SetResellerUserQuotaRequest::setAmount(const std::string& amount)
+{
+	amount_ = amount;
+	setCoreParameter("Amount", amount);
+}
+
+std::string SetResellerUserQuotaRequest::getOutBizId()const
+{
+	return outBizId_;
+}
+
+void SetResellerUserQuotaRequest::setOutBizId(const std::string& outBizId)
+{
+	outBizId_ = outBizId;
+	setCoreParameter("OutBizId", outBizId);
+}
+
+std::string SetResellerUserQuotaRequest::getCurrency()const
+{
+	return currency_;
+}
+
+void SetResellerUserQuotaRequest::setCurrency(const std::string& currency)
+{
+	currency_ = currency;
+	setCoreParameter("Currency", currency);
+}
+
+long SetResellerUserQuotaRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void SetResellerUserQuotaRequest::setOwnerId(long ownerId)
+{
+	ownerId_ = ownerId;
+	setCoreParameter("OwnerId", std::to_string(ownerId));
+}
+

+ 73 - 0
bssopenapi/src/model/SetResellerUserQuotaResult.cc

@@ -0,0 +1,73 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/SetResellerUserQuotaResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::BssOpenApi;
+using namespace AlibabaCloud::BssOpenApi::Model;
+
+SetResellerUserQuotaResult::SetResellerUserQuotaResult() :
+	ServiceResult()
+{}
+
+SetResellerUserQuotaResult::SetResellerUserQuotaResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+SetResellerUserQuotaResult::~SetResellerUserQuotaResult()
+{}
+
+void SetResellerUserQuotaResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+	if(!value["Data"].isNull())
+		data_ = value["Data"].asString() == "true";
+
+}
+
+std::string SetResellerUserQuotaResult::getMessage()const
+{
+	return message_;
+}
+
+bool SetResellerUserQuotaResult::getData()const
+{
+	return data_;
+}
+
+std::string SetResellerUserQuotaResult::getCode()const
+{
+	return code_;
+}
+
+bool SetResellerUserQuotaResult::getSuccess()const
+{
+	return success_;
+}
+

+ 60 - 0
bssopenapi/src/model/SetResellerUserStatusRequest.cc

@@ -0,0 +1,60 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/bssopenapi/model/SetResellerUserStatusRequest.h>
+
+using AlibabaCloud::BssOpenApi::Model::SetResellerUserStatusRequest;
+
+SetResellerUserStatusRequest::SetResellerUserStatusRequest() :
+	RpcServiceRequest("bssopenapi", "2017-12-14", "SetResellerUserStatus")
+{}
+
+SetResellerUserStatusRequest::~SetResellerUserStatusRequest()
+{}
+
+std::string SetResellerUserStatusRequest::getOwnerId()const
+{
+	return ownerId_;
+}
+
+void SetResellerUserStatusRequest::setOwnerId(const std::string& ownerId)
+{
+	ownerId_ = ownerId;
+	setCoreParameter("OwnerId", ownerId);
+}
+
+std::string SetResellerUserStatusRequest::getStatus()const
+{
+	return status_;
+}
+
+void SetResellerUserStatusRequest::setStatus(const std::string& status)
+{
+	status_ = status;
+	setCoreParameter("Status", status);
+}
+
+std::string SetResellerUserStatusRequest::getBusinessType()const
+{
+	return businessType_;
+}
+
+void SetResellerUserStatusRequest::setBusinessType(const std::string& businessType)
+{
+	businessType_ = businessType;
+	setCoreParameter("BusinessType", businessType);
+}
+

+ 73 - 0
bssopenapi/src/model/SetResellerUserStatusResult.cc

@@ -0,0 +1,73 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT 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/bssopenapi/model/SetResellerUserStatusResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::BssOpenApi;
+using namespace AlibabaCloud::BssOpenApi::Model;
+
+SetResellerUserStatusResult::SetResellerUserStatusResult() :
+	ServiceResult()
+{}
+
+SetResellerUserStatusResult::SetResellerUserStatusResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+SetResellerUserStatusResult::~SetResellerUserStatusResult()
+{}
+
+void SetResellerUserStatusResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+
+	setRequestId(value["RequestId"].asString());
+	if(!value["Code"].isNull())
+		code_ = value["Code"].asString();
+	if(!value["Message"].isNull())
+		message_ = value["Message"].asString();
+	if(!value["Success"].isNull())
+		success_ = value["Success"].asString() == "true";
+	if(!value["Data"].isNull())
+		data_ = value["Data"].asString() == "true";
+
+}
+
+std::string SetResellerUserStatusResult::getMessage()const
+{
+	return message_;
+}
+
+bool SetResellerUserStatusResult::getData()const
+{
+	return data_;
+}
+
+std::string SetResellerUserStatusResult::getCode()const
+{
+	return code_;
+}
+
+bool SetResellerUserStatusResult::getSuccess()const
+{
+	return success_;
+}
+