Skip to content

Commit 44d329a

Browse files
committed
Generated 2025-04-29 for WebsiteBuild.
1 parent fb86207 commit 44d329a

21 files changed

+1312
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.36.2083
1+
1.36.2084

websitebuild/CMakeLists.txt

Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
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(websitebuild_public_header
20+
include/alibabacloud/websitebuild/WebsiteBuildClient.h
21+
include/alibabacloud/websitebuild/WebsiteBuildExport.h )
22+
23+
set(websitebuild_public_header_model
24+
include/alibabacloud/websitebuild/model/CreateLogoTaskRequest.h
25+
include/alibabacloud/websitebuild/model/CreateLogoTaskResult.h
26+
include/alibabacloud/websitebuild/model/GetCreateLogoTaskRequest.h
27+
include/alibabacloud/websitebuild/model/GetCreateLogoTaskResult.h
28+
include/alibabacloud/websitebuild/model/OperateAppInstanceForPartnerRequest.h
29+
include/alibabacloud/websitebuild/model/OperateAppInstanceForPartnerResult.h
30+
include/alibabacloud/websitebuild/model/OperateAppServiceForPartnerRequest.h
31+
include/alibabacloud/websitebuild/model/OperateAppServiceForPartnerResult.h )
32+
33+
set(websitebuild_src
34+
src/WebsiteBuildClient.cc
35+
src/model/CreateLogoTaskRequest.cc
36+
src/model/CreateLogoTaskResult.cc
37+
src/model/GetCreateLogoTaskRequest.cc
38+
src/model/GetCreateLogoTaskResult.cc
39+
src/model/OperateAppInstanceForPartnerRequest.cc
40+
src/model/OperateAppInstanceForPartnerResult.cc
41+
src/model/OperateAppServiceForPartnerRequest.cc
42+
src/model/OperateAppServiceForPartnerResult.cc )
43+
44+
add_library(websitebuild ${LIB_TYPE}
45+
${websitebuild_public_header}
46+
${websitebuild_public_header_model}
47+
${websitebuild_src})
48+
49+
set_target_properties(websitebuild
50+
PROPERTIES
51+
LINKER_LANGUAGE CXX
52+
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
53+
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
54+
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
55+
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}websitebuild
56+
)
57+
58+
if(${LIB_TYPE} STREQUAL "SHARED")
59+
set_target_properties(websitebuild
60+
PROPERTIES
61+
DEFINE_SYMBOL ALIBABACLOUD_WEBSITEBUILD_LIBRARY)
62+
endif()
63+
64+
target_include_directories(websitebuild
65+
PRIVATE include
66+
${CMAKE_SOURCE_DIR}/core/include
67+
)
68+
target_link_libraries(websitebuild
69+
core)
70+
71+
if(CMAKE_HOST_WIN32)
72+
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
73+
set(jsoncpp_install_dir ${INSTALL_DIR})
74+
add_dependencies(websitebuild
75+
jsoncpp)
76+
target_include_directories(websitebuild
77+
PRIVATE ${jsoncpp_install_dir}/include)
78+
target_link_libraries(websitebuild
79+
${jsoncpp_install_dir}/lib/jsoncpp.lib)
80+
set_target_properties(websitebuild
81+
PROPERTIES
82+
COMPILE_OPTIONS "/bigobj")
83+
else()
84+
target_include_directories(websitebuild
85+
PRIVATE /usr/include/jsoncpp)
86+
target_link_libraries(websitebuild
87+
jsoncpp)
88+
endif()
89+
90+
install(FILES ${websitebuild_public_header}
91+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/websitebuild)
92+
install(FILES ${websitebuild_public_header_model}
93+
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/websitebuild/model)
94+
install(TARGETS websitebuild
95+
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
96+
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
97+
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
98+
)
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
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_WEBSITEBUILD_WEBSITEBUILDCLIENT_H_
18+
#define ALIBABACLOUD_WEBSITEBUILD_WEBSITEBUILDCLIENT_H_
19+
20+
#include <future>
21+
#include <alibabacloud/core/AsyncCallerContext.h>
22+
#include <alibabacloud/core/EndpointProvider.h>
23+
#include <alibabacloud/core/RpcServiceClient.h>
24+
#include "WebsiteBuildExport.h"
25+
#include "model/CreateLogoTaskRequest.h"
26+
#include "model/CreateLogoTaskResult.h"
27+
#include "model/GetCreateLogoTaskRequest.h"
28+
#include "model/GetCreateLogoTaskResult.h"
29+
#include "model/OperateAppInstanceForPartnerRequest.h"
30+
#include "model/OperateAppInstanceForPartnerResult.h"
31+
#include "model/OperateAppServiceForPartnerRequest.h"
32+
#include "model/OperateAppServiceForPartnerResult.h"
33+
34+
35+
namespace AlibabaCloud
36+
{
37+
namespace WebsiteBuild
38+
{
39+
class ALIBABACLOUD_WEBSITEBUILD_EXPORT WebsiteBuildClient : public RpcServiceClient
40+
{
41+
public:
42+
typedef Outcome<Error, Model::CreateLogoTaskResult> CreateLogoTaskOutcome;
43+
typedef std::future<CreateLogoTaskOutcome> CreateLogoTaskOutcomeCallable;
44+
typedef std::function<void(const WebsiteBuildClient*, const Model::CreateLogoTaskRequest&, const CreateLogoTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateLogoTaskAsyncHandler;
45+
typedef Outcome<Error, Model::GetCreateLogoTaskResult> GetCreateLogoTaskOutcome;
46+
typedef std::future<GetCreateLogoTaskOutcome> GetCreateLogoTaskOutcomeCallable;
47+
typedef std::function<void(const WebsiteBuildClient*, const Model::GetCreateLogoTaskRequest&, const GetCreateLogoTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCreateLogoTaskAsyncHandler;
48+
typedef Outcome<Error, Model::OperateAppInstanceForPartnerResult> OperateAppInstanceForPartnerOutcome;
49+
typedef std::future<OperateAppInstanceForPartnerOutcome> OperateAppInstanceForPartnerOutcomeCallable;
50+
typedef std::function<void(const WebsiteBuildClient*, const Model::OperateAppInstanceForPartnerRequest&, const OperateAppInstanceForPartnerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OperateAppInstanceForPartnerAsyncHandler;
51+
typedef Outcome<Error, Model::OperateAppServiceForPartnerResult> OperateAppServiceForPartnerOutcome;
52+
typedef std::future<OperateAppServiceForPartnerOutcome> OperateAppServiceForPartnerOutcomeCallable;
53+
typedef std::function<void(const WebsiteBuildClient*, const Model::OperateAppServiceForPartnerRequest&, const OperateAppServiceForPartnerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> OperateAppServiceForPartnerAsyncHandler;
54+
55+
WebsiteBuildClient(const Credentials &credentials, const ClientConfiguration &configuration);
56+
WebsiteBuildClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
57+
WebsiteBuildClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
58+
~WebsiteBuildClient();
59+
CreateLogoTaskOutcome createLogoTask(const Model::CreateLogoTaskRequest &request)const;
60+
void createLogoTaskAsync(const Model::CreateLogoTaskRequest& request, const CreateLogoTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
61+
CreateLogoTaskOutcomeCallable createLogoTaskCallable(const Model::CreateLogoTaskRequest& request) const;
62+
GetCreateLogoTaskOutcome getCreateLogoTask(const Model::GetCreateLogoTaskRequest &request)const;
63+
void getCreateLogoTaskAsync(const Model::GetCreateLogoTaskRequest& request, const GetCreateLogoTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
64+
GetCreateLogoTaskOutcomeCallable getCreateLogoTaskCallable(const Model::GetCreateLogoTaskRequest& request) const;
65+
OperateAppInstanceForPartnerOutcome operateAppInstanceForPartner(const Model::OperateAppInstanceForPartnerRequest &request)const;
66+
void operateAppInstanceForPartnerAsync(const Model::OperateAppInstanceForPartnerRequest& request, const OperateAppInstanceForPartnerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
67+
OperateAppInstanceForPartnerOutcomeCallable operateAppInstanceForPartnerCallable(const Model::OperateAppInstanceForPartnerRequest& request) const;
68+
OperateAppServiceForPartnerOutcome operateAppServiceForPartner(const Model::OperateAppServiceForPartnerRequest &request)const;
69+
void operateAppServiceForPartnerAsync(const Model::OperateAppServiceForPartnerRequest& request, const OperateAppServiceForPartnerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
70+
OperateAppServiceForPartnerOutcomeCallable operateAppServiceForPartnerCallable(const Model::OperateAppServiceForPartnerRequest& request) const;
71+
72+
private:
73+
std::shared_ptr<EndpointProvider> endpointProvider_;
74+
};
75+
}
76+
}
77+
78+
#endif // !ALIBABACLOUD_WEBSITEBUILD_WEBSITEBUILDCLIENT_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_WEBSITEBUILD_WEBSITEBUILDEXPORT_H_
18+
#define ALIBABACLOUD_WEBSITEBUILD_WEBSITEBUILDEXPORT_H_
19+
20+
#include <alibabacloud/core/Global.h>
21+
22+
#if defined(ALIBABACLOUD_SHARED)
23+
# if defined(ALIBABACLOUD_WEBSITEBUILD_LIBRARY)
24+
# define ALIBABACLOUD_WEBSITEBUILD_EXPORT ALIBABACLOUD_DECL_EXPORT
25+
# else
26+
# define ALIBABACLOUD_WEBSITEBUILD_EXPORT ALIBABACLOUD_DECL_IMPORT
27+
# endif
28+
#else
29+
# define ALIBABACLOUD_WEBSITEBUILD_EXPORT
30+
#endif
31+
32+
#endif // !ALIBABACLOUD_WEBSITEBUILD_WEBSITEBUILDEXPORT_H_
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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_WEBSITEBUILD_MODEL_CREATELOGOTASKREQUEST_H_
18+
#define ALIBABACLOUD_WEBSITEBUILD_MODEL_CREATELOGOTASKREQUEST_H_
19+
20+
#include <alibabacloud/websitebuild/WebsiteBuildExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace WebsiteBuild {
28+
namespace Model {
29+
class ALIBABACLOUD_WEBSITEBUILD_EXPORT CreateLogoTaskRequest : public RpcServiceRequest {
30+
public:
31+
CreateLogoTaskRequest();
32+
~CreateLogoTaskRequest();
33+
std::string getNegativePrompt() const;
34+
void setNegativePrompt(const std::string &negativePrompt);
35+
std::string getPrompt() const;
36+
void setPrompt(const std::string &prompt);
37+
std::string getParameters() const;
38+
void setParameters(const std::string &parameters);
39+
std::string getLogoVersion() const;
40+
void setLogoVersion(const std::string &logoVersion);
41+
42+
private:
43+
std::string negativePrompt_;
44+
std::string prompt_;
45+
std::string parameters_;
46+
std::string logoVersion_;
47+
};
48+
} // namespace Model
49+
} // namespace WebsiteBuild
50+
} // namespace AlibabaCloud
51+
#endif // !ALIBABACLOUD_WEBSITEBUILD_MODEL_CREATELOGOTASKREQUEST_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_WEBSITEBUILD_MODEL_CREATELOGOTASKRESULT_H_
18+
#define ALIBABACLOUD_WEBSITEBUILD_MODEL_CREATELOGOTASKRESULT_H_
19+
20+
#include <string>
21+
#include <vector>
22+
#include <utility>
23+
#include <alibabacloud/core/ServiceResult.h>
24+
#include <alibabacloud/websitebuild/WebsiteBuildExport.h>
25+
26+
namespace AlibabaCloud
27+
{
28+
namespace WebsiteBuild
29+
{
30+
namespace Model
31+
{
32+
class ALIBABACLOUD_WEBSITEBUILD_EXPORT CreateLogoTaskResult : public ServiceResult
33+
{
34+
public:
35+
36+
37+
CreateLogoTaskResult();
38+
explicit CreateLogoTaskResult(const std::string &payload);
39+
~CreateLogoTaskResult();
40+
std::string getTaskId()const;
41+
std::string getErrorMsg()const;
42+
std::string getErrorCode()const;
43+
bool getSuccess()const;
44+
45+
protected:
46+
void parse(const std::string &payload);
47+
private:
48+
std::string taskId_;
49+
std::string errorMsg_;
50+
std::string errorCode_;
51+
bool success_;
52+
53+
};
54+
}
55+
}
56+
}
57+
#endif // !ALIBABACLOUD_WEBSITEBUILD_MODEL_CREATELOGOTASKRESULT_H_
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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_WEBSITEBUILD_MODEL_GETCREATELOGOTASKREQUEST_H_
18+
#define ALIBABACLOUD_WEBSITEBUILD_MODEL_GETCREATELOGOTASKREQUEST_H_
19+
20+
#include <alibabacloud/websitebuild/WebsiteBuildExport.h>
21+
#include <alibabacloud/core/RpcServiceRequest.h>
22+
#include <string>
23+
#include <vector>
24+
#include <map>
25+
26+
namespace AlibabaCloud {
27+
namespace WebsiteBuild {
28+
namespace Model {
29+
class ALIBABACLOUD_WEBSITEBUILD_EXPORT GetCreateLogoTaskRequest : public RpcServiceRequest {
30+
public:
31+
GetCreateLogoTaskRequest();
32+
~GetCreateLogoTaskRequest();
33+
std::string getTaskId() const;
34+
void setTaskId(const std::string &taskId);
35+
36+
private:
37+
std::string taskId_;
38+
};
39+
} // namespace Model
40+
} // namespace WebsiteBuild
41+
} // namespace AlibabaCloud
42+
#endif // !ALIBABACLOUD_WEBSITEBUILD_MODEL_GETCREATELOGOTASKREQUEST_H_

0 commit comments

Comments
 (0)