BSSOPENAPI SDK Auto Released By simon.lb,Version:1.34.48
Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
This commit is contained in:
@@ -116,6 +116,8 @@
|
||||
#include "model/QueryBillOverviewResult.h"
|
||||
#include "model/QuerySettlementBillRequest.h"
|
||||
#include "model/QuerySettlementBillResult.h"
|
||||
#include "model/QueryUserOmsDataRequest.h"
|
||||
#include "model/QueryUserOmsDataResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -266,6 +268,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::QuerySettlementBillResult> QuerySettlementBillOutcome;
|
||||
typedef std::future<QuerySettlementBillOutcome> QuerySettlementBillOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QuerySettlementBillRequest&, const QuerySettlementBillOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySettlementBillAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryUserOmsDataResult> QueryUserOmsDataOutcome;
|
||||
typedef std::future<QueryUserOmsDataOutcome> QueryUserOmsDataOutcomeCallable;
|
||||
typedef std::function<void(const BssOpenApiClient*, const Model::QueryUserOmsDataRequest&, const QueryUserOmsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryUserOmsDataAsyncHandler;
|
||||
|
||||
BssOpenApiClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
BssOpenApiClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -412,6 +417,9 @@ namespace AlibabaCloud
|
||||
QuerySettlementBillOutcome querySettlementBill(const Model::QuerySettlementBillRequest &request)const;
|
||||
void querySettlementBillAsync(const Model::QuerySettlementBillRequest& request, const QuerySettlementBillAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QuerySettlementBillOutcomeCallable querySettlementBillCallable(const Model::QuerySettlementBillRequest& request) const;
|
||||
QueryUserOmsDataOutcome queryUserOmsData(const Model::QueryUserOmsDataRequest &request)const;
|
||||
void queryUserOmsDataAsync(const Model::QueryUserOmsDataRequest& request, const QueryUserOmsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryUserOmsDataOutcomeCallable queryUserOmsDataCallable(const Model::QueryUserOmsDataRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -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_QUERYUSEROMSDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYUSEROMSDATAREQUEST_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 QueryUserOmsDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryUserOmsDataRequest();
|
||||
~QueryUserOmsDataRequest();
|
||||
|
||||
std::string getDataType()const;
|
||||
void setDataType(const std::string& dataType);
|
||||
std::string getMarker()const;
|
||||
void setMarker(const std::string& marker);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTable()const;
|
||||
void setTable(const std::string& table);
|
||||
|
||||
private:
|
||||
std::string dataType_;
|
||||
std::string marker_;
|
||||
int pageSize_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long ownerId_;
|
||||
std::string table_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYUSEROMSDATAREQUEST_H_
|
||||
@@ -0,0 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYUSEROMSDATARESULT_H_
|
||||
#define ALIBABACLOUD_BSSOPENAPI_MODEL_QUERYUSEROMSDATARESULT_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 QueryUserOmsDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string marker;
|
||||
std::string hostId;
|
||||
std::vector<std::string> omsData;
|
||||
};
|
||||
|
||||
|
||||
QueryUserOmsDataResult();
|
||||
explicit QueryUserOmsDataResult(const std::string &payload);
|
||||
~QueryUserOmsDataResult();
|
||||
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_QUERYUSEROMSDATARESULT_H_
|
||||
Reference in New Issue
Block a user