Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9e2ee6d530 | ||
|
|
51d167c03c | ||
|
|
f6470e6c02 | ||
|
|
d77681a132 | ||
|
|
7ceaff6c6e | ||
|
|
5048e01469 | ||
|
|
322f1ef667 | ||
|
|
b52edc6252 |
@@ -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());
|
||||
|
||||
}
|
||||
|
||||
@@ -23,6 +23,8 @@ set(eiam_public_header
|
||||
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
|
||||
@@ -33,6 +35,8 @@ 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
|
||||
@@ -45,6 +49,8 @@ set(eiam_public_header_model
|
||||
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
|
||||
@@ -77,6 +83,8 @@ set(eiam_public_header_model
|
||||
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
|
||||
@@ -117,6 +125,8 @@ set(eiam_public_header_model
|
||||
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
|
||||
@@ -147,6 +157,8 @@ set(eiam_public_header_model
|
||||
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
|
||||
@@ -177,6 +189,8 @@ set(eiam_public_header_model
|
||||
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
|
||||
@@ -253,6 +267,10 @@ set(eiam_public_header_model
|
||||
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
|
||||
@@ -295,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
|
||||
@@ -309,6 +329,8 @@ set(eiam_public_header_model
|
||||
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
|
||||
@@ -347,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
|
||||
@@ -369,6 +393,8 @@ set(eiam_public_header_model
|
||||
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
|
||||
@@ -408,6 +434,8 @@ 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
|
||||
@@ -418,6 +446,8 @@ 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
|
||||
@@ -430,6 +460,8 @@ set(eiam_src
|
||||
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
|
||||
@@ -462,6 +494,8 @@ set(eiam_src
|
||||
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
|
||||
@@ -502,6 +536,8 @@ set(eiam_src
|
||||
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
|
||||
@@ -532,6 +568,8 @@ set(eiam_src
|
||||
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
|
||||
@@ -562,6 +600,8 @@ set(eiam_src
|
||||
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
|
||||
@@ -638,6 +678,10 @@ set(eiam_src
|
||||
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
|
||||
@@ -680,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
|
||||
@@ -694,6 +740,8 @@ set(eiam_src
|
||||
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
|
||||
@@ -732,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
|
||||
@@ -754,6 +804,8 @@ set(eiam_src
|
||||
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
|
||||
|
||||
@@ -24,6 +24,8 @@
|
||||
#include "EiamExport.h"
|
||||
#include "model/AddApplicationAccountToUserRequest.h"
|
||||
#include "model/AddApplicationAccountToUserResult.h"
|
||||
#include "model/AddCustomPrivacyPoliciesToBrandRequest.h"
|
||||
#include "model/AddCustomPrivacyPoliciesToBrandResult.h"
|
||||
#include "model/AddUserToOrganizationalUnitsRequest.h"
|
||||
#include "model/AddUserToOrganizationalUnitsResult.h"
|
||||
#include "model/AddUsersToGroupRequest.h"
|
||||
@@ -34,6 +36,8 @@
|
||||
#include "model/AuthorizeApplicationToOrganizationalUnitsResult.h"
|
||||
#include "model/AuthorizeApplicationToUsersRequest.h"
|
||||
#include "model/AuthorizeApplicationToUsersResult.h"
|
||||
#include "model/BindUserAuthnSourceMappingRequest.h"
|
||||
#include "model/BindUserAuthnSourceMappingResult.h"
|
||||
#include "model/CreateApplicationRequest.h"
|
||||
#include "model/CreateApplicationResult.h"
|
||||
#include "model/CreateApplicationClientSecretRequest.h"
|
||||
@@ -46,6 +50,8 @@
|
||||
#include "model/CreateBrandResult.h"
|
||||
#include "model/CreateConditionalAccessPolicyRequest.h"
|
||||
#include "model/CreateConditionalAccessPolicyResult.h"
|
||||
#include "model/CreateCustomPrivacyPolicyRequest.h"
|
||||
#include "model/CreateCustomPrivacyPolicyResult.h"
|
||||
#include "model/CreateDomainRequest.h"
|
||||
#include "model/CreateDomainResult.h"
|
||||
#include "model/CreateDomainProxyTokenRequest.h"
|
||||
@@ -78,6 +84,8 @@
|
||||
#include "model/DeleteBrandResult.h"
|
||||
#include "model/DeleteConditionalAccessPolicyRequest.h"
|
||||
#include "model/DeleteConditionalAccessPolicyResult.h"
|
||||
#include "model/DeleteCustomPrivacyPolicyRequest.h"
|
||||
#include "model/DeleteCustomPrivacyPolicyResult.h"
|
||||
#include "model/DeleteDomainRequest.h"
|
||||
#include "model/DeleteDomainResult.h"
|
||||
#include "model/DeleteDomainProxyTokenRequest.h"
|
||||
@@ -118,6 +126,8 @@
|
||||
#include "model/DisableBrandResult.h"
|
||||
#include "model/DisableConditionalAccessPolicyRequest.h"
|
||||
#include "model/DisableConditionalAccessPolicyResult.h"
|
||||
#include "model/DisableCustomPrivacyPolicyRequest.h"
|
||||
#include "model/DisableCustomPrivacyPolicyResult.h"
|
||||
#include "model/DisableDomainProxyTokenRequest.h"
|
||||
#include "model/DisableDomainProxyTokenResult.h"
|
||||
#include "model/DisableFederatedCredentialProviderRequest.h"
|
||||
@@ -148,6 +158,8 @@
|
||||
#include "model/EnableBrandResult.h"
|
||||
#include "model/EnableConditionalAccessPolicyRequest.h"
|
||||
#include "model/EnableConditionalAccessPolicyResult.h"
|
||||
#include "model/EnableCustomPrivacyPolicyRequest.h"
|
||||
#include "model/EnableCustomPrivacyPolicyResult.h"
|
||||
#include "model/EnableDomainProxyTokenRequest.h"
|
||||
#include "model/EnableDomainProxyTokenResult.h"
|
||||
#include "model/EnableFederatedCredentialProviderRequest.h"
|
||||
@@ -178,6 +190,8 @@
|
||||
#include "model/GetBrandResult.h"
|
||||
#include "model/GetConditionalAccessPolicyRequest.h"
|
||||
#include "model/GetConditionalAccessPolicyResult.h"
|
||||
#include "model/GetCustomPrivacyPolicyRequest.h"
|
||||
#include "model/GetCustomPrivacyPolicyResult.h"
|
||||
#include "model/GetDomainRequest.h"
|
||||
#include "model/GetDomainResult.h"
|
||||
#include "model/GetDomainDnsChallengeRequest.h"
|
||||
@@ -254,6 +268,10 @@
|
||||
#include "model/ListConditionalAccessPoliciesForNetworkZoneResult.h"
|
||||
#include "model/ListConditionalAccessPoliciesForUserRequest.h"
|
||||
#include "model/ListConditionalAccessPoliciesForUserResult.h"
|
||||
#include "model/ListCustomPrivacyPoliciesRequest.h"
|
||||
#include "model/ListCustomPrivacyPoliciesResult.h"
|
||||
#include "model/ListCustomPrivacyPoliciesForBrandRequest.h"
|
||||
#include "model/ListCustomPrivacyPoliciesForBrandResult.h"
|
||||
#include "model/ListDomainProxyTokensRequest.h"
|
||||
#include "model/ListDomainProxyTokensResult.h"
|
||||
#include "model/ListDomainsRequest.h"
|
||||
@@ -296,6 +314,8 @@
|
||||
#include "model/ListRegionsResult.h"
|
||||
#include "model/ListSynchronizationJobsRequest.h"
|
||||
#include "model/ListSynchronizationJobsResult.h"
|
||||
#include "model/ListUserAuthnSourceMappingsRequest.h"
|
||||
#include "model/ListUserAuthnSourceMappingsResult.h"
|
||||
#include "model/ListUsersRequest.h"
|
||||
#include "model/ListUsersResult.h"
|
||||
#include "model/ListUsersForApplicationRequest.h"
|
||||
@@ -310,6 +330,8 @@
|
||||
#include "model/ObtainDomainProxyTokenResult.h"
|
||||
#include "model/RemoveApplicationAccountFromUserRequest.h"
|
||||
#include "model/RemoveApplicationAccountFromUserResult.h"
|
||||
#include "model/RemoveCustomPrivacyPoliciesFromBrandRequest.h"
|
||||
#include "model/RemoveCustomPrivacyPoliciesFromBrandResult.h"
|
||||
#include "model/RemoveUserFromOrganizationalUnitsRequest.h"
|
||||
#include "model/RemoveUserFromOrganizationalUnitsResult.h"
|
||||
#include "model/RemoveUsersFromGroupRequest.h"
|
||||
@@ -348,6 +370,8 @@
|
||||
#include "model/SetPasswordInitializationConfigurationResult.h"
|
||||
#include "model/SetUserPrimaryOrganizationalUnitRequest.h"
|
||||
#include "model/SetUserPrimaryOrganizationalUnitResult.h"
|
||||
#include "model/UnbindUserAuthnSourceMappingRequest.h"
|
||||
#include "model/UnbindUserAuthnSourceMappingResult.h"
|
||||
#include "model/UnlockUserRequest.h"
|
||||
#include "model/UnlockUserResult.h"
|
||||
#include "model/UpdateApplicationAuthorizationTypeRequest.h"
|
||||
@@ -370,6 +394,8 @@
|
||||
#include "model/UpdateConditionalAccessPolicyResult.h"
|
||||
#include "model/UpdateConditionalAccessPolicyDescriptionRequest.h"
|
||||
#include "model/UpdateConditionalAccessPolicyDescriptionResult.h"
|
||||
#include "model/UpdateCustomPrivacyPolicyRequest.h"
|
||||
#include "model/UpdateCustomPrivacyPolicyResult.h"
|
||||
#include "model/UpdateDomainBrandRequest.h"
|
||||
#include "model/UpdateDomainBrandResult.h"
|
||||
#include "model/UpdateDomainIcpNumberRequest.h"
|
||||
@@ -416,6 +442,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddApplicationAccountToUserResult> AddApplicationAccountToUserOutcome;
|
||||
typedef std::future<AddApplicationAccountToUserOutcome> AddApplicationAccountToUserOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::AddApplicationAccountToUserRequest&, const AddApplicationAccountToUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddApplicationAccountToUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddCustomPrivacyPoliciesToBrandResult> AddCustomPrivacyPoliciesToBrandOutcome;
|
||||
typedef std::future<AddCustomPrivacyPoliciesToBrandOutcome> AddCustomPrivacyPoliciesToBrandOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::AddCustomPrivacyPoliciesToBrandRequest&, const AddCustomPrivacyPoliciesToBrandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddCustomPrivacyPoliciesToBrandAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddUserToOrganizationalUnitsResult> AddUserToOrganizationalUnitsOutcome;
|
||||
typedef std::future<AddUserToOrganizationalUnitsOutcome> AddUserToOrganizationalUnitsOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::AddUserToOrganizationalUnitsRequest&, const AddUserToOrganizationalUnitsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddUserToOrganizationalUnitsAsyncHandler;
|
||||
@@ -431,6 +460,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AuthorizeApplicationToUsersResult> AuthorizeApplicationToUsersOutcome;
|
||||
typedef std::future<AuthorizeApplicationToUsersOutcome> AuthorizeApplicationToUsersOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::AuthorizeApplicationToUsersRequest&, const AuthorizeApplicationToUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AuthorizeApplicationToUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::BindUserAuthnSourceMappingResult> BindUserAuthnSourceMappingOutcome;
|
||||
typedef std::future<BindUserAuthnSourceMappingOutcome> BindUserAuthnSourceMappingOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::BindUserAuthnSourceMappingRequest&, const BindUserAuthnSourceMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BindUserAuthnSourceMappingAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateApplicationResult> CreateApplicationOutcome;
|
||||
typedef std::future<CreateApplicationOutcome> CreateApplicationOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::CreateApplicationRequest&, const CreateApplicationOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateApplicationAsyncHandler;
|
||||
@@ -449,6 +481,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateConditionalAccessPolicyResult> CreateConditionalAccessPolicyOutcome;
|
||||
typedef std::future<CreateConditionalAccessPolicyOutcome> CreateConditionalAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::CreateConditionalAccessPolicyRequest&, const CreateConditionalAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConditionalAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCustomPrivacyPolicyResult> CreateCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<CreateCustomPrivacyPolicyOutcome> CreateCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::CreateCustomPrivacyPolicyRequest&, const CreateCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateDomainResult> CreateDomainOutcome;
|
||||
typedef std::future<CreateDomainOutcome> CreateDomainOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::CreateDomainRequest&, const CreateDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDomainAsyncHandler;
|
||||
@@ -497,6 +532,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteConditionalAccessPolicyResult> DeleteConditionalAccessPolicyOutcome;
|
||||
typedef std::future<DeleteConditionalAccessPolicyOutcome> DeleteConditionalAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DeleteConditionalAccessPolicyRequest&, const DeleteConditionalAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConditionalAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCustomPrivacyPolicyResult> DeleteCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<DeleteCustomPrivacyPolicyOutcome> DeleteCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DeleteCustomPrivacyPolicyRequest&, const DeleteCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteDomainResult> DeleteDomainOutcome;
|
||||
typedef std::future<DeleteDomainOutcome> DeleteDomainOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DeleteDomainRequest&, const DeleteDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDomainAsyncHandler;
|
||||
@@ -557,6 +595,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DisableConditionalAccessPolicyResult> DisableConditionalAccessPolicyOutcome;
|
||||
typedef std::future<DisableConditionalAccessPolicyOutcome> DisableConditionalAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DisableConditionalAccessPolicyRequest&, const DisableConditionalAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableConditionalAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableCustomPrivacyPolicyResult> DisableCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<DisableCustomPrivacyPolicyOutcome> DisableCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DisableCustomPrivacyPolicyRequest&, const DisableCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::DisableDomainProxyTokenResult> DisableDomainProxyTokenOutcome;
|
||||
typedef std::future<DisableDomainProxyTokenOutcome> DisableDomainProxyTokenOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::DisableDomainProxyTokenRequest&, const DisableDomainProxyTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableDomainProxyTokenAsyncHandler;
|
||||
@@ -602,6 +643,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::EnableConditionalAccessPolicyResult> EnableConditionalAccessPolicyOutcome;
|
||||
typedef std::future<EnableConditionalAccessPolicyOutcome> EnableConditionalAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::EnableConditionalAccessPolicyRequest&, const EnableConditionalAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableConditionalAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableCustomPrivacyPolicyResult> EnableCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<EnableCustomPrivacyPolicyOutcome> EnableCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::EnableCustomPrivacyPolicyRequest&, const EnableCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::EnableDomainProxyTokenResult> EnableDomainProxyTokenOutcome;
|
||||
typedef std::future<EnableDomainProxyTokenOutcome> EnableDomainProxyTokenOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::EnableDomainProxyTokenRequest&, const EnableDomainProxyTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EnableDomainProxyTokenAsyncHandler;
|
||||
@@ -647,6 +691,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetConditionalAccessPolicyResult> GetConditionalAccessPolicyOutcome;
|
||||
typedef std::future<GetConditionalAccessPolicyOutcome> GetConditionalAccessPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::GetConditionalAccessPolicyRequest&, const GetConditionalAccessPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConditionalAccessPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetCustomPrivacyPolicyResult> GetCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<GetCustomPrivacyPolicyOutcome> GetCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::GetCustomPrivacyPolicyRequest&, const GetCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetDomainResult> GetDomainOutcome;
|
||||
typedef std::future<GetDomainOutcome> GetDomainOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::GetDomainRequest&, const GetDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDomainAsyncHandler;
|
||||
@@ -761,6 +808,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListConditionalAccessPoliciesForUserResult> ListConditionalAccessPoliciesForUserOutcome;
|
||||
typedef std::future<ListConditionalAccessPoliciesForUserOutcome> ListConditionalAccessPoliciesForUserOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::ListConditionalAccessPoliciesForUserRequest&, const ListConditionalAccessPoliciesForUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConditionalAccessPoliciesForUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCustomPrivacyPoliciesResult> ListCustomPrivacyPoliciesOutcome;
|
||||
typedef std::future<ListCustomPrivacyPoliciesOutcome> ListCustomPrivacyPoliciesOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::ListCustomPrivacyPoliciesRequest&, const ListCustomPrivacyPoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCustomPrivacyPoliciesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCustomPrivacyPoliciesForBrandResult> ListCustomPrivacyPoliciesForBrandOutcome;
|
||||
typedef std::future<ListCustomPrivacyPoliciesForBrandOutcome> ListCustomPrivacyPoliciesForBrandOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::ListCustomPrivacyPoliciesForBrandRequest&, const ListCustomPrivacyPoliciesForBrandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCustomPrivacyPoliciesForBrandAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDomainProxyTokensResult> ListDomainProxyTokensOutcome;
|
||||
typedef std::future<ListDomainProxyTokensOutcome> ListDomainProxyTokensOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::ListDomainProxyTokensRequest&, const ListDomainProxyTokensOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDomainProxyTokensAsyncHandler;
|
||||
@@ -824,6 +877,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListSynchronizationJobsResult> ListSynchronizationJobsOutcome;
|
||||
typedef std::future<ListSynchronizationJobsOutcome> ListSynchronizationJobsOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::ListSynchronizationJobsRequest&, const ListSynchronizationJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListSynchronizationJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUserAuthnSourceMappingsResult> ListUserAuthnSourceMappingsOutcome;
|
||||
typedef std::future<ListUserAuthnSourceMappingsOutcome> ListUserAuthnSourceMappingsOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::ListUserAuthnSourceMappingsRequest&, const ListUserAuthnSourceMappingsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUserAuthnSourceMappingsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListUsersResult> ListUsersOutcome;
|
||||
typedef std::future<ListUsersOutcome> ListUsersOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::ListUsersRequest&, const ListUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListUsersAsyncHandler;
|
||||
@@ -845,6 +901,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::RemoveApplicationAccountFromUserResult> RemoveApplicationAccountFromUserOutcome;
|
||||
typedef std::future<RemoveApplicationAccountFromUserOutcome> RemoveApplicationAccountFromUserOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::RemoveApplicationAccountFromUserRequest&, const RemoveApplicationAccountFromUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveApplicationAccountFromUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveCustomPrivacyPoliciesFromBrandResult> RemoveCustomPrivacyPoliciesFromBrandOutcome;
|
||||
typedef std::future<RemoveCustomPrivacyPoliciesFromBrandOutcome> RemoveCustomPrivacyPoliciesFromBrandOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::RemoveCustomPrivacyPoliciesFromBrandRequest&, const RemoveCustomPrivacyPoliciesFromBrandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveCustomPrivacyPoliciesFromBrandAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveUserFromOrganizationalUnitsResult> RemoveUserFromOrganizationalUnitsOutcome;
|
||||
typedef std::future<RemoveUserFromOrganizationalUnitsOutcome> RemoveUserFromOrganizationalUnitsOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::RemoveUserFromOrganizationalUnitsRequest&, const RemoveUserFromOrganizationalUnitsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveUserFromOrganizationalUnitsAsyncHandler;
|
||||
@@ -902,6 +961,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetUserPrimaryOrganizationalUnitResult> SetUserPrimaryOrganizationalUnitOutcome;
|
||||
typedef std::future<SetUserPrimaryOrganizationalUnitOutcome> SetUserPrimaryOrganizationalUnitOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::SetUserPrimaryOrganizationalUnitRequest&, const SetUserPrimaryOrganizationalUnitOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserPrimaryOrganizationalUnitAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnbindUserAuthnSourceMappingResult> UnbindUserAuthnSourceMappingOutcome;
|
||||
typedef std::future<UnbindUserAuthnSourceMappingOutcome> UnbindUserAuthnSourceMappingOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::UnbindUserAuthnSourceMappingRequest&, const UnbindUserAuthnSourceMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnbindUserAuthnSourceMappingAsyncHandler;
|
||||
typedef Outcome<Error, Model::UnlockUserResult> UnlockUserOutcome;
|
||||
typedef std::future<UnlockUserOutcome> UnlockUserOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::UnlockUserRequest&, const UnlockUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UnlockUserAsyncHandler;
|
||||
@@ -935,6 +997,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::UpdateConditionalAccessPolicyDescriptionResult> UpdateConditionalAccessPolicyDescriptionOutcome;
|
||||
typedef std::future<UpdateConditionalAccessPolicyDescriptionOutcome> UpdateConditionalAccessPolicyDescriptionOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::UpdateConditionalAccessPolicyDescriptionRequest&, const UpdateConditionalAccessPolicyDescriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateConditionalAccessPolicyDescriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateCustomPrivacyPolicyResult> UpdateCustomPrivacyPolicyOutcome;
|
||||
typedef std::future<UpdateCustomPrivacyPolicyOutcome> UpdateCustomPrivacyPolicyOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::UpdateCustomPrivacyPolicyRequest&, const UpdateCustomPrivacyPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateCustomPrivacyPolicyAsyncHandler;
|
||||
typedef Outcome<Error, Model::UpdateDomainBrandResult> UpdateDomainBrandOutcome;
|
||||
typedef std::future<UpdateDomainBrandOutcome> UpdateDomainBrandOutcomeCallable;
|
||||
typedef std::function<void(const EiamClient*, const Model::UpdateDomainBrandRequest&, const UpdateDomainBrandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UpdateDomainBrandAsyncHandler;
|
||||
@@ -994,6 +1059,9 @@ namespace AlibabaCloud
|
||||
AddApplicationAccountToUserOutcome addApplicationAccountToUser(const Model::AddApplicationAccountToUserRequest &request)const;
|
||||
void addApplicationAccountToUserAsync(const Model::AddApplicationAccountToUserRequest& request, const AddApplicationAccountToUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddApplicationAccountToUserOutcomeCallable addApplicationAccountToUserCallable(const Model::AddApplicationAccountToUserRequest& request) const;
|
||||
AddCustomPrivacyPoliciesToBrandOutcome addCustomPrivacyPoliciesToBrand(const Model::AddCustomPrivacyPoliciesToBrandRequest &request)const;
|
||||
void addCustomPrivacyPoliciesToBrandAsync(const Model::AddCustomPrivacyPoliciesToBrandRequest& request, const AddCustomPrivacyPoliciesToBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddCustomPrivacyPoliciesToBrandOutcomeCallable addCustomPrivacyPoliciesToBrandCallable(const Model::AddCustomPrivacyPoliciesToBrandRequest& request) const;
|
||||
AddUserToOrganizationalUnitsOutcome addUserToOrganizationalUnits(const Model::AddUserToOrganizationalUnitsRequest &request)const;
|
||||
void addUserToOrganizationalUnitsAsync(const Model::AddUserToOrganizationalUnitsRequest& request, const AddUserToOrganizationalUnitsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddUserToOrganizationalUnitsOutcomeCallable addUserToOrganizationalUnitsCallable(const Model::AddUserToOrganizationalUnitsRequest& request) const;
|
||||
@@ -1009,6 +1077,9 @@ namespace AlibabaCloud
|
||||
AuthorizeApplicationToUsersOutcome authorizeApplicationToUsers(const Model::AuthorizeApplicationToUsersRequest &request)const;
|
||||
void authorizeApplicationToUsersAsync(const Model::AuthorizeApplicationToUsersRequest& request, const AuthorizeApplicationToUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AuthorizeApplicationToUsersOutcomeCallable authorizeApplicationToUsersCallable(const Model::AuthorizeApplicationToUsersRequest& request) const;
|
||||
BindUserAuthnSourceMappingOutcome bindUserAuthnSourceMapping(const Model::BindUserAuthnSourceMappingRequest &request)const;
|
||||
void bindUserAuthnSourceMappingAsync(const Model::BindUserAuthnSourceMappingRequest& request, const BindUserAuthnSourceMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BindUserAuthnSourceMappingOutcomeCallable bindUserAuthnSourceMappingCallable(const Model::BindUserAuthnSourceMappingRequest& request) const;
|
||||
CreateApplicationOutcome createApplication(const Model::CreateApplicationRequest &request)const;
|
||||
void createApplicationAsync(const Model::CreateApplicationRequest& request, const CreateApplicationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateApplicationOutcomeCallable createApplicationCallable(const Model::CreateApplicationRequest& request) const;
|
||||
@@ -1027,6 +1098,9 @@ namespace AlibabaCloud
|
||||
CreateConditionalAccessPolicyOutcome createConditionalAccessPolicy(const Model::CreateConditionalAccessPolicyRequest &request)const;
|
||||
void createConditionalAccessPolicyAsync(const Model::CreateConditionalAccessPolicyRequest& request, const CreateConditionalAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConditionalAccessPolicyOutcomeCallable createConditionalAccessPolicyCallable(const Model::CreateConditionalAccessPolicyRequest& request) const;
|
||||
CreateCustomPrivacyPolicyOutcome createCustomPrivacyPolicy(const Model::CreateCustomPrivacyPolicyRequest &request)const;
|
||||
void createCustomPrivacyPolicyAsync(const Model::CreateCustomPrivacyPolicyRequest& request, const CreateCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCustomPrivacyPolicyOutcomeCallable createCustomPrivacyPolicyCallable(const Model::CreateCustomPrivacyPolicyRequest& request) const;
|
||||
CreateDomainOutcome createDomain(const Model::CreateDomainRequest &request)const;
|
||||
void createDomainAsync(const Model::CreateDomainRequest& request, const CreateDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateDomainOutcomeCallable createDomainCallable(const Model::CreateDomainRequest& request) const;
|
||||
@@ -1075,6 +1149,9 @@ namespace AlibabaCloud
|
||||
DeleteConditionalAccessPolicyOutcome deleteConditionalAccessPolicy(const Model::DeleteConditionalAccessPolicyRequest &request)const;
|
||||
void deleteConditionalAccessPolicyAsync(const Model::DeleteConditionalAccessPolicyRequest& request, const DeleteConditionalAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConditionalAccessPolicyOutcomeCallable deleteConditionalAccessPolicyCallable(const Model::DeleteConditionalAccessPolicyRequest& request) const;
|
||||
DeleteCustomPrivacyPolicyOutcome deleteCustomPrivacyPolicy(const Model::DeleteCustomPrivacyPolicyRequest &request)const;
|
||||
void deleteCustomPrivacyPolicyAsync(const Model::DeleteCustomPrivacyPolicyRequest& request, const DeleteCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCustomPrivacyPolicyOutcomeCallable deleteCustomPrivacyPolicyCallable(const Model::DeleteCustomPrivacyPolicyRequest& request) const;
|
||||
DeleteDomainOutcome deleteDomain(const Model::DeleteDomainRequest &request)const;
|
||||
void deleteDomainAsync(const Model::DeleteDomainRequest& request, const DeleteDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteDomainOutcomeCallable deleteDomainCallable(const Model::DeleteDomainRequest& request) const;
|
||||
@@ -1135,6 +1212,9 @@ namespace AlibabaCloud
|
||||
DisableConditionalAccessPolicyOutcome disableConditionalAccessPolicy(const Model::DisableConditionalAccessPolicyRequest &request)const;
|
||||
void disableConditionalAccessPolicyAsync(const Model::DisableConditionalAccessPolicyRequest& request, const DisableConditionalAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableConditionalAccessPolicyOutcomeCallable disableConditionalAccessPolicyCallable(const Model::DisableConditionalAccessPolicyRequest& request) const;
|
||||
DisableCustomPrivacyPolicyOutcome disableCustomPrivacyPolicy(const Model::DisableCustomPrivacyPolicyRequest &request)const;
|
||||
void disableCustomPrivacyPolicyAsync(const Model::DisableCustomPrivacyPolicyRequest& request, const DisableCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableCustomPrivacyPolicyOutcomeCallable disableCustomPrivacyPolicyCallable(const Model::DisableCustomPrivacyPolicyRequest& request) const;
|
||||
DisableDomainProxyTokenOutcome disableDomainProxyToken(const Model::DisableDomainProxyTokenRequest &request)const;
|
||||
void disableDomainProxyTokenAsync(const Model::DisableDomainProxyTokenRequest& request, const DisableDomainProxyTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DisableDomainProxyTokenOutcomeCallable disableDomainProxyTokenCallable(const Model::DisableDomainProxyTokenRequest& request) const;
|
||||
@@ -1180,6 +1260,9 @@ namespace AlibabaCloud
|
||||
EnableConditionalAccessPolicyOutcome enableConditionalAccessPolicy(const Model::EnableConditionalAccessPolicyRequest &request)const;
|
||||
void enableConditionalAccessPolicyAsync(const Model::EnableConditionalAccessPolicyRequest& request, const EnableConditionalAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableConditionalAccessPolicyOutcomeCallable enableConditionalAccessPolicyCallable(const Model::EnableConditionalAccessPolicyRequest& request) const;
|
||||
EnableCustomPrivacyPolicyOutcome enableCustomPrivacyPolicy(const Model::EnableCustomPrivacyPolicyRequest &request)const;
|
||||
void enableCustomPrivacyPolicyAsync(const Model::EnableCustomPrivacyPolicyRequest& request, const EnableCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableCustomPrivacyPolicyOutcomeCallable enableCustomPrivacyPolicyCallable(const Model::EnableCustomPrivacyPolicyRequest& request) const;
|
||||
EnableDomainProxyTokenOutcome enableDomainProxyToken(const Model::EnableDomainProxyTokenRequest &request)const;
|
||||
void enableDomainProxyTokenAsync(const Model::EnableDomainProxyTokenRequest& request, const EnableDomainProxyTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
EnableDomainProxyTokenOutcomeCallable enableDomainProxyTokenCallable(const Model::EnableDomainProxyTokenRequest& request) const;
|
||||
@@ -1225,6 +1308,9 @@ namespace AlibabaCloud
|
||||
GetConditionalAccessPolicyOutcome getConditionalAccessPolicy(const Model::GetConditionalAccessPolicyRequest &request)const;
|
||||
void getConditionalAccessPolicyAsync(const Model::GetConditionalAccessPolicyRequest& request, const GetConditionalAccessPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConditionalAccessPolicyOutcomeCallable getConditionalAccessPolicyCallable(const Model::GetConditionalAccessPolicyRequest& request) const;
|
||||
GetCustomPrivacyPolicyOutcome getCustomPrivacyPolicy(const Model::GetCustomPrivacyPolicyRequest &request)const;
|
||||
void getCustomPrivacyPolicyAsync(const Model::GetCustomPrivacyPolicyRequest& request, const GetCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCustomPrivacyPolicyOutcomeCallable getCustomPrivacyPolicyCallable(const Model::GetCustomPrivacyPolicyRequest& request) const;
|
||||
GetDomainOutcome getDomain(const Model::GetDomainRequest &request)const;
|
||||
void getDomainAsync(const Model::GetDomainRequest& request, const GetDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDomainOutcomeCallable getDomainCallable(const Model::GetDomainRequest& request) const;
|
||||
@@ -1339,6 +1425,12 @@ namespace AlibabaCloud
|
||||
ListConditionalAccessPoliciesForUserOutcome listConditionalAccessPoliciesForUser(const Model::ListConditionalAccessPoliciesForUserRequest &request)const;
|
||||
void listConditionalAccessPoliciesForUserAsync(const Model::ListConditionalAccessPoliciesForUserRequest& request, const ListConditionalAccessPoliciesForUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConditionalAccessPoliciesForUserOutcomeCallable listConditionalAccessPoliciesForUserCallable(const Model::ListConditionalAccessPoliciesForUserRequest& request) const;
|
||||
ListCustomPrivacyPoliciesOutcome listCustomPrivacyPolicies(const Model::ListCustomPrivacyPoliciesRequest &request)const;
|
||||
void listCustomPrivacyPoliciesAsync(const Model::ListCustomPrivacyPoliciesRequest& request, const ListCustomPrivacyPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCustomPrivacyPoliciesOutcomeCallable listCustomPrivacyPoliciesCallable(const Model::ListCustomPrivacyPoliciesRequest& request) const;
|
||||
ListCustomPrivacyPoliciesForBrandOutcome listCustomPrivacyPoliciesForBrand(const Model::ListCustomPrivacyPoliciesForBrandRequest &request)const;
|
||||
void listCustomPrivacyPoliciesForBrandAsync(const Model::ListCustomPrivacyPoliciesForBrandRequest& request, const ListCustomPrivacyPoliciesForBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCustomPrivacyPoliciesForBrandOutcomeCallable listCustomPrivacyPoliciesForBrandCallable(const Model::ListCustomPrivacyPoliciesForBrandRequest& request) const;
|
||||
ListDomainProxyTokensOutcome listDomainProxyTokens(const Model::ListDomainProxyTokensRequest &request)const;
|
||||
void listDomainProxyTokensAsync(const Model::ListDomainProxyTokensRequest& request, const ListDomainProxyTokensAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDomainProxyTokensOutcomeCallable listDomainProxyTokensCallable(const Model::ListDomainProxyTokensRequest& request) const;
|
||||
@@ -1402,6 +1494,9 @@ namespace AlibabaCloud
|
||||
ListSynchronizationJobsOutcome listSynchronizationJobs(const Model::ListSynchronizationJobsRequest &request)const;
|
||||
void listSynchronizationJobsAsync(const Model::ListSynchronizationJobsRequest& request, const ListSynchronizationJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListSynchronizationJobsOutcomeCallable listSynchronizationJobsCallable(const Model::ListSynchronizationJobsRequest& request) const;
|
||||
ListUserAuthnSourceMappingsOutcome listUserAuthnSourceMappings(const Model::ListUserAuthnSourceMappingsRequest &request)const;
|
||||
void listUserAuthnSourceMappingsAsync(const Model::ListUserAuthnSourceMappingsRequest& request, const ListUserAuthnSourceMappingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUserAuthnSourceMappingsOutcomeCallable listUserAuthnSourceMappingsCallable(const Model::ListUserAuthnSourceMappingsRequest& request) const;
|
||||
ListUsersOutcome listUsers(const Model::ListUsersRequest &request)const;
|
||||
void listUsersAsync(const Model::ListUsersRequest& request, const ListUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListUsersOutcomeCallable listUsersCallable(const Model::ListUsersRequest& request) const;
|
||||
@@ -1423,6 +1518,9 @@ namespace AlibabaCloud
|
||||
RemoveApplicationAccountFromUserOutcome removeApplicationAccountFromUser(const Model::RemoveApplicationAccountFromUserRequest &request)const;
|
||||
void removeApplicationAccountFromUserAsync(const Model::RemoveApplicationAccountFromUserRequest& request, const RemoveApplicationAccountFromUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveApplicationAccountFromUserOutcomeCallable removeApplicationAccountFromUserCallable(const Model::RemoveApplicationAccountFromUserRequest& request) const;
|
||||
RemoveCustomPrivacyPoliciesFromBrandOutcome removeCustomPrivacyPoliciesFromBrand(const Model::RemoveCustomPrivacyPoliciesFromBrandRequest &request)const;
|
||||
void removeCustomPrivacyPoliciesFromBrandAsync(const Model::RemoveCustomPrivacyPoliciesFromBrandRequest& request, const RemoveCustomPrivacyPoliciesFromBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveCustomPrivacyPoliciesFromBrandOutcomeCallable removeCustomPrivacyPoliciesFromBrandCallable(const Model::RemoveCustomPrivacyPoliciesFromBrandRequest& request) const;
|
||||
RemoveUserFromOrganizationalUnitsOutcome removeUserFromOrganizationalUnits(const Model::RemoveUserFromOrganizationalUnitsRequest &request)const;
|
||||
void removeUserFromOrganizationalUnitsAsync(const Model::RemoveUserFromOrganizationalUnitsRequest& request, const RemoveUserFromOrganizationalUnitsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveUserFromOrganizationalUnitsOutcomeCallable removeUserFromOrganizationalUnitsCallable(const Model::RemoveUserFromOrganizationalUnitsRequest& request) const;
|
||||
@@ -1480,6 +1578,9 @@ namespace AlibabaCloud
|
||||
SetUserPrimaryOrganizationalUnitOutcome setUserPrimaryOrganizationalUnit(const Model::SetUserPrimaryOrganizationalUnitRequest &request)const;
|
||||
void setUserPrimaryOrganizationalUnitAsync(const Model::SetUserPrimaryOrganizationalUnitRequest& request, const SetUserPrimaryOrganizationalUnitAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetUserPrimaryOrganizationalUnitOutcomeCallable setUserPrimaryOrganizationalUnitCallable(const Model::SetUserPrimaryOrganizationalUnitRequest& request) const;
|
||||
UnbindUserAuthnSourceMappingOutcome unbindUserAuthnSourceMapping(const Model::UnbindUserAuthnSourceMappingRequest &request)const;
|
||||
void unbindUserAuthnSourceMappingAsync(const Model::UnbindUserAuthnSourceMappingRequest& request, const UnbindUserAuthnSourceMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnbindUserAuthnSourceMappingOutcomeCallable unbindUserAuthnSourceMappingCallable(const Model::UnbindUserAuthnSourceMappingRequest& request) const;
|
||||
UnlockUserOutcome unlockUser(const Model::UnlockUserRequest &request)const;
|
||||
void unlockUserAsync(const Model::UnlockUserRequest& request, const UnlockUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UnlockUserOutcomeCallable unlockUserCallable(const Model::UnlockUserRequest& request) const;
|
||||
@@ -1513,6 +1614,9 @@ namespace AlibabaCloud
|
||||
UpdateConditionalAccessPolicyDescriptionOutcome updateConditionalAccessPolicyDescription(const Model::UpdateConditionalAccessPolicyDescriptionRequest &request)const;
|
||||
void updateConditionalAccessPolicyDescriptionAsync(const Model::UpdateConditionalAccessPolicyDescriptionRequest& request, const UpdateConditionalAccessPolicyDescriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateConditionalAccessPolicyDescriptionOutcomeCallable updateConditionalAccessPolicyDescriptionCallable(const Model::UpdateConditionalAccessPolicyDescriptionRequest& request) const;
|
||||
UpdateCustomPrivacyPolicyOutcome updateCustomPrivacyPolicy(const Model::UpdateCustomPrivacyPolicyRequest &request)const;
|
||||
void updateCustomPrivacyPolicyAsync(const Model::UpdateCustomPrivacyPolicyRequest& request, const UpdateCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateCustomPrivacyPolicyOutcomeCallable updateCustomPrivacyPolicyCallable(const Model::UpdateCustomPrivacyPolicyRequest& request) const;
|
||||
UpdateDomainBrandOutcome updateDomainBrand(const Model::UpdateDomainBrandRequest &request)const;
|
||||
void updateDomainBrandAsync(const Model::UpdateDomainBrandRequest& request, const UpdateDomainBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UpdateDomainBrandOutcomeCallable updateDomainBrandCallable(const Model::UpdateDomainBrandRequest& request) const;
|
||||
|
||||
@@ -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,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,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_DISABLECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DISABLECUSTOMPRIVACYPOLICYREQUEST_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 DisableCustomPrivacyPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DisableCustomPrivacyPolicyRequest();
|
||||
~DisableCustomPrivacyPolicyRequest();
|
||||
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_DISABLECUSTOMPRIVACYPOLICYREQUEST_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_DISABLECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_DISABLECUSTOMPRIVACYPOLICYRESULT_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 DisableCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DisableCustomPrivacyPolicyResult();
|
||||
explicit DisableCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~DisableCustomPrivacyPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_DISABLECUSTOMPRIVACYPOLICYRESULT_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_ENABLECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_ENABLECUSTOMPRIVACYPOLICYREQUEST_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 EnableCustomPrivacyPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
EnableCustomPrivacyPolicyRequest();
|
||||
~EnableCustomPrivacyPolicyRequest();
|
||||
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_ENABLECUSTOMPRIVACYPOLICYREQUEST_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_ENABLECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_ENABLECUSTOMPRIVACYPOLICYRESULT_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 EnableCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
EnableCustomPrivacyPolicyResult();
|
||||
explicit EnableCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~EnableCustomPrivacyPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_ENABLECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
@@ -14,29 +14,32 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_OUTBOUNDBOT_MODEL_DISMISSNUMBERDISTRICTINFOPARSINGRESULTREQUEST_H_
|
||||
#define ALIBABACLOUD_OUTBOUNDBOT_MODEL_DISMISSNUMBERDISTRICTINFOPARSINGRESULTREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
|
||||
#include <alibabacloud/outboundbot/OutboundBotExport.h>
|
||||
#include <alibabacloud/eiam/EiamExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace OutboundBot {
|
||||
namespace Eiam {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_OUTBOUNDBOT_EXPORT DismissNumberDistrictInfoParsingResultRequest : public RpcServiceRequest {
|
||||
class ALIBABACLOUD_EIAM_EXPORT GetCustomPrivacyPolicyRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DismissNumberDistrictInfoParsingResultRequest();
|
||||
~DismissNumberDistrictInfoParsingResultRequest();
|
||||
std::string getVersionId() const;
|
||||
void setVersionId(const std::string &versionId);
|
||||
GetCustomPrivacyPolicyRequest();
|
||||
~GetCustomPrivacyPolicyRequest();
|
||||
std::string getCustomPrivacyPolicyId() const;
|
||||
void setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
|
||||
private:
|
||||
std::string versionId_;
|
||||
std::string customPrivacyPolicyId_;
|
||||
std::string instanceId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace OutboundBot
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_OUTBOUNDBOT_MODEL_DISMISSNUMBERDISTRICTINFOPARSINGRESULTREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYREQUEST_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_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYRESULT_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 GetCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CustomPrivacyPolicy
|
||||
{
|
||||
struct CustomPrivacyPolicyContentsItem
|
||||
{
|
||||
struct CustomPrivacyPolicyItemsItem
|
||||
{
|
||||
std::string customPrivacyPolicyItemName;
|
||||
std::string customPrivacyPolicyItemUrl;
|
||||
};
|
||||
std::string languageCode;
|
||||
std::vector<CustomPrivacyPolicyContentsItem::CustomPrivacyPolicyItemsItem> customPrivacyPolicyItems;
|
||||
std::string customPrivacyPolicyTip;
|
||||
};
|
||||
std::string status;
|
||||
std::string customPrivacyPolicyId;
|
||||
std::string customPrivacyPolicyName;
|
||||
std::string instanceId;
|
||||
std::string userConsentType;
|
||||
std::vector<CustomPrivacyPolicyContentsItem> customPrivacyPolicyContents;
|
||||
std::string defaultLanguageCode;
|
||||
};
|
||||
|
||||
|
||||
GetCustomPrivacyPolicyResult();
|
||||
explicit GetCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~GetCustomPrivacyPolicyResult();
|
||||
CustomPrivacyPolicy getCustomPrivacyPolicy()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
CustomPrivacyPolicy customPrivacyPolicy_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_GETCUSTOMPRIVACYPOLICYRESULT_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_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESFORBRANDREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESFORBRANDREQUEST_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 ListCustomPrivacyPoliciesForBrandRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListCustomPrivacyPoliciesForBrandRequest();
|
||||
~ListCustomPrivacyPoliciesForBrandRequest();
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getBrandId() const;
|
||||
void setBrandId(const std::string &brandId);
|
||||
std::string getPreviousToken() const;
|
||||
void setPreviousToken(const std::string &previousToken);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
long getMaxResults() const;
|
||||
void setMaxResults(long maxResults);
|
||||
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::string brandId_;
|
||||
std::string previousToken_;
|
||||
std::string instanceId_;
|
||||
long maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESFORBRANDREQUEST_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_LISTCUSTOMPRIVACYPOLICIESFORBRANDRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESFORBRANDRESULT_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 ListCustomPrivacyPoliciesForBrandResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct BrandCustomPrivacyPolicy
|
||||
{
|
||||
std::string customPrivacyPolicyId;
|
||||
};
|
||||
|
||||
|
||||
ListCustomPrivacyPoliciesForBrandResult();
|
||||
explicit ListCustomPrivacyPoliciesForBrandResult(const std::string &payload);
|
||||
~ListCustomPrivacyPoliciesForBrandResult();
|
||||
long getTotalCount()const;
|
||||
std::string getPreviousToken()const;
|
||||
std::vector<BrandCustomPrivacyPolicy> getBrandCustomPrivacyPolicies()const;
|
||||
std::string getNextToken()const;
|
||||
long getMaxResults()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::string previousToken_;
|
||||
std::vector<BrandCustomPrivacyPolicy> brandCustomPrivacyPolicies_;
|
||||
std::string nextToken_;
|
||||
long maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESFORBRANDRESULT_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_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESREQUEST_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 ListCustomPrivacyPoliciesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListCustomPrivacyPoliciesRequest();
|
||||
~ListCustomPrivacyPoliciesRequest();
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getPreviousToken() const;
|
||||
void setPreviousToken(const std::string &previousToken);
|
||||
std::string getCustomPrivacyPolicyNameStartsWith() const;
|
||||
void setCustomPrivacyPolicyNameStartsWith(const std::string &customPrivacyPolicyNameStartsWith);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
long getMaxResults() const;
|
||||
void setMaxResults(long maxResults);
|
||||
|
||||
private:
|
||||
std::string nextToken_;
|
||||
std::string previousToken_;
|
||||
std::string customPrivacyPolicyNameStartsWith_;
|
||||
std::string instanceId_;
|
||||
long maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESREQUEST_H_
|
||||
@@ -0,0 +1,68 @@
|
||||
/*
|
||||
* 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_LISTCUSTOMPRIVACYPOLICIESRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESRESULT_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 ListCustomPrivacyPoliciesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CustomPrivacyPolicy
|
||||
{
|
||||
std::string status;
|
||||
std::string customPrivacyPolicyId;
|
||||
std::string instanceId;
|
||||
std::string customPrivacyPolicyName;
|
||||
std::string userConsentType;
|
||||
std::string defaultLanguageCode;
|
||||
};
|
||||
|
||||
|
||||
ListCustomPrivacyPoliciesResult();
|
||||
explicit ListCustomPrivacyPoliciesResult(const std::string &payload);
|
||||
~ListCustomPrivacyPoliciesResult();
|
||||
std::vector<CustomPrivacyPolicy> getCustomPrivacyPolicies()const;
|
||||
long getTotalCount()const;
|
||||
std::string getPreviousToken()const;
|
||||
std::string getNextToken()const;
|
||||
long getMaxResults()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<CustomPrivacyPolicy> customPrivacyPolicies_;
|
||||
long totalCount_;
|
||||
std::string previousToken_;
|
||||
std::string nextToken_;
|
||||
long maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_LISTCUSTOMPRIVACYPOLICIESRESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* 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_LISTUSERAUTHNSOURCEMAPPINGSREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_LISTUSERAUTHNSOURCEMAPPINGSREQUEST_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 ListUserAuthnSourceMappingsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ListUserAuthnSourceMappingsRequest();
|
||||
~ListUserAuthnSourceMappingsRequest();
|
||||
std::string getUserId() const;
|
||||
void setUserId(const std::string &userId);
|
||||
std::string getNextToken() const;
|
||||
void setNextToken(const std::string &nextToken);
|
||||
std::string getIdentityProviderId() const;
|
||||
void setIdentityProviderId(const std::string &identityProviderId);
|
||||
std::string getPreviousToken() const;
|
||||
void setPreviousToken(const std::string &previousToken);
|
||||
std::string getUserExternalId() const;
|
||||
void setUserExternalId(const std::string &userExternalId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
int getMaxResults() const;
|
||||
void setMaxResults(int maxResults);
|
||||
|
||||
private:
|
||||
std::string userId_;
|
||||
std::string nextToken_;
|
||||
std::string identityProviderId_;
|
||||
std::string previousToken_;
|
||||
std::string userExternalId_;
|
||||
std::string instanceId_;
|
||||
int maxResults_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_LISTUSERAUTHNSOURCEMAPPINGSREQUEST_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* 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_LISTUSERAUTHNSOURCEMAPPINGSRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_LISTUSERAUTHNSOURCEMAPPINGSRESULT_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 ListUserAuthnSourceMappingsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct UserAuthnSourceMapping
|
||||
{
|
||||
std::string identityProviderId;
|
||||
std::string instanceId;
|
||||
std::string userId;
|
||||
long createTime;
|
||||
long updateTime;
|
||||
std::string userExternalId;
|
||||
std::string authnSourceType;
|
||||
};
|
||||
|
||||
|
||||
ListUserAuthnSourceMappingsResult();
|
||||
explicit ListUserAuthnSourceMappingsResult(const std::string &payload);
|
||||
~ListUserAuthnSourceMappingsResult();
|
||||
int getTotalCount()const;
|
||||
std::string getPreviousToken()const;
|
||||
std::string getNextToken()const;
|
||||
std::vector<UserAuthnSourceMapping> getUserAuthnSourceMappings()const;
|
||||
int getMaxResults()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::string previousToken_;
|
||||
std::string nextToken_;
|
||||
std::vector<UserAuthnSourceMapping> userAuthnSourceMappings_;
|
||||
int maxResults_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_LISTUSERAUTHNSOURCEMAPPINGSRESULT_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_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDREQUEST_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 RemoveCustomPrivacyPoliciesFromBrandRequest : public RpcServiceRequest {
|
||||
public:
|
||||
RemoveCustomPrivacyPoliciesFromBrandRequest();
|
||||
~RemoveCustomPrivacyPoliciesFromBrandRequest();
|
||||
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_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDREQUEST_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_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDRESULT_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 RemoveCustomPrivacyPoliciesFromBrandResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveCustomPrivacyPoliciesFromBrandResult();
|
||||
explicit RemoveCustomPrivacyPoliciesFromBrandResult(const std::string &payload);
|
||||
~RemoveCustomPrivacyPoliciesFromBrandResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_REMOVECUSTOMPRIVACYPOLICIESFROMBRANDRESULT_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_UNBINDUSERAUTHNSOURCEMAPPINGREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_UNBINDUSERAUTHNSOURCEMAPPINGREQUEST_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 UnbindUserAuthnSourceMappingRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UnbindUserAuthnSourceMappingRequest();
|
||||
~UnbindUserAuthnSourceMappingRequest();
|
||||
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_UNBINDUSERAUTHNSOURCEMAPPINGREQUEST_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_UNBINDUSERAUTHNSOURCEMAPPINGRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_UNBINDUSERAUTHNSOURCEMAPPINGRESULT_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 UnbindUserAuthnSourceMappingResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UnbindUserAuthnSourceMappingResult();
|
||||
explicit UnbindUserAuthnSourceMappingResult(const std::string &payload);
|
||||
~UnbindUserAuthnSourceMappingResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_UNBINDUSERAUTHNSOURCEMAPPINGRESULT_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_UPDATECUSTOMPRIVACYPOLICYREQUEST_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_UPDATECUSTOMPRIVACYPOLICYREQUEST_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 UpdateCustomPrivacyPolicyRequest : 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;
|
||||
};
|
||||
UpdateCustomPrivacyPolicyRequest();
|
||||
~UpdateCustomPrivacyPolicyRequest();
|
||||
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 getCustomPrivacyPolicyId() const;
|
||||
void setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getCustomPrivacyPolicyName() const;
|
||||
void setCustomPrivacyPolicyName(const std::string &customPrivacyPolicyName);
|
||||
|
||||
private:
|
||||
std::string defaultLanguageCode_;
|
||||
std::string userConsentType_;
|
||||
std::vector<CustomPrivacyPolicyContents> customPrivacyPolicyContents_;
|
||||
std::string customPrivacyPolicyId_;
|
||||
std::string instanceId_;
|
||||
std::string customPrivacyPolicyName_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Eiam
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_UPDATECUSTOMPRIVACYPOLICYREQUEST_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_UPDATECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
#define ALIBABACLOUD_EIAM_MODEL_UPDATECUSTOMPRIVACYPOLICYRESULT_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 UpdateCustomPrivacyPolicyResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
UpdateCustomPrivacyPolicyResult();
|
||||
explicit UpdateCustomPrivacyPolicyResult(const std::string &payload);
|
||||
~UpdateCustomPrivacyPolicyResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_EIAM_MODEL_UPDATECUSTOMPRIVACYPOLICYRESULT_H_
|
||||
@@ -87,6 +87,42 @@ EiamClient::AddApplicationAccountToUserOutcomeCallable EiamClient::addApplicatio
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::AddCustomPrivacyPoliciesToBrandOutcome EiamClient::addCustomPrivacyPoliciesToBrand(const AddCustomPrivacyPoliciesToBrandRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AddCustomPrivacyPoliciesToBrandOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AddCustomPrivacyPoliciesToBrandOutcome(AddCustomPrivacyPoliciesToBrandResult(outcome.result()));
|
||||
else
|
||||
return AddCustomPrivacyPoliciesToBrandOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::addCustomPrivacyPoliciesToBrandAsync(const AddCustomPrivacyPoliciesToBrandRequest& request, const AddCustomPrivacyPoliciesToBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, addCustomPrivacyPoliciesToBrand(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::AddCustomPrivacyPoliciesToBrandOutcomeCallable EiamClient::addCustomPrivacyPoliciesToBrandCallable(const AddCustomPrivacyPoliciesToBrandRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AddCustomPrivacyPoliciesToBrandOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->addCustomPrivacyPoliciesToBrand(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::AddUserToOrganizationalUnitsOutcome EiamClient::addUserToOrganizationalUnits(const AddUserToOrganizationalUnitsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -267,6 +303,42 @@ EiamClient::AuthorizeApplicationToUsersOutcomeCallable EiamClient::authorizeAppl
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::BindUserAuthnSourceMappingOutcome EiamClient::bindUserAuthnSourceMapping(const BindUserAuthnSourceMappingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BindUserAuthnSourceMappingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BindUserAuthnSourceMappingOutcome(BindUserAuthnSourceMappingResult(outcome.result()));
|
||||
else
|
||||
return BindUserAuthnSourceMappingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::bindUserAuthnSourceMappingAsync(const BindUserAuthnSourceMappingRequest& request, const BindUserAuthnSourceMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, bindUserAuthnSourceMapping(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::BindUserAuthnSourceMappingOutcomeCallable EiamClient::bindUserAuthnSourceMappingCallable(const BindUserAuthnSourceMappingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BindUserAuthnSourceMappingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->bindUserAuthnSourceMapping(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::CreateApplicationOutcome EiamClient::createApplication(const CreateApplicationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -483,6 +555,42 @@ EiamClient::CreateConditionalAccessPolicyOutcomeCallable EiamClient::createCondi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::CreateCustomPrivacyPolicyOutcome EiamClient::createCustomPrivacyPolicy(const CreateCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateCustomPrivacyPolicyOutcome(CreateCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return CreateCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::createCustomPrivacyPolicyAsync(const CreateCustomPrivacyPolicyRequest& request, const CreateCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::CreateCustomPrivacyPolicyOutcomeCallable EiamClient::createCustomPrivacyPolicyCallable(const CreateCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::CreateDomainOutcome EiamClient::createDomain(const CreateDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1059,6 +1167,42 @@ EiamClient::DeleteConditionalAccessPolicyOutcomeCallable EiamClient::deleteCondi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::DeleteCustomPrivacyPolicyOutcome EiamClient::deleteCustomPrivacyPolicy(const DeleteCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCustomPrivacyPolicyOutcome(DeleteCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return DeleteCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::deleteCustomPrivacyPolicyAsync(const DeleteCustomPrivacyPolicyRequest& request, const DeleteCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::DeleteCustomPrivacyPolicyOutcomeCallable EiamClient::deleteCustomPrivacyPolicyCallable(const DeleteCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::DeleteDomainOutcome EiamClient::deleteDomain(const DeleteDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1779,6 +1923,42 @@ EiamClient::DisableConditionalAccessPolicyOutcomeCallable EiamClient::disableCon
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::DisableCustomPrivacyPolicyOutcome EiamClient::disableCustomPrivacyPolicy(const DisableCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DisableCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DisableCustomPrivacyPolicyOutcome(DisableCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return DisableCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::disableCustomPrivacyPolicyAsync(const DisableCustomPrivacyPolicyRequest& request, const DisableCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, disableCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::DisableCustomPrivacyPolicyOutcomeCallable EiamClient::disableCustomPrivacyPolicyCallable(const DisableCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DisableCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->disableCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::DisableDomainProxyTokenOutcome EiamClient::disableDomainProxyToken(const DisableDomainProxyTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2319,6 +2499,42 @@ EiamClient::EnableConditionalAccessPolicyOutcomeCallable EiamClient::enableCondi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::EnableCustomPrivacyPolicyOutcome EiamClient::enableCustomPrivacyPolicy(const EnableCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return EnableCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return EnableCustomPrivacyPolicyOutcome(EnableCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return EnableCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::enableCustomPrivacyPolicyAsync(const EnableCustomPrivacyPolicyRequest& request, const EnableCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, enableCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::EnableCustomPrivacyPolicyOutcomeCallable EiamClient::enableCustomPrivacyPolicyCallable(const EnableCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<EnableCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->enableCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::EnableDomainProxyTokenOutcome EiamClient::enableDomainProxyToken(const EnableDomainProxyTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2859,6 +3075,42 @@ EiamClient::GetConditionalAccessPolicyOutcomeCallable EiamClient::getConditional
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::GetCustomPrivacyPolicyOutcome EiamClient::getCustomPrivacyPolicy(const GetCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetCustomPrivacyPolicyOutcome(GetCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return GetCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::getCustomPrivacyPolicyAsync(const GetCustomPrivacyPolicyRequest& request, const GetCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::GetCustomPrivacyPolicyOutcomeCallable EiamClient::getCustomPrivacyPolicyCallable(const GetCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::GetDomainOutcome EiamClient::getDomain(const GetDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4227,6 +4479,78 @@ EiamClient::ListConditionalAccessPoliciesForUserOutcomeCallable EiamClient::list
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::ListCustomPrivacyPoliciesOutcome EiamClient::listCustomPrivacyPolicies(const ListCustomPrivacyPoliciesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCustomPrivacyPoliciesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCustomPrivacyPoliciesOutcome(ListCustomPrivacyPoliciesResult(outcome.result()));
|
||||
else
|
||||
return ListCustomPrivacyPoliciesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::listCustomPrivacyPoliciesAsync(const ListCustomPrivacyPoliciesRequest& request, const ListCustomPrivacyPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCustomPrivacyPolicies(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::ListCustomPrivacyPoliciesOutcomeCallable EiamClient::listCustomPrivacyPoliciesCallable(const ListCustomPrivacyPoliciesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCustomPrivacyPoliciesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCustomPrivacyPolicies(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::ListCustomPrivacyPoliciesForBrandOutcome EiamClient::listCustomPrivacyPoliciesForBrand(const ListCustomPrivacyPoliciesForBrandRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCustomPrivacyPoliciesForBrandOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCustomPrivacyPoliciesForBrandOutcome(ListCustomPrivacyPoliciesForBrandResult(outcome.result()));
|
||||
else
|
||||
return ListCustomPrivacyPoliciesForBrandOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::listCustomPrivacyPoliciesForBrandAsync(const ListCustomPrivacyPoliciesForBrandRequest& request, const ListCustomPrivacyPoliciesForBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCustomPrivacyPoliciesForBrand(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::ListCustomPrivacyPoliciesForBrandOutcomeCallable EiamClient::listCustomPrivacyPoliciesForBrandCallable(const ListCustomPrivacyPoliciesForBrandRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCustomPrivacyPoliciesForBrandOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCustomPrivacyPoliciesForBrand(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::ListDomainProxyTokensOutcome EiamClient::listDomainProxyTokens(const ListDomainProxyTokensRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4983,6 +5307,42 @@ EiamClient::ListSynchronizationJobsOutcomeCallable EiamClient::listSynchronizati
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::ListUserAuthnSourceMappingsOutcome EiamClient::listUserAuthnSourceMappings(const ListUserAuthnSourceMappingsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListUserAuthnSourceMappingsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListUserAuthnSourceMappingsOutcome(ListUserAuthnSourceMappingsResult(outcome.result()));
|
||||
else
|
||||
return ListUserAuthnSourceMappingsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::listUserAuthnSourceMappingsAsync(const ListUserAuthnSourceMappingsRequest& request, const ListUserAuthnSourceMappingsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listUserAuthnSourceMappings(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::ListUserAuthnSourceMappingsOutcomeCallable EiamClient::listUserAuthnSourceMappingsCallable(const ListUserAuthnSourceMappingsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListUserAuthnSourceMappingsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listUserAuthnSourceMappings(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::ListUsersOutcome EiamClient::listUsers(const ListUsersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5235,6 +5595,42 @@ EiamClient::RemoveApplicationAccountFromUserOutcomeCallable EiamClient::removeAp
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::RemoveCustomPrivacyPoliciesFromBrandOutcome EiamClient::removeCustomPrivacyPoliciesFromBrand(const RemoveCustomPrivacyPoliciesFromBrandRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return RemoveCustomPrivacyPoliciesFromBrandOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return RemoveCustomPrivacyPoliciesFromBrandOutcome(RemoveCustomPrivacyPoliciesFromBrandResult(outcome.result()));
|
||||
else
|
||||
return RemoveCustomPrivacyPoliciesFromBrandOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::removeCustomPrivacyPoliciesFromBrandAsync(const RemoveCustomPrivacyPoliciesFromBrandRequest& request, const RemoveCustomPrivacyPoliciesFromBrandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, removeCustomPrivacyPoliciesFromBrand(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::RemoveCustomPrivacyPoliciesFromBrandOutcomeCallable EiamClient::removeCustomPrivacyPoliciesFromBrandCallable(const RemoveCustomPrivacyPoliciesFromBrandRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<RemoveCustomPrivacyPoliciesFromBrandOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->removeCustomPrivacyPoliciesFromBrand(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::RemoveUserFromOrganizationalUnitsOutcome EiamClient::removeUserFromOrganizationalUnits(const RemoveUserFromOrganizationalUnitsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5919,6 +6315,42 @@ EiamClient::SetUserPrimaryOrganizationalUnitOutcomeCallable EiamClient::setUserP
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::UnbindUserAuthnSourceMappingOutcome EiamClient::unbindUserAuthnSourceMapping(const UnbindUserAuthnSourceMappingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UnbindUserAuthnSourceMappingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UnbindUserAuthnSourceMappingOutcome(UnbindUserAuthnSourceMappingResult(outcome.result()));
|
||||
else
|
||||
return UnbindUserAuthnSourceMappingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::unbindUserAuthnSourceMappingAsync(const UnbindUserAuthnSourceMappingRequest& request, const UnbindUserAuthnSourceMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, unbindUserAuthnSourceMapping(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::UnbindUserAuthnSourceMappingOutcomeCallable EiamClient::unbindUserAuthnSourceMappingCallable(const UnbindUserAuthnSourceMappingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UnbindUserAuthnSourceMappingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->unbindUserAuthnSourceMapping(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::UnlockUserOutcome EiamClient::unlockUser(const UnlockUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6315,6 +6747,42 @@ EiamClient::UpdateConditionalAccessPolicyDescriptionOutcomeCallable EiamClient::
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::UpdateCustomPrivacyPolicyOutcome EiamClient::updateCustomPrivacyPolicy(const UpdateCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return UpdateCustomPrivacyPolicyOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return UpdateCustomPrivacyPolicyOutcome(UpdateCustomPrivacyPolicyResult(outcome.result()));
|
||||
else
|
||||
return UpdateCustomPrivacyPolicyOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void EiamClient::updateCustomPrivacyPolicyAsync(const UpdateCustomPrivacyPolicyRequest& request, const UpdateCustomPrivacyPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, updateCustomPrivacyPolicy(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
EiamClient::UpdateCustomPrivacyPolicyOutcomeCallable EiamClient::updateCustomPrivacyPolicyCallable(const UpdateCustomPrivacyPolicyRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<UpdateCustomPrivacyPolicyOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->updateCustomPrivacyPolicy(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
EiamClient::UpdateDomainBrandOutcome EiamClient::updateDomainBrand(const UpdateDomainBrandRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
56
eiam/src/model/AddCustomPrivacyPoliciesToBrandRequest.cc
Normal file
56
eiam/src/model/AddCustomPrivacyPoliciesToBrandRequest.cc
Normal file
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* 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/eiam/model/AddCustomPrivacyPoliciesToBrandRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::AddCustomPrivacyPoliciesToBrandRequest;
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandRequest::AddCustomPrivacyPoliciesToBrandRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "AddCustomPrivacyPoliciesToBrand") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandRequest::~AddCustomPrivacyPoliciesToBrandRequest() {}
|
||||
|
||||
std::string AddCustomPrivacyPoliciesToBrandRequest::getBrandId() const {
|
||||
return brandId_;
|
||||
}
|
||||
|
||||
void AddCustomPrivacyPoliciesToBrandRequest::setBrandId(const std::string &brandId) {
|
||||
brandId_ = brandId;
|
||||
setParameter(std::string("BrandId"), brandId);
|
||||
}
|
||||
|
||||
std::vector<AddCustomPrivacyPoliciesToBrandRequest::std::string> AddCustomPrivacyPoliciesToBrandRequest::getCustomPrivacyPolicyIds() const {
|
||||
return customPrivacyPolicyIds_;
|
||||
}
|
||||
|
||||
void AddCustomPrivacyPoliciesToBrandRequest::setCustomPrivacyPolicyIds(const std::vector<AddCustomPrivacyPoliciesToBrandRequest::std::string> &customPrivacyPolicyIds) {
|
||||
customPrivacyPolicyIds_ = customPrivacyPolicyIds;
|
||||
for(int dep1 = 0; dep1 != customPrivacyPolicyIds.size(); dep1++) {
|
||||
setParameter(std::string("CustomPrivacyPolicyIds") + "." + std::to_string(dep1 + 1), customPrivacyPolicyIds[dep1]);
|
||||
}
|
||||
}
|
||||
|
||||
std::string AddCustomPrivacyPoliciesToBrandRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AddCustomPrivacyPoliciesToBrandRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
44
eiam/src/model/AddCustomPrivacyPoliciesToBrandResult.cc
Normal file
44
eiam/src/model/AddCustomPrivacyPoliciesToBrandResult.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/eiam/model/AddCustomPrivacyPoliciesToBrandResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandResult::AddCustomPrivacyPoliciesToBrandResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandResult::AddCustomPrivacyPoliciesToBrandResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddCustomPrivacyPoliciesToBrandResult::~AddCustomPrivacyPoliciesToBrandResult()
|
||||
{}
|
||||
|
||||
void AddCustomPrivacyPoliciesToBrandResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
63
eiam/src/model/BindUserAuthnSourceMappingRequest.cc
Normal file
63
eiam/src/model/BindUserAuthnSourceMappingRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/BindUserAuthnSourceMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::BindUserAuthnSourceMappingRequest;
|
||||
|
||||
BindUserAuthnSourceMappingRequest::BindUserAuthnSourceMappingRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "BindUserAuthnSourceMapping") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BindUserAuthnSourceMappingRequest::~BindUserAuthnSourceMappingRequest() {}
|
||||
|
||||
std::string BindUserAuthnSourceMappingRequest::getUserId() const {
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void BindUserAuthnSourceMappingRequest::setUserId(const std::string &userId) {
|
||||
userId_ = userId;
|
||||
setParameter(std::string("UserId"), userId);
|
||||
}
|
||||
|
||||
std::string BindUserAuthnSourceMappingRequest::getIdentityProviderId() const {
|
||||
return identityProviderId_;
|
||||
}
|
||||
|
||||
void BindUserAuthnSourceMappingRequest::setIdentityProviderId(const std::string &identityProviderId) {
|
||||
identityProviderId_ = identityProviderId;
|
||||
setParameter(std::string("IdentityProviderId"), identityProviderId);
|
||||
}
|
||||
|
||||
std::string BindUserAuthnSourceMappingRequest::getUserExternalId() const {
|
||||
return userExternalId_;
|
||||
}
|
||||
|
||||
void BindUserAuthnSourceMappingRequest::setUserExternalId(const std::string &userExternalId) {
|
||||
userExternalId_ = userExternalId;
|
||||
setParameter(std::string("UserExternalId"), userExternalId);
|
||||
}
|
||||
|
||||
std::string BindUserAuthnSourceMappingRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void BindUserAuthnSourceMappingRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
44
eiam/src/model/BindUserAuthnSourceMappingResult.cc
Normal file
44
eiam/src/model/BindUserAuthnSourceMappingResult.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/eiam/model/BindUserAuthnSourceMappingResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
BindUserAuthnSourceMappingResult::BindUserAuthnSourceMappingResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
BindUserAuthnSourceMappingResult::BindUserAuthnSourceMappingResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
BindUserAuthnSourceMappingResult::~BindUserAuthnSourceMappingResult()
|
||||
{}
|
||||
|
||||
void BindUserAuthnSourceMappingResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
97
eiam/src/model/CreateCustomPrivacyPolicyRequest.cc
Normal file
97
eiam/src/model/CreateCustomPrivacyPolicyRequest.cc
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* 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/eiam/model/CreateCustomPrivacyPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::CreateCustomPrivacyPolicyRequest;
|
||||
|
||||
CreateCustomPrivacyPolicyRequest::CreateCustomPrivacyPolicyRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "CreateCustomPrivacyPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateCustomPrivacyPolicyRequest::~CreateCustomPrivacyPolicyRequest() {}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getDefaultLanguageCode() const {
|
||||
return defaultLanguageCode_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setDefaultLanguageCode(const std::string &defaultLanguageCode) {
|
||||
defaultLanguageCode_ = defaultLanguageCode;
|
||||
setParameter(std::string("DefaultLanguageCode"), defaultLanguageCode);
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getUserConsentType() const {
|
||||
return userConsentType_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setUserConsentType(const std::string &userConsentType) {
|
||||
userConsentType_ = userConsentType;
|
||||
setParameter(std::string("UserConsentType"), userConsentType);
|
||||
}
|
||||
|
||||
std::vector<CreateCustomPrivacyPolicyRequest::CustomPrivacyPolicyContents> CreateCustomPrivacyPolicyRequest::getCustomPrivacyPolicyContents() const {
|
||||
return customPrivacyPolicyContents_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setCustomPrivacyPolicyContents(const std::vector<CreateCustomPrivacyPolicyRequest::CustomPrivacyPolicyContents> &customPrivacyPolicyContents) {
|
||||
customPrivacyPolicyContents_ = customPrivacyPolicyContents;
|
||||
for(int dep1 = 0; dep1 != customPrivacyPolicyContents.size(); dep1++) {
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".CustomPrivacyPolicyTip", customPrivacyPolicyContents[dep1].customPrivacyPolicyTip);
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".LanguageCode", customPrivacyPolicyContents[dep1].languageCode);
|
||||
for(int dep2 = 0; dep2 != customPrivacyPolicyContents[dep1].customPrivacyPolicyItems.size(); dep2++) {
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".CustomPrivacyPolicyItems." + std::to_string(dep2 + 1) + ".CustomPrivacyPolicyItemUrl", customPrivacyPolicyContents[dep1].customPrivacyPolicyItems[dep2].customPrivacyPolicyItemUrl);
|
||||
setParameter(std::string("CustomPrivacyPolicyContents") + "." + std::to_string(dep1 + 1) + ".CustomPrivacyPolicyItems." + std::to_string(dep2 + 1) + ".CustomPrivacyPolicyItemName", customPrivacyPolicyContents[dep1].customPrivacyPolicyItems[dep2].customPrivacyPolicyItemName);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getCustomPrivacyPolicyName() const {
|
||||
return customPrivacyPolicyName_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setCustomPrivacyPolicyName(const std::string &customPrivacyPolicyName) {
|
||||
customPrivacyPolicyName_ = customPrivacyPolicyName;
|
||||
setParameter(std::string("CustomPrivacyPolicyName"), customPrivacyPolicyName);
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyRequest::getStatus() const {
|
||||
return status_;
|
||||
}
|
||||
|
||||
void CreateCustomPrivacyPolicyRequest::setStatus(const std::string &status) {
|
||||
status_ = status;
|
||||
setParameter(std::string("Status"), status);
|
||||
}
|
||||
|
||||
51
eiam/src/model/CreateCustomPrivacyPolicyResult.cc
Normal file
51
eiam/src/model/CreateCustomPrivacyPolicyResult.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/CreateCustomPrivacyPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
CreateCustomPrivacyPolicyResult::CreateCustomPrivacyPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateCustomPrivacyPolicyResult::CreateCustomPrivacyPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateCustomPrivacyPolicyResult::~CreateCustomPrivacyPolicyResult()
|
||||
{}
|
||||
|
||||
void CreateCustomPrivacyPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CustomPrivacyPolicyId"].isNull())
|
||||
customPrivacyPolicyId_ = value["CustomPrivacyPolicyId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateCustomPrivacyPolicyResult::getCustomPrivacyPolicyId()const
|
||||
{
|
||||
return customPrivacyPolicyId_;
|
||||
}
|
||||
|
||||
45
eiam/src/model/DeleteCustomPrivacyPolicyRequest.cc
Normal file
45
eiam/src/model/DeleteCustomPrivacyPolicyRequest.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/DeleteCustomPrivacyPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::DeleteCustomPrivacyPolicyRequest;
|
||||
|
||||
DeleteCustomPrivacyPolicyRequest::DeleteCustomPrivacyPolicyRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "DeleteCustomPrivacyPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCustomPrivacyPolicyRequest::~DeleteCustomPrivacyPolicyRequest() {}
|
||||
|
||||
std::string DeleteCustomPrivacyPolicyRequest::getCustomPrivacyPolicyId() const {
|
||||
return customPrivacyPolicyId_;
|
||||
}
|
||||
|
||||
void DeleteCustomPrivacyPolicyRequest::setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId) {
|
||||
customPrivacyPolicyId_ = customPrivacyPolicyId;
|
||||
setParameter(std::string("CustomPrivacyPolicyId"), customPrivacyPolicyId);
|
||||
}
|
||||
|
||||
std::string DeleteCustomPrivacyPolicyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DeleteCustomPrivacyPolicyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
44
eiam/src/model/DeleteCustomPrivacyPolicyResult.cc
Normal file
44
eiam/src/model/DeleteCustomPrivacyPolicyResult.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/eiam/model/DeleteCustomPrivacyPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
DeleteCustomPrivacyPolicyResult::DeleteCustomPrivacyPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteCustomPrivacyPolicyResult::DeleteCustomPrivacyPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteCustomPrivacyPolicyResult::~DeleteCustomPrivacyPolicyResult()
|
||||
{}
|
||||
|
||||
void DeleteCustomPrivacyPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
45
eiam/src/model/DisableCustomPrivacyPolicyRequest.cc
Normal file
45
eiam/src/model/DisableCustomPrivacyPolicyRequest.cc
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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/eiam/model/DisableCustomPrivacyPolicyRequest.h>
|
||||
|
||||
using AlibabaCloud::Eiam::Model::DisableCustomPrivacyPolicyRequest;
|
||||
|
||||
DisableCustomPrivacyPolicyRequest::DisableCustomPrivacyPolicyRequest()
|
||||
: RpcServiceRequest("eiam", "2021-12-01", "DisableCustomPrivacyPolicy") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DisableCustomPrivacyPolicyRequest::~DisableCustomPrivacyPolicyRequest() {}
|
||||
|
||||
std::string DisableCustomPrivacyPolicyRequest::getCustomPrivacyPolicyId() const {
|
||||
return customPrivacyPolicyId_;
|
||||
}
|
||||
|
||||
void DisableCustomPrivacyPolicyRequest::setCustomPrivacyPolicyId(const std::string &customPrivacyPolicyId) {
|
||||
customPrivacyPolicyId_ = customPrivacyPolicyId;
|
||||
setParameter(std::string("CustomPrivacyPolicyId"), customPrivacyPolicyId);
|
||||
}
|
||||
|
||||
std::string DisableCustomPrivacyPolicyRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DisableCustomPrivacyPolicyRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
44
eiam/src/model/DisableCustomPrivacyPolicyResult.cc
Normal file
44
eiam/src/model/DisableCustomPrivacyPolicyResult.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/eiam/model/DisableCustomPrivacyPolicyResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Eiam;
|
||||
using namespace AlibabaCloud::Eiam::Model;
|
||||
|
||||
DisableCustomPrivacyPolicyResult::DisableCustomPrivacyPolicyResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DisableCustomPrivacyPolicyResult::DisableCustomPrivacyPolicyResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DisableCustomPrivacyPolicyResult::~DisableCustomPrivacyPolicyResult()
|
||||
{}
|
||||
|
||||
void DisableCustomPrivacyPolicyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user