Support CreateAuthorityTemplate, UpdateAuthorityTemplate, GetAuthorityTemplateItem, GetAuthorityTemplate return TenantId information.
This commit is contained in:
@@ -48,6 +48,7 @@ namespace AlibabaCloud
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
long getTid()const;
|
||||
AuthorityTemplateView getAuthorityTemplateView()const;
|
||||
|
||||
protected:
|
||||
@@ -56,6 +57,7 @@ namespace AlibabaCloud
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
long tid_;
|
||||
AuthorityTemplateView authorityTemplateView_;
|
||||
|
||||
};
|
||||
|
||||
@@ -52,6 +52,7 @@ namespace AlibabaCloud
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
long getTid()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -60,6 +61,7 @@ namespace AlibabaCloud
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
long tid_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -60,6 +60,7 @@ namespace AlibabaCloud
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
long getTid()const;
|
||||
AuthorityTemplateView getAuthorityTemplateView()const;
|
||||
|
||||
protected:
|
||||
@@ -68,6 +69,7 @@ namespace AlibabaCloud
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
long tid_;
|
||||
AuthorityTemplateView authorityTemplateView_;
|
||||
|
||||
};
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
||||
std::string getErrorCode()const;
|
||||
std::string getErrorMessage()const;
|
||||
bool getSuccess()const;
|
||||
long getTid()const;
|
||||
AuthorityTemplateView getAuthorityTemplateView()const;
|
||||
|
||||
protected:
|
||||
@@ -55,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string errorCode_;
|
||||
std::string errorMessage_;
|
||||
bool success_;
|
||||
long tid_;
|
||||
AuthorityTemplateView authorityTemplateView_;
|
||||
|
||||
};
|
||||
|
||||
@@ -56,6 +56,8 @@ void CreateAuthorityTemplateResult::parse(const std::string &payload)
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Tid"].isNull())
|
||||
tid_ = std::stol(value["Tid"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -74,6 +76,11 @@ bool CreateAuthorityTemplateResult::getSuccess()const
|
||||
return success_;
|
||||
}
|
||||
|
||||
long CreateAuthorityTemplateResult::getTid()const
|
||||
{
|
||||
return tid_;
|
||||
}
|
||||
|
||||
CreateAuthorityTemplateResult::AuthorityTemplateView CreateAuthorityTemplateResult::getAuthorityTemplateView()const
|
||||
{
|
||||
return authorityTemplateView_;
|
||||
|
||||
@@ -67,6 +67,8 @@ void GetAuthorityTemplateItemResult::parse(const std::string &payload)
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Tid"].isNull())
|
||||
tid_ = std::stol(value["Tid"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -90,3 +92,8 @@ bool GetAuthorityTemplateItemResult::getSuccess()const
|
||||
return success_;
|
||||
}
|
||||
|
||||
long GetAuthorityTemplateItemResult::getTid()const
|
||||
{
|
||||
return tid_;
|
||||
}
|
||||
|
||||
|
||||
@@ -78,6 +78,8 @@ void GetAuthorityTemplateResult::parse(const std::string &payload)
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Tid"].isNull())
|
||||
tid_ = std::stol(value["Tid"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -96,6 +98,11 @@ bool GetAuthorityTemplateResult::getSuccess()const
|
||||
return success_;
|
||||
}
|
||||
|
||||
long GetAuthorityTemplateResult::getTid()const
|
||||
{
|
||||
return tid_;
|
||||
}
|
||||
|
||||
GetAuthorityTemplateResult::AuthorityTemplateView GetAuthorityTemplateResult::getAuthorityTemplateView()const
|
||||
{
|
||||
return authorityTemplateView_;
|
||||
|
||||
@@ -54,6 +54,8 @@ void UpdateAuthorityTemplateResult::parse(const std::string &payload)
|
||||
errorMessage_ = value["ErrorMessage"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Tid"].isNull())
|
||||
tid_ = std::stol(value["Tid"].asString());
|
||||
|
||||
}
|
||||
|
||||
@@ -72,6 +74,11 @@ bool UpdateAuthorityTemplateResult::getSuccess()const
|
||||
return success_;
|
||||
}
|
||||
|
||||
long UpdateAuthorityTemplateResult::getTid()const
|
||||
{
|
||||
return tid_;
|
||||
}
|
||||
|
||||
UpdateAuthorityTemplateResult::AuthorityTemplateView UpdateAuthorityTemplateResult::getAuthorityTemplateView()const
|
||||
{
|
||||
return authorityTemplateView_;
|
||||
|
||||
Reference in New Issue
Block a user