Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e2ee6d530 | ||
|
|
51d167c03c | ||
|
|
f6470e6c02 | ||
|
|
d77681a132 | ||
|
|
7ceaff6c6e | ||
|
|
5048e01469 | ||
|
|
322f1ef667 | ||
|
|
b52edc6252 | ||
|
|
ac468a852e | ||
|
|
6abf1431b6 | ||
|
|
f22a078c0d | ||
|
|
5b357e5604 |
@@ -23,6 +23,8 @@ set(anytrans_public_header
|
||||
set(anytrans_public_header_model
|
||||
include/alibabacloud/anytrans/model/BatchTranslateRequest.h
|
||||
include/alibabacloud/anytrans/model/BatchTranslateResult.h
|
||||
include/alibabacloud/anytrans/model/BatchTranslateForHtmlRequest.h
|
||||
include/alibabacloud/anytrans/model/BatchTranslateForHtmlResult.h
|
||||
include/alibabacloud/anytrans/model/GetDocTranslateTaskRequest.h
|
||||
include/alibabacloud/anytrans/model/GetDocTranslateTaskResult.h
|
||||
include/alibabacloud/anytrans/model/GetHtmlTranslateTaskRequest.h
|
||||
@@ -39,6 +41,10 @@ set(anytrans_public_header_model
|
||||
include/alibabacloud/anytrans/model/SubmitImageTranslateTaskResult.h
|
||||
include/alibabacloud/anytrans/model/SubmitLongTextTranslateTaskRequest.h
|
||||
include/alibabacloud/anytrans/model/SubmitLongTextTranslateTaskResult.h
|
||||
include/alibabacloud/anytrans/model/TermEditRequest.h
|
||||
include/alibabacloud/anytrans/model/TermEditResult.h
|
||||
include/alibabacloud/anytrans/model/TermQueryRequest.h
|
||||
include/alibabacloud/anytrans/model/TermQueryResult.h
|
||||
include/alibabacloud/anytrans/model/TextTranslateRequest.h
|
||||
include/alibabacloud/anytrans/model/TextTranslateResult.h )
|
||||
|
||||
@@ -46,6 +52,8 @@ set(anytrans_src
|
||||
src/AnyTransClient.cc
|
||||
src/model/BatchTranslateRequest.cc
|
||||
src/model/BatchTranslateResult.cc
|
||||
src/model/BatchTranslateForHtmlRequest.cc
|
||||
src/model/BatchTranslateForHtmlResult.cc
|
||||
src/model/GetDocTranslateTaskRequest.cc
|
||||
src/model/GetDocTranslateTaskResult.cc
|
||||
src/model/GetHtmlTranslateTaskRequest.cc
|
||||
@@ -62,6 +70,10 @@ set(anytrans_src
|
||||
src/model/SubmitImageTranslateTaskResult.cc
|
||||
src/model/SubmitLongTextTranslateTaskRequest.cc
|
||||
src/model/SubmitLongTextTranslateTaskResult.cc
|
||||
src/model/TermEditRequest.cc
|
||||
src/model/TermEditResult.cc
|
||||
src/model/TermQueryRequest.cc
|
||||
src/model/TermQueryResult.cc
|
||||
src/model/TextTranslateRequest.cc
|
||||
src/model/TextTranslateResult.cc )
|
||||
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "AnyTransExport.h"
|
||||
#include "model/BatchTranslateRequest.h"
|
||||
#include "model/BatchTranslateResult.h"
|
||||
#include "model/BatchTranslateForHtmlRequest.h"
|
||||
#include "model/BatchTranslateForHtmlResult.h"
|
||||
#include "model/GetDocTranslateTaskRequest.h"
|
||||
#include "model/GetDocTranslateTaskResult.h"
|
||||
#include "model/GetHtmlTranslateTaskRequest.h"
|
||||
@@ -40,6 +42,10 @@
|
||||
#include "model/SubmitImageTranslateTaskResult.h"
|
||||
#include "model/SubmitLongTextTranslateTaskRequest.h"
|
||||
#include "model/SubmitLongTextTranslateTaskResult.h"
|
||||
#include "model/TermEditRequest.h"
|
||||
#include "model/TermEditResult.h"
|
||||
#include "model/TermQueryRequest.h"
|
||||
#include "model/TermQueryResult.h"
|
||||
#include "model/TextTranslateRequest.h"
|
||||
#include "model/TextTranslateResult.h"
|
||||
|
||||
@@ -54,6 +60,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::BatchTranslateResult> BatchTranslateOutcome;
|
||||
typedef std::future<BatchTranslateOutcome> BatchTranslateOutcomeCallable;
|
||||
typedef std::function<void(const AnyTransClient*, const Model::BatchTranslateRequest&, const BatchTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchTranslateAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchTranslateForHtmlResult> BatchTranslateForHtmlOutcome;
|
||||
typedef std::future<BatchTranslateForHtmlOutcome> BatchTranslateForHtmlOutcomeCallable;
|
||||
typedef std::function<void(const AnyTransClient*, const Model::BatchTranslateForHtmlRequest&, const BatchTranslateForHtmlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchTranslateForHtmlAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDocTranslateTaskResult> GetDocTranslateTaskOutcome;
|
||||
typedef std::future<GetDocTranslateTaskOutcome> GetDocTranslateTaskOutcomeCallable;
|
||||
typedef std::function<void(const AnyTransClient*, const Model::GetDocTranslateTaskRequest&, const GetDocTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDocTranslateTaskAsyncHandler;
|
||||
@@ -78,6 +87,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SubmitLongTextTranslateTaskResult> SubmitLongTextTranslateTaskOutcome;
|
||||
typedef std::future<SubmitLongTextTranslateTaskOutcome> SubmitLongTextTranslateTaskOutcomeCallable;
|
||||
typedef std::function<void(const AnyTransClient*, const Model::SubmitLongTextTranslateTaskRequest&, const SubmitLongTextTranslateTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitLongTextTranslateTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::TermEditResult> TermEditOutcome;
|
||||
typedef std::future<TermEditOutcome> TermEditOutcomeCallable;
|
||||
typedef std::function<void(const AnyTransClient*, const Model::TermEditRequest&, const TermEditOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TermEditAsyncHandler;
|
||||
typedef Outcome<Error, Model::TermQueryResult> TermQueryOutcome;
|
||||
typedef std::future<TermQueryOutcome> TermQueryOutcomeCallable;
|
||||
typedef std::function<void(const AnyTransClient*, const Model::TermQueryRequest&, const TermQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TermQueryAsyncHandler;
|
||||
typedef Outcome<Error, Model::TextTranslateResult> TextTranslateOutcome;
|
||||
typedef std::future<TextTranslateOutcome> TextTranslateOutcomeCallable;
|
||||
typedef std::function<void(const AnyTransClient*, const Model::TextTranslateRequest&, const TextTranslateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TextTranslateAsyncHandler;
|
||||
@@ -89,6 +104,9 @@ namespace AlibabaCloud
|
||||
BatchTranslateOutcome batchTranslate(const Model::BatchTranslateRequest &request)const;
|
||||
void batchTranslateAsync(const Model::BatchTranslateRequest& request, const BatchTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchTranslateOutcomeCallable batchTranslateCallable(const Model::BatchTranslateRequest& request) const;
|
||||
BatchTranslateForHtmlOutcome batchTranslateForHtml(const Model::BatchTranslateForHtmlRequest &request)const;
|
||||
void batchTranslateForHtmlAsync(const Model::BatchTranslateForHtmlRequest& request, const BatchTranslateForHtmlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchTranslateForHtmlOutcomeCallable batchTranslateForHtmlCallable(const Model::BatchTranslateForHtmlRequest& request) const;
|
||||
GetDocTranslateTaskOutcome getDocTranslateTask(const Model::GetDocTranslateTaskRequest &request)const;
|
||||
void getDocTranslateTaskAsync(const Model::GetDocTranslateTaskRequest& request, const GetDocTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDocTranslateTaskOutcomeCallable getDocTranslateTaskCallable(const Model::GetDocTranslateTaskRequest& request) const;
|
||||
@@ -113,6 +131,12 @@ namespace AlibabaCloud
|
||||
SubmitLongTextTranslateTaskOutcome submitLongTextTranslateTask(const Model::SubmitLongTextTranslateTaskRequest &request)const;
|
||||
void submitLongTextTranslateTaskAsync(const Model::SubmitLongTextTranslateTaskRequest& request, const SubmitLongTextTranslateTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitLongTextTranslateTaskOutcomeCallable submitLongTextTranslateTaskCallable(const Model::SubmitLongTextTranslateTaskRequest& request) const;
|
||||
TermEditOutcome termEdit(const Model::TermEditRequest &request)const;
|
||||
void termEditAsync(const Model::TermEditRequest& request, const TermEditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TermEditOutcomeCallable termEditCallable(const Model::TermEditRequest& request) const;
|
||||
TermQueryOutcome termQuery(const Model::TermQueryRequest &request)const;
|
||||
void termQueryAsync(const Model::TermQueryRequest& request, const TermQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TermQueryOutcomeCallable termQueryCallable(const Model::TermQueryRequest& request) const;
|
||||
TextTranslateOutcome textTranslate(const Model::TextTranslateRequest &request)const;
|
||||
void textTranslateAsync(const Model::TextTranslateRequest& request, const TextTranslateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TextTranslateOutcomeCallable textTranslateCallable(const Model::TextTranslateRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* 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_ANYTRANS_MODEL_BATCHTRANSLATEFORHTMLREQUEST_H_
|
||||
#define ALIBABACLOUD_ANYTRANS_MODEL_BATCHTRANSLATEFORHTMLREQUEST_H_
|
||||
|
||||
#include <alibabacloud/anytrans/AnyTransExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AnyTrans {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ANYTRANS_EXPORT BatchTranslateForHtmlRequest : public RoaServiceRequest {
|
||||
public:
|
||||
struct Ext {
|
||||
std::string string;
|
||||
std::vector<std::string> sensitives;
|
||||
struct TerminologiesItem {
|
||||
std::string tgt;
|
||||
std::string src;
|
||||
};
|
||||
terminologiesItem terminologiesItem;
|
||||
std::vector<terminologiesItem> terminologies;
|
||||
struct TextTransform {
|
||||
bool toLower;
|
||||
bool toUpper;
|
||||
bool toTitle;
|
||||
};
|
||||
textTransform textTransform;
|
||||
struct ExamplesItem {
|
||||
std::string tgt;
|
||||
std::string src;
|
||||
};
|
||||
examplesItem examplesItem;
|
||||
std::vector<examplesItem> examples;
|
||||
struct Config {
|
||||
bool skipCsiCheck;
|
||||
};
|
||||
config config;
|
||||
std::string domainHint;
|
||||
};
|
||||
BatchTranslateForHtmlRequest();
|
||||
~BatchTranslateForHtmlRequest();
|
||||
ext getExt() const;
|
||||
void setExt(const ext &ext);
|
||||
std::string getSourceLanguage() const;
|
||||
void setSourceLanguage(const std::string &sourceLanguage);
|
||||
std::string getFormat() const;
|
||||
void setFormat(const std::string &format);
|
||||
std::string getScene() const;
|
||||
void setScene(const std::string &scene);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
std::map<std::string, std::string> getText() const;
|
||||
void setText(const std::map<std::string, std::string> &text);
|
||||
std::string getWorkspaceId() const;
|
||||
void setWorkspaceId(const std::string &workspaceId);
|
||||
|
||||
private:
|
||||
ext ext_;
|
||||
std::string sourceLanguage_;
|
||||
std::string format_;
|
||||
std::string scene_;
|
||||
std::string appName_;
|
||||
std::string targetLanguage_;
|
||||
std::map<std::string, std::string> text_;
|
||||
std::string workspaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AnyTrans
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ANYTRANS_MODEL_BATCHTRANSLATEFORHTMLREQUEST_H_
|
||||
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* 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_ANYTRANS_MODEL_BATCHTRANSLATEFORHTMLRESULT_H_
|
||||
#define ALIBABACLOUD_ANYTRANS_MODEL_BATCHTRANSLATEFORHTMLRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/anytrans/AnyTransExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AnyTrans
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ANYTRANS_EXPORT BatchTranslateForHtmlResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct TranslationListItem
|
||||
{
|
||||
struct Usage
|
||||
{
|
||||
long inputTokens;
|
||||
long totalTokens;
|
||||
long outputTokens;
|
||||
};
|
||||
Usage usage;
|
||||
std::string translation;
|
||||
std::string message;
|
||||
std::string index;
|
||||
long code;
|
||||
};
|
||||
std::vector<TranslationListItem> translationList;
|
||||
};
|
||||
|
||||
|
||||
BatchTranslateForHtmlResult();
|
||||
explicit BatchTranslateForHtmlResult(const std::string &payload);
|
||||
~BatchTranslateForHtmlResult();
|
||||
std::string getMessage()const;
|
||||
std::string getRequestId()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string requestId_;
|
||||
std::string httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ANYTRANS_MODEL_BATCHTRANSLATEFORHTMLRESULT_H_
|
||||
@@ -49,6 +49,10 @@ public:
|
||||
};
|
||||
examplesItem examplesItem;
|
||||
std::vector<examplesItem> examples;
|
||||
struct Config {
|
||||
bool skipCsiCheck;
|
||||
};
|
||||
config config;
|
||||
std::string domainHint;
|
||||
};
|
||||
BatchTranslateRequest();
|
||||
@@ -61,6 +65,8 @@ public:
|
||||
void setFormat(const std::string &format);
|
||||
std::string getScene() const;
|
||||
void setScene(const std::string &scene);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
std::map<std::string, std::string> getText() const;
|
||||
@@ -73,6 +79,7 @@ private:
|
||||
std::string sourceLanguage_;
|
||||
std::string format_;
|
||||
std::string scene_;
|
||||
std::string appName_;
|
||||
std::string targetLanguage_;
|
||||
std::map<std::string, std::string> text_;
|
||||
std::string workspaceId_;
|
||||
|
||||
@@ -29,26 +29,16 @@ namespace Model {
|
||||
class ALIBABACLOUD_ANYTRANS_EXPORT SubmitDocTranslateTaskRequest : public RoaServiceRequest {
|
||||
public:
|
||||
struct Ext {
|
||||
std::string string;
|
||||
std::vector<std::string> sensitives;
|
||||
struct TerminologiesItem {
|
||||
std::string tgt;
|
||||
std::string src;
|
||||
};
|
||||
terminologiesItem terminologiesItem;
|
||||
std::vector<terminologiesItem> terminologies;
|
||||
struct TextTransform {
|
||||
bool toLower;
|
||||
bool toUpper;
|
||||
bool toTitle;
|
||||
struct Config {
|
||||
bool skipImgTrans;
|
||||
};
|
||||
textTransform textTransform;
|
||||
struct ExamplesItem {
|
||||
std::string tgt;
|
||||
std::string src;
|
||||
};
|
||||
examplesItem examplesItem;
|
||||
std::vector<examplesItem> examples;
|
||||
config config;
|
||||
std::string domainHint;
|
||||
};
|
||||
SubmitDocTranslateTaskRequest();
|
||||
|
||||
@@ -49,6 +49,11 @@ public:
|
||||
};
|
||||
examplesItem examplesItem;
|
||||
std::vector<examplesItem> examples;
|
||||
struct Config {
|
||||
bool skipCsiCheck;
|
||||
std::string callbackUrl;
|
||||
};
|
||||
config config;
|
||||
std::string domainHint;
|
||||
};
|
||||
SubmitHtmlTranslateTaskRequest();
|
||||
|
||||
@@ -49,6 +49,10 @@ public:
|
||||
};
|
||||
examplesItem examplesItem;
|
||||
std::vector<examplesItem> examples;
|
||||
struct Config {
|
||||
bool skipCsiCheck;
|
||||
};
|
||||
config config;
|
||||
std::string domainHint;
|
||||
};
|
||||
SubmitLongTextTranslateTaskRequest();
|
||||
|
||||
@@ -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_ANYTRANS_MODEL_TERMEDITREQUEST_H_
|
||||
#define ALIBABACLOUD_ANYTRANS_MODEL_TERMEDITREQUEST_H_
|
||||
|
||||
#include <alibabacloud/anytrans/AnyTransExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AnyTrans {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ANYTRANS_EXPORT TermEditRequest : public RoaServiceRequest {
|
||||
public:
|
||||
struct Ext {
|
||||
struct TermsItem {
|
||||
std::string tgt;
|
||||
std::string termId;
|
||||
std::string src;
|
||||
};
|
||||
termsItem termsItem;
|
||||
std::vector<termsItem> terms;
|
||||
};
|
||||
TermEditRequest();
|
||||
~TermEditRequest();
|
||||
ext getExt() const;
|
||||
void setExt(const ext &ext);
|
||||
std::string getSourceLanguage() const;
|
||||
void setSourceLanguage(const std::string &sourceLanguage);
|
||||
std::string getScene() const;
|
||||
void setScene(const std::string &scene);
|
||||
std::string getAction() const;
|
||||
void setAction(const std::string &action);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
std::string getWorkspaceId() const;
|
||||
void setWorkspaceId(const std::string &workspaceId);
|
||||
|
||||
private:
|
||||
ext ext_;
|
||||
std::string sourceLanguage_;
|
||||
std::string scene_;
|
||||
std::string action_;
|
||||
std::string targetLanguage_;
|
||||
std::string workspaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AnyTrans
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ANYTRANS_MODEL_TERMEDITREQUEST_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_ANYTRANS_MODEL_TERMEDITRESULT_H_
|
||||
#define ALIBABACLOUD_ANYTRANS_MODEL_TERMEDITRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/anytrans/AnyTransExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AnyTrans
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ANYTRANS_EXPORT TermEditResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct TermsItem
|
||||
{
|
||||
std::string tgt;
|
||||
std::string src;
|
||||
std::string termId;
|
||||
};
|
||||
std::vector<TermsItem> terms;
|
||||
long failCount;
|
||||
};
|
||||
|
||||
|
||||
TermEditResult();
|
||||
explicit TermEditResult(const std::string &payload);
|
||||
~TermEditResult();
|
||||
std::string getMessage()const;
|
||||
std::string getRequestId()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string requestId_;
|
||||
std::string httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ANYTRANS_MODEL_TERMEDITRESULT_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_ANYTRANS_MODEL_TERMQUERYREQUEST_H_
|
||||
#define ALIBABACLOUD_ANYTRANS_MODEL_TERMQUERYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/anytrans/AnyTransExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace AnyTrans {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ANYTRANS_EXPORT TermQueryRequest : public RoaServiceRequest {
|
||||
public:
|
||||
TermQueryRequest();
|
||||
~TermQueryRequest();
|
||||
std::string getSourceLanguage() const;
|
||||
void setSourceLanguage(const std::string &sourceLanguage);
|
||||
std::string getScene() const;
|
||||
void setScene(const std::string &scene);
|
||||
std::string getTargetLanguage() const;
|
||||
void setTargetLanguage(const std::string &targetLanguage);
|
||||
std::string getText() const;
|
||||
void setText(const std::string &text);
|
||||
std::string getWorkspaceId() const;
|
||||
void setWorkspaceId(const std::string &workspaceId);
|
||||
|
||||
private:
|
||||
std::string sourceLanguage_;
|
||||
std::string scene_;
|
||||
std::string targetLanguage_;
|
||||
std::string text_;
|
||||
std::string workspaceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace AnyTrans
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ANYTRANS_MODEL_TERMQUERYREQUEST_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_ANYTRANS_MODEL_TERMQUERYRESULT_H_
|
||||
#define ALIBABACLOUD_ANYTRANS_MODEL_TERMQUERYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/anytrans/AnyTransExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace AnyTrans
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ANYTRANS_EXPORT TermQueryResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct TermsItem
|
||||
{
|
||||
std::string tgt;
|
||||
std::string src;
|
||||
std::string termId;
|
||||
};
|
||||
std::vector<TermsItem> terms;
|
||||
long failCount;
|
||||
};
|
||||
|
||||
|
||||
TermQueryResult();
|
||||
explicit TermQueryResult(const std::string &payload);
|
||||
~TermQueryResult();
|
||||
std::string getMessage()const;
|
||||
std::string getRequestId()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string requestId_;
|
||||
std::string httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ANYTRANS_MODEL_TERMQUERYRESULT_H_
|
||||
@@ -43,12 +43,17 @@ public:
|
||||
bool toTitle;
|
||||
};
|
||||
textTransform textTransform;
|
||||
std::string agent;
|
||||
struct ExamplesItem {
|
||||
std::string tgt;
|
||||
std::string src;
|
||||
};
|
||||
examplesItem examplesItem;
|
||||
std::vector<examplesItem> examples;
|
||||
struct Config {
|
||||
bool skipCsiCheck;
|
||||
};
|
||||
config config;
|
||||
std::string domainHint;
|
||||
};
|
||||
TextTranslateRequest();
|
||||
|
||||
@@ -87,6 +87,42 @@ AnyTransClient::BatchTranslateOutcomeCallable AnyTransClient::batchTranslateCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AnyTransClient::BatchTranslateForHtmlOutcome AnyTransClient::batchTranslateForHtml(const BatchTranslateForHtmlRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BatchTranslateForHtmlOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BatchTranslateForHtmlOutcome(BatchTranslateForHtmlResult(outcome.result()));
|
||||
else
|
||||
return BatchTranslateForHtmlOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AnyTransClient::batchTranslateForHtmlAsync(const BatchTranslateForHtmlRequest& request, const BatchTranslateForHtmlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, batchTranslateForHtml(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AnyTransClient::BatchTranslateForHtmlOutcomeCallable AnyTransClient::batchTranslateForHtmlCallable(const BatchTranslateForHtmlRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BatchTranslateForHtmlOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->batchTranslateForHtml(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AnyTransClient::GetDocTranslateTaskOutcome AnyTransClient::getDocTranslateTask(const GetDocTranslateTaskRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -375,6 +411,78 @@ AnyTransClient::SubmitLongTextTranslateTaskOutcomeCallable AnyTransClient::submi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AnyTransClient::TermEditOutcome AnyTransClient::termEdit(const TermEditRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TermEditOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TermEditOutcome(TermEditResult(outcome.result()));
|
||||
else
|
||||
return TermEditOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AnyTransClient::termEditAsync(const TermEditRequest& request, const TermEditAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, termEdit(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AnyTransClient::TermEditOutcomeCallable AnyTransClient::termEditCallable(const TermEditRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TermEditOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->termEdit(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AnyTransClient::TermQueryOutcome AnyTransClient::termQuery(const TermQueryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return TermQueryOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return TermQueryOutcome(TermQueryResult(outcome.result()));
|
||||
else
|
||||
return TermQueryOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AnyTransClient::termQueryAsync(const TermQueryRequest& request, const TermQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, termQuery(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AnyTransClient::TermQueryOutcomeCallable AnyTransClient::termQueryCallable(const TermQueryRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<TermQueryOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->termQuery(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AnyTransClient::TextTranslateOutcome AnyTransClient::textTranslate(const TextTranslateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
117
anytrans/src/model/BatchTranslateForHtmlRequest.cc
Normal file
117
anytrans/src/model/BatchTranslateForHtmlRequest.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* 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/anytrans/model/BatchTranslateForHtmlRequest.h>
|
||||
|
||||
using AlibabaCloud::AnyTrans::Model::BatchTranslateForHtmlRequest;
|
||||
|
||||
BatchTranslateForHtmlRequest::BatchTranslateForHtmlRequest()
|
||||
: RoaServiceRequest("anytrans", "2025-07-07") {
|
||||
setResourcePath("/anytrans/translate/batchForHtml"};
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchTranslateForHtmlRequest::~BatchTranslateForHtmlRequest() {}
|
||||
|
||||
BatchTranslateForHtmlRequest::ext BatchTranslateForHtmlRequest::getExt() const {
|
||||
return ext_;
|
||||
}
|
||||
|
||||
void BatchTranslateForHtmlRequest::setExt(const BatchTranslateForHtmlRequest::ext &ext) {
|
||||
ext_ = ext;
|
||||
for(int dep1 = 0; dep1 != ext.sensitives.size(); dep1++) {
|
||||
setBodyParameter(std::string("ext") + ".sensitives." + std::to_string(dep1 + 1), ext.sensitives[dep1]);
|
||||
}
|
||||
for(int dep1 = 0; dep1 != ext.terminologies.size(); dep1++) {
|
||||
setBodyParameter(std::string("ext") + ".terminologies." + std::to_string(dep1 + 1) + ".tgt", ext.terminologies[dep1].tgt);
|
||||
setBodyParameter(std::string("ext") + ".terminologies." + std::to_string(dep1 + 1) + ".src", ext.terminologies[dep1].src);
|
||||
}
|
||||
setBodyParameter(std::string("ext") + ".textTransform.toLower", ext.textTransform.toLower ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".textTransform.toUpper", ext.textTransform.toUpper ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".textTransform.toTitle", ext.textTransform.toTitle ? "true" : "false");
|
||||
for(int dep1 = 0; dep1 != ext.examples.size(); dep1++) {
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".tgt", ext.examples[dep1].tgt);
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".src", ext.examples[dep1].src);
|
||||
}
|
||||
setBodyParameter(std::string("ext") + ".config.skipCsiCheck", ext.config.skipCsiCheck ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".domainHint", ext.domainHint);
|
||||
}
|
||||
|
||||
std::string BatchTranslateForHtmlRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
void BatchTranslateForHtmlRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("sourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
std::string BatchTranslateForHtmlRequest::getFormat() const {
|
||||
return format_;
|
||||
}
|
||||
|
||||
void BatchTranslateForHtmlRequest::setFormat(const std::string &format) {
|
||||
format_ = format;
|
||||
setBodyParameter(std::string("format"), format);
|
||||
}
|
||||
|
||||
std::string BatchTranslateForHtmlRequest::getScene() const {
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void BatchTranslateForHtmlRequest::setScene(const std::string &scene) {
|
||||
scene_ = scene;
|
||||
setBodyParameter(std::string("scene"), scene);
|
||||
}
|
||||
|
||||
std::string BatchTranslateForHtmlRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void BatchTranslateForHtmlRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setBodyParameter(std::string("appName"), appName);
|
||||
}
|
||||
|
||||
std::string BatchTranslateForHtmlRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void BatchTranslateForHtmlRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("targetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> BatchTranslateForHtmlRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void BatchTranslateForHtmlRequest::setText(const std::map<std::string, std::string> &text) {
|
||||
text_ = text;
|
||||
for(auto const &iter1 : text) {
|
||||
setBodyParameter(std::string("text") + "." + iter1.first, iter1.second);
|
||||
}
|
||||
}
|
||||
|
||||
std::string BatchTranslateForHtmlRequest::getWorkspaceId() const {
|
||||
return workspaceId_;
|
||||
}
|
||||
|
||||
void BatchTranslateForHtmlRequest::setWorkspaceId(const std::string &workspaceId) {
|
||||
workspaceId_ = workspaceId;
|
||||
setBodyParameter(std::string("workspaceId"), workspaceId);
|
||||
}
|
||||
|
||||
106
anytrans/src/model/BatchTranslateForHtmlResult.cc
Normal file
106
anytrans/src/model/BatchTranslateForHtmlResult.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* 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/anytrans/model/BatchTranslateForHtmlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AnyTrans;
|
||||
using namespace AlibabaCloud::AnyTrans::Model;
|
||||
|
||||
BatchTranslateForHtmlResult::BatchTranslateForHtmlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BatchTranslateForHtmlResult::BatchTranslateForHtmlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BatchTranslateForHtmlResult::~BatchTranslateForHtmlResult()
|
||||
{}
|
||||
|
||||
void BatchTranslateForHtmlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["data"];
|
||||
auto alltranslationListNode = dataNode["translationList"]["translationListItem"];
|
||||
for (auto dataNodetranslationListtranslationListItem : alltranslationListNode)
|
||||
{
|
||||
Data::TranslationListItem translationListItemObject;
|
||||
if(!dataNodetranslationListtranslationListItem["code"].isNull())
|
||||
translationListItemObject.code = std::stol(dataNodetranslationListtranslationListItem["code"].asString());
|
||||
if(!dataNodetranslationListtranslationListItem["message"].isNull())
|
||||
translationListItemObject.message = dataNodetranslationListtranslationListItem["message"].asString();
|
||||
if(!dataNodetranslationListtranslationListItem["index"].isNull())
|
||||
translationListItemObject.index = dataNodetranslationListtranslationListItem["index"].asString();
|
||||
if(!dataNodetranslationListtranslationListItem["translation"].isNull())
|
||||
translationListItemObject.translation = dataNodetranslationListtranslationListItem["translation"].asString();
|
||||
auto usageNode = value["usage"];
|
||||
if(!usageNode["inputTokens"].isNull())
|
||||
translationListItemObject.usage.inputTokens = std::stol(usageNode["inputTokens"].asString());
|
||||
if(!usageNode["outputTokens"].isNull())
|
||||
translationListItemObject.usage.outputTokens = std::stol(usageNode["outputTokens"].asString());
|
||||
if(!usageNode["totalTokens"].isNull())
|
||||
translationListItemObject.usage.totalTokens = std::stol(usageNode["totalTokens"].asString());
|
||||
data_.translationList.push_back(translationListItemObject);
|
||||
}
|
||||
if(!value["code"].isNull())
|
||||
code_ = value["code"].asString();
|
||||
if(!value["message"].isNull())
|
||||
message_ = value["message"].asString();
|
||||
if(!value["requestId"].isNull())
|
||||
requestId_ = value["requestId"].asString();
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
if(!value["httpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["httpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string BatchTranslateForHtmlResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string BatchTranslateForHtmlResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
std::string BatchTranslateForHtmlResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
BatchTranslateForHtmlResult::Data BatchTranslateForHtmlResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string BatchTranslateForHtmlResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool BatchTranslateForHtmlResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -46,6 +46,7 @@ void BatchTranslateRequest::setExt(const BatchTranslateRequest::ext &ext) {
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".tgt", ext.examples[dep1].tgt);
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".src", ext.examples[dep1].src);
|
||||
}
|
||||
setBodyParameter(std::string("ext") + ".config.skipCsiCheck", ext.config.skipCsiCheck ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".domainHint", ext.domainHint);
|
||||
}
|
||||
|
||||
@@ -76,6 +77,15 @@ void BatchTranslateRequest::setScene(const std::string &scene) {
|
||||
setBodyParameter(std::string("scene"), scene);
|
||||
}
|
||||
|
||||
std::string BatchTranslateRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void BatchTranslateRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setBodyParameter(std::string("appName"), appName);
|
||||
}
|
||||
|
||||
std::string BatchTranslateRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
@@ -32,20 +32,11 @@ SubmitDocTranslateTaskRequest::ext SubmitDocTranslateTaskRequest::getExt() const
|
||||
|
||||
void SubmitDocTranslateTaskRequest::setExt(const SubmitDocTranslateTaskRequest::ext &ext) {
|
||||
ext_ = ext;
|
||||
for(int dep1 = 0; dep1 != ext.sensitives.size(); dep1++) {
|
||||
setBodyParameter(std::string("ext") + ".sensitives." + std::to_string(dep1 + 1), ext.sensitives[dep1]);
|
||||
}
|
||||
for(int dep1 = 0; dep1 != ext.terminologies.size(); dep1++) {
|
||||
setBodyParameter(std::string("ext") + ".terminologies." + std::to_string(dep1 + 1) + ".tgt", ext.terminologies[dep1].tgt);
|
||||
setBodyParameter(std::string("ext") + ".terminologies." + std::to_string(dep1 + 1) + ".src", ext.terminologies[dep1].src);
|
||||
}
|
||||
setBodyParameter(std::string("ext") + ".textTransform.toLower", ext.textTransform.toLower ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".textTransform.toUpper", ext.textTransform.toUpper ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".textTransform.toTitle", ext.textTransform.toTitle ? "true" : "false");
|
||||
for(int dep1 = 0; dep1 != ext.examples.size(); dep1++) {
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".tgt", ext.examples[dep1].tgt);
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".src", ext.examples[dep1].src);
|
||||
}
|
||||
setBodyParameter(std::string("ext") + ".config.skipImgTrans", ext.config.skipImgTrans ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".domainHint", ext.domainHint);
|
||||
}
|
||||
|
||||
|
||||
@@ -46,6 +46,8 @@ void SubmitHtmlTranslateTaskRequest::setExt(const SubmitHtmlTranslateTaskRequest
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".tgt", ext.examples[dep1].tgt);
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".src", ext.examples[dep1].src);
|
||||
}
|
||||
setBodyParameter(std::string("ext") + ".config.skipCsiCheck", ext.config.skipCsiCheck ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".config.callbackUrl", ext.config.callbackUrl);
|
||||
setBodyParameter(std::string("ext") + ".domainHint", ext.domainHint);
|
||||
}
|
||||
|
||||
|
||||
@@ -46,6 +46,7 @@ void SubmitLongTextTranslateTaskRequest::setExt(const SubmitLongTextTranslateTas
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".tgt", ext.examples[dep1].tgt);
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".src", ext.examples[dep1].src);
|
||||
}
|
||||
setBodyParameter(std::string("ext") + ".config.skipCsiCheck", ext.config.skipCsiCheck ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".domainHint", ext.domainHint);
|
||||
}
|
||||
|
||||
|
||||
86
anytrans/src/model/TermEditRequest.cc
Normal file
86
anytrans/src/model/TermEditRequest.cc
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* 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/anytrans/model/TermEditRequest.h>
|
||||
|
||||
using AlibabaCloud::AnyTrans::Model::TermEditRequest;
|
||||
|
||||
TermEditRequest::TermEditRequest()
|
||||
: RoaServiceRequest("anytrans", "2025-07-07") {
|
||||
setResourcePath("/anytrans/translate/intervene/edit"};
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TermEditRequest::~TermEditRequest() {}
|
||||
|
||||
TermEditRequest::ext TermEditRequest::getExt() const {
|
||||
return ext_;
|
||||
}
|
||||
|
||||
void TermEditRequest::setExt(const TermEditRequest::ext &ext) {
|
||||
ext_ = ext;
|
||||
for(int dep1 = 0; dep1 != ext.terms.size(); dep1++) {
|
||||
setBodyParameter(std::string("ext") + ".terms." + std::to_string(dep1 + 1) + ".tgt", ext.terms[dep1].tgt);
|
||||
setBodyParameter(std::string("ext") + ".terms." + std::to_string(dep1 + 1) + ".termId", ext.terms[dep1].termId);
|
||||
setBodyParameter(std::string("ext") + ".terms." + std::to_string(dep1 + 1) + ".src", ext.terms[dep1].src);
|
||||
}
|
||||
}
|
||||
|
||||
std::string TermEditRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
void TermEditRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("sourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
std::string TermEditRequest::getScene() const {
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void TermEditRequest::setScene(const std::string &scene) {
|
||||
scene_ = scene;
|
||||
setBodyParameter(std::string("scene"), scene);
|
||||
}
|
||||
|
||||
std::string TermEditRequest::getAction() const {
|
||||
return action_;
|
||||
}
|
||||
|
||||
void TermEditRequest::setAction(const std::string &action) {
|
||||
action_ = action;
|
||||
setBodyParameter(std::string("action"), action);
|
||||
}
|
||||
|
||||
std::string TermEditRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void TermEditRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("targetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
std::string TermEditRequest::getWorkspaceId() const {
|
||||
return workspaceId_;
|
||||
}
|
||||
|
||||
void TermEditRequest::setWorkspaceId(const std::string &workspaceId) {
|
||||
workspaceId_ = workspaceId;
|
||||
setBodyParameter(std::string("workspaceId"), workspaceId);
|
||||
}
|
||||
|
||||
99
anytrans/src/model/TermEditResult.cc
Normal file
99
anytrans/src/model/TermEditResult.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* 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/anytrans/model/TermEditResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AnyTrans;
|
||||
using namespace AlibabaCloud::AnyTrans::Model;
|
||||
|
||||
TermEditResult::TermEditResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TermEditResult::TermEditResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TermEditResult::~TermEditResult()
|
||||
{}
|
||||
|
||||
void TermEditResult::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["failCount"].isNull())
|
||||
data_.failCount = std::stol(dataNode["failCount"].asString());
|
||||
auto alltermsNode = dataNode["terms"]["termsItem"];
|
||||
for (auto dataNodetermstermsItem : alltermsNode)
|
||||
{
|
||||
Data::TermsItem termsItemObject;
|
||||
if(!dataNodetermstermsItem["termId"].isNull())
|
||||
termsItemObject.termId = dataNodetermstermsItem["termId"].asString();
|
||||
if(!dataNodetermstermsItem["src"].isNull())
|
||||
termsItemObject.src = dataNodetermstermsItem["src"].asString();
|
||||
if(!dataNodetermstermsItem["tgt"].isNull())
|
||||
termsItemObject.tgt = dataNodetermstermsItem["tgt"].asString();
|
||||
data_.terms.push_back(termsItemObject);
|
||||
}
|
||||
if(!value["code"].isNull())
|
||||
code_ = value["code"].asString();
|
||||
if(!value["message"].isNull())
|
||||
message_ = value["message"].asString();
|
||||
if(!value["requestId"].isNull())
|
||||
requestId_ = value["requestId"].asString();
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
if(!value["httpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["httpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TermEditResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string TermEditResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
std::string TermEditResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
TermEditResult::Data TermEditResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string TermEditResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool TermEditResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
73
anytrans/src/model/TermQueryRequest.cc
Normal file
73
anytrans/src/model/TermQueryRequest.cc
Normal file
@@ -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/anytrans/model/TermQueryRequest.h>
|
||||
|
||||
using AlibabaCloud::AnyTrans::Model::TermQueryRequest;
|
||||
|
||||
TermQueryRequest::TermQueryRequest()
|
||||
: RoaServiceRequest("anytrans", "2025-07-07") {
|
||||
setResourcePath("/anytrans/translate/intervene/query"};
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
TermQueryRequest::~TermQueryRequest() {}
|
||||
|
||||
std::string TermQueryRequest::getSourceLanguage() const {
|
||||
return sourceLanguage_;
|
||||
}
|
||||
|
||||
void TermQueryRequest::setSourceLanguage(const std::string &sourceLanguage) {
|
||||
sourceLanguage_ = sourceLanguage;
|
||||
setBodyParameter(std::string("sourceLanguage"), sourceLanguage);
|
||||
}
|
||||
|
||||
std::string TermQueryRequest::getScene() const {
|
||||
return scene_;
|
||||
}
|
||||
|
||||
void TermQueryRequest::setScene(const std::string &scene) {
|
||||
scene_ = scene;
|
||||
setBodyParameter(std::string("scene"), scene);
|
||||
}
|
||||
|
||||
std::string TermQueryRequest::getTargetLanguage() const {
|
||||
return targetLanguage_;
|
||||
}
|
||||
|
||||
void TermQueryRequest::setTargetLanguage(const std::string &targetLanguage) {
|
||||
targetLanguage_ = targetLanguage;
|
||||
setBodyParameter(std::string("targetLanguage"), targetLanguage);
|
||||
}
|
||||
|
||||
std::string TermQueryRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
void TermQueryRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setBodyParameter(std::string("text"), text);
|
||||
}
|
||||
|
||||
std::string TermQueryRequest::getWorkspaceId() const {
|
||||
return workspaceId_;
|
||||
}
|
||||
|
||||
void TermQueryRequest::setWorkspaceId(const std::string &workspaceId) {
|
||||
workspaceId_ = workspaceId;
|
||||
setBodyParameter(std::string("workspaceId"), workspaceId);
|
||||
}
|
||||
|
||||
99
anytrans/src/model/TermQueryResult.cc
Normal file
99
anytrans/src/model/TermQueryResult.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* 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/anytrans/model/TermQueryResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::AnyTrans;
|
||||
using namespace AlibabaCloud::AnyTrans::Model;
|
||||
|
||||
TermQueryResult::TermQueryResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
TermQueryResult::TermQueryResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
TermQueryResult::~TermQueryResult()
|
||||
{}
|
||||
|
||||
void TermQueryResult::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["failCount"].isNull())
|
||||
data_.failCount = std::stol(dataNode["failCount"].asString());
|
||||
auto alltermsNode = dataNode["terms"]["termsItem"];
|
||||
for (auto dataNodetermstermsItem : alltermsNode)
|
||||
{
|
||||
Data::TermsItem termsItemObject;
|
||||
if(!dataNodetermstermsItem["termId"].isNull())
|
||||
termsItemObject.termId = dataNodetermstermsItem["termId"].asString();
|
||||
if(!dataNodetermstermsItem["src"].isNull())
|
||||
termsItemObject.src = dataNodetermstermsItem["src"].asString();
|
||||
if(!dataNodetermstermsItem["tgt"].isNull())
|
||||
termsItemObject.tgt = dataNodetermstermsItem["tgt"].asString();
|
||||
data_.terms.push_back(termsItemObject);
|
||||
}
|
||||
if(!value["code"].isNull())
|
||||
code_ = value["code"].asString();
|
||||
if(!value["message"].isNull())
|
||||
message_ = value["message"].asString();
|
||||
if(!value["requestId"].isNull())
|
||||
requestId_ = value["requestId"].asString();
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
if(!value["httpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["httpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string TermQueryResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string TermQueryResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
std::string TermQueryResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
TermQueryResult::Data TermQueryResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string TermQueryResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool TermQueryResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -42,10 +42,12 @@ void TextTranslateRequest::setExt(const TextTranslateRequest::ext &ext) {
|
||||
setBodyParameter(std::string("ext") + ".textTransform.toLower", ext.textTransform.toLower ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".textTransform.toUpper", ext.textTransform.toUpper ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".textTransform.toTitle", ext.textTransform.toTitle ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".agent", ext.agent);
|
||||
for(int dep1 = 0; dep1 != ext.examples.size(); dep1++) {
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".tgt", ext.examples[dep1].tgt);
|
||||
setBodyParameter(std::string("ext") + ".examples." + std::to_string(dep1 + 1) + ".src", ext.examples[dep1].src);
|
||||
}
|
||||
setBodyParameter(std::string("ext") + ".config.skipCsiCheck", ext.config.skipCsiCheck ? "true" : "false");
|
||||
setBodyParameter(std::string("ext") + ".domainHint", ext.domainHint);
|
||||
}
|
||||
|
||||
|
||||
@@ -21,6 +21,8 @@ set(dds_public_header
|
||||
include/alibabacloud/dds/DdsExport.h )
|
||||
|
||||
set(dds_public_header_model
|
||||
include/alibabacloud/dds/model/AllocateDBInstanceSrvNetworkAddressRequest.h
|
||||
include/alibabacloud/dds/model/AllocateDBInstanceSrvNetworkAddressResult.h
|
||||
include/alibabacloud/dds/model/AllocateNodePrivateNetworkAddressRequest.h
|
||||
include/alibabacloud/dds/model/AllocateNodePrivateNetworkAddressResult.h
|
||||
include/alibabacloud/dds/model/AllocatePublicNetworkAddressRequest.h
|
||||
@@ -229,6 +231,8 @@ set(dds_public_header_model
|
||||
include/alibabacloud/dds/model/ModifySecurityGroupConfigurationResult.h
|
||||
include/alibabacloud/dds/model/ModifySecurityIpsRequest.h
|
||||
include/alibabacloud/dds/model/ModifySecurityIpsResult.h
|
||||
include/alibabacloud/dds/model/ModifySrvNetworkAddressRequest.h
|
||||
include/alibabacloud/dds/model/ModifySrvNetworkAddressResult.h
|
||||
include/alibabacloud/dds/model/ModifyTaskInfoRequest.h
|
||||
include/alibabacloud/dds/model/ModifyTaskInfoResult.h
|
||||
include/alibabacloud/dds/model/ReleaseNodePrivateNetworkAddressRequest.h
|
||||
@@ -262,6 +266,8 @@ set(dds_public_header_model
|
||||
|
||||
set(dds_src
|
||||
src/DdsClient.cc
|
||||
src/model/AllocateDBInstanceSrvNetworkAddressRequest.cc
|
||||
src/model/AllocateDBInstanceSrvNetworkAddressResult.cc
|
||||
src/model/AllocateNodePrivateNetworkAddressRequest.cc
|
||||
src/model/AllocateNodePrivateNetworkAddressResult.cc
|
||||
src/model/AllocatePublicNetworkAddressRequest.cc
|
||||
@@ -470,6 +476,8 @@ set(dds_src
|
||||
src/model/ModifySecurityGroupConfigurationResult.cc
|
||||
src/model/ModifySecurityIpsRequest.cc
|
||||
src/model/ModifySecurityIpsResult.cc
|
||||
src/model/ModifySrvNetworkAddressRequest.cc
|
||||
src/model/ModifySrvNetworkAddressResult.cc
|
||||
src/model/ModifyTaskInfoRequest.cc
|
||||
src/model/ModifyTaskInfoResult.cc
|
||||
src/model/ReleaseNodePrivateNetworkAddressRequest.cc
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DdsExport.h"
|
||||
#include "model/AllocateDBInstanceSrvNetworkAddressRequest.h"
|
||||
#include "model/AllocateDBInstanceSrvNetworkAddressResult.h"
|
||||
#include "model/AllocateNodePrivateNetworkAddressRequest.h"
|
||||
#include "model/AllocateNodePrivateNetworkAddressResult.h"
|
||||
#include "model/AllocatePublicNetworkAddressRequest.h"
|
||||
@@ -230,6 +232,8 @@
|
||||
#include "model/ModifySecurityGroupConfigurationResult.h"
|
||||
#include "model/ModifySecurityIpsRequest.h"
|
||||
#include "model/ModifySecurityIpsResult.h"
|
||||
#include "model/ModifySrvNetworkAddressRequest.h"
|
||||
#include "model/ModifySrvNetworkAddressResult.h"
|
||||
#include "model/ModifyTaskInfoRequest.h"
|
||||
#include "model/ModifyTaskInfoResult.h"
|
||||
#include "model/ReleaseNodePrivateNetworkAddressRequest.h"
|
||||
@@ -269,6 +273,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_DDS_EXPORT DdsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AllocateDBInstanceSrvNetworkAddressResult> AllocateDBInstanceSrvNetworkAddressOutcome;
|
||||
typedef std::future<AllocateDBInstanceSrvNetworkAddressOutcome> AllocateDBInstanceSrvNetworkAddressOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::AllocateDBInstanceSrvNetworkAddressRequest&, const AllocateDBInstanceSrvNetworkAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateDBInstanceSrvNetworkAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::AllocateNodePrivateNetworkAddressResult> AllocateNodePrivateNetworkAddressOutcome;
|
||||
typedef std::future<AllocateNodePrivateNetworkAddressOutcome> AllocateNodePrivateNetworkAddressOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::AllocateNodePrivateNetworkAddressRequest&, const AllocateNodePrivateNetworkAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AllocateNodePrivateNetworkAddressAsyncHandler;
|
||||
@@ -581,6 +588,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifySecurityIpsResult> ModifySecurityIpsOutcome;
|
||||
typedef std::future<ModifySecurityIpsOutcome> ModifySecurityIpsOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::ModifySecurityIpsRequest&, const ModifySecurityIpsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySecurityIpsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySrvNetworkAddressResult> ModifySrvNetworkAddressOutcome;
|
||||
typedef std::future<ModifySrvNetworkAddressOutcome> ModifySrvNetworkAddressOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::ModifySrvNetworkAddressRequest&, const ModifySrvNetworkAddressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySrvNetworkAddressAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyTaskInfoResult> ModifyTaskInfoOutcome;
|
||||
typedef std::future<ModifyTaskInfoOutcome> ModifyTaskInfoOutcomeCallable;
|
||||
typedef std::function<void(const DdsClient*, const Model::ModifyTaskInfoRequest&, const ModifyTaskInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyTaskInfoAsyncHandler;
|
||||
@@ -631,6 +641,9 @@ namespace AlibabaCloud
|
||||
DdsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
DdsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~DdsClient();
|
||||
AllocateDBInstanceSrvNetworkAddressOutcome allocateDBInstanceSrvNetworkAddress(const Model::AllocateDBInstanceSrvNetworkAddressRequest &request)const;
|
||||
void allocateDBInstanceSrvNetworkAddressAsync(const Model::AllocateDBInstanceSrvNetworkAddressRequest& request, const AllocateDBInstanceSrvNetworkAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AllocateDBInstanceSrvNetworkAddressOutcomeCallable allocateDBInstanceSrvNetworkAddressCallable(const Model::AllocateDBInstanceSrvNetworkAddressRequest& request) const;
|
||||
AllocateNodePrivateNetworkAddressOutcome allocateNodePrivateNetworkAddress(const Model::AllocateNodePrivateNetworkAddressRequest &request)const;
|
||||
void allocateNodePrivateNetworkAddressAsync(const Model::AllocateNodePrivateNetworkAddressRequest& request, const AllocateNodePrivateNetworkAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AllocateNodePrivateNetworkAddressOutcomeCallable allocateNodePrivateNetworkAddressCallable(const Model::AllocateNodePrivateNetworkAddressRequest& request) const;
|
||||
@@ -943,6 +956,9 @@ namespace AlibabaCloud
|
||||
ModifySecurityIpsOutcome modifySecurityIps(const Model::ModifySecurityIpsRequest &request)const;
|
||||
void modifySecurityIpsAsync(const Model::ModifySecurityIpsRequest& request, const ModifySecurityIpsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySecurityIpsOutcomeCallable modifySecurityIpsCallable(const Model::ModifySecurityIpsRequest& request) const;
|
||||
ModifySrvNetworkAddressOutcome modifySrvNetworkAddress(const Model::ModifySrvNetworkAddressRequest &request)const;
|
||||
void modifySrvNetworkAddressAsync(const Model::ModifySrvNetworkAddressRequest& request, const ModifySrvNetworkAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySrvNetworkAddressOutcomeCallable modifySrvNetworkAddressCallable(const Model::ModifySrvNetworkAddressRequest& request) const;
|
||||
ModifyTaskInfoOutcome modifyTaskInfo(const Model::ModifyTaskInfoRequest &request)const;
|
||||
void modifyTaskInfoAsync(const Model::ModifyTaskInfoRequest& request, const ModifyTaskInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyTaskInfoOutcomeCallable modifyTaskInfoCallable(const Model::ModifyTaskInfoRequest& request) const;
|
||||
|
||||
@@ -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_DDS_MODEL_ALLOCATEDBINSTANCESRVNETWORKADDRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_ALLOCATEDBINSTANCESRVNETWORKADDRESSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dds {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DDS_EXPORT AllocateDBInstanceSrvNetworkAddressRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AllocateDBInstanceSrvNetworkAddressRequest();
|
||||
~AllocateDBInstanceSrvNetworkAddressRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getNodeId() const;
|
||||
void setNodeId(const std::string &nodeId);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getSrvConnectionType() const;
|
||||
void setSrvConnectionType(const std::string &srvConnectionType);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string nodeId_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string srvConnectionType_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_ALLOCATEDBINSTANCESRVNETWORKADDRESSREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDS_MODEL_ALLOCATEDBINSTANCESRVNETWORKADDRESSRESULT_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_ALLOCATEDBINSTANCESRVNETWORKADDRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDS_EXPORT AllocateDBInstanceSrvNetworkAddressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AllocateDBInstanceSrvNetworkAddressResult();
|
||||
explicit AllocateDBInstanceSrvNetworkAddressResult(const std::string &payload);
|
||||
~AllocateDBInstanceSrvNetworkAddressResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_ALLOCATEDBINSTANCESRVNETWORKADDRESSRESULT_H_
|
||||
@@ -38,11 +38,13 @@ namespace AlibabaCloud
|
||||
explicit CreateBackupResult(const std::string &payload);
|
||||
~CreateBackupResult();
|
||||
std::string getBackupId()const;
|
||||
std::string getBackupJobId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string backupId_;
|
||||
std::string backupJobId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -54,6 +54,7 @@ namespace AlibabaCloud
|
||||
std::string insComment;
|
||||
std::string changeLevelEn;
|
||||
std::string allowCancel;
|
||||
std::string taskParams;
|
||||
std::string allowChange;
|
||||
std::vector<std::string> subInsNames;
|
||||
std::string region;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_DDS_EXPORT DescribeBackupsRequest : public RpcServiceRequest
|
||||
public:
|
||||
DescribeBackupsRequest();
|
||||
~DescribeBackupsRequest();
|
||||
std::string getBackupJobId() const;
|
||||
void setBackupJobId(const std::string &backupJobId);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStartTime() const;
|
||||
@@ -40,6 +42,8 @@ public:
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId() const;
|
||||
@@ -60,11 +64,13 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string backupJobId_;
|
||||
long resourceOwnerId_;
|
||||
std::string startTime_;
|
||||
std::string srcRegion_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string nodeId_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_DDS_EXPORT DescribeClusterBackupsRequest : public RpcServiceR
|
||||
public:
|
||||
DescribeClusterBackupsRequest();
|
||||
~DescribeClusterBackupsRequest();
|
||||
std::string getBackupJobId() const;
|
||||
void setBackupJobId(const std::string &backupJobId);
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getStartTime() const;
|
||||
@@ -38,6 +40,8 @@ public:
|
||||
void setSrcRegion(const std::string &srcRegion);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getDBInstanceId() const;
|
||||
@@ -60,10 +64,12 @@ public:
|
||||
void setPageNo(int pageNo);
|
||||
|
||||
private:
|
||||
std::string backupJobId_;
|
||||
long resourceOwnerId_;
|
||||
std::string startTime_;
|
||||
std::string srcRegion_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
int pageSize_;
|
||||
std::string dBInstanceId_;
|
||||
std::string destRegion_;
|
||||
|
||||
@@ -32,10 +32,16 @@ public:
|
||||
~DescribeClusterRecoverTimeRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSrcRegion() const;
|
||||
void setSrcRegion(const std::string &srcRegion);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getDestRegion() const;
|
||||
void setDestRegion(const std::string &destRegion);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -45,8 +51,11 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string srcRegion_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string destRegion_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -118,6 +118,7 @@ namespace AlibabaCloud
|
||||
std::string dBInstanceType;
|
||||
std::string replicaSetName;
|
||||
std::vector<DBInstance::ReplicaSet> replicaSets;
|
||||
int searchNodeCount;
|
||||
std::string syncPercent;
|
||||
std::string dBInstanceId;
|
||||
std::string lastDowngradeTime;
|
||||
@@ -160,12 +161,14 @@ namespace AlibabaCloud
|
||||
std::vector<DBInstance::ShardAttribute> shardList;
|
||||
int maxIOPS;
|
||||
std::string secondaryZoneId;
|
||||
int searchNodeStorage;
|
||||
bool useClusterBackup;
|
||||
std::string vpcAuthMode;
|
||||
std::string protocolType;
|
||||
std::string chargeType;
|
||||
std::string regionId;
|
||||
std::string kindCode;
|
||||
std::string searchNodeClass;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -32,12 +32,18 @@ public:
|
||||
~DescribeInstanceRecoverTimeRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSrcRegion() const;
|
||||
void setSrcRegion(const std::string &srcRegion);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getSecurityToken() const;
|
||||
void setSecurityToken(const std::string &securityToken);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getDestRegion() const;
|
||||
void setDestRegion(const std::string &destRegion);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
@@ -47,9 +53,12 @@ public:
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string srcRegion_;
|
||||
std::string accessKeyId_;
|
||||
std::string resourceGroupId_;
|
||||
std::string securityToken_;
|
||||
std::string dBInstanceId_;
|
||||
std::string destRegion_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -162,6 +162,7 @@ namespace AlibabaCloud
|
||||
std::string priceUnit;
|
||||
bool pricingModule;
|
||||
std::string moduleCode;
|
||||
std::string unitPriceUnit4Buy;
|
||||
DepreciateInfo1 depreciateInfo1;
|
||||
double totalProductFee;
|
||||
std::vector<ModuleInstanceItem::ModuleAttr> moduleAttrs;
|
||||
|
||||
@@ -42,6 +42,8 @@ public:
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getRoleARN() const;
|
||||
void setRoleARN(const std::string &roleARN);
|
||||
std::string getTargetRegionId() const;
|
||||
void setTargetRegionId(const std::string &targetRegionId);
|
||||
|
||||
@@ -52,6 +54,7 @@ private:
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string roleARN_;
|
||||
std::string targetRegionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -38,18 +38,24 @@ public:
|
||||
void setReadonlyReplicas(const std::string &readonlyReplicas);
|
||||
std::string getExtraParam() const;
|
||||
void setExtraParam(const std::string &extraParam);
|
||||
std::string getTargetSecondaryZoneId() const;
|
||||
void setTargetSecondaryZoneId(const std::string &targetSecondaryZoneId);
|
||||
std::string getCouponNo() const;
|
||||
void setCouponNo(const std::string &couponNo);
|
||||
std::string getReplicationFactor() const;
|
||||
void setReplicationFactor(const std::string &replicationFactor);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTargetZoneId() const;
|
||||
void setTargetZoneId(const std::string &targetZoneId);
|
||||
std::string getEffectiveTime() const;
|
||||
void setEffectiveTime(const std::string &effectiveTime);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getBusinessInfo() const;
|
||||
void setBusinessInfo(const std::string &businessInfo);
|
||||
std::string getSearchNodeClass() const;
|
||||
void setSearchNodeClass(const std::string &searchNodeClass);
|
||||
bool getAutoPay() const;
|
||||
void setAutoPay(bool autoPay);
|
||||
std::string getFromApp() const;
|
||||
@@ -58,10 +64,18 @@ public:
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
long getSearchNodeStorage() const;
|
||||
void setSearchNodeStorage(long searchNodeStorage);
|
||||
std::string getTargetVswitchId() const;
|
||||
void setTargetVswitchId(const std::string &targetVswitchId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDBInstanceClass() const;
|
||||
void setDBInstanceClass(const std::string &dBInstanceClass);
|
||||
long getSearchNodeCount() const;
|
||||
void setSearchNodeCount(long searchNodeCount);
|
||||
std::string getTargetHiddenZoneId() const;
|
||||
void setTargetHiddenZoneId(const std::string &targetHiddenZoneId);
|
||||
std::string getOrderType() const;
|
||||
void setOrderType(const std::string &orderType);
|
||||
|
||||
@@ -70,18 +84,25 @@ private:
|
||||
std::string dBInstanceStorage_;
|
||||
std::string readonlyReplicas_;
|
||||
std::string extraParam_;
|
||||
std::string targetSecondaryZoneId_;
|
||||
std::string couponNo_;
|
||||
std::string replicationFactor_;
|
||||
std::string accessKeyId_;
|
||||
std::string targetZoneId_;
|
||||
std::string effectiveTime_;
|
||||
std::string dBInstanceId_;
|
||||
std::string businessInfo_;
|
||||
std::string searchNodeClass_;
|
||||
bool autoPay_;
|
||||
std::string fromApp_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
long searchNodeStorage_;
|
||||
std::string targetVswitchId_;
|
||||
long ownerId_;
|
||||
std::string dBInstanceClass_;
|
||||
long searchNodeCount_;
|
||||
std::string targetHiddenZoneId_;
|
||||
std::string orderType_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -36,10 +36,14 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getNodesInfo() const;
|
||||
void setNodesInfo(const std::string &nodesInfo);
|
||||
std::string getTargetSecondaryZoneId() const;
|
||||
void setTargetSecondaryZoneId(const std::string &targetSecondaryZoneId);
|
||||
std::string getCouponNo() const;
|
||||
void setCouponNo(const std::string &couponNo);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTargetZoneId() const;
|
||||
void setTargetZoneId(const std::string &targetZoneId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getEffectiveTime() const;
|
||||
@@ -56,8 +60,12 @@ public:
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getTargetVswitchId() const;
|
||||
void setTargetVswitchId(const std::string &targetVswitchId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTargetHiddenZoneId() const;
|
||||
void setTargetHiddenZoneId(const std::string &targetHiddenZoneId);
|
||||
std::string getOrderType() const;
|
||||
void setOrderType(const std::string &orderType);
|
||||
|
||||
@@ -65,8 +73,10 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
std::string nodesInfo_;
|
||||
std::string targetSecondaryZoneId_;
|
||||
std::string couponNo_;
|
||||
std::string accessKeyId_;
|
||||
std::string targetZoneId_;
|
||||
std::string regionId_;
|
||||
std::string effectiveTime_;
|
||||
std::string dBInstanceId_;
|
||||
@@ -75,7 +85,9 @@ private:
|
||||
std::string fromApp_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string targetVswitchId_;
|
||||
long ownerId_;
|
||||
std::string targetHiddenZoneId_;
|
||||
std::string orderType_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -36,12 +36,16 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
int getReadonlyReplicas() const;
|
||||
void setReadonlyReplicas(int readonlyReplicas);
|
||||
std::string getTargetSecondaryZoneId() const;
|
||||
void setTargetSecondaryZoneId(const std::string &targetSecondaryZoneId);
|
||||
std::string getCouponNo() const;
|
||||
void setCouponNo(const std::string &couponNo);
|
||||
std::string getNodeClass() const;
|
||||
void setNodeClass(const std::string &nodeClass);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getTargetZoneId() const;
|
||||
void setTargetZoneId(const std::string &targetZoneId);
|
||||
std::string getEffectiveTime() const;
|
||||
void setEffectiveTime(const std::string &effectiveTime);
|
||||
std::string getDBInstanceId() const;
|
||||
@@ -62,8 +66,12 @@ public:
|
||||
void setNodeStorage(int nodeStorage);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getTargetVswitchId() const;
|
||||
void setTargetVswitchId(const std::string &targetVswitchId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTargetHiddenZoneId() const;
|
||||
void setTargetHiddenZoneId(const std::string &targetHiddenZoneId);
|
||||
std::string getOrderType() const;
|
||||
void setOrderType(const std::string &orderType);
|
||||
|
||||
@@ -71,9 +79,11 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string clientToken_;
|
||||
int readonlyReplicas_;
|
||||
std::string targetSecondaryZoneId_;
|
||||
std::string couponNo_;
|
||||
std::string nodeClass_;
|
||||
std::string accessKeyId_;
|
||||
std::string targetZoneId_;
|
||||
std::string effectiveTime_;
|
||||
std::string dBInstanceId_;
|
||||
std::string switchTime_;
|
||||
@@ -84,7 +94,9 @@ private:
|
||||
std::string resourceOwnerAccount_;
|
||||
int nodeStorage_;
|
||||
std::string ownerAccount_;
|
||||
std::string targetVswitchId_;
|
||||
long ownerId_;
|
||||
std::string targetHiddenZoneId_;
|
||||
std::string orderType_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -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_DDS_MODEL_MODIFYSRVNETWORKADDRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_MODIFYSRVNETWORKADDRESSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dds {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DDS_EXPORT ModifySrvNetworkAddressRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifySrvNetworkAddressRequest();
|
||||
~ModifySrvNetworkAddressRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getDBInstanceId() const;
|
||||
void setDBInstanceId(const std::string &dBInstanceId);
|
||||
std::string getConnectionType() const;
|
||||
void setConnectionType(const std::string &connectionType);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
std::string getOwnerAccount() const;
|
||||
void setOwnerAccount(const std::string &ownerAccount);
|
||||
std::string getNewConnectionString() const;
|
||||
void setNewConnectionString(const std::string &newConnectionString);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string dBInstanceId_;
|
||||
std::string connectionType_;
|
||||
std::string resourceOwnerAccount_;
|
||||
std::string ownerAccount_;
|
||||
std::string newConnectionString_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dds
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYSRVNETWORKADDRESSREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DDS_MODEL_MODIFYSRVNETWORKADDRESSRESULT_H_
|
||||
#define ALIBABACLOUD_DDS_MODEL_MODIFYSRVNETWORKADDRESSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dds/DdsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dds
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DDS_EXPORT ModifySrvNetworkAddressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifySrvNetworkAddressResult();
|
||||
explicit ModifySrvNetworkAddressResult(const std::string &payload);
|
||||
~ModifySrvNetworkAddressResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DDS_MODEL_MODIFYSRVNETWORKADDRESSRESULT_H_
|
||||
@@ -51,6 +51,42 @@ DdsClient::DdsClient(const std::string & accessKeyId, const std::string & access
|
||||
DdsClient::~DdsClient()
|
||||
{}
|
||||
|
||||
DdsClient::AllocateDBInstanceSrvNetworkAddressOutcome DdsClient::allocateDBInstanceSrvNetworkAddress(const AllocateDBInstanceSrvNetworkAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AllocateDBInstanceSrvNetworkAddressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AllocateDBInstanceSrvNetworkAddressOutcome(AllocateDBInstanceSrvNetworkAddressResult(outcome.result()));
|
||||
else
|
||||
return AllocateDBInstanceSrvNetworkAddressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DdsClient::allocateDBInstanceSrvNetworkAddressAsync(const AllocateDBInstanceSrvNetworkAddressRequest& request, const AllocateDBInstanceSrvNetworkAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, allocateDBInstanceSrvNetworkAddress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DdsClient::AllocateDBInstanceSrvNetworkAddressOutcomeCallable DdsClient::allocateDBInstanceSrvNetworkAddressCallable(const AllocateDBInstanceSrvNetworkAddressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AllocateDBInstanceSrvNetworkAddressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->allocateDBInstanceSrvNetworkAddress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::AllocateNodePrivateNetworkAddressOutcome DdsClient::allocateNodePrivateNetworkAddress(const AllocateNodePrivateNetworkAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3795,6 +3831,42 @@ DdsClient::ModifySecurityIpsOutcomeCallable DdsClient::modifySecurityIpsCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::ModifySrvNetworkAddressOutcome DdsClient::modifySrvNetworkAddress(const ModifySrvNetworkAddressRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifySrvNetworkAddressOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifySrvNetworkAddressOutcome(ModifySrvNetworkAddressResult(outcome.result()));
|
||||
else
|
||||
return ModifySrvNetworkAddressOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DdsClient::modifySrvNetworkAddressAsync(const ModifySrvNetworkAddressRequest& request, const ModifySrvNetworkAddressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifySrvNetworkAddress(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DdsClient::ModifySrvNetworkAddressOutcomeCallable DdsClient::modifySrvNetworkAddressCallable(const ModifySrvNetworkAddressRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifySrvNetworkAddressOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifySrvNetworkAddress(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DdsClient::ModifyTaskInfoOutcome DdsClient::modifyTaskInfo(const ModifyTaskInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
99
dds/src/model/AllocateDBInstanceSrvNetworkAddressRequest.cc
Normal file
99
dds/src/model/AllocateDBInstanceSrvNetworkAddressRequest.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* 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/dds/model/AllocateDBInstanceSrvNetworkAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Dds::Model::AllocateDBInstanceSrvNetworkAddressRequest;
|
||||
|
||||
AllocateDBInstanceSrvNetworkAddressRequest::AllocateDBInstanceSrvNetworkAddressRequest()
|
||||
: RpcServiceRequest("dds", "2015-12-01", "AllocateDBInstanceSrvNetworkAddress") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AllocateDBInstanceSrvNetworkAddressRequest::~AllocateDBInstanceSrvNetworkAddressRequest() {}
|
||||
|
||||
long AllocateDBInstanceSrvNetworkAddressRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void AllocateDBInstanceSrvNetworkAddressRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string AllocateDBInstanceSrvNetworkAddressRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AllocateDBInstanceSrvNetworkAddressRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string AllocateDBInstanceSrvNetworkAddressRequest::getDBInstanceId() const {
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void AllocateDBInstanceSrvNetworkAddressRequest::setDBInstanceId(const std::string &dBInstanceId) {
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter(std::string("DBInstanceId"), dBInstanceId);
|
||||
}
|
||||
|
||||
std::string AllocateDBInstanceSrvNetworkAddressRequest::getNodeId() const {
|
||||
return nodeId_;
|
||||
}
|
||||
|
||||
void AllocateDBInstanceSrvNetworkAddressRequest::setNodeId(const std::string &nodeId) {
|
||||
nodeId_ = nodeId;
|
||||
setParameter(std::string("NodeId"), nodeId);
|
||||
}
|
||||
|
||||
std::string AllocateDBInstanceSrvNetworkAddressRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void AllocateDBInstanceSrvNetworkAddressRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string AllocateDBInstanceSrvNetworkAddressRequest::getSrvConnectionType() const {
|
||||
return srvConnectionType_;
|
||||
}
|
||||
|
||||
void AllocateDBInstanceSrvNetworkAddressRequest::setSrvConnectionType(const std::string &srvConnectionType) {
|
||||
srvConnectionType_ = srvConnectionType;
|
||||
setParameter(std::string("SrvConnectionType"), srvConnectionType);
|
||||
}
|
||||
|
||||
std::string AllocateDBInstanceSrvNetworkAddressRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void AllocateDBInstanceSrvNetworkAddressRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long AllocateDBInstanceSrvNetworkAddressRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AllocateDBInstanceSrvNetworkAddressRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
dds/src/model/AllocateDBInstanceSrvNetworkAddressResult.cc
Normal file
44
dds/src/model/AllocateDBInstanceSrvNetworkAddressResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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/dds/model/AllocateDBInstanceSrvNetworkAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dds;
|
||||
using namespace AlibabaCloud::Dds::Model;
|
||||
|
||||
AllocateDBInstanceSrvNetworkAddressResult::AllocateDBInstanceSrvNetworkAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AllocateDBInstanceSrvNetworkAddressResult::AllocateDBInstanceSrvNetworkAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AllocateDBInstanceSrvNetworkAddressResult::~AllocateDBInstanceSrvNetworkAddressResult()
|
||||
{}
|
||||
|
||||
void AllocateDBInstanceSrvNetworkAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -41,6 +41,8 @@ void CreateBackupResult::parse(const std::string &payload)
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["BackupId"].isNull())
|
||||
backupId_ = value["BackupId"].asString();
|
||||
if(!value["BackupJobId"].isNull())
|
||||
backupJobId_ = value["BackupJobId"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -49,3 +51,8 @@ std::string CreateBackupResult::getBackupId()const
|
||||
return backupId_;
|
||||
}
|
||||
|
||||
std::string CreateBackupResult::getBackupJobId()const
|
||||
{
|
||||
return backupJobId_;
|
||||
}
|
||||
|
||||
|
||||
@@ -93,6 +93,8 @@ void DescribeActiveOperationTasksResult::parse(const std::string &payload)
|
||||
itemsObject.resultInfo = valueItemsItemsItem["ResultInfo"].asString();
|
||||
if(!valueItemsItemsItem["Id"].isNull())
|
||||
itemsObject.id = std::stoi(valueItemsItemsItem["Id"].asString());
|
||||
if(!valueItemsItemsItem["TaskParams"].isNull())
|
||||
itemsObject.taskParams = valueItemsItemsItem["TaskParams"].asString();
|
||||
auto allSubInsNames = value["SubInsNames"]["SubInsNames"];
|
||||
for (auto value : allSubInsNames)
|
||||
itemsObject.subInsNames.push_back(value.asString());
|
||||
|
||||
@@ -25,6 +25,15 @@ DescribeBackupsRequest::DescribeBackupsRequest()
|
||||
|
||||
DescribeBackupsRequest::~DescribeBackupsRequest() {}
|
||||
|
||||
std::string DescribeBackupsRequest::getBackupJobId() const {
|
||||
return backupJobId_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setBackupJobId(const std::string &backupJobId) {
|
||||
backupJobId_ = backupJobId;
|
||||
setParameter(std::string("BackupJobId"), backupJobId);
|
||||
}
|
||||
|
||||
long DescribeBackupsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
@@ -70,6 +79,15 @@ void DescribeBackupsRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeBackupsRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeBackupsRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
int DescribeBackupsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
@@ -25,6 +25,15 @@ DescribeClusterBackupsRequest::DescribeClusterBackupsRequest()
|
||||
|
||||
DescribeClusterBackupsRequest::~DescribeClusterBackupsRequest() {}
|
||||
|
||||
std::string DescribeClusterBackupsRequest::getBackupJobId() const {
|
||||
return backupJobId_;
|
||||
}
|
||||
|
||||
void DescribeClusterBackupsRequest::setBackupJobId(const std::string &backupJobId) {
|
||||
backupJobId_ = backupJobId;
|
||||
setParameter(std::string("BackupJobId"), backupJobId);
|
||||
}
|
||||
|
||||
long DescribeClusterBackupsRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
@@ -61,6 +70,15 @@ void DescribeClusterBackupsRequest::setAccessKeyId(const std::string &accessKeyI
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterBackupsRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeClusterBackupsRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
int DescribeClusterBackupsRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
@@ -34,6 +34,15 @@ void DescribeClusterRecoverTimeRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeClusterRecoverTimeRequest::getSrcRegion() const {
|
||||
return srcRegion_;
|
||||
}
|
||||
|
||||
void DescribeClusterRecoverTimeRequest::setSrcRegion(const std::string &srcRegion) {
|
||||
srcRegion_ = srcRegion;
|
||||
setParameter(std::string("SrcRegion"), srcRegion);
|
||||
}
|
||||
|
||||
std::string DescribeClusterRecoverTimeRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
@@ -43,6 +52,15 @@ void DescribeClusterRecoverTimeRequest::setAccessKeyId(const std::string &access
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterRecoverTimeRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeClusterRecoverTimeRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterRecoverTimeRequest::getDBInstanceId() const {
|
||||
return dBInstanceId_;
|
||||
}
|
||||
@@ -52,6 +70,15 @@ void DescribeClusterRecoverTimeRequest::setDBInstanceId(const std::string &dBIns
|
||||
setParameter(std::string("DBInstanceId"), dBInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeClusterRecoverTimeRequest::getDestRegion() const {
|
||||
return destRegion_;
|
||||
}
|
||||
|
||||
void DescribeClusterRecoverTimeRequest::setDestRegion(const std::string &destRegion) {
|
||||
destRegion_ = destRegion;
|
||||
setParameter(std::string("DestRegion"), destRegion);
|
||||
}
|
||||
|
||||
std::string DescribeClusterRecoverTimeRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
@@ -143,6 +143,12 @@ void DescribeDBInstanceAttributeResult::parse(const std::string &payload)
|
||||
dBInstancesObject.provisionedIops = std::stol(valueDBInstancesDBInstance["ProvisionedIops"].asString());
|
||||
if(!valueDBInstancesDBInstance["DisasterRecoveryInfo"].isNull())
|
||||
dBInstancesObject.disasterRecoveryInfo = valueDBInstancesDBInstance["DisasterRecoveryInfo"].asString();
|
||||
if(!valueDBInstancesDBInstance["SearchNodeClass"].isNull())
|
||||
dBInstancesObject.searchNodeClass = valueDBInstancesDBInstance["SearchNodeClass"].asString();
|
||||
if(!valueDBInstancesDBInstance["SearchNodeStorage"].isNull())
|
||||
dBInstancesObject.searchNodeStorage = std::stoi(valueDBInstancesDBInstance["SearchNodeStorage"].asString());
|
||||
if(!valueDBInstancesDBInstance["SearchNodeCount"].isNull())
|
||||
dBInstancesObject.searchNodeCount = std::stoi(valueDBInstancesDBInstance["SearchNodeCount"].asString());
|
||||
auto allReplicaSetsNode = valueDBInstancesDBInstance["ReplicaSets"]["ReplicaSet"];
|
||||
for (auto valueDBInstancesDBInstanceReplicaSetsReplicaSet : allReplicaSetsNode)
|
||||
{
|
||||
|
||||
@@ -34,6 +34,15 @@ void DescribeInstanceRecoverTimeRequest::setResourceOwnerId(long resourceOwnerId
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DescribeInstanceRecoverTimeRequest::getSrcRegion() const {
|
||||
return srcRegion_;
|
||||
}
|
||||
|
||||
void DescribeInstanceRecoverTimeRequest::setSrcRegion(const std::string &srcRegion) {
|
||||
srcRegion_ = srcRegion;
|
||||
setParameter(std::string("SrcRegion"), srcRegion);
|
||||
}
|
||||
|
||||
std::string DescribeInstanceRecoverTimeRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
@@ -43,6 +52,15 @@ void DescribeInstanceRecoverTimeRequest::setAccessKeyId(const std::string &acces
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string DescribeInstanceRecoverTimeRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeInstanceRecoverTimeRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeInstanceRecoverTimeRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
@@ -61,6 +79,15 @@ void DescribeInstanceRecoverTimeRequest::setDBInstanceId(const std::string &dBIn
|
||||
setParameter(std::string("DBInstanceId"), dBInstanceId);
|
||||
}
|
||||
|
||||
std::string DescribeInstanceRecoverTimeRequest::getDestRegion() const {
|
||||
return destRegion_;
|
||||
}
|
||||
|
||||
void DescribeInstanceRecoverTimeRequest::setDestRegion(const std::string &destRegion) {
|
||||
destRegion_ = destRegion;
|
||||
setParameter(std::string("DestRegion"), destRegion);
|
||||
}
|
||||
|
||||
std::string DescribeInstanceRecoverTimeRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
@@ -93,6 +93,8 @@ void DescribePriceResult::parse(const std::string &payload)
|
||||
moduleInstanceObject.priceUnit = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["priceUnit"].asString();
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["priceType"].isNull())
|
||||
moduleInstanceObject.priceType = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["priceType"].asString();
|
||||
if(!valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["UnitPriceUnit4Buy"].isNull())
|
||||
moduleInstanceObject.unitPriceUnit4Buy = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["UnitPriceUnit4Buy"].asString();
|
||||
auto allPromDetailList2Node = valueSubOrdersSubOrderModuleInstanceModuleInstanceItem["PromDetailList"]["PromDetail"];
|
||||
for (auto valueSubOrdersSubOrderModuleInstanceModuleInstanceItemPromDetailListPromDetail : allPromDetailList2Node)
|
||||
{
|
||||
|
||||
@@ -79,6 +79,15 @@ void DescribeUserEncryptionKeyListRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeUserEncryptionKeyListRequest::getRoleARN() const {
|
||||
return roleARN_;
|
||||
}
|
||||
|
||||
void DescribeUserEncryptionKeyListRequest::setRoleARN(const std::string &roleARN) {
|
||||
roleARN_ = roleARN;
|
||||
setParameter(std::string("RoleARN"), roleARN);
|
||||
}
|
||||
|
||||
std::string DescribeUserEncryptionKeyListRequest::getTargetRegionId() const {
|
||||
return targetRegionId_;
|
||||
}
|
||||
|
||||
@@ -61,6 +61,15 @@ void ModifyDBInstanceSpecRequest::setExtraParam(const std::string &extraParam) {
|
||||
setParameter(std::string("ExtraParam"), extraParam);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceSpecRequest::getTargetSecondaryZoneId() const {
|
||||
return targetSecondaryZoneId_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceSpecRequest::setTargetSecondaryZoneId(const std::string &targetSecondaryZoneId) {
|
||||
targetSecondaryZoneId_ = targetSecondaryZoneId;
|
||||
setParameter(std::string("TargetSecondaryZoneId"), targetSecondaryZoneId);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceSpecRequest::getCouponNo() const {
|
||||
return couponNo_;
|
||||
}
|
||||
@@ -88,6 +97,15 @@ void ModifyDBInstanceSpecRequest::setAccessKeyId(const std::string &accessKeyId)
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceSpecRequest::getTargetZoneId() const {
|
||||
return targetZoneId_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceSpecRequest::setTargetZoneId(const std::string &targetZoneId) {
|
||||
targetZoneId_ = targetZoneId;
|
||||
setParameter(std::string("TargetZoneId"), targetZoneId);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceSpecRequest::getEffectiveTime() const {
|
||||
return effectiveTime_;
|
||||
}
|
||||
@@ -115,6 +133,15 @@ void ModifyDBInstanceSpecRequest::setBusinessInfo(const std::string &businessInf
|
||||
setParameter(std::string("BusinessInfo"), businessInfo);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceSpecRequest::getSearchNodeClass() const {
|
||||
return searchNodeClass_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceSpecRequest::setSearchNodeClass(const std::string &searchNodeClass) {
|
||||
searchNodeClass_ = searchNodeClass;
|
||||
setParameter(std::string("SearchNodeClass"), searchNodeClass);
|
||||
}
|
||||
|
||||
bool ModifyDBInstanceSpecRequest::getAutoPay() const {
|
||||
return autoPay_;
|
||||
}
|
||||
@@ -151,6 +178,24 @@ void ModifyDBInstanceSpecRequest::setOwnerAccount(const std::string &ownerAccoun
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
long ModifyDBInstanceSpecRequest::getSearchNodeStorage() const {
|
||||
return searchNodeStorage_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceSpecRequest::setSearchNodeStorage(long searchNodeStorage) {
|
||||
searchNodeStorage_ = searchNodeStorage;
|
||||
setParameter(std::string("SearchNodeStorage"), std::to_string(searchNodeStorage));
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceSpecRequest::getTargetVswitchId() const {
|
||||
return targetVswitchId_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceSpecRequest::setTargetVswitchId(const std::string &targetVswitchId) {
|
||||
targetVswitchId_ = targetVswitchId;
|
||||
setParameter(std::string("TargetVswitchId"), targetVswitchId);
|
||||
}
|
||||
|
||||
long ModifyDBInstanceSpecRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -169,6 +214,24 @@ void ModifyDBInstanceSpecRequest::setDBInstanceClass(const std::string &dBInstan
|
||||
setParameter(std::string("DBInstanceClass"), dBInstanceClass);
|
||||
}
|
||||
|
||||
long ModifyDBInstanceSpecRequest::getSearchNodeCount() const {
|
||||
return searchNodeCount_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceSpecRequest::setSearchNodeCount(long searchNodeCount) {
|
||||
searchNodeCount_ = searchNodeCount;
|
||||
setParameter(std::string("SearchNodeCount"), std::to_string(searchNodeCount));
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceSpecRequest::getTargetHiddenZoneId() const {
|
||||
return targetHiddenZoneId_;
|
||||
}
|
||||
|
||||
void ModifyDBInstanceSpecRequest::setTargetHiddenZoneId(const std::string &targetHiddenZoneId) {
|
||||
targetHiddenZoneId_ = targetHiddenZoneId;
|
||||
setParameter(std::string("TargetHiddenZoneId"), targetHiddenZoneId);
|
||||
}
|
||||
|
||||
std::string ModifyDBInstanceSpecRequest::getOrderType() const {
|
||||
return orderType_;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,15 @@ void ModifyNodeSpecBatchRequest::setNodesInfo(const std::string &nodesInfo) {
|
||||
setParameter(std::string("NodesInfo"), nodesInfo);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecBatchRequest::getTargetSecondaryZoneId() const {
|
||||
return targetSecondaryZoneId_;
|
||||
}
|
||||
|
||||
void ModifyNodeSpecBatchRequest::setTargetSecondaryZoneId(const std::string &targetSecondaryZoneId) {
|
||||
targetSecondaryZoneId_ = targetSecondaryZoneId;
|
||||
setParameter(std::string("TargetSecondaryZoneId"), targetSecondaryZoneId);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecBatchRequest::getCouponNo() const {
|
||||
return couponNo_;
|
||||
}
|
||||
@@ -70,6 +79,15 @@ void ModifyNodeSpecBatchRequest::setAccessKeyId(const std::string &accessKeyId)
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecBatchRequest::getTargetZoneId() const {
|
||||
return targetZoneId_;
|
||||
}
|
||||
|
||||
void ModifyNodeSpecBatchRequest::setTargetZoneId(const std::string &targetZoneId) {
|
||||
targetZoneId_ = targetZoneId;
|
||||
setParameter(std::string("TargetZoneId"), targetZoneId);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecBatchRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
@@ -142,6 +160,15 @@ void ModifyNodeSpecBatchRequest::setOwnerAccount(const std::string &ownerAccount
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecBatchRequest::getTargetVswitchId() const {
|
||||
return targetVswitchId_;
|
||||
}
|
||||
|
||||
void ModifyNodeSpecBatchRequest::setTargetVswitchId(const std::string &targetVswitchId) {
|
||||
targetVswitchId_ = targetVswitchId;
|
||||
setParameter(std::string("TargetVswitchId"), targetVswitchId);
|
||||
}
|
||||
|
||||
long ModifyNodeSpecBatchRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -151,6 +178,15 @@ void ModifyNodeSpecBatchRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecBatchRequest::getTargetHiddenZoneId() const {
|
||||
return targetHiddenZoneId_;
|
||||
}
|
||||
|
||||
void ModifyNodeSpecBatchRequest::setTargetHiddenZoneId(const std::string &targetHiddenZoneId) {
|
||||
targetHiddenZoneId_ = targetHiddenZoneId;
|
||||
setParameter(std::string("TargetHiddenZoneId"), targetHiddenZoneId);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecBatchRequest::getOrderType() const {
|
||||
return orderType_;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,15 @@ void ModifyNodeSpecRequest::setReadonlyReplicas(int readonlyReplicas) {
|
||||
setParameter(std::string("ReadonlyReplicas"), std::to_string(readonlyReplicas));
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getTargetSecondaryZoneId() const {
|
||||
return targetSecondaryZoneId_;
|
||||
}
|
||||
|
||||
void ModifyNodeSpecRequest::setTargetSecondaryZoneId(const std::string &targetSecondaryZoneId) {
|
||||
targetSecondaryZoneId_ = targetSecondaryZoneId;
|
||||
setParameter(std::string("TargetSecondaryZoneId"), targetSecondaryZoneId);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getCouponNo() const {
|
||||
return couponNo_;
|
||||
}
|
||||
@@ -79,6 +88,15 @@ void ModifyNodeSpecRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getTargetZoneId() const {
|
||||
return targetZoneId_;
|
||||
}
|
||||
|
||||
void ModifyNodeSpecRequest::setTargetZoneId(const std::string &targetZoneId) {
|
||||
targetZoneId_ = targetZoneId;
|
||||
setParameter(std::string("TargetZoneId"), targetZoneId);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getEffectiveTime() const {
|
||||
return effectiveTime_;
|
||||
}
|
||||
@@ -169,6 +187,15 @@ void ModifyNodeSpecRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getTargetVswitchId() const {
|
||||
return targetVswitchId_;
|
||||
}
|
||||
|
||||
void ModifyNodeSpecRequest::setTargetVswitchId(const std::string &targetVswitchId) {
|
||||
targetVswitchId_ = targetVswitchId;
|
||||
setParameter(std::string("TargetVswitchId"), targetVswitchId);
|
||||
}
|
||||
|
||||
long ModifyNodeSpecRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
@@ -178,6 +205,15 @@ void ModifyNodeSpecRequest::setOwnerId(long ownerId) {
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getTargetHiddenZoneId() const {
|
||||
return targetHiddenZoneId_;
|
||||
}
|
||||
|
||||
void ModifyNodeSpecRequest::setTargetHiddenZoneId(const std::string &targetHiddenZoneId) {
|
||||
targetHiddenZoneId_ = targetHiddenZoneId;
|
||||
setParameter(std::string("TargetHiddenZoneId"), targetHiddenZoneId);
|
||||
}
|
||||
|
||||
std::string ModifyNodeSpecRequest::getOrderType() const {
|
||||
return orderType_;
|
||||
}
|
||||
|
||||
99
dds/src/model/ModifySrvNetworkAddressRequest.cc
Normal file
99
dds/src/model/ModifySrvNetworkAddressRequest.cc
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* 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/dds/model/ModifySrvNetworkAddressRequest.h>
|
||||
|
||||
using AlibabaCloud::Dds::Model::ModifySrvNetworkAddressRequest;
|
||||
|
||||
ModifySrvNetworkAddressRequest::ModifySrvNetworkAddressRequest()
|
||||
: RpcServiceRequest("dds", "2015-12-01", "ModifySrvNetworkAddress") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifySrvNetworkAddressRequest::~ModifySrvNetworkAddressRequest() {}
|
||||
|
||||
long ModifySrvNetworkAddressRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void ModifySrvNetworkAddressRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string ModifySrvNetworkAddressRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifySrvNetworkAddressRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifySrvNetworkAddressRequest::getDBInstanceId() const {
|
||||
return dBInstanceId_;
|
||||
}
|
||||
|
||||
void ModifySrvNetworkAddressRequest::setDBInstanceId(const std::string &dBInstanceId) {
|
||||
dBInstanceId_ = dBInstanceId;
|
||||
setParameter(std::string("DBInstanceId"), dBInstanceId);
|
||||
}
|
||||
|
||||
std::string ModifySrvNetworkAddressRequest::getConnectionType() const {
|
||||
return connectionType_;
|
||||
}
|
||||
|
||||
void ModifySrvNetworkAddressRequest::setConnectionType(const std::string &connectionType) {
|
||||
connectionType_ = connectionType;
|
||||
setParameter(std::string("ConnectionType"), connectionType);
|
||||
}
|
||||
|
||||
std::string ModifySrvNetworkAddressRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void ModifySrvNetworkAddressRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
std::string ModifySrvNetworkAddressRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void ModifySrvNetworkAddressRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
std::string ModifySrvNetworkAddressRequest::getNewConnectionString() const {
|
||||
return newConnectionString_;
|
||||
}
|
||||
|
||||
void ModifySrvNetworkAddressRequest::setNewConnectionString(const std::string &newConnectionString) {
|
||||
newConnectionString_ = newConnectionString;
|
||||
setParameter(std::string("NewConnectionString"), newConnectionString);
|
||||
}
|
||||
|
||||
long ModifySrvNetworkAddressRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void ModifySrvNetworkAddressRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
44
dds/src/model/ModifySrvNetworkAddressResult.cc
Normal file
44
dds/src/model/ModifySrvNetworkAddressResult.cc
Normal file
@@ -0,0 +1,44 @@
|
||||
/*
|
||||
* 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/dds/model/ModifySrvNetworkAddressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dds;
|
||||
using namespace AlibabaCloud::Dds::Model;
|
||||
|
||||
ModifySrvNetworkAddressResult::ModifySrvNetworkAddressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifySrvNetworkAddressResult::ModifySrvNetworkAddressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifySrvNetworkAddressResult::~ModifySrvNetworkAddressResult()
|
||||
{}
|
||||
|
||||
void ModifySrvNetworkAddressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -43,10 +43,6 @@ set(dypnsapi_public_header_model
|
||||
include/alibabacloud/dypnsapi/model/GetPhoneWithTokenResult.h
|
||||
include/alibabacloud/dypnsapi/model/GetSmsAuthTokensRequest.h
|
||||
include/alibabacloud/dypnsapi/model/GetSmsAuthTokensResult.h
|
||||
include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeRequest.h
|
||||
include/alibabacloud/dypnsapi/model/JyCreateVerifySchemeResult.h
|
||||
include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeRequest.h
|
||||
include/alibabacloud/dypnsapi/model/JyQueryAppInfoBySceneCodeResult.h
|
||||
include/alibabacloud/dypnsapi/model/QueryGateVerifyBillingPublicRequest.h
|
||||
include/alibabacloud/dypnsapi/model/QueryGateVerifyBillingPublicResult.h
|
||||
include/alibabacloud/dypnsapi/model/QueryGateVerifyStatisticPublicRequest.h
|
||||
@@ -88,10 +84,6 @@ set(dypnsapi_src
|
||||
src/model/GetPhoneWithTokenResult.cc
|
||||
src/model/GetSmsAuthTokensRequest.cc
|
||||
src/model/GetSmsAuthTokensResult.cc
|
||||
src/model/JyCreateVerifySchemeRequest.cc
|
||||
src/model/JyCreateVerifySchemeResult.cc
|
||||
src/model/JyQueryAppInfoBySceneCodeRequest.cc
|
||||
src/model/JyQueryAppInfoBySceneCodeResult.cc
|
||||
src/model/QueryGateVerifyBillingPublicRequest.cc
|
||||
src/model/QueryGateVerifyBillingPublicResult.cc
|
||||
src/model/QueryGateVerifyStatisticPublicRequest.cc
|
||||
|
||||
@@ -44,10 +44,6 @@
|
||||
#include "model/GetPhoneWithTokenResult.h"
|
||||
#include "model/GetSmsAuthTokensRequest.h"
|
||||
#include "model/GetSmsAuthTokensResult.h"
|
||||
#include "model/JyCreateVerifySchemeRequest.h"
|
||||
#include "model/JyCreateVerifySchemeResult.h"
|
||||
#include "model/JyQueryAppInfoBySceneCodeRequest.h"
|
||||
#include "model/JyQueryAppInfoBySceneCodeResult.h"
|
||||
#include "model/QueryGateVerifyBillingPublicRequest.h"
|
||||
#include "model/QueryGateVerifyBillingPublicResult.h"
|
||||
#include "model/QueryGateVerifyStatisticPublicRequest.h"
|
||||
@@ -106,12 +102,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetSmsAuthTokensResult> GetSmsAuthTokensOutcome;
|
||||
typedef std::future<GetSmsAuthTokensOutcome> GetSmsAuthTokensOutcomeCallable;
|
||||
typedef std::function<void(const DypnsapiClient*, const Model::GetSmsAuthTokensRequest&, const GetSmsAuthTokensOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSmsAuthTokensAsyncHandler;
|
||||
typedef Outcome<Error, Model::JyCreateVerifySchemeResult> JyCreateVerifySchemeOutcome;
|
||||
typedef std::future<JyCreateVerifySchemeOutcome> JyCreateVerifySchemeOutcomeCallable;
|
||||
typedef std::function<void(const DypnsapiClient*, const Model::JyCreateVerifySchemeRequest&, const JyCreateVerifySchemeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JyCreateVerifySchemeAsyncHandler;
|
||||
typedef Outcome<Error, Model::JyQueryAppInfoBySceneCodeResult> JyQueryAppInfoBySceneCodeOutcome;
|
||||
typedef std::future<JyQueryAppInfoBySceneCodeOutcome> JyQueryAppInfoBySceneCodeOutcomeCallable;
|
||||
typedef std::function<void(const DypnsapiClient*, const Model::JyQueryAppInfoBySceneCodeRequest&, const JyQueryAppInfoBySceneCodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> JyQueryAppInfoBySceneCodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryGateVerifyBillingPublicResult> QueryGateVerifyBillingPublicOutcome;
|
||||
typedef std::future<QueryGateVerifyBillingPublicOutcome> QueryGateVerifyBillingPublicOutcomeCallable;
|
||||
typedef std::function<void(const DypnsapiClient*, const Model::QueryGateVerifyBillingPublicRequest&, const QueryGateVerifyBillingPublicOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryGateVerifyBillingPublicAsyncHandler;
|
||||
@@ -174,12 +164,6 @@ namespace AlibabaCloud
|
||||
GetSmsAuthTokensOutcome getSmsAuthTokens(const Model::GetSmsAuthTokensRequest &request)const;
|
||||
void getSmsAuthTokensAsync(const Model::GetSmsAuthTokensRequest& request, const GetSmsAuthTokensAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSmsAuthTokensOutcomeCallable getSmsAuthTokensCallable(const Model::GetSmsAuthTokensRequest& request) const;
|
||||
JyCreateVerifySchemeOutcome jyCreateVerifyScheme(const Model::JyCreateVerifySchemeRequest &request)const;
|
||||
void jyCreateVerifySchemeAsync(const Model::JyCreateVerifySchemeRequest& request, const JyCreateVerifySchemeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
JyCreateVerifySchemeOutcomeCallable jyCreateVerifySchemeCallable(const Model::JyCreateVerifySchemeRequest& request) const;
|
||||
JyQueryAppInfoBySceneCodeOutcome jyQueryAppInfoBySceneCode(const Model::JyQueryAppInfoBySceneCodeRequest &request)const;
|
||||
void jyQueryAppInfoBySceneCodeAsync(const Model::JyQueryAppInfoBySceneCodeRequest& request, const JyQueryAppInfoBySceneCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
JyQueryAppInfoBySceneCodeOutcomeCallable jyQueryAppInfoBySceneCodeCallable(const Model::JyQueryAppInfoBySceneCodeRequest& request) const;
|
||||
QueryGateVerifyBillingPublicOutcome queryGateVerifyBillingPublic(const Model::QueryGateVerifyBillingPublicRequest &request)const;
|
||||
void queryGateVerifyBillingPublicAsync(const Model::QueryGateVerifyBillingPublicRequest& request, const QueryGateVerifyBillingPublicAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryGateVerifyBillingPublicOutcomeCallable queryGateVerifyBillingPublicCallable(const Model::QueryGateVerifyBillingPublicRequest& request) const;
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
/*
|
||||
* 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_DYPNSAPI_MODEL_JYCREATEVERIFYSCHEMEREQUEST_H_
|
||||
#define ALIBABACLOUD_DYPNSAPI_MODEL_JYCREATEVERIFYSCHEMEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/dypnsapi/DypnsapiExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Dypnsapi {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_DYPNSAPI_EXPORT JyCreateVerifySchemeRequest : public RpcServiceRequest {
|
||||
public:
|
||||
JyCreateVerifySchemeRequest();
|
||||
~JyCreateVerifySchemeRequest();
|
||||
long getResourceOwnerId() const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getBundleId() const;
|
||||
void setBundleId(const std::string &bundleId);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getPackSign() const;
|
||||
void setPackSign(const std::string &packSign);
|
||||
std::string getPackName() const;
|
||||
void setPackName(const std::string &packName);
|
||||
long getCuApiCode() const;
|
||||
void setCuApiCode(long cuApiCode);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
||||
long getCtApiCode() const;
|
||||
void setCtApiCode(long ctApiCode);
|
||||
std::string getOsType() const;
|
||||
void setOsType(const std::string &osType);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getCmApiCode() const;
|
||||
void setCmApiCode(long cmApiCode);
|
||||
std::string getSchemeName() const;
|
||||
void setSchemeName(const std::string &schemeName);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string bundleId_;
|
||||
std::string accessKeyId_;
|
||||
std::string appName_;
|
||||
std::string packSign_;
|
||||
std::string packName_;
|
||||
long cuApiCode_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ctApiCode_;
|
||||
std::string osType_;
|
||||
long ownerId_;
|
||||
long cmApiCode_;
|
||||
std::string schemeName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Dypnsapi
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_DYPNSAPI_MODEL_JYCREATEVERIFYSCHEMEREQUEST_H_
|
||||
@@ -36,14 +36,20 @@ public:
|
||||
void setCountryCode(const std::string &countryCode);
|
||||
std::string getPhoneNumber() const;
|
||||
void setPhoneNumber(const std::string &phoneNumber);
|
||||
std::string getLowcodeTenantId() const;
|
||||
void setLowcodeTenantId(const std::string &lowcodeTenantId);
|
||||
std::string getExtendFunction() const;
|
||||
void setExtendFunction(const std::string &extendFunction);
|
||||
std::string getAccessKeyId() const;
|
||||
void setAccessKeyId(const std::string &accessKeyId);
|
||||
std::string getLowcodePhysicAppName() const;
|
||||
void setLowcodePhysicAppName(const std::string &lowcodePhysicAppName);
|
||||
std::string getSmsUpExtendCode() const;
|
||||
void setSmsUpExtendCode(const std::string &smsUpExtendCode);
|
||||
std::string getSignName() const;
|
||||
void setSignName(const std::string &signName);
|
||||
long getAutoRetry() const;
|
||||
void setAutoRetry(long autoRetry);
|
||||
std::string getRouteName() const;
|
||||
void setRouteName(const std::string &routeName);
|
||||
std::string getResourceOwnerAccount() const;
|
||||
@@ -54,6 +60,8 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
bool getReturnVerifyCode() const;
|
||||
void setReturnVerifyCode(bool returnVerifyCode);
|
||||
std::string getLowcodeLogicAppName() const;
|
||||
void setLowcodeLogicAppName(const std::string &lowcodeLogicAppName);
|
||||
long getCodeType() const;
|
||||
void setCodeType(long codeType);
|
||||
std::string getSchemeName() const;
|
||||
@@ -75,15 +83,19 @@ private:
|
||||
long resourceOwnerId_;
|
||||
std::string countryCode_;
|
||||
std::string phoneNumber_;
|
||||
std::string lowcodeTenantId_;
|
||||
std::string extendFunction_;
|
||||
std::string accessKeyId_;
|
||||
std::string lowcodePhysicAppName_;
|
||||
std::string smsUpExtendCode_;
|
||||
std::string signName_;
|
||||
long autoRetry_;
|
||||
std::string routeName_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long validTime_;
|
||||
long ownerId_;
|
||||
bool returnVerifyCode_;
|
||||
std::string lowcodeLogicAppName_;
|
||||
long codeType_;
|
||||
std::string schemeName_;
|
||||
long duplicatePolicy_;
|
||||
|
||||
@@ -447,78 +447,6 @@ DypnsapiClient::GetSmsAuthTokensOutcomeCallable DypnsapiClient::getSmsAuthTokens
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DypnsapiClient::JyCreateVerifySchemeOutcome DypnsapiClient::jyCreateVerifyScheme(const JyCreateVerifySchemeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return JyCreateVerifySchemeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return JyCreateVerifySchemeOutcome(JyCreateVerifySchemeResult(outcome.result()));
|
||||
else
|
||||
return JyCreateVerifySchemeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DypnsapiClient::jyCreateVerifySchemeAsync(const JyCreateVerifySchemeRequest& request, const JyCreateVerifySchemeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, jyCreateVerifyScheme(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DypnsapiClient::JyCreateVerifySchemeOutcomeCallable DypnsapiClient::jyCreateVerifySchemeCallable(const JyCreateVerifySchemeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<JyCreateVerifySchemeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->jyCreateVerifyScheme(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DypnsapiClient::JyQueryAppInfoBySceneCodeOutcome DypnsapiClient::jyQueryAppInfoBySceneCode(const JyQueryAppInfoBySceneCodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return JyQueryAppInfoBySceneCodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return JyQueryAppInfoBySceneCodeOutcome(JyQueryAppInfoBySceneCodeResult(outcome.result()));
|
||||
else
|
||||
return JyQueryAppInfoBySceneCodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DypnsapiClient::jyQueryAppInfoBySceneCodeAsync(const JyQueryAppInfoBySceneCodeRequest& request, const JyQueryAppInfoBySceneCodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, jyQueryAppInfoBySceneCode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DypnsapiClient::JyQueryAppInfoBySceneCodeOutcomeCallable DypnsapiClient::jyQueryAppInfoBySceneCodeCallable(const JyQueryAppInfoBySceneCodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<JyQueryAppInfoBySceneCodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->jyQueryAppInfoBySceneCode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DypnsapiClient::QueryGateVerifyBillingPublicOutcome DypnsapiClient::queryGateVerifyBillingPublic(const QueryGateVerifyBillingPublicRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,144 +0,0 @@
|
||||
/*
|
||||
* 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/dypnsapi/model/JyCreateVerifySchemeRequest.h>
|
||||
|
||||
using AlibabaCloud::Dypnsapi::Model::JyCreateVerifySchemeRequest;
|
||||
|
||||
JyCreateVerifySchemeRequest::JyCreateVerifySchemeRequest()
|
||||
: RpcServiceRequest("dypnsapi", "2017-05-25", "JyCreateVerifyScheme") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
JyCreateVerifySchemeRequest::~JyCreateVerifySchemeRequest() {}
|
||||
|
||||
long JyCreateVerifySchemeRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string JyCreateVerifySchemeRequest::getBundleId() const {
|
||||
return bundleId_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setBundleId(const std::string &bundleId) {
|
||||
bundleId_ = bundleId;
|
||||
setParameter(std::string("BundleId"), bundleId);
|
||||
}
|
||||
|
||||
std::string JyCreateVerifySchemeRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string JyCreateVerifySchemeRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
std::string JyCreateVerifySchemeRequest::getPackSign() const {
|
||||
return packSign_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setPackSign(const std::string &packSign) {
|
||||
packSign_ = packSign;
|
||||
setParameter(std::string("PackSign"), packSign);
|
||||
}
|
||||
|
||||
std::string JyCreateVerifySchemeRequest::getPackName() const {
|
||||
return packName_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setPackName(const std::string &packName) {
|
||||
packName_ = packName;
|
||||
setParameter(std::string("PackName"), packName);
|
||||
}
|
||||
|
||||
long JyCreateVerifySchemeRequest::getCuApiCode() const {
|
||||
return cuApiCode_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setCuApiCode(long cuApiCode) {
|
||||
cuApiCode_ = cuApiCode;
|
||||
setParameter(std::string("CuApiCode"), std::to_string(cuApiCode));
|
||||
}
|
||||
|
||||
std::string JyCreateVerifySchemeRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long JyCreateVerifySchemeRequest::getCtApiCode() const {
|
||||
return ctApiCode_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setCtApiCode(long ctApiCode) {
|
||||
ctApiCode_ = ctApiCode;
|
||||
setParameter(std::string("CtApiCode"), std::to_string(ctApiCode));
|
||||
}
|
||||
|
||||
std::string JyCreateVerifySchemeRequest::getOsType() const {
|
||||
return osType_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setOsType(const std::string &osType) {
|
||||
osType_ = osType;
|
||||
setParameter(std::string("OsType"), osType);
|
||||
}
|
||||
|
||||
long JyCreateVerifySchemeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
long JyCreateVerifySchemeRequest::getCmApiCode() const {
|
||||
return cmApiCode_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setCmApiCode(long cmApiCode) {
|
||||
cmApiCode_ = cmApiCode;
|
||||
setParameter(std::string("CmApiCode"), std::to_string(cmApiCode));
|
||||
}
|
||||
|
||||
std::string JyCreateVerifySchemeRequest::getSchemeName() const {
|
||||
return schemeName_;
|
||||
}
|
||||
|
||||
void JyCreateVerifySchemeRequest::setSchemeName(const std::string &schemeName) {
|
||||
schemeName_ = schemeName;
|
||||
setParameter(std::string("SchemeName"), schemeName);
|
||||
}
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
/*
|
||||
* 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/dypnsapi/model/JyCreateVerifySchemeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dypnsapi;
|
||||
using namespace AlibabaCloud::Dypnsapi::Model;
|
||||
|
||||
JyCreateVerifySchemeResult::JyCreateVerifySchemeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
JyCreateVerifySchemeResult::JyCreateVerifySchemeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
JyCreateVerifySchemeResult::~JyCreateVerifySchemeResult()
|
||||
{}
|
||||
|
||||
void JyCreateVerifySchemeResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto gateVerifySchemeDataNode = value["GateVerifySchemeData"];
|
||||
if(!gateVerifySchemeDataNode["SchemeCode"].isNull())
|
||||
gateVerifySchemeData_.schemeCode = gateVerifySchemeDataNode["SchemeCode"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string JyCreateVerifySchemeResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
JyCreateVerifySchemeResult::GateVerifySchemeData JyCreateVerifySchemeResult::getGateVerifySchemeData()const
|
||||
{
|
||||
return gateVerifySchemeData_;
|
||||
}
|
||||
|
||||
std::string JyCreateVerifySchemeResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* 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/dypnsapi/model/JyQueryAppInfoBySceneCodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Dypnsapi::Model::JyQueryAppInfoBySceneCodeRequest;
|
||||
|
||||
JyQueryAppInfoBySceneCodeRequest::JyQueryAppInfoBySceneCodeRequest()
|
||||
: RpcServiceRequest("dypnsapi", "2017-05-25", "JyQueryAppInfoBySceneCode") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
JyQueryAppInfoBySceneCodeRequest::~JyQueryAppInfoBySceneCodeRequest() {}
|
||||
|
||||
long JyQueryAppInfoBySceneCodeRequest::getResourceOwnerId() const {
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void JyQueryAppInfoBySceneCodeRequest::setResourceOwnerId(long resourceOwnerId) {
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter(std::string("ResourceOwnerId"), std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string JyQueryAppInfoBySceneCodeRequest::getAccessKeyId() const {
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void JyQueryAppInfoBySceneCodeRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string JyQueryAppInfoBySceneCodeRequest::getSceneCode() const {
|
||||
return sceneCode_;
|
||||
}
|
||||
|
||||
void JyQueryAppInfoBySceneCodeRequest::setSceneCode(const std::string &sceneCode) {
|
||||
sceneCode_ = sceneCode;
|
||||
setParameter(std::string("SceneCode"), sceneCode);
|
||||
}
|
||||
|
||||
std::string JyQueryAppInfoBySceneCodeRequest::getResourceOwnerAccount() const {
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void JyQueryAppInfoBySceneCodeRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long JyQueryAppInfoBySceneCodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void JyQueryAppInfoBySceneCodeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
/*
|
||||
* 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/dypnsapi/model/JyQueryAppInfoBySceneCodeResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dypnsapi;
|
||||
using namespace AlibabaCloud::Dypnsapi::Model;
|
||||
|
||||
JyQueryAppInfoBySceneCodeResult::JyQueryAppInfoBySceneCodeResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
JyQueryAppInfoBySceneCodeResult::JyQueryAppInfoBySceneCodeResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
JyQueryAppInfoBySceneCodeResult::~JyQueryAppInfoBySceneCodeResult()
|
||||
{}
|
||||
|
||||
void JyQueryAppInfoBySceneCodeResult::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["CmAppId"].isNull())
|
||||
data_.cmAppId = dataNode["CmAppId"].asString();
|
||||
if(!dataNode["CmAppKey"].isNull())
|
||||
data_.cmAppKey = dataNode["CmAppKey"].asString();
|
||||
if(!dataNode["CtAppId"].isNull())
|
||||
data_.ctAppId = dataNode["CtAppId"].asString();
|
||||
if(!dataNode["CtAppKey"].isNull())
|
||||
data_.ctAppKey = dataNode["CtAppKey"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string JyQueryAppInfoBySceneCodeResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
JyQueryAppInfoBySceneCodeResult::Data JyQueryAppInfoBySceneCodeResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string JyQueryAppInfoBySceneCodeResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -52,6 +52,15 @@ void SendSmsVerifyCodeRequest::setPhoneNumber(const std::string &phoneNumber) {
|
||||
setParameter(std::string("PhoneNumber"), phoneNumber);
|
||||
}
|
||||
|
||||
std::string SendSmsVerifyCodeRequest::getLowcodeTenantId() const {
|
||||
return lowcodeTenantId_;
|
||||
}
|
||||
|
||||
void SendSmsVerifyCodeRequest::setLowcodeTenantId(const std::string &lowcodeTenantId) {
|
||||
lowcodeTenantId_ = lowcodeTenantId;
|
||||
setParameter(std::string("LowcodeTenantId"), lowcodeTenantId);
|
||||
}
|
||||
|
||||
std::string SendSmsVerifyCodeRequest::getExtendFunction() const {
|
||||
return extendFunction_;
|
||||
}
|
||||
@@ -70,6 +79,15 @@ void SendSmsVerifyCodeRequest::setAccessKeyId(const std::string &accessKeyId) {
|
||||
setParameter(std::string("AccessKeyId"), accessKeyId);
|
||||
}
|
||||
|
||||
std::string SendSmsVerifyCodeRequest::getLowcodePhysicAppName() const {
|
||||
return lowcodePhysicAppName_;
|
||||
}
|
||||
|
||||
void SendSmsVerifyCodeRequest::setLowcodePhysicAppName(const std::string &lowcodePhysicAppName) {
|
||||
lowcodePhysicAppName_ = lowcodePhysicAppName;
|
||||
setParameter(std::string("LowcodePhysicAppName"), lowcodePhysicAppName);
|
||||
}
|
||||
|
||||
std::string SendSmsVerifyCodeRequest::getSmsUpExtendCode() const {
|
||||
return smsUpExtendCode_;
|
||||
}
|
||||
@@ -88,6 +106,15 @@ void SendSmsVerifyCodeRequest::setSignName(const std::string &signName) {
|
||||
setParameter(std::string("SignName"), signName);
|
||||
}
|
||||
|
||||
long SendSmsVerifyCodeRequest::getAutoRetry() const {
|
||||
return autoRetry_;
|
||||
}
|
||||
|
||||
void SendSmsVerifyCodeRequest::setAutoRetry(long autoRetry) {
|
||||
autoRetry_ = autoRetry;
|
||||
setParameter(std::string("AutoRetry"), std::to_string(autoRetry));
|
||||
}
|
||||
|
||||
std::string SendSmsVerifyCodeRequest::getRouteName() const {
|
||||
return routeName_;
|
||||
}
|
||||
@@ -133,6 +160,15 @@ void SendSmsVerifyCodeRequest::setReturnVerifyCode(bool returnVerifyCode) {
|
||||
setParameter(std::string("ReturnVerifyCode"), returnVerifyCode ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string SendSmsVerifyCodeRequest::getLowcodeLogicAppName() const {
|
||||
return lowcodeLogicAppName_;
|
||||
}
|
||||
|
||||
void SendSmsVerifyCodeRequest::setLowcodeLogicAppName(const std::string &lowcodeLogicAppName) {
|
||||
lowcodeLogicAppName_ = lowcodeLogicAppName;
|
||||
setParameter(std::string("LowcodeLogicAppName"), lowcodeLogicAppName);
|
||||
}
|
||||
|
||||
long SendSmsVerifyCodeRequest::getCodeType() const {
|
||||
return codeType_;
|
||||
}
|
||||
|
||||
@@ -21,6 +21,10 @@ set(eiam_public_header
|
||||
include/alibabacloud/eiam/EiamExport.h )
|
||||
|
||||
set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/AddApplicationAccountToUserRequest.h
|
||||
include/alibabacloud/eiam/model/AddApplicationAccountToUserResult.h
|
||||
include/alibabacloud/eiam/model/AddCustomPrivacyPoliciesToBrandRequest.h
|
||||
include/alibabacloud/eiam/model/AddCustomPrivacyPoliciesToBrandResult.h
|
||||
include/alibabacloud/eiam/model/AddUserToOrganizationalUnitsRequest.h
|
||||
include/alibabacloud/eiam/model/AddUserToOrganizationalUnitsResult.h
|
||||
include/alibabacloud/eiam/model/AddUsersToGroupRequest.h
|
||||
@@ -31,16 +35,28 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/AuthorizeApplicationToOrganizationalUnitsResult.h
|
||||
include/alibabacloud/eiam/model/AuthorizeApplicationToUsersRequest.h
|
||||
include/alibabacloud/eiam/model/AuthorizeApplicationToUsersResult.h
|
||||
include/alibabacloud/eiam/model/BindUserAuthnSourceMappingRequest.h
|
||||
include/alibabacloud/eiam/model/BindUserAuthnSourceMappingResult.h
|
||||
include/alibabacloud/eiam/model/CreateApplicationRequest.h
|
||||
include/alibabacloud/eiam/model/CreateApplicationResult.h
|
||||
include/alibabacloud/eiam/model/CreateApplicationClientSecretRequest.h
|
||||
include/alibabacloud/eiam/model/CreateApplicationClientSecretResult.h
|
||||
include/alibabacloud/eiam/model/CreateApplicationFederatedCredentialRequest.h
|
||||
include/alibabacloud/eiam/model/CreateApplicationFederatedCredentialResult.h
|
||||
include/alibabacloud/eiam/model/CreateApplicationTokenRequest.h
|
||||
include/alibabacloud/eiam/model/CreateApplicationTokenResult.h
|
||||
include/alibabacloud/eiam/model/CreateBrandRequest.h
|
||||
include/alibabacloud/eiam/model/CreateBrandResult.h
|
||||
include/alibabacloud/eiam/model/CreateConditionalAccessPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/CreateConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/CreateCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/CreateCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/CreateDomainRequest.h
|
||||
include/alibabacloud/eiam/model/CreateDomainResult.h
|
||||
include/alibabacloud/eiam/model/CreateDomainProxyTokenRequest.h
|
||||
include/alibabacloud/eiam/model/CreateDomainProxyTokenResult.h
|
||||
include/alibabacloud/eiam/model/CreateFederatedCredentialProviderRequest.h
|
||||
include/alibabacloud/eiam/model/CreateFederatedCredentialProviderResult.h
|
||||
include/alibabacloud/eiam/model/CreateGroupRequest.h
|
||||
include/alibabacloud/eiam/model/CreateGroupResult.h
|
||||
include/alibabacloud/eiam/model/CreateIdentityProviderRequest.h
|
||||
@@ -49,6 +65,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/CreateInstanceResult.h
|
||||
include/alibabacloud/eiam/model/CreateNetworkAccessEndpointRequest.h
|
||||
include/alibabacloud/eiam/model/CreateNetworkAccessEndpointResult.h
|
||||
include/alibabacloud/eiam/model/CreateNetworkZoneRequest.h
|
||||
include/alibabacloud/eiam/model/CreateNetworkZoneResult.h
|
||||
include/alibabacloud/eiam/model/CreateOrganizationalUnitRequest.h
|
||||
include/alibabacloud/eiam/model/CreateOrganizationalUnitResult.h
|
||||
include/alibabacloud/eiam/model/CreateUserRequest.h
|
||||
@@ -57,12 +75,22 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/DeleteApplicationResult.h
|
||||
include/alibabacloud/eiam/model/DeleteApplicationClientSecretRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteApplicationClientSecretResult.h
|
||||
include/alibabacloud/eiam/model/DeleteApplicationFederatedCredentialRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteApplicationFederatedCredentialResult.h
|
||||
include/alibabacloud/eiam/model/DeleteApplicationTokenRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteApplicationTokenResult.h
|
||||
include/alibabacloud/eiam/model/DeleteBrandRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteBrandResult.h
|
||||
include/alibabacloud/eiam/model/DeleteConditionalAccessPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/DeleteCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/DeleteDomainRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteDomainResult.h
|
||||
include/alibabacloud/eiam/model/DeleteDomainProxyTokenRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteDomainProxyTokenResult.h
|
||||
include/alibabacloud/eiam/model/DeleteFederatedCredentialProviderRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteFederatedCredentialProviderResult.h
|
||||
include/alibabacloud/eiam/model/DeleteGroupRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteGroupResult.h
|
||||
include/alibabacloud/eiam/model/DeleteIdentityProviderRequest.h
|
||||
@@ -71,6 +99,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/DeleteInstanceResult.h
|
||||
include/alibabacloud/eiam/model/DeleteNetworkAccessEndpointRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteNetworkAccessEndpointResult.h
|
||||
include/alibabacloud/eiam/model/DeleteNetworkZoneRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteNetworkZoneResult.h
|
||||
include/alibabacloud/eiam/model/DeleteOrganizationalUnitRequest.h
|
||||
include/alibabacloud/eiam/model/DeleteOrganizationalUnitResult.h
|
||||
include/alibabacloud/eiam/model/DeleteOrganizationalUnitChildrenRequest.h
|
||||
@@ -83,14 +113,26 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/DisableApplicationApiInvokeResult.h
|
||||
include/alibabacloud/eiam/model/DisableApplicationClientSecretRequest.h
|
||||
include/alibabacloud/eiam/model/DisableApplicationClientSecretResult.h
|
||||
include/alibabacloud/eiam/model/DisableApplicationFederatedCredentialRequest.h
|
||||
include/alibabacloud/eiam/model/DisableApplicationFederatedCredentialResult.h
|
||||
include/alibabacloud/eiam/model/DisableApplicationProvisioningRequest.h
|
||||
include/alibabacloud/eiam/model/DisableApplicationProvisioningResult.h
|
||||
include/alibabacloud/eiam/model/DisableApplicationSsoRequest.h
|
||||
include/alibabacloud/eiam/model/DisableApplicationSsoResult.h
|
||||
include/alibabacloud/eiam/model/DisableApplicationTokenRequest.h
|
||||
include/alibabacloud/eiam/model/DisableApplicationTokenResult.h
|
||||
include/alibabacloud/eiam/model/DisableBrandRequest.h
|
||||
include/alibabacloud/eiam/model/DisableBrandResult.h
|
||||
include/alibabacloud/eiam/model/DisableConditionalAccessPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/DisableConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/DisableCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/DisableCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/DisableDomainProxyTokenRequest.h
|
||||
include/alibabacloud/eiam/model/DisableDomainProxyTokenResult.h
|
||||
include/alibabacloud/eiam/model/DisableFederatedCredentialProviderRequest.h
|
||||
include/alibabacloud/eiam/model/DisableFederatedCredentialProviderResult.h
|
||||
include/alibabacloud/eiam/model/DisableIdentityProviderAuthnRequest.h
|
||||
include/alibabacloud/eiam/model/DisableIdentityProviderAuthnResult.h
|
||||
include/alibabacloud/eiam/model/DisableIdentityProviderUdPullRequest.h
|
||||
include/alibabacloud/eiam/model/DisableIdentityProviderUdPullResult.h
|
||||
include/alibabacloud/eiam/model/DisableInitDomainAutoRedirectRequest.h
|
||||
@@ -103,14 +145,26 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/EnableApplicationApiInvokeResult.h
|
||||
include/alibabacloud/eiam/model/EnableApplicationClientSecretRequest.h
|
||||
include/alibabacloud/eiam/model/EnableApplicationClientSecretResult.h
|
||||
include/alibabacloud/eiam/model/EnableApplicationFederatedCredentialRequest.h
|
||||
include/alibabacloud/eiam/model/EnableApplicationFederatedCredentialResult.h
|
||||
include/alibabacloud/eiam/model/EnableApplicationProvisioningRequest.h
|
||||
include/alibabacloud/eiam/model/EnableApplicationProvisioningResult.h
|
||||
include/alibabacloud/eiam/model/EnableApplicationSsoRequest.h
|
||||
include/alibabacloud/eiam/model/EnableApplicationSsoResult.h
|
||||
include/alibabacloud/eiam/model/EnableApplicationTokenRequest.h
|
||||
include/alibabacloud/eiam/model/EnableApplicationTokenResult.h
|
||||
include/alibabacloud/eiam/model/EnableBrandRequest.h
|
||||
include/alibabacloud/eiam/model/EnableBrandResult.h
|
||||
include/alibabacloud/eiam/model/EnableConditionalAccessPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/EnableConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/EnableCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/EnableCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/EnableDomainProxyTokenRequest.h
|
||||
include/alibabacloud/eiam/model/EnableDomainProxyTokenResult.h
|
||||
include/alibabacloud/eiam/model/EnableFederatedCredentialProviderRequest.h
|
||||
include/alibabacloud/eiam/model/EnableFederatedCredentialProviderResult.h
|
||||
include/alibabacloud/eiam/model/EnableIdentityProviderAuthnRequest.h
|
||||
include/alibabacloud/eiam/model/EnableIdentityProviderAuthnResult.h
|
||||
include/alibabacloud/eiam/model/EnableIdentityProviderUdPullRequest.h
|
||||
include/alibabacloud/eiam/model/EnableIdentityProviderUdPullResult.h
|
||||
include/alibabacloud/eiam/model/EnableInitDomainAutoRedirectRequest.h
|
||||
@@ -119,6 +173,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/EnableUserResult.h
|
||||
include/alibabacloud/eiam/model/GetApplicationRequest.h
|
||||
include/alibabacloud/eiam/model/GetApplicationResult.h
|
||||
include/alibabacloud/eiam/model/GetApplicationFederatedCredentialRequest.h
|
||||
include/alibabacloud/eiam/model/GetApplicationFederatedCredentialResult.h
|
||||
include/alibabacloud/eiam/model/GetApplicationGrantScopeRequest.h
|
||||
include/alibabacloud/eiam/model/GetApplicationGrantScopeResult.h
|
||||
include/alibabacloud/eiam/model/GetApplicationProvisioningConfigRequest.h
|
||||
@@ -127,12 +183,20 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/GetApplicationProvisioningScopeResult.h
|
||||
include/alibabacloud/eiam/model/GetApplicationSsoConfigRequest.h
|
||||
include/alibabacloud/eiam/model/GetApplicationSsoConfigResult.h
|
||||
include/alibabacloud/eiam/model/GetApplicationTemplateRequest.h
|
||||
include/alibabacloud/eiam/model/GetApplicationTemplateResult.h
|
||||
include/alibabacloud/eiam/model/GetBrandRequest.h
|
||||
include/alibabacloud/eiam/model/GetBrandResult.h
|
||||
include/alibabacloud/eiam/model/GetConditionalAccessPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/GetConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/GetCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/GetCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/GetDomainRequest.h
|
||||
include/alibabacloud/eiam/model/GetDomainResult.h
|
||||
include/alibabacloud/eiam/model/GetDomainDnsChallengeRequest.h
|
||||
include/alibabacloud/eiam/model/GetDomainDnsChallengeResult.h
|
||||
include/alibabacloud/eiam/model/GetFederatedCredentialProviderRequest.h
|
||||
include/alibabacloud/eiam/model/GetFederatedCredentialProviderResult.h
|
||||
include/alibabacloud/eiam/model/GetForgetPasswordConfigurationRequest.h
|
||||
include/alibabacloud/eiam/model/GetForgetPasswordConfigurationResult.h
|
||||
include/alibabacloud/eiam/model/GetGroupRequest.h
|
||||
@@ -145,8 +209,12 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/GetInstanceResult.h
|
||||
include/alibabacloud/eiam/model/GetInstanceLicenseRequest.h
|
||||
include/alibabacloud/eiam/model/GetInstanceLicenseResult.h
|
||||
include/alibabacloud/eiam/model/GetLoginRedirectApplicationForBrandRequest.h
|
||||
include/alibabacloud/eiam/model/GetLoginRedirectApplicationForBrandResult.h
|
||||
include/alibabacloud/eiam/model/GetNetworkAccessEndpointRequest.h
|
||||
include/alibabacloud/eiam/model/GetNetworkAccessEndpointResult.h
|
||||
include/alibabacloud/eiam/model/GetNetworkZoneRequest.h
|
||||
include/alibabacloud/eiam/model/GetNetworkZoneResult.h
|
||||
include/alibabacloud/eiam/model/GetOrganizationalUnitRequest.h
|
||||
include/alibabacloud/eiam/model/GetOrganizationalUnitResult.h
|
||||
include/alibabacloud/eiam/model/GetPasswordComplexityConfigurationRequest.h
|
||||
@@ -163,18 +231,46 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/GetSynchronizationJobResult.h
|
||||
include/alibabacloud/eiam/model/GetUserRequest.h
|
||||
include/alibabacloud/eiam/model/GetUserResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationAccountsRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationAccountsResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationAccountsForUserRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationAccountsForUserResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationClientSecretsRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationClientSecretsResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationFederatedCredentialsRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationFederatedCredentialsResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationFederatedCredentialsForProviderRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationFederatedCredentialsForProviderResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationSupportedProvisionProtocolTypesRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationSupportedProvisionProtocolTypesResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationTokensRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationTokensResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsForGroupRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsForGroupResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsForNetworkAccessEndpointRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsForNetworkAccessEndpointResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsForNetworkZoneRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsForNetworkZoneResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsForOrganizationalUnitRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsForOrganizationalUnitResult.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsForUserRequest.h
|
||||
include/alibabacloud/eiam/model/ListApplicationsForUserResult.h
|
||||
include/alibabacloud/eiam/model/ListBrandsRequest.h
|
||||
include/alibabacloud/eiam/model/ListBrandsResult.h
|
||||
include/alibabacloud/eiam/model/ListConditionalAccessPoliciesRequest.h
|
||||
include/alibabacloud/eiam/model/ListConditionalAccessPoliciesResult.h
|
||||
include/alibabacloud/eiam/model/ListConditionalAccessPoliciesForApplicationRequest.h
|
||||
include/alibabacloud/eiam/model/ListConditionalAccessPoliciesForApplicationResult.h
|
||||
include/alibabacloud/eiam/model/ListConditionalAccessPoliciesForNetworkZoneRequest.h
|
||||
include/alibabacloud/eiam/model/ListConditionalAccessPoliciesForNetworkZoneResult.h
|
||||
include/alibabacloud/eiam/model/ListConditionalAccessPoliciesForUserRequest.h
|
||||
include/alibabacloud/eiam/model/ListConditionalAccessPoliciesForUserResult.h
|
||||
include/alibabacloud/eiam/model/ListCustomPrivacyPoliciesRequest.h
|
||||
include/alibabacloud/eiam/model/ListCustomPrivacyPoliciesResult.h
|
||||
include/alibabacloud/eiam/model/ListCustomPrivacyPoliciesForBrandRequest.h
|
||||
include/alibabacloud/eiam/model/ListCustomPrivacyPoliciesForBrandResult.h
|
||||
include/alibabacloud/eiam/model/ListDomainProxyTokensRequest.h
|
||||
include/alibabacloud/eiam/model/ListDomainProxyTokensResult.h
|
||||
include/alibabacloud/eiam/model/ListDomainsRequest.h
|
||||
@@ -183,6 +279,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/ListEiamInstancesResult.h
|
||||
include/alibabacloud/eiam/model/ListEiamRegionsRequest.h
|
||||
include/alibabacloud/eiam/model/ListEiamRegionsResult.h
|
||||
include/alibabacloud/eiam/model/ListFederatedCredentialProvidersRequest.h
|
||||
include/alibabacloud/eiam/model/ListFederatedCredentialProvidersResult.h
|
||||
include/alibabacloud/eiam/model/ListGroupsRequest.h
|
||||
include/alibabacloud/eiam/model/ListGroupsResult.h
|
||||
include/alibabacloud/eiam/model/ListGroupsForApplicationRequest.h
|
||||
@@ -191,6 +289,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/ListGroupsForUserResult.h
|
||||
include/alibabacloud/eiam/model/ListIdentityProvidersRequest.h
|
||||
include/alibabacloud/eiam/model/ListIdentityProvidersResult.h
|
||||
include/alibabacloud/eiam/model/ListIdentityProvidersForNetworkAccessEndpointRequest.h
|
||||
include/alibabacloud/eiam/model/ListIdentityProvidersForNetworkAccessEndpointResult.h
|
||||
include/alibabacloud/eiam/model/ListInstancesRequest.h
|
||||
include/alibabacloud/eiam/model/ListInstancesResult.h
|
||||
include/alibabacloud/eiam/model/ListNetworkAccessEndpointAvailableRegionsRequest.h
|
||||
@@ -201,6 +301,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/ListNetworkAccessEndpointsResult.h
|
||||
include/alibabacloud/eiam/model/ListNetworkAccessPathsRequest.h
|
||||
include/alibabacloud/eiam/model/ListNetworkAccessPathsResult.h
|
||||
include/alibabacloud/eiam/model/ListNetworkZonesRequest.h
|
||||
include/alibabacloud/eiam/model/ListNetworkZonesResult.h
|
||||
include/alibabacloud/eiam/model/ListOrganizationalUnitParentsRequest.h
|
||||
include/alibabacloud/eiam/model/ListOrganizationalUnitParentsResult.h
|
||||
include/alibabacloud/eiam/model/ListOrganizationalUnitsRequest.h
|
||||
@@ -211,6 +313,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/ListRegionsResult.h
|
||||
include/alibabacloud/eiam/model/ListSynchronizationJobsRequest.h
|
||||
include/alibabacloud/eiam/model/ListSynchronizationJobsResult.h
|
||||
include/alibabacloud/eiam/model/ListUserAuthnSourceMappingsRequest.h
|
||||
include/alibabacloud/eiam/model/ListUserAuthnSourceMappingsResult.h
|
||||
include/alibabacloud/eiam/model/ListUsersRequest.h
|
||||
include/alibabacloud/eiam/model/ListUsersResult.h
|
||||
include/alibabacloud/eiam/model/ListUsersForApplicationRequest.h
|
||||
@@ -219,8 +323,14 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/ListUsersForGroupResult.h
|
||||
include/alibabacloud/eiam/model/ObtainApplicationClientSecretRequest.h
|
||||
include/alibabacloud/eiam/model/ObtainApplicationClientSecretResult.h
|
||||
include/alibabacloud/eiam/model/ObtainApplicationTokenRequest.h
|
||||
include/alibabacloud/eiam/model/ObtainApplicationTokenResult.h
|
||||
include/alibabacloud/eiam/model/ObtainDomainProxyTokenRequest.h
|
||||
include/alibabacloud/eiam/model/ObtainDomainProxyTokenResult.h
|
||||
include/alibabacloud/eiam/model/RemoveApplicationAccountFromUserRequest.h
|
||||
include/alibabacloud/eiam/model/RemoveApplicationAccountFromUserResult.h
|
||||
include/alibabacloud/eiam/model/RemoveCustomPrivacyPoliciesFromBrandRequest.h
|
||||
include/alibabacloud/eiam/model/RemoveCustomPrivacyPoliciesFromBrandResult.h
|
||||
include/alibabacloud/eiam/model/RemoveUserFromOrganizationalUnitsRequest.h
|
||||
include/alibabacloud/eiam/model/RemoveUserFromOrganizationalUnitsResult.h
|
||||
include/alibabacloud/eiam/model/RemoveUsersFromGroupRequest.h
|
||||
@@ -247,6 +357,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/SetForgetPasswordConfigurationResult.h
|
||||
include/alibabacloud/eiam/model/SetIdentityProviderUdPullConfigurationRequest.h
|
||||
include/alibabacloud/eiam/model/SetIdentityProviderUdPullConfigurationResult.h
|
||||
include/alibabacloud/eiam/model/SetLoginRedirectApplicationForBrandRequest.h
|
||||
include/alibabacloud/eiam/model/SetLoginRedirectApplicationForBrandResult.h
|
||||
include/alibabacloud/eiam/model/SetPasswordComplexityConfigurationRequest.h
|
||||
include/alibabacloud/eiam/model/SetPasswordComplexityConfigurationResult.h
|
||||
include/alibabacloud/eiam/model/SetPasswordExpirationConfigurationRequest.h
|
||||
@@ -257,6 +369,8 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/SetPasswordInitializationConfigurationResult.h
|
||||
include/alibabacloud/eiam/model/SetUserPrimaryOrganizationalUnitRequest.h
|
||||
include/alibabacloud/eiam/model/SetUserPrimaryOrganizationalUnitResult.h
|
||||
include/alibabacloud/eiam/model/UnbindUserAuthnSourceMappingRequest.h
|
||||
include/alibabacloud/eiam/model/UnbindUserAuthnSourceMappingResult.h
|
||||
include/alibabacloud/eiam/model/UnlockUserRequest.h
|
||||
include/alibabacloud/eiam/model/UnlockUserResult.h
|
||||
include/alibabacloud/eiam/model/UpdateApplicationAuthorizationTypeRequest.h
|
||||
@@ -265,10 +379,30 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/UpdateApplicationClientSecretExpirationTimeResult.h
|
||||
include/alibabacloud/eiam/model/UpdateApplicationDescriptionRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateApplicationDescriptionResult.h
|
||||
include/alibabacloud/eiam/model/UpdateApplicationFederatedCredentialRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateApplicationFederatedCredentialResult.h
|
||||
include/alibabacloud/eiam/model/UpdateApplicationFederatedCredentialDescriptionRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateApplicationFederatedCredentialDescriptionResult.h
|
||||
include/alibabacloud/eiam/model/UpdateApplicationInfoRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateApplicationInfoResult.h
|
||||
include/alibabacloud/eiam/model/UpdateApplicationTokenExpirationTimeRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateApplicationTokenExpirationTimeResult.h
|
||||
include/alibabacloud/eiam/model/UpdateBrandRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateBrandResult.h
|
||||
include/alibabacloud/eiam/model/UpdateConditionalAccessPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateConditionalAccessPolicyResult.h
|
||||
include/alibabacloud/eiam/model/UpdateConditionalAccessPolicyDescriptionRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateConditionalAccessPolicyDescriptionResult.h
|
||||
include/alibabacloud/eiam/model/UpdateCustomPrivacyPolicyRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateCustomPrivacyPolicyResult.h
|
||||
include/alibabacloud/eiam/model/UpdateDomainBrandRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateDomainBrandResult.h
|
||||
include/alibabacloud/eiam/model/UpdateDomainIcpNumberRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateDomainIcpNumberResult.h
|
||||
include/alibabacloud/eiam/model/UpdateFederatedCredentialProviderRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateFederatedCredentialProviderResult.h
|
||||
include/alibabacloud/eiam/model/UpdateFederatedCredentialProviderDescriptionRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateFederatedCredentialProviderDescriptionResult.h
|
||||
include/alibabacloud/eiam/model/UpdateGroupRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateGroupResult.h
|
||||
include/alibabacloud/eiam/model/UpdateGroupDescriptionRequest.h
|
||||
@@ -279,6 +413,10 @@ set(eiam_public_header_model
|
||||
include/alibabacloud/eiam/model/UpdateInstanceDescriptionResult.h
|
||||
include/alibabacloud/eiam/model/UpdateNetworkAccessEndpointNameRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateNetworkAccessEndpointNameResult.h
|
||||
include/alibabacloud/eiam/model/UpdateNetworkZoneRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateNetworkZoneResult.h
|
||||
include/alibabacloud/eiam/model/UpdateNetworkZoneDescriptionRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateNetworkZoneDescriptionResult.h
|
||||
include/alibabacloud/eiam/model/UpdateOrganizationalUnitRequest.h
|
||||
include/alibabacloud/eiam/model/UpdateOrganizationalUnitResult.h
|
||||
include/alibabacloud/eiam/model/UpdateOrganizationalUnitDescriptionRequest.h
|
||||
@@ -294,6 +432,10 @@ set(eiam_public_header_model
|
||||
|
||||
set(eiam_src
|
||||
src/EiamClient.cc
|
||||
src/model/AddApplicationAccountToUserRequest.cc
|
||||
src/model/AddApplicationAccountToUserResult.cc
|
||||
src/model/AddCustomPrivacyPoliciesToBrandRequest.cc
|
||||
src/model/AddCustomPrivacyPoliciesToBrandResult.cc
|
||||
src/model/AddUserToOrganizationalUnitsRequest.cc
|
||||
src/model/AddUserToOrganizationalUnitsResult.cc
|
||||
src/model/AddUsersToGroupRequest.cc
|
||||
@@ -304,16 +446,28 @@ set(eiam_src
|
||||
src/model/AuthorizeApplicationToOrganizationalUnitsResult.cc
|
||||
src/model/AuthorizeApplicationToUsersRequest.cc
|
||||
src/model/AuthorizeApplicationToUsersResult.cc
|
||||
src/model/BindUserAuthnSourceMappingRequest.cc
|
||||
src/model/BindUserAuthnSourceMappingResult.cc
|
||||
src/model/CreateApplicationRequest.cc
|
||||
src/model/CreateApplicationResult.cc
|
||||
src/model/CreateApplicationClientSecretRequest.cc
|
||||
src/model/CreateApplicationClientSecretResult.cc
|
||||
src/model/CreateApplicationFederatedCredentialRequest.cc
|
||||
src/model/CreateApplicationFederatedCredentialResult.cc
|
||||
src/model/CreateApplicationTokenRequest.cc
|
||||
src/model/CreateApplicationTokenResult.cc
|
||||
src/model/CreateBrandRequest.cc
|
||||
src/model/CreateBrandResult.cc
|
||||
src/model/CreateConditionalAccessPolicyRequest.cc
|
||||
src/model/CreateConditionalAccessPolicyResult.cc
|
||||
src/model/CreateCustomPrivacyPolicyRequest.cc
|
||||
src/model/CreateCustomPrivacyPolicyResult.cc
|
||||
src/model/CreateDomainRequest.cc
|
||||
src/model/CreateDomainResult.cc
|
||||
src/model/CreateDomainProxyTokenRequest.cc
|
||||
src/model/CreateDomainProxyTokenResult.cc
|
||||
src/model/CreateFederatedCredentialProviderRequest.cc
|
||||
src/model/CreateFederatedCredentialProviderResult.cc
|
||||
src/model/CreateGroupRequest.cc
|
||||
src/model/CreateGroupResult.cc
|
||||
src/model/CreateIdentityProviderRequest.cc
|
||||
@@ -322,6 +476,8 @@ set(eiam_src
|
||||
src/model/CreateInstanceResult.cc
|
||||
src/model/CreateNetworkAccessEndpointRequest.cc
|
||||
src/model/CreateNetworkAccessEndpointResult.cc
|
||||
src/model/CreateNetworkZoneRequest.cc
|
||||
src/model/CreateNetworkZoneResult.cc
|
||||
src/model/CreateOrganizationalUnitRequest.cc
|
||||
src/model/CreateOrganizationalUnitResult.cc
|
||||
src/model/CreateUserRequest.cc
|
||||
@@ -330,12 +486,22 @@ set(eiam_src
|
||||
src/model/DeleteApplicationResult.cc
|
||||
src/model/DeleteApplicationClientSecretRequest.cc
|
||||
src/model/DeleteApplicationClientSecretResult.cc
|
||||
src/model/DeleteApplicationFederatedCredentialRequest.cc
|
||||
src/model/DeleteApplicationFederatedCredentialResult.cc
|
||||
src/model/DeleteApplicationTokenRequest.cc
|
||||
src/model/DeleteApplicationTokenResult.cc
|
||||
src/model/DeleteBrandRequest.cc
|
||||
src/model/DeleteBrandResult.cc
|
||||
src/model/DeleteConditionalAccessPolicyRequest.cc
|
||||
src/model/DeleteConditionalAccessPolicyResult.cc
|
||||
src/model/DeleteCustomPrivacyPolicyRequest.cc
|
||||
src/model/DeleteCustomPrivacyPolicyResult.cc
|
||||
src/model/DeleteDomainRequest.cc
|
||||
src/model/DeleteDomainResult.cc
|
||||
src/model/DeleteDomainProxyTokenRequest.cc
|
||||
src/model/DeleteDomainProxyTokenResult.cc
|
||||
src/model/DeleteFederatedCredentialProviderRequest.cc
|
||||
src/model/DeleteFederatedCredentialProviderResult.cc
|
||||
src/model/DeleteGroupRequest.cc
|
||||
src/model/DeleteGroupResult.cc
|
||||
src/model/DeleteIdentityProviderRequest.cc
|
||||
@@ -344,6 +510,8 @@ set(eiam_src
|
||||
src/model/DeleteInstanceResult.cc
|
||||
src/model/DeleteNetworkAccessEndpointRequest.cc
|
||||
src/model/DeleteNetworkAccessEndpointResult.cc
|
||||
src/model/DeleteNetworkZoneRequest.cc
|
||||
src/model/DeleteNetworkZoneResult.cc
|
||||
src/model/DeleteOrganizationalUnitRequest.cc
|
||||
src/model/DeleteOrganizationalUnitResult.cc
|
||||
src/model/DeleteOrganizationalUnitChildrenRequest.cc
|
||||
@@ -356,14 +524,26 @@ set(eiam_src
|
||||
src/model/DisableApplicationApiInvokeResult.cc
|
||||
src/model/DisableApplicationClientSecretRequest.cc
|
||||
src/model/DisableApplicationClientSecretResult.cc
|
||||
src/model/DisableApplicationFederatedCredentialRequest.cc
|
||||
src/model/DisableApplicationFederatedCredentialResult.cc
|
||||
src/model/DisableApplicationProvisioningRequest.cc
|
||||
src/model/DisableApplicationProvisioningResult.cc
|
||||
src/model/DisableApplicationSsoRequest.cc
|
||||
src/model/DisableApplicationSsoResult.cc
|
||||
src/model/DisableApplicationTokenRequest.cc
|
||||
src/model/DisableApplicationTokenResult.cc
|
||||
src/model/DisableBrandRequest.cc
|
||||
src/model/DisableBrandResult.cc
|
||||
src/model/DisableConditionalAccessPolicyRequest.cc
|
||||
src/model/DisableConditionalAccessPolicyResult.cc
|
||||
src/model/DisableCustomPrivacyPolicyRequest.cc
|
||||
src/model/DisableCustomPrivacyPolicyResult.cc
|
||||
src/model/DisableDomainProxyTokenRequest.cc
|
||||
src/model/DisableDomainProxyTokenResult.cc
|
||||
src/model/DisableFederatedCredentialProviderRequest.cc
|
||||
src/model/DisableFederatedCredentialProviderResult.cc
|
||||
src/model/DisableIdentityProviderAuthnRequest.cc
|
||||
src/model/DisableIdentityProviderAuthnResult.cc
|
||||
src/model/DisableIdentityProviderUdPullRequest.cc
|
||||
src/model/DisableIdentityProviderUdPullResult.cc
|
||||
src/model/DisableInitDomainAutoRedirectRequest.cc
|
||||
@@ -376,14 +556,26 @@ set(eiam_src
|
||||
src/model/EnableApplicationApiInvokeResult.cc
|
||||
src/model/EnableApplicationClientSecretRequest.cc
|
||||
src/model/EnableApplicationClientSecretResult.cc
|
||||
src/model/EnableApplicationFederatedCredentialRequest.cc
|
||||
src/model/EnableApplicationFederatedCredentialResult.cc
|
||||
src/model/EnableApplicationProvisioningRequest.cc
|
||||
src/model/EnableApplicationProvisioningResult.cc
|
||||
src/model/EnableApplicationSsoRequest.cc
|
||||
src/model/EnableApplicationSsoResult.cc
|
||||
src/model/EnableApplicationTokenRequest.cc
|
||||
src/model/EnableApplicationTokenResult.cc
|
||||
src/model/EnableBrandRequest.cc
|
||||
src/model/EnableBrandResult.cc
|
||||
src/model/EnableConditionalAccessPolicyRequest.cc
|
||||
src/model/EnableConditionalAccessPolicyResult.cc
|
||||
src/model/EnableCustomPrivacyPolicyRequest.cc
|
||||
src/model/EnableCustomPrivacyPolicyResult.cc
|
||||
src/model/EnableDomainProxyTokenRequest.cc
|
||||
src/model/EnableDomainProxyTokenResult.cc
|
||||
src/model/EnableFederatedCredentialProviderRequest.cc
|
||||
src/model/EnableFederatedCredentialProviderResult.cc
|
||||
src/model/EnableIdentityProviderAuthnRequest.cc
|
||||
src/model/EnableIdentityProviderAuthnResult.cc
|
||||
src/model/EnableIdentityProviderUdPullRequest.cc
|
||||
src/model/EnableIdentityProviderUdPullResult.cc
|
||||
src/model/EnableInitDomainAutoRedirectRequest.cc
|
||||
@@ -392,6 +584,8 @@ set(eiam_src
|
||||
src/model/EnableUserResult.cc
|
||||
src/model/GetApplicationRequest.cc
|
||||
src/model/GetApplicationResult.cc
|
||||
src/model/GetApplicationFederatedCredentialRequest.cc
|
||||
src/model/GetApplicationFederatedCredentialResult.cc
|
||||
src/model/GetApplicationGrantScopeRequest.cc
|
||||
src/model/GetApplicationGrantScopeResult.cc
|
||||
src/model/GetApplicationProvisioningConfigRequest.cc
|
||||
@@ -400,12 +594,20 @@ set(eiam_src
|
||||
src/model/GetApplicationProvisioningScopeResult.cc
|
||||
src/model/GetApplicationSsoConfigRequest.cc
|
||||
src/model/GetApplicationSsoConfigResult.cc
|
||||
src/model/GetApplicationTemplateRequest.cc
|
||||
src/model/GetApplicationTemplateResult.cc
|
||||
src/model/GetBrandRequest.cc
|
||||
src/model/GetBrandResult.cc
|
||||
src/model/GetConditionalAccessPolicyRequest.cc
|
||||
src/model/GetConditionalAccessPolicyResult.cc
|
||||
src/model/GetCustomPrivacyPolicyRequest.cc
|
||||
src/model/GetCustomPrivacyPolicyResult.cc
|
||||
src/model/GetDomainRequest.cc
|
||||
src/model/GetDomainResult.cc
|
||||
src/model/GetDomainDnsChallengeRequest.cc
|
||||
src/model/GetDomainDnsChallengeResult.cc
|
||||
src/model/GetFederatedCredentialProviderRequest.cc
|
||||
src/model/GetFederatedCredentialProviderResult.cc
|
||||
src/model/GetForgetPasswordConfigurationRequest.cc
|
||||
src/model/GetForgetPasswordConfigurationResult.cc
|
||||
src/model/GetGroupRequest.cc
|
||||
@@ -418,8 +620,12 @@ set(eiam_src
|
||||
src/model/GetInstanceResult.cc
|
||||
src/model/GetInstanceLicenseRequest.cc
|
||||
src/model/GetInstanceLicenseResult.cc
|
||||
src/model/GetLoginRedirectApplicationForBrandRequest.cc
|
||||
src/model/GetLoginRedirectApplicationForBrandResult.cc
|
||||
src/model/GetNetworkAccessEndpointRequest.cc
|
||||
src/model/GetNetworkAccessEndpointResult.cc
|
||||
src/model/GetNetworkZoneRequest.cc
|
||||
src/model/GetNetworkZoneResult.cc
|
||||
src/model/GetOrganizationalUnitRequest.cc
|
||||
src/model/GetOrganizationalUnitResult.cc
|
||||
src/model/GetPasswordComplexityConfigurationRequest.cc
|
||||
@@ -436,18 +642,46 @@ set(eiam_src
|
||||
src/model/GetSynchronizationJobResult.cc
|
||||
src/model/GetUserRequest.cc
|
||||
src/model/GetUserResult.cc
|
||||
src/model/ListApplicationAccountsRequest.cc
|
||||
src/model/ListApplicationAccountsResult.cc
|
||||
src/model/ListApplicationAccountsForUserRequest.cc
|
||||
src/model/ListApplicationAccountsForUserResult.cc
|
||||
src/model/ListApplicationClientSecretsRequest.cc
|
||||
src/model/ListApplicationClientSecretsResult.cc
|
||||
src/model/ListApplicationFederatedCredentialsRequest.cc
|
||||
src/model/ListApplicationFederatedCredentialsResult.cc
|
||||
src/model/ListApplicationFederatedCredentialsForProviderRequest.cc
|
||||
src/model/ListApplicationFederatedCredentialsForProviderResult.cc
|
||||
src/model/ListApplicationSupportedProvisionProtocolTypesRequest.cc
|
||||
src/model/ListApplicationSupportedProvisionProtocolTypesResult.cc
|
||||
src/model/ListApplicationTokensRequest.cc
|
||||
src/model/ListApplicationTokensResult.cc
|
||||
src/model/ListApplicationsRequest.cc
|
||||
src/model/ListApplicationsResult.cc
|
||||
src/model/ListApplicationsForGroupRequest.cc
|
||||
src/model/ListApplicationsForGroupResult.cc
|
||||
src/model/ListApplicationsForNetworkAccessEndpointRequest.cc
|
||||
src/model/ListApplicationsForNetworkAccessEndpointResult.cc
|
||||
src/model/ListApplicationsForNetworkZoneRequest.cc
|
||||
src/model/ListApplicationsForNetworkZoneResult.cc
|
||||
src/model/ListApplicationsForOrganizationalUnitRequest.cc
|
||||
src/model/ListApplicationsForOrganizationalUnitResult.cc
|
||||
src/model/ListApplicationsForUserRequest.cc
|
||||
src/model/ListApplicationsForUserResult.cc
|
||||
src/model/ListBrandsRequest.cc
|
||||
src/model/ListBrandsResult.cc
|
||||
src/model/ListConditionalAccessPoliciesRequest.cc
|
||||
src/model/ListConditionalAccessPoliciesResult.cc
|
||||
src/model/ListConditionalAccessPoliciesForApplicationRequest.cc
|
||||
src/model/ListConditionalAccessPoliciesForApplicationResult.cc
|
||||
src/model/ListConditionalAccessPoliciesForNetworkZoneRequest.cc
|
||||
src/model/ListConditionalAccessPoliciesForNetworkZoneResult.cc
|
||||
src/model/ListConditionalAccessPoliciesForUserRequest.cc
|
||||
src/model/ListConditionalAccessPoliciesForUserResult.cc
|
||||
src/model/ListCustomPrivacyPoliciesRequest.cc
|
||||
src/model/ListCustomPrivacyPoliciesResult.cc
|
||||
src/model/ListCustomPrivacyPoliciesForBrandRequest.cc
|
||||
src/model/ListCustomPrivacyPoliciesForBrandResult.cc
|
||||
src/model/ListDomainProxyTokensRequest.cc
|
||||
src/model/ListDomainProxyTokensResult.cc
|
||||
src/model/ListDomainsRequest.cc
|
||||
@@ -456,6 +690,8 @@ set(eiam_src
|
||||
src/model/ListEiamInstancesResult.cc
|
||||
src/model/ListEiamRegionsRequest.cc
|
||||
src/model/ListEiamRegionsResult.cc
|
||||
src/model/ListFederatedCredentialProvidersRequest.cc
|
||||
src/model/ListFederatedCredentialProvidersResult.cc
|
||||
src/model/ListGroupsRequest.cc
|
||||
src/model/ListGroupsResult.cc
|
||||
src/model/ListGroupsForApplicationRequest.cc
|
||||
@@ -464,6 +700,8 @@ set(eiam_src
|
||||
src/model/ListGroupsForUserResult.cc
|
||||
src/model/ListIdentityProvidersRequest.cc
|
||||
src/model/ListIdentityProvidersResult.cc
|
||||
src/model/ListIdentityProvidersForNetworkAccessEndpointRequest.cc
|
||||
src/model/ListIdentityProvidersForNetworkAccessEndpointResult.cc
|
||||
src/model/ListInstancesRequest.cc
|
||||
src/model/ListInstancesResult.cc
|
||||
src/model/ListNetworkAccessEndpointAvailableRegionsRequest.cc
|
||||
@@ -474,6 +712,8 @@ set(eiam_src
|
||||
src/model/ListNetworkAccessEndpointsResult.cc
|
||||
src/model/ListNetworkAccessPathsRequest.cc
|
||||
src/model/ListNetworkAccessPathsResult.cc
|
||||
src/model/ListNetworkZonesRequest.cc
|
||||
src/model/ListNetworkZonesResult.cc
|
||||
src/model/ListOrganizationalUnitParentsRequest.cc
|
||||
src/model/ListOrganizationalUnitParentsResult.cc
|
||||
src/model/ListOrganizationalUnitsRequest.cc
|
||||
@@ -484,6 +724,8 @@ set(eiam_src
|
||||
src/model/ListRegionsResult.cc
|
||||
src/model/ListSynchronizationJobsRequest.cc
|
||||
src/model/ListSynchronizationJobsResult.cc
|
||||
src/model/ListUserAuthnSourceMappingsRequest.cc
|
||||
src/model/ListUserAuthnSourceMappingsResult.cc
|
||||
src/model/ListUsersRequest.cc
|
||||
src/model/ListUsersResult.cc
|
||||
src/model/ListUsersForApplicationRequest.cc
|
||||
@@ -492,8 +734,14 @@ set(eiam_src
|
||||
src/model/ListUsersForGroupResult.cc
|
||||
src/model/ObtainApplicationClientSecretRequest.cc
|
||||
src/model/ObtainApplicationClientSecretResult.cc
|
||||
src/model/ObtainApplicationTokenRequest.cc
|
||||
src/model/ObtainApplicationTokenResult.cc
|
||||
src/model/ObtainDomainProxyTokenRequest.cc
|
||||
src/model/ObtainDomainProxyTokenResult.cc
|
||||
src/model/RemoveApplicationAccountFromUserRequest.cc
|
||||
src/model/RemoveApplicationAccountFromUserResult.cc
|
||||
src/model/RemoveCustomPrivacyPoliciesFromBrandRequest.cc
|
||||
src/model/RemoveCustomPrivacyPoliciesFromBrandResult.cc
|
||||
src/model/RemoveUserFromOrganizationalUnitsRequest.cc
|
||||
src/model/RemoveUserFromOrganizationalUnitsResult.cc
|
||||
src/model/RemoveUsersFromGroupRequest.cc
|
||||
@@ -520,6 +768,8 @@ set(eiam_src
|
||||
src/model/SetForgetPasswordConfigurationResult.cc
|
||||
src/model/SetIdentityProviderUdPullConfigurationRequest.cc
|
||||
src/model/SetIdentityProviderUdPullConfigurationResult.cc
|
||||
src/model/SetLoginRedirectApplicationForBrandRequest.cc
|
||||
src/model/SetLoginRedirectApplicationForBrandResult.cc
|
||||
src/model/SetPasswordComplexityConfigurationRequest.cc
|
||||
src/model/SetPasswordComplexityConfigurationResult.cc
|
||||
src/model/SetPasswordExpirationConfigurationRequest.cc
|
||||
@@ -530,6 +780,8 @@ set(eiam_src
|
||||
src/model/SetPasswordInitializationConfigurationResult.cc
|
||||
src/model/SetUserPrimaryOrganizationalUnitRequest.cc
|
||||
src/model/SetUserPrimaryOrganizationalUnitResult.cc
|
||||
src/model/UnbindUserAuthnSourceMappingRequest.cc
|
||||
src/model/UnbindUserAuthnSourceMappingResult.cc
|
||||
src/model/UnlockUserRequest.cc
|
||||
src/model/UnlockUserResult.cc
|
||||
src/model/UpdateApplicationAuthorizationTypeRequest.cc
|
||||
@@ -538,10 +790,30 @@ set(eiam_src
|
||||
src/model/UpdateApplicationClientSecretExpirationTimeResult.cc
|
||||
src/model/UpdateApplicationDescriptionRequest.cc
|
||||
src/model/UpdateApplicationDescriptionResult.cc
|
||||
src/model/UpdateApplicationFederatedCredentialRequest.cc
|
||||
src/model/UpdateApplicationFederatedCredentialResult.cc
|
||||
src/model/UpdateApplicationFederatedCredentialDescriptionRequest.cc
|
||||
src/model/UpdateApplicationFederatedCredentialDescriptionResult.cc
|
||||
src/model/UpdateApplicationInfoRequest.cc
|
||||
src/model/UpdateApplicationInfoResult.cc
|
||||
src/model/UpdateApplicationTokenExpirationTimeRequest.cc
|
||||
src/model/UpdateApplicationTokenExpirationTimeResult.cc
|
||||
src/model/UpdateBrandRequest.cc
|
||||
src/model/UpdateBrandResult.cc
|
||||
src/model/UpdateConditionalAccessPolicyRequest.cc
|
||||
src/model/UpdateConditionalAccessPolicyResult.cc
|
||||
src/model/UpdateConditionalAccessPolicyDescriptionRequest.cc
|
||||
src/model/UpdateConditionalAccessPolicyDescriptionResult.cc
|
||||
src/model/UpdateCustomPrivacyPolicyRequest.cc
|
||||
src/model/UpdateCustomPrivacyPolicyResult.cc
|
||||
src/model/UpdateDomainBrandRequest.cc
|
||||
src/model/UpdateDomainBrandResult.cc
|
||||
src/model/UpdateDomainIcpNumberRequest.cc
|
||||
src/model/UpdateDomainIcpNumberResult.cc
|
||||
src/model/UpdateFederatedCredentialProviderRequest.cc
|
||||
src/model/UpdateFederatedCredentialProviderResult.cc
|
||||
src/model/UpdateFederatedCredentialProviderDescriptionRequest.cc
|
||||
src/model/UpdateFederatedCredentialProviderDescriptionResult.cc
|
||||
src/model/UpdateGroupRequest.cc
|
||||
src/model/UpdateGroupResult.cc
|
||||
src/model/UpdateGroupDescriptionRequest.cc
|
||||
@@ -552,6 +824,10 @@ set(eiam_src
|
||||
src/model/UpdateInstanceDescriptionResult.cc
|
||||
src/model/UpdateNetworkAccessEndpointNameRequest.cc
|
||||
src/model/UpdateNetworkAccessEndpointNameResult.cc
|
||||
src/model/UpdateNetworkZoneRequest.cc
|
||||
src/model/UpdateNetworkZoneResult.cc
|
||||
src/model/UpdateNetworkZoneDescriptionRequest.cc
|
||||
src/model/UpdateNetworkZoneDescriptionResult.cc
|
||||
src/model/UpdateOrganizationalUnitRequest.cc
|
||||
src/model/UpdateOrganizationalUnitResult.cc
|
||||
src/model/UpdateOrganizationalUnitDescriptionRequest.cc
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* 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_EIAM_MODEL_ADDAPPLICATIONACCOUNTTOUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_ADDAPPLICATIONACCOUNTTOUSERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT AddApplicationAccountToUserRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct ApplicationUserAttributes {
|
||||
std::string attributeValueExpression;
|
||||
std::string attributeType;
|
||||
std::string attributeName;
|
||||
};
|
||||
AddApplicationAccountToUserRequest();
|
||||
~AddApplicationAccountToUserRequest();
|
||||
std::string getUserId() const;
|
||||
void setUserId(const std::string &userId);
|
||||
std::string getApplicationId() const;
|
||||
void setApplicationId(const std::string &applicationId);
|
||||
std::vector<ApplicationUserAttributes> getApplicationUserAttributes() const;
|
||||
void setApplicationUserAttributes(const std::vector<ApplicationUserAttributes> &applicationUserAttributes);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getApplicationUsername() const;
|
||||
void setApplicationUsername(const std::string &applicationUsername);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string applicationId_;
|
||||
std::vector<ApplicationUserAttributes> applicationUserAttributes_;
|
||||
std::string instanceId_;
|
||||
std::string applicationUsername_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_ADDAPPLICATIONACCOUNTTOUSERREQUEST_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_EIAM_MODEL_ADDAPPLICATIONACCOUNTTOUSERRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_ADDAPPLICATIONACCOUNTTOUSERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT AddApplicationAccountToUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddApplicationAccountToUserResult();
|
||||
explicit AddApplicationAccountToUserResult(const std::string &payload);
|
||||
~AddApplicationAccountToUserResult();
|
||||
std::string getApplicationAccountId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string applicationAccountId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_ADDAPPLICATIONACCOUNTTOUSERRESULT_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_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT AddCustomPrivacyPoliciesToBrandRequest : public RpcServiceRequest {
|
||||
public:
|
||||
AddCustomPrivacyPoliciesToBrandRequest();
|
||||
~AddCustomPrivacyPoliciesToBrandRequest();
|
||||
std::string getBrandId() const;
|
||||
void setBrandId(const std::string &brandId);
|
||||
std::vector<std::string> getCustomPrivacyPolicyIds() const;
|
||||
void setCustomPrivacyPolicyIds(const std::vector<std::string> &customPrivacyPolicyIds);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string brandId_;
|
||||
std::vector<std::string> customPrivacyPolicyIds_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT AddCustomPrivacyPoliciesToBrandResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandResult();
|
||||
explicit AddCustomPrivacyPoliciesToBrandResult(const std::string &payload);
|
||||
~AddCustomPrivacyPoliciesToBrandResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_ADDCUSTOMPRIVACYPOLICIESTOBRANDRESULT_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_EIAM_MODEL_BINDUSERAUTHNSOURCEMAPPINGREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_BINDUSERAUTHNSOURCEMAPPINGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT BindUserAuthnSourceMappingRequest : public RpcServiceRequest {
|
||||
public:
|
||||
BindUserAuthnSourceMappingRequest();
|
||||
~BindUserAuthnSourceMappingRequest();
|
||||
std::string getUserId() const;
|
||||
void setUserId(const std::string &userId);
|
||||
std::string getIdentityProviderId() const;
|
||||
void setIdentityProviderId(const std::string &identityProviderId);
|
||||
std::string getUserExternalId() const;
|
||||
void setUserExternalId(const std::string &userExternalId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string identityProviderId_;
|
||||
std::string userExternalId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_BINDUSERAUTHNSOURCEMAPPINGREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_BINDUSERAUTHNSOURCEMAPPINGRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_BINDUSERAUTHNSOURCEMAPPINGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT BindUserAuthnSourceMappingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
BindUserAuthnSourceMappingResult();
|
||||
explicit BindUserAuthnSourceMappingResult(const std::string &payload);
|
||||
~BindUserAuthnSourceMappingResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_BINDUSERAUTHNSOURCEMAPPINGRESULT_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* 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_EIAM_MODEL_CREATEAPPLICATIONFEDERATEDCREDENTIALREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATEAPPLICATIONFEDERATEDCREDENTIALREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateApplicationFederatedCredentialRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct AttributeMappings {
|
||||
std::string sourceValueExpression;
|
||||
std::string targetField;
|
||||
};
|
||||
CreateApplicationFederatedCredentialRequest();
|
||||
~CreateApplicationFederatedCredentialRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::vector<AttributeMappings> getAttributeMappings() const;
|
||||
void setAttributeMappings(const std::vector<AttributeMappings> &attributeMappings);
|
||||
std::string getFederatedCredentialProviderId() const;
|
||||
void setFederatedCredentialProviderId(const std::string &federatedCredentialProviderId);
|
||||
std::string getApplicationId() const;
|
||||
void setApplicationId(const std::string &applicationId);
|
||||
std::string getApplicationFederatedCredentialName() const;
|
||||
void setApplicationFederatedCredentialName(const std::string &applicationFederatedCredentialName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getVerificationCondition() const;
|
||||
void setVerificationCondition(const std::string &verificationCondition);
|
||||
std::string getApplicationFederatedCredentialType() const;
|
||||
void setApplicationFederatedCredentialType(const std::string &applicationFederatedCredentialType);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::vector<AttributeMappings> attributeMappings_;
|
||||
std::string federatedCredentialProviderId_;
|
||||
std::string applicationId_;
|
||||
std::string applicationFederatedCredentialName_;
|
||||
std::string instanceId_;
|
||||
std::string verificationCondition_;
|
||||
std::string applicationFederatedCredentialType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATEAPPLICATIONFEDERATEDCREDENTIALREQUEST_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_EIAM_MODEL_CREATEAPPLICATIONFEDERATEDCREDENTIALRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATEAPPLICATIONFEDERATEDCREDENTIALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateApplicationFederatedCredentialResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateApplicationFederatedCredentialResult();
|
||||
explicit CreateApplicationFederatedCredentialResult(const std::string &payload);
|
||||
~CreateApplicationFederatedCredentialResult();
|
||||
std::string getApplicationFederatedCredentialId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string applicationFederatedCredentialId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATEAPPLICATIONFEDERATEDCREDENTIALRESULT_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_EIAM_MODEL_CREATEAPPLICATIONTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATEAPPLICATIONTOKENREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateApplicationTokenRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateApplicationTokenRequest();
|
||||
~CreateApplicationTokenRequest();
|
||||
long getExpirationTime() const;
|
||||
void setExpirationTime(long expirationTime);
|
||||
std::string getApplicationId() const;
|
||||
void setApplicationId(const std::string &applicationId);
|
||||
std::string getApplicationTokenType() const;
|
||||
void setApplicationTokenType(const std::string &applicationTokenType);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
long expirationTime_;
|
||||
std::string applicationId_;
|
||||
std::string applicationTokenType_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATEAPPLICATIONTOKENREQUEST_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_EIAM_MODEL_CREATEAPPLICATIONTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATEAPPLICATIONTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateApplicationTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ApplicationTokens
|
||||
{
|
||||
std::string applicationTokenId;
|
||||
std::string applicationTokenType;
|
||||
std::string applicationToken;
|
||||
};
|
||||
|
||||
|
||||
CreateApplicationTokenResult();
|
||||
explicit CreateApplicationTokenResult(const std::string &payload);
|
||||
~CreateApplicationTokenResult();
|
||||
ApplicationTokens getApplicationTokens()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
ApplicationTokens applicationTokens_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATEAPPLICATIONTOKENRESULT_H_
|
||||
45
eiam/include/alibabacloud/eiam/model/CreateBrandRequest.h
Normal file
45
eiam/include/alibabacloud/eiam/model/CreateBrandRequest.h
Normal file
@@ -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_EIAM_MODEL_CREATEBRANDREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATEBRANDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateBrandRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateBrandRequest();
|
||||
~CreateBrandRequest();
|
||||
std::string getBrandName() const;
|
||||
void setBrandName(const std::string &brandName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string brandName_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATEBRANDREQUEST_H_
|
||||
51
eiam/include/alibabacloud/eiam/model/CreateBrandResult.h
Normal file
51
eiam/include/alibabacloud/eiam/model/CreateBrandResult.h
Normal file
@@ -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_EIAM_MODEL_CREATEBRANDRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATEBRANDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateBrandResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateBrandResult();
|
||||
explicit CreateBrandResult(const std::string &payload);
|
||||
~CreateBrandResult();
|
||||
std::string getBrandId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string brandId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATEBRANDRESULT_H_
|
||||
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* 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_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateCustomPrivacyPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct CustomPrivacyPolicyContents {
|
||||
std::string customPrivacyPolicyTip;
|
||||
std::string languageCode;
|
||||
struct CustomPrivacyPolicyItemsItem {
|
||||
std::string customPrivacyPolicyItemUrl;
|
||||
std::string customPrivacyPolicyItemName;
|
||||
};
|
||||
CustomPrivacyPolicyItemsItem customPrivacyPolicyItemsItem;
|
||||
std::vector<CustomPrivacyPolicyItemsItem> customPrivacyPolicyItems;
|
||||
};
|
||||
CreateCustomPrivacyPolicyRequest();
|
||||
~CreateCustomPrivacyPolicyRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getDefaultLanguageCode() const;
|
||||
void setDefaultLanguageCode(const std::string &defaultLanguageCode);
|
||||
std::string getUserConsentType() const;
|
||||
void setUserConsentType(const std::string &userConsentType);
|
||||
std::vector<CustomPrivacyPolicyContents> getCustomPrivacyPolicyContents() const;
|
||||
void setCustomPrivacyPolicyContents(const std::vector<CustomPrivacyPolicyContents> &customPrivacyPolicyContents);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getCustomPrivacyPolicyName() const;
|
||||
void setCustomPrivacyPolicyName(const std::string &customPrivacyPolicyName);
|
||||
std::string getStatus() const;
|
||||
void setStatus(const std::string &status);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string defaultLanguageCode_;
|
||||
std::string userConsentType_;
|
||||
std::vector<CustomPrivacyPolicyContents> customPrivacyPolicyContents_;
|
||||
std::string instanceId_;
|
||||
std::string customPrivacyPolicyName_;
|
||||
std::string status_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYREQUEST_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_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCustomPrivacyPolicyResult();
|
||||
explicit CreateCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~CreateCustomPrivacyPolicyResult();
|
||||
std::string getCustomPrivacyPolicyId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string customPrivacyPolicyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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_EIAM_MODEL_CREATEFEDERATEDCREDENTIALPROVIDERREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATEFEDERATEDCREDENTIALPROVIDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateFederatedCredentialProviderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct OidcProviderConfig {
|
||||
std::string jwksSource;
|
||||
std::string staticJwks;
|
||||
std::string trustCondition;
|
||||
std::string jwksUri;
|
||||
std::string string;
|
||||
std::vector<std::string> audiences;
|
||||
std::string issuer;
|
||||
};
|
||||
struct PrivateCaProviderConfig {
|
||||
struct CertificatesItem {
|
||||
std::string content;
|
||||
};
|
||||
CertificatesItem certificatesItem;
|
||||
std::vector<CertificatesItem> certificates;
|
||||
std::string trustCondition;
|
||||
std::string trustAnchorSource;
|
||||
};
|
||||
struct Pkcs7ProviderConfig {
|
||||
std::string signingTimeValueExpression;
|
||||
struct CertificatesItem {
|
||||
std::string content;
|
||||
};
|
||||
CertificatesItem certificatesItem;
|
||||
std::vector<CertificatesItem> certificates;
|
||||
std::string trustCondition;
|
||||
std::string cmsVerificationMode;
|
||||
std::string trustAnchorSource;
|
||||
long signatureEffectiveTime;
|
||||
};
|
||||
CreateFederatedCredentialProviderRequest();
|
||||
~CreateFederatedCredentialProviderRequest();
|
||||
OidcProviderConfig getOidcProviderConfig() const;
|
||||
void setOidcProviderConfig(const OidcProviderConfig &oidcProviderConfig);
|
||||
std::string getFederatedCredentialProviderName() const;
|
||||
void setFederatedCredentialProviderName(const std::string &federatedCredentialProviderName);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getNetworkAccessEndpointId() const;
|
||||
void setNetworkAccessEndpointId(const std::string &networkAccessEndpointId);
|
||||
PrivateCaProviderConfig getPrivateCaProviderConfig() const;
|
||||
void setPrivateCaProviderConfig(const PrivateCaProviderConfig &privateCaProviderConfig);
|
||||
std::string getFederatedCredentialProviderType() const;
|
||||
void setFederatedCredentialProviderType(const std::string &federatedCredentialProviderType);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
Pkcs7ProviderConfig getPkcs7ProviderConfig() const;
|
||||
void setPkcs7ProviderConfig(const Pkcs7ProviderConfig &pkcs7ProviderConfig);
|
||||
|
||||
private:
|
||||
OidcProviderConfig oidcProviderConfig_;
|
||||
std::string federatedCredentialProviderName_;
|
||||
std::string description_;
|
||||
std::string networkAccessEndpointId_;
|
||||
PrivateCaProviderConfig privateCaProviderConfig_;
|
||||
std::string federatedCredentialProviderType_;
|
||||
std::string instanceId_;
|
||||
Pkcs7ProviderConfig pkcs7ProviderConfig_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATEFEDERATEDCREDENTIALPROVIDERREQUEST_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_EIAM_MODEL_CREATEFEDERATEDCREDENTIALPROVIDERRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATEFEDERATEDCREDENTIALPROVIDERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateFederatedCredentialProviderResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateFederatedCredentialProviderResult();
|
||||
explicit CreateFederatedCredentialProviderResult(const std::string &payload);
|
||||
~CreateFederatedCredentialProviderResult();
|
||||
std::string getFederatedCredentialProviderId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string federatedCredentialProviderId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATEFEDERATEDCREDENTIALPROVIDERRESULT_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_EIAM_MODEL_CREATENETWORKZONEREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATENETWORKZONEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateNetworkZoneRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateNetworkZoneRequest();
|
||||
~CreateNetworkZoneRequest();
|
||||
std::string getNetworkZoneType() const;
|
||||
void setNetworkZoneType(const std::string &networkZoneType);
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::vector<std::string> getIpv6Cidrs() const;
|
||||
void setIpv6Cidrs(const std::vector<std::string> &ipv6Cidrs);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getNetworkZoneName() const;
|
||||
void setNetworkZoneName(const std::string &networkZoneName);
|
||||
std::vector<std::string> getIpv4Cidrs() const;
|
||||
void setIpv4Cidrs(const std::vector<std::string> &ipv4Cidrs);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getVpcId() const;
|
||||
void setVpcId(const std::string &vpcId);
|
||||
|
||||
private:
|
||||
std::string networkZoneType_;
|
||||
std::string clientToken_;
|
||||
std::vector<std::string> ipv6Cidrs_;
|
||||
std::string description_;
|
||||
std::string networkZoneName_;
|
||||
std::vector<std::string> ipv4Cidrs_;
|
||||
std::string instanceId_;
|
||||
std::string vpcId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATENETWORKZONEREQUEST_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_EIAM_MODEL_CREATENETWORKZONERESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_CREATENETWORKZONERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT CreateNetworkZoneResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateNetworkZoneResult();
|
||||
explicit CreateNetworkZoneResult(const std::string &payload);
|
||||
~CreateNetworkZoneResult();
|
||||
std::string getNetworkZoneId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string networkZoneId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_CREATENETWORKZONERESULT_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_EIAM_MODEL_DELETEAPPLICATIONFEDERATEDCREDENTIALREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DELETEAPPLICATIONFEDERATEDCREDENTIALREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT DeleteApplicationFederatedCredentialRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteApplicationFederatedCredentialRequest();
|
||||
~DeleteApplicationFederatedCredentialRequest();
|
||||
std::string getApplicationFederatedCredentialId() const;
|
||||
void setApplicationFederatedCredentialId(const std::string &applicationFederatedCredentialId);
|
||||
std::string getApplicationId() const;
|
||||
void setApplicationId(const std::string &applicationId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string applicationFederatedCredentialId_;
|
||||
std::string applicationId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DELETEAPPLICATIONFEDERATEDCREDENTIALREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_DELETEAPPLICATIONFEDERATEDCREDENTIALRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DELETEAPPLICATIONFEDERATEDCREDENTIALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT DeleteApplicationFederatedCredentialResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteApplicationFederatedCredentialResult();
|
||||
explicit DeleteApplicationFederatedCredentialResult(const std::string &payload);
|
||||
~DeleteApplicationFederatedCredentialResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DELETEAPPLICATIONFEDERATEDCREDENTIALRESULT_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_EIAM_MODEL_DELETEAPPLICATIONTOKENREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DELETEAPPLICATIONTOKENREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT DeleteApplicationTokenRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteApplicationTokenRequest();
|
||||
~DeleteApplicationTokenRequest();
|
||||
std::string getApplicationId() const;
|
||||
void setApplicationId(const std::string &applicationId);
|
||||
std::string getApplicationTokenId() const;
|
||||
void setApplicationTokenId(const std::string &applicationTokenId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string applicationId_;
|
||||
std::string applicationTokenId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DELETEAPPLICATIONTOKENREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_DELETEAPPLICATIONTOKENRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DELETEAPPLICATIONTOKENRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT DeleteApplicationTokenResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteApplicationTokenResult();
|
||||
explicit DeleteApplicationTokenResult(const std::string &payload);
|
||||
~DeleteApplicationTokenResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DELETEAPPLICATIONTOKENRESULT_H_
|
||||
45
eiam/include/alibabacloud/eiam/model/DeleteBrandRequest.h
Normal file
45
eiam/include/alibabacloud/eiam/model/DeleteBrandRequest.h
Normal file
@@ -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_EIAM_MODEL_DELETEBRANDREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DELETEBRANDREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT DeleteBrandRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteBrandRequest();
|
||||
~DeleteBrandRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getBrandId() const;
|
||||
void setBrandId(const std::string &brandId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string brandId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DELETEBRANDREQUEST_H_
|
||||
49
eiam/include/alibabacloud/eiam/model/DeleteBrandResult.h
Normal file
49
eiam/include/alibabacloud/eiam/model/DeleteBrandResult.h
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_DELETEBRANDRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DELETEBRANDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT DeleteBrandResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteBrandResult();
|
||||
explicit DeleteBrandResult(const std::string &payload);
|
||||
~DeleteBrandResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DELETEBRANDRESULT_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_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT DeleteCustomPrivacyPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteCustomPrivacyPolicyRequest();
|
||||
~DeleteCustomPrivacyPolicyRequest();
|
||||
std::string getCustomPrivacyPolicyId() const;
|
||||
void setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string customPrivacyPolicyId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Eiam
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_EIAM_EXPORT DeleteCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteCustomPrivacyPolicyResult();
|
||||
explicit DeleteCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~DeleteCustomPrivacyPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DELETECUSTOMPRIVACYPOLICYRESULT_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_EIAM_MODEL_DELETEFEDERATEDCREDENTIALPROVIDERREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DELETEFEDERATEDCREDENTIALPROVIDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_EIAM_EXPORT DeleteFederatedCredentialProviderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteFederatedCredentialProviderRequest();
|
||||
~DeleteFederatedCredentialProviderRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getFederatedCredentialProviderId() const;
|
||||
void setFederatedCredentialProviderId(const std::string &federatedCredentialProviderId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string federatedCredentialProviderId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DELETEFEDERATEDCREDENTIALPROVIDERREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user