1package emr 2 3//Licensed under the Apache License, Version 2.0 (the "License"); 4//you may not use this file except in compliance with the License. 5//You may obtain a copy of the License at 6// 7//http://www.apache.org/licenses/LICENSE-2.0 8// 9//Unless required by applicable law or agreed to in writing, software 10//distributed under the License is distributed on an "AS IS" BASIS, 11//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12//See the License for the specific language governing permissions and 13//limitations under the License. 14// 15// Code generated by Alibaba Cloud SDK Code Generator. 16// Changes may cause incorrect behavior and will be lost if the code is regenerated. 17 18// Component is a nested struct in emr response 19type Component struct { 20 ServiceName string `json:"ServiceName" xml:"ServiceName"` 21 ServiceDisplayName string `json:"ServiceDisplayName" xml:"ServiceDisplayName"` 22 ComponentName string `json:"ComponentName" xml:"ComponentName"` 23 ComponentDisplayName string `json:"ComponentDisplayName" xml:"ComponentDisplayName"` 24 Status string `json:"Status" xml:"Status"` 25 NeedRestart bool `json:"NeedRestart" xml:"NeedRestart"` 26 HostId string `json:"HostId" xml:"HostId"` 27 ServerStatus string `json:"ServerStatus" xml:"ServerStatus"` 28 HostName string `json:"HostName" xml:"HostName"` 29 PublicIp string `json:"PublicIp" xml:"PublicIp"` 30 PrivateIp string `json:"PrivateIp" xml:"PrivateIp"` 31 Role string `json:"Role" xml:"Role"` 32 InstanceType string `json:"InstanceType" xml:"InstanceType"` 33 Cpu int `json:"Cpu" xml:"Cpu"` 34 Memory int `json:"Memory" xml:"Memory"` 35 HostInstanceId string `json:"HostInstanceId" xml:"HostInstanceId"` 36 SerialNumber string `json:"SerialNumber" xml:"SerialNumber"` 37} 38