Skip to content

Commit cbfaef5

Browse files
committed
Debugger.
1 parent 69ead26 commit cbfaef5

38 files changed

+2498
-1
lines changed

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-07-18 Version 1.36.94
2+
- Debugger.
3+
14
2019-07-15 Version 1.36.93
25
- Debugger.
36

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.93
1+
1.36.94

acs/CMakeLists.txt

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
#
2+
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
18+
19+
set(acs_public_header
20+
include/alibabacloud/acs/AcsClient.h
21+
include/alibabacloud/acs/AcsExport.h )
22+
23+
set(acs_public_header_model
24+
include/alibabacloud/acs/model/DeleteApiInDailyRequest.h
25+
include/alibabacloud/acs/model/DeleteApiInDailyResult.h
26+
include/alibabacloud/acs/model/DeleteApiOnlineRequest.h
27+
include/alibabacloud/acs/model/DeleteApiOnlineResult.h
28+
include/alibabacloud/acs/model/ResumePurchasedApiRequest.h
29+
include/alibabacloud/acs/model/ResumePurchasedApiResult.h
30+
include/alibabacloud/acs/model/StopPurchasedApiRequest.h
31+
include/alibabacloud/acs/model/StopPurchasedApiResult.h
32+
include/alibabacloud/acs/model/ModifyApiNameInDailyRequest.h
33+
include/alibabacloud/acs/model/ModifyApiNameInDailyResult.h
34+
include/alibabacloud/acs/model/PutFlowControlRequest.h
35+
include/alibabacloud/acs/model/PutFlowControlResult.h
36+
include/alibabacloud/acs/model/ModifyApiNameRequest.h
37+
include/alibabacloud/acs/model/ModifyApiNameResult.h
38+
include/alibabacloud/acs/model/PurchaseApiRequest.h
39+
include/alibabacloud/acs/model/PurchaseApiResult.h )
40+
41+
set(acs_src
42+
src/AcsClient.cc
43+
src/model/DeleteApiInDailyRequest.cc
44+
src/model/DeleteApiInDailyResult.cc
45+
src/model/DeleteApiOnlineRequest.cc
46+
src/model/DeleteApiOnlineResult.cc
47+
src/model/ResumePurchasedApiRequest.cc
48+
src/model/ResumePurchasedApiResult.cc
49+
src/model/StopPurchasedApiRequest.cc
50+
src/model/StopPurchasedApiResult.cc
51+
src/model/ModifyApiNameInDailyRequest.cc
52+
src/model/ModifyApiNameInDailyResult.cc
53+
src/model/PutFlowControlRequest.cc
54+
src/model/PutFlowControlResult.cc
55+
src/model/ModifyApiNameRequest.cc
56+
src/model/ModifyApiNameResult.cc
57+
src/model/PurchaseApiRequest.cc
58+
src/model/PurchaseApiResult.cc )
59+
60+
add_library(acs ${LIB_TYPE}
61+
${acs_public_header}
62+
${acs_public_header_model}
63+
${acs_src})
64+
65+
set_target_properties(acs
66+
PROPERTIES
67+
LINKER_LANGUAGE CXX
68+
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
69+
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
70+
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
71+
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}acs
72+
)
73+
74+
if(${LIB_TYPE} STREQUAL "SHARED")
75+
set_target_properties(acs
76+
PROPERTIES
77+
DEFINE_SYMBOL ALIBABACLOUD_ACS_LIBRARY)
78+
endif()
79+
80+
target_include_directories(acs
81+
PRIVATE include
82+
${CMAKE_SOURCE_DIR}/core/include
83+
)
84+
target_link_libraries(acs
85+
core)
86+
87+
if(CMAKE_HOST_WIN32)
88+
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
89+
set(jsoncpp_install_dir ${INSTALL_DIR})
90+
add_dependencies(acs
91+
jsoncpp)
92+
target_include_directories(acs
93+
PRIVATE ${jsoncpp_install_dir}/include)
94+
target_link_libraries(acs
95+
${jsoncpp_install_dir}/lib/jsoncpp.lib)
96+
set_target_properties(acs
97+
PROPERTIES
98+
COMPILE_OPTIONS "/bigobj")
99+
else()
100+
target_include_directories(acs
101+
PRIVATE /usr/include/jsoncpp)
102+
target_link_libraries(acs
103+
jsoncpp)
104+
endif()
105+
106+
install(FILES ${acs_public_header}
107+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/acs)
108+
install(FILES ${acs_public_header_model}
109+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/acs/model)
110+
install(TARGETS acs
111+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
112+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
113+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
114+
)
Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,110 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_ACS_ACSCLIENT_H_
18+
#define ALIBABACLOUD_ACS_ACSCLIENT_H_
19+
20+
#include <future>
21+
#include <alibabacloud/core/AsyncCallerContext.h>
22+
#include <alibabacloud/core/EndpointProvider.h>
23+
#include <alibabacloud/core/RoaServiceClient.h>
24+
#include "AcsExport.h"
25+
#include "model/DeleteApiInDailyRequest.h"
26+
#include "model/DeleteApiInDailyResult.h"
27+
#include "model/DeleteApiOnlineRequest.h"
28+
#include "model/DeleteApiOnlineResult.h"
29+
#include "model/ResumePurchasedApiRequest.h"
30+
#include "model/ResumePurchasedApiResult.h"
31+
#include "model/StopPurchasedApiRequest.h"
32+
#include "model/StopPurchasedApiResult.h"
33+
#include "model/ModifyApiNameInDailyRequest.h"
34+
#include "model/ModifyApiNameInDailyResult.h"
35+
#include "model/PutFlowControlRequest.h"
36+
#include "model/PutFlowControlResult.h"
37+
#include "model/ModifyApiNameRequest.h"
38+
#include "model/ModifyApiNameResult.h"
39+
#include "model/PurchaseApiRequest.h"
40+
#include "model/PurchaseApiResult.h"
41+
42+
43+
namespace AlibabaCloud
44+
{
45+
namespace Acs
46+
{
47+
class ALIBABACLOUD_ACS_EXPORT AcsClient : public RoaServiceClient
48+
{
49+
public:
50+
typedef Outcome<Error, Model::DeleteApiInDailyResult> DeleteApiInDailyOutcome;
51+
typedef std::future<DeleteApiInDailyOutcome> DeleteApiInDailyOutcomeCallable;
52+
typedef std::function<void(const AcsClient*, const Model::DeleteApiInDailyRequest&, const DeleteApiInDailyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteApiInDailyAsyncHandler;
53+
typedef Outcome<Error, Model::DeleteApiOnlineResult> DeleteApiOnlineOutcome;
54+
typedef std::future<DeleteApiOnlineOutcome> DeleteApiOnlineOutcomeCallable;
55+
typedef std::function<void(const AcsClient*, const Model::DeleteApiOnlineRequest&, const DeleteApiOnlineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteApiOnlineAsyncHandler;
56+
typedef Outcome<Error, Model::ResumePurchasedApiResult> ResumePurchasedApiOutcome;
57+
typedef std::future<ResumePurchasedApiOutcome> ResumePurchasedApiOutcomeCallable;
58+
typedef std::function<void(const AcsClient*, const Model::ResumePurchasedApiRequest&, const ResumePurchasedApiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumePurchasedApiAsyncHandler;
59+
typedef Outcome<Error, Model::StopPurchasedApiResult> StopPurchasedApiOutcome;
60+
typedef std::future<StopPurchasedApiOutcome> StopPurchasedApiOutcomeCallable;
61+
typedef std::function<void(const AcsClient*, const Model::StopPurchasedApiRequest&, const StopPurchasedApiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopPurchasedApiAsyncHandler;
62+
typedef Outcome<Error, Model::ModifyApiNameInDailyResult> ModifyApiNameInDailyOutcome;
63+
typedef std::future<ModifyApiNameInDailyOutcome> ModifyApiNameInDailyOutcomeCallable;
64+
typedef std::function<void(const AcsClient*, const Model::ModifyApiNameInDailyRequest&, const ModifyApiNameInDailyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyApiNameInDailyAsyncHandler;
65+
typedef Outcome<Error, Model::PutFlowControlResult> PutFlowControlOutcome;
66+
typedef std::future<PutFlowControlOutcome> PutFlowControlOutcomeCallable;
67+
typedef std::function<void(const AcsClient*, const Model::PutFlowControlRequest&, const PutFlowControlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PutFlowControlAsyncHandler;
68+
typedef Outcome<Error, Model::ModifyApiNameResult> ModifyApiNameOutcome;
69+
typedef std::future<ModifyApiNameOutcome> ModifyApiNameOutcomeCallable;
70+
typedef std::function<void(const AcsClient*, const Model::ModifyApiNameRequest&, const ModifyApiNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyApiNameAsyncHandler;
71+
typedef Outcome<Error, Model::PurchaseApiResult> PurchaseApiOutcome;
72+
typedef std::future<PurchaseApiOutcome> PurchaseApiOutcomeCallable;
73+
typedef std::function<void(const AcsClient*, const Model::PurchaseApiRequest&, const PurchaseApiOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PurchaseApiAsyncHandler;
74+
75+
AcsClient(const Credentials &credentials, const ClientConfiguration &configuration);
76+
AcsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
77+
AcsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
78+
~AcsClient();
79+
DeleteApiInDailyOutcome deleteApiInDaily(const Model::DeleteApiInDailyRequest &request)const;
80+
void deleteApiInDailyAsync(const Model::DeleteApiInDailyRequest& request, const DeleteApiInDailyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
81+
DeleteApiInDailyOutcomeCallable deleteApiInDailyCallable(const Model::DeleteApiInDailyRequest& request) const;
82+
DeleteApiOnlineOutcome deleteApiOnline(const Model::DeleteApiOnlineRequest &request)const;
83+
void deleteApiOnlineAsync(const Model::DeleteApiOnlineRequest& request, const DeleteApiOnlineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
84+
DeleteApiOnlineOutcomeCallable deleteApiOnlineCallable(const Model::DeleteApiOnlineRequest& request) const;
85+
ResumePurchasedApiOutcome resumePurchasedApi(const Model::ResumePurchasedApiRequest &request)const;
86+
void resumePurchasedApiAsync(const Model::ResumePurchasedApiRequest& request, const ResumePurchasedApiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
87+
ResumePurchasedApiOutcomeCallable resumePurchasedApiCallable(const Model::ResumePurchasedApiRequest& request) const;
88+
StopPurchasedApiOutcome stopPurchasedApi(const Model::StopPurchasedApiRequest &request)const;
89+
void stopPurchasedApiAsync(const Model::StopPurchasedApiRequest& request, const StopPurchasedApiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
90+
StopPurchasedApiOutcomeCallable stopPurchasedApiCallable(const Model::StopPurchasedApiRequest& request) const;
91+
ModifyApiNameInDailyOutcome modifyApiNameInDaily(const Model::ModifyApiNameInDailyRequest &request)const;
92+
void modifyApiNameInDailyAsync(const Model::ModifyApiNameInDailyRequest& request, const ModifyApiNameInDailyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
93+
ModifyApiNameInDailyOutcomeCallable modifyApiNameInDailyCallable(const Model::ModifyApiNameInDailyRequest& request) const;
94+
PutFlowControlOutcome putFlowControl(const Model::PutFlowControlRequest &request)const;
95+
void putFlowControlAsync(const Model::PutFlowControlRequest& request, const PutFlowControlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
96+
PutFlowControlOutcomeCallable putFlowControlCallable(const Model::PutFlowControlRequest& request) const;
97+
ModifyApiNameOutcome modifyApiName(const Model::ModifyApiNameRequest &request)const;
98+
void modifyApiNameAsync(const Model::ModifyApiNameRequest& request, const ModifyApiNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
99+
ModifyApiNameOutcomeCallable modifyApiNameCallable(const Model::ModifyApiNameRequest& request) const;
100+
PurchaseApiOutcome purchaseApi(const Model::PurchaseApiRequest &request)const;
101+
void purchaseApiAsync(const Model::PurchaseApiRequest& request, const PurchaseApiAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
102+
PurchaseApiOutcomeCallable purchaseApiCallable(const Model::PurchaseApiRequest& request) const;
103+
104+
private:
105+
std::shared_ptr<EndpointProvider> endpointProvider_;
106+
};
107+
}
108+
}
109+
110+
#endif // !ALIBABACLOUD_ACS_ACSCLIENT_H_
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_ACS_ACSEXPORT_H_
18+
#define ALIBABACLOUD_ACS_ACSEXPORT_H_
19+
20+
#include <alibabacloud/core/Global.h>
21+
22+
#if defined(ALIBABACLOUD_SHARED)
23+
# if defined(ALIBABACLOUD_ACS_LIBRARY)
24+
# define ALIBABACLOUD_ACS_EXPORT ALIBABACLOUD_DECL_EXPORT
25+
# else
26+
# define ALIBABACLOUD_ACS_EXPORT ALIBABACLOUD_DECL_IMPORT
27+
# endif
28+
#else
29+
# define ALIBABACLOUD_ACS_EXPORT
30+
#endif
31+
32+
#endif // !ALIBABACLOUD_ACS_ACSEXPORT_H_
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_ACS_MODEL_DELETEAPIINDAILYREQUEST_H_
18+
#define ALIBABACLOUD_ACS_MODEL_DELETEAPIINDAILYREQUEST_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <alibabacloud/core/RoaServiceRequest.h>
23+
#include <alibabacloud/acs/AcsExport.h>
24+
25+
namespace AlibabaCloud
26+
{
27+
namespace Acs
28+
{
29+
namespace Model
30+
{
31+
class ALIBABACLOUD_ACS_EXPORT DeleteApiInDailyRequest : public RoaServiceRequest
32+
{
33+
34+
public:
35+
DeleteApiInDailyRequest();
36+
~DeleteApiInDailyRequest();
37+
38+
std::string getEnvironment()const;
39+
void setEnvironment(const std::string& environment);
40+
std::string getName()const;
41+
void setName(const std::string& name);
42+
std::string getProductName()const;
43+
void setProductName(const std::string& productName);
44+
std::string getVersionName()const;
45+
void setVersionName(const std::string& versionName);
46+
47+
private:
48+
std::string environment_;
49+
std::string name_;
50+
std::string productName_;
51+
std::string versionName_;
52+
53+
};
54+
}
55+
}
56+
}
57+
#endif // !ALIBABACLOUD_ACS_MODEL_DELETEAPIINDAILYREQUEST_H_
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
/*
2+
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
17+
#ifndef ALIBABACLOUD_ACS_MODEL_DELETEAPIINDAILYRESULT_H_
18+
#define ALIBABACLOUD_ACS_MODEL_DELETEAPIINDAILYRESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/acs/AcsExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace Acs
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_ACS_EXPORT DeleteApiInDailyResult : public ServiceResult
33+
{
34+
public:
35+
36+
37+
DeleteApiInDailyResult();
38+
explicit DeleteApiInDailyResult(const std::string &payload);
39+
~DeleteApiInDailyResult();
40+
41+
protected:
42+
void parse(const std::string &payload);
43+
private:
44+
45+
};
46+
}
47+
}
48+
}
49+
#endif // !ALIBABACLOUD_ACS_MODEL_DELETEAPIINDAILYRESULT_H_

0 commit comments

Comments
 (0)