forked from TencentCloud/tencentcloud-sdk-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
tencentcloudapi
committed
Apr 24, 2020
1 parent
5ba6367
commit 271ca60
Showing
55 changed files
with
3,312 additions
and
114 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.0.12 | ||
3.0.13 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
86 changes: 86 additions & 0 deletions
86
cdn/include/tencentcloud/cdn/v20180606/model/GuetzliAdapter.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
/* | ||
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 TENCENTCLOUD_CDN_V20180606_MODEL_GUETZLIADAPTER_H_ | ||
#define TENCENTCLOUD_CDN_V20180606_MODEL_GUETZLIADAPTER_H_ | ||
|
||
#include <string> | ||
#include <vector> | ||
#include <map> | ||
#include <tencentcloud/core/utils/rapidjson/document.h> | ||
#include <tencentcloud/core/utils/rapidjson/writer.h> | ||
#include <tencentcloud/core/utils/rapidjson/stringbuffer.h> | ||
#include <tencentcloud/core/AbstractModel.h> | ||
|
||
|
||
namespace TencentCloud | ||
{ | ||
namespace Cdn | ||
{ | ||
namespace V20180606 | ||
{ | ||
namespace Model | ||
{ | ||
/** | ||
* 图片优化-GuetzliAdapter配置 | ||
*/ | ||
class GuetzliAdapter : public AbstractModel | ||
{ | ||
public: | ||
GuetzliAdapter(); | ||
~GuetzliAdapter() = default; | ||
void ToJsonObject(rapidjson::Value &value, rapidjson::Document::AllocatorType& allocator) const; | ||
CoreInternalOutcome Deserialize(const rapidjson::Value &value); | ||
|
||
|
||
/** | ||
* 获取开关,"on/off" | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @return Switch 开关,"on/off" | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
std::string GetSwitch() const; | ||
|
||
/** | ||
* 设置开关,"on/off" | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param Switch 开关,"on/off" | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
void SetSwitch(const std::string& _switch); | ||
|
||
/** | ||
* 判断参数 Switch 是否已赋值 | ||
* @return Switch 是否已赋值 | ||
*/ | ||
bool SwitchHasBeenSet() const; | ||
|
||
private: | ||
|
||
/** | ||
* 开关,"on/off" | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
std::string m_switch; | ||
bool m_switchHasBeenSet; | ||
|
||
}; | ||
} | ||
} | ||
} | ||
} | ||
|
||
#endif // !TENCENTCLOUD_CDN_V20180606_MODEL_GUETZLIADAPTER_H_ |
147 changes: 147 additions & 0 deletions
147
cdn/include/tencentcloud/cdn/v20180606/model/ImageOptimization.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
/* | ||
* Copyright (c) 2017-2019 THL A29 Limited, a Tencent company. 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 TENCENTCLOUD_CDN_V20180606_MODEL_IMAGEOPTIMIZATION_H_ | ||
#define TENCENTCLOUD_CDN_V20180606_MODEL_IMAGEOPTIMIZATION_H_ | ||
|
||
#include <string> | ||
#include <vector> | ||
#include <map> | ||
#include <tencentcloud/core/utils/rapidjson/document.h> | ||
#include <tencentcloud/core/utils/rapidjson/writer.h> | ||
#include <tencentcloud/core/utils/rapidjson/stringbuffer.h> | ||
#include <tencentcloud/core/AbstractModel.h> | ||
#include <tencentcloud/cdn/v20180606/model/WebpAdapter.h> | ||
#include <tencentcloud/cdn/v20180606/model/TpgAdapter.h> | ||
#include <tencentcloud/cdn/v20180606/model/GuetzliAdapter.h> | ||
|
||
|
||
namespace TencentCloud | ||
{ | ||
namespace Cdn | ||
{ | ||
namespace V20180606 | ||
{ | ||
namespace Model | ||
{ | ||
/** | ||
* ImageOptimization配置 | ||
*/ | ||
class ImageOptimization : public AbstractModel | ||
{ | ||
public: | ||
ImageOptimization(); | ||
~ImageOptimization() = default; | ||
void ToJsonObject(rapidjson::Value &value, rapidjson::Document::AllocatorType& allocator) const; | ||
CoreInternalOutcome Deserialize(const rapidjson::Value &value); | ||
|
||
|
||
/** | ||
* 获取WebpAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @return WebpAdapter WebpAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
WebpAdapter GetWebpAdapter() const; | ||
|
||
/** | ||
* 设置WebpAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param WebpAdapter WebpAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
void SetWebpAdapter(const WebpAdapter& _webpAdapter); | ||
|
||
/** | ||
* 判断参数 WebpAdapter 是否已赋值 | ||
* @return WebpAdapter 是否已赋值 | ||
*/ | ||
bool WebpAdapterHasBeenSet() const; | ||
|
||
/** | ||
* 获取TpgAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @return TpgAdapter TpgAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
TpgAdapter GetTpgAdapter() const; | ||
|
||
/** | ||
* 设置TpgAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param TpgAdapter TpgAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
void SetTpgAdapter(const TpgAdapter& _tpgAdapter); | ||
|
||
/** | ||
* 判断参数 TpgAdapter 是否已赋值 | ||
* @return TpgAdapter 是否已赋值 | ||
*/ | ||
bool TpgAdapterHasBeenSet() const; | ||
|
||
/** | ||
* 获取GuetzliAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @return GuetzliAdapter GuetzliAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
GuetzliAdapter GetGuetzliAdapter() const; | ||
|
||
/** | ||
* 设置GuetzliAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
* @param GuetzliAdapter GuetzliAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
void SetGuetzliAdapter(const GuetzliAdapter& _guetzliAdapter); | ||
|
||
/** | ||
* 判断参数 GuetzliAdapter 是否已赋值 | ||
* @return GuetzliAdapter 是否已赋值 | ||
*/ | ||
bool GuetzliAdapterHasBeenSet() const; | ||
|
||
private: | ||
|
||
/** | ||
* WebpAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
WebpAdapter m_webpAdapter; | ||
bool m_webpAdapterHasBeenSet; | ||
|
||
/** | ||
* TpgAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
TpgAdapter m_tpgAdapter; | ||
bool m_tpgAdapterHasBeenSet; | ||
|
||
/** | ||
* GuetzliAdapter配置 | ||
注意:此字段可能返回 null,表示取不到有效值。 | ||
*/ | ||
GuetzliAdapter m_guetzliAdapter; | ||
bool m_guetzliAdapterHasBeenSet; | ||
|
||
}; | ||
} | ||
} | ||
} | ||
} | ||
|
||
#endif // !TENCENTCLOUD_CDN_V20180606_MODEL_IMAGEOPTIMIZATION_H_ |
Oops, something went wrong.