-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release 3.0.43-rc source code for cpp
- Loading branch information
1 parent
8455798
commit fa31733
Showing
12 changed files
with
1,119 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
109 changes: 109 additions & 0 deletions
109
ims/include/huaweicloud/ims/v2/model/JobProgressEntities.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
|
||
#ifndef HUAWEICLOUD_SDK_IMS_V2_MODEL_JobProgressEntities_H_ | ||
#define HUAWEICLOUD_SDK_IMS_V2_MODEL_JobProgressEntities_H_ | ||
|
||
#include <huaweicloud/ims/v2/ImsExport.h> | ||
|
||
#include <huaweicloud/core/utils/ModelBase.h> | ||
#include <huaweicloud/core/http/HttpResponse.h> | ||
|
||
#include <string> | ||
|
||
namespace HuaweiCloud { | ||
namespace Sdk { | ||
namespace Ims { | ||
namespace V2 { | ||
namespace Model { | ||
|
||
using namespace HuaweiCloud::Sdk::Core::Utils; | ||
using namespace HuaweiCloud::Sdk::Core::Http; | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
class HUAWEICLOUD_IMS_V2_EXPORT JobProgressEntities | ||
: public ModelBase | ||
{ | ||
public: | ||
JobProgressEntities(); | ||
virtual ~JobProgressEntities(); | ||
|
||
///////////////////////////////////////////// | ||
/// ModelBase overrides | ||
|
||
void validate() override; | ||
|
||
web::json::value toJson() const override; | ||
bool fromJson(const web::json::value& json) override; | ||
|
||
///////////////////////////////////////////// | ||
/// JobProgressEntities members | ||
|
||
/// <summary> | ||
/// 镜像ID | ||
/// </summary> | ||
|
||
std::string getImageId() const; | ||
bool imageIdIsSet() const; | ||
void unsetimageId(); | ||
void setImageId(const std::string& value); | ||
|
||
/// <summary> | ||
/// 当前任务名称 | ||
/// </summary> | ||
|
||
std::string getCurrentTask() const; | ||
bool currentTaskIsSet() const; | ||
void unsetcurrentTask(); | ||
void setCurrentTask(const std::string& value); | ||
|
||
/// <summary> | ||
/// 镜像名称 | ||
/// </summary> | ||
|
||
std::string getImageName() const; | ||
bool imageNameIsSet() const; | ||
void unsetimageName(); | ||
void setImageName(const std::string& value); | ||
|
||
/// <summary> | ||
/// 任务执行进度 | ||
/// </summary> | ||
|
||
double getProcessPercent() const; | ||
bool processPercentIsSet() const; | ||
void unsetprocessPercent(); | ||
void setProcessPercent(double value); | ||
|
||
/// <summary> | ||
/// 子任务ID | ||
/// </summary> | ||
|
||
std::string getSubJobId() const; | ||
bool subJobIdIsSet() const; | ||
void unsetsubJobId(); | ||
void setSubJobId(const std::string& value); | ||
|
||
|
||
protected: | ||
std::string imageId_; | ||
bool imageIdIsSet_; | ||
std::string currentTask_; | ||
bool currentTaskIsSet_; | ||
std::string imageName_; | ||
bool imageNameIsSet_; | ||
double processPercent_; | ||
bool processPercentIsSet_; | ||
std::string subJobId_; | ||
bool subJobIdIsSet_; | ||
|
||
}; | ||
|
||
|
||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
#endif // HUAWEICLOUD_SDK_IMS_V2_MODEL_JobProgressEntities_H_ |
72 changes: 72 additions & 0 deletions
72
ims/include/huaweicloud/ims/v2/model/ShowJobProgressRequest.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
|
||
#ifndef HUAWEICLOUD_SDK_IMS_V2_MODEL_ShowJobProgressRequest_H_ | ||
#define HUAWEICLOUD_SDK_IMS_V2_MODEL_ShowJobProgressRequest_H_ | ||
|
||
#include <huaweicloud/ims/v2/ImsExport.h> | ||
|
||
#include <huaweicloud/core/utils/ModelBase.h> | ||
#include <huaweicloud/core/http/HttpResponse.h> | ||
|
||
#include <string> | ||
|
||
namespace HuaweiCloud { | ||
namespace Sdk { | ||
namespace Ims { | ||
namespace V2 { | ||
namespace Model { | ||
|
||
using namespace HuaweiCloud::Sdk::Core::Utils; | ||
using namespace HuaweiCloud::Sdk::Core::Http; | ||
|
||
/// <summary> | ||
/// Request Object | ||
/// </summary> | ||
class HUAWEICLOUD_IMS_V2_EXPORT ShowJobProgressRequest | ||
: public ModelBase | ||
{ | ||
public: | ||
ShowJobProgressRequest(); | ||
virtual ~ShowJobProgressRequest(); | ||
|
||
///////////////////////////////////////////// | ||
/// ModelBase overrides | ||
|
||
void validate() override; | ||
|
||
web::json::value toJson() const override; | ||
bool fromJson(const web::json::value& json) override; | ||
|
||
///////////////////////////////////////////// | ||
/// ShowJobProgressRequest members | ||
|
||
/// <summary> | ||
/// 异步任务ID | ||
/// </summary> | ||
|
||
std::string getJobId() const; | ||
bool jobIdIsSet() const; | ||
void unsetjobId(); | ||
void setJobId(const std::string& value); | ||
|
||
|
||
protected: | ||
std::string jobId_; | ||
bool jobIdIsSet_; | ||
|
||
#ifdef RTTR_FLAG | ||
RTTR_ENABLE() | ||
public: | ||
ShowJobProgressRequest& dereference_from_shared_ptr(std::shared_ptr<ShowJobProgressRequest> ptr) { | ||
return *ptr; | ||
} | ||
#endif | ||
}; | ||
|
||
|
||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
#endif // HUAWEICLOUD_SDK_IMS_V2_MODEL_ShowJobProgressRequest_H_ |
Oops, something went wrong.