Fixed bugs for PauseEventStreaming and DeleteEventStreaming
This commit is contained in:
@@ -39,7 +39,7 @@ namespace AlibabaCloud
|
|||||||
~DeleteEventStreamingResult();
|
~DeleteEventStreamingResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
bool getData()const;
|
bool getData()const;
|
||||||
bool getCode()const;
|
std::string getCode()const;
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -47,7 +47,7 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
bool data_;
|
bool data_;
|
||||||
bool code_;
|
std::string code_;
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ namespace AlibabaCloud
|
|||||||
~PauseEventStreamingResult();
|
~PauseEventStreamingResult();
|
||||||
std::string getMessage()const;
|
std::string getMessage()const;
|
||||||
bool getData()const;
|
bool getData()const;
|
||||||
bool getCode()const;
|
std::string getCode()const;
|
||||||
bool getSuccess()const;
|
bool getSuccess()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -47,7 +47,7 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
std::string message_;
|
std::string message_;
|
||||||
bool data_;
|
bool data_;
|
||||||
bool code_;
|
std::string code_;
|
||||||
bool success_;
|
bool success_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ void DeleteEventStreamingResult::parse(const std::string &payload)
|
|||||||
if(!value["Data"].isNull())
|
if(!value["Data"].isNull())
|
||||||
data_ = value["Data"].asString() == "true";
|
data_ = value["Data"].asString() == "true";
|
||||||
if(!value["Code"].isNull())
|
if(!value["Code"].isNull())
|
||||||
code_ = value["Code"].asString() == "true";
|
code_ = value["Code"].asString();
|
||||||
if(!value["Success"].isNull())
|
if(!value["Success"].isNull())
|
||||||
success_ = value["Success"].asString() == "true";
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
@@ -60,7 +60,7 @@ bool DeleteEventStreamingResult::getData()const
|
|||||||
return data_;
|
return data_;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool DeleteEventStreamingResult::getCode()const
|
std::string DeleteEventStreamingResult::getCode()const
|
||||||
{
|
{
|
||||||
return code_;
|
return code_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ void PauseEventStreamingResult::parse(const std::string &payload)
|
|||||||
if(!value["Data"].isNull())
|
if(!value["Data"].isNull())
|
||||||
data_ = value["Data"].asString() == "true";
|
data_ = value["Data"].asString() == "true";
|
||||||
if(!value["Code"].isNull())
|
if(!value["Code"].isNull())
|
||||||
code_ = value["Code"].asString() == "true";
|
code_ = value["Code"].asString();
|
||||||
if(!value["Success"].isNull())
|
if(!value["Success"].isNull())
|
||||||
success_ = value["Success"].asString() == "true";
|
success_ = value["Success"].asString() == "true";
|
||||||
|
|
||||||
@@ -60,7 +60,7 @@ bool PauseEventStreamingResult::getData()const
|
|||||||
return data_;
|
return data_;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PauseEventStreamingResult::getCode()const
|
std::string PauseEventStreamingResult::getCode()const
|
||||||
{
|
{
|
||||||
return code_;
|
return code_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user