@@ -52,15 +52,6 @@ void CreateEaiJupyterRequest::setEaisType(const std::string &eaisType) {
5252 setParameter (std::string (" EaisType" ), eaisType);
5353}
5454
55- std::string CreateEaiJupyterRequest::getVSwitchId () const {
56- return vSwitchId_;
57- }
58-
59- void CreateEaiJupyterRequest::setVSwitchId (const std::string &vSwitchId) {
60- vSwitchId_ = vSwitchId;
61- setParameter (std::string (" VSwitchId" ), vSwitchId);
62- }
63-
6455std::string CreateEaiJupyterRequest::getResourceGroupId () const {
6556 return resourceGroupId_;
6657}
@@ -79,6 +70,38 @@ void CreateEaiJupyterRequest::setRegionId(const std::string ®ionId) {
7970 setParameter (std::string (" RegionId" ), regionId);
8071}
8172
73+ std::string CreateEaiJupyterRequest::getEaisName () const {
74+ return eaisName_;
75+ }
76+
77+ void CreateEaiJupyterRequest::setEaisName (const std::string &eaisName) {
78+ eaisName_ = eaisName;
79+ setParameter (std::string (" EaisName" ), eaisName);
80+ }
81+
82+ std::vector<CreateEaiJupyterRequest::Tag> CreateEaiJupyterRequest::getTag () const {
83+ return tag_;
84+ }
85+
86+ void CreateEaiJupyterRequest::setTag (const std::vector<CreateEaiJupyterRequest::Tag> &tag) {
87+ tag_ = tag;
88+ for (int dep1 = 0 ; dep1 != tag.size (); dep1++) {
89+ auto tagObj = tag.at (dep1);
90+ std::string tagObjStr = std::string (" Tag" ) + " ." + std::to_string (dep1 + 1 );
91+ setParameter (tagObjStr + " .Value" , tagObj.value );
92+ setParameter (tagObjStr + " .Key" , tagObj.key );
93+ }
94+ }
95+
96+ std::string CreateEaiJupyterRequest::getVSwitchId () const {
97+ return vSwitchId_;
98+ }
99+
100+ void CreateEaiJupyterRequest::setVSwitchId (const std::string &vSwitchId) {
101+ vSwitchId_ = vSwitchId;
102+ setParameter (std::string (" VSwitchId" ), vSwitchId);
103+ }
104+
82105std::vector<CreateEaiJupyterRequest::EnvironmentVar> CreateEaiJupyterRequest::getEnvironmentVar () const {
83106 return environmentVar_;
84107}
@@ -91,12 +114,3 @@ void CreateEaiJupyterRequest::setEnvironmentVar(const std::vector<CreateEaiJupyt
91114 }
92115}
93116
94- std::string CreateEaiJupyterRequest::getEaisName () const {
95- return eaisName_;
96- }
97-
98- void CreateEaiJupyterRequest::setEaisName (const std::string &eaisName) {
99- eaisName_ = eaisName;
100- setParameter (std::string (" EaisName" ), eaisName);
101- }
102-
0 commit comments