/// <summary>
        /// Unmarshaller the response from the service to the response class.
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            StartConfigurationRecorderResponse response = new StartConfigurationRecorderResponse();


            return(response);
        }
        /// <summary>
        /// Unmarshaller the response from the service to the response class.
        /// </summary>  
        /// <param name="context"></param>
        /// <returns></returns>
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            StartConfigurationRecorderResponse response = new StartConfigurationRecorderResponse();


            return response;
        }
コード例 #3
0
        public static StartConfigurationRecorderResponse Unmarshall(UnmarshallerContext context)
        {
            StartConfigurationRecorderResponse startConfigurationRecorderResponse = new StartConfigurationRecorderResponse();

            startConfigurationRecorderResponse.HttpResponse = context.HttpResponse;
            startConfigurationRecorderResponse.RequestId    = context.StringValue("StartConfigurationRecorder.RequestId");

            StartConfigurationRecorderResponse.StartConfigurationRecorder_ConfigurationRecorder configurationRecorder = new StartConfigurationRecorderResponse.StartConfigurationRecorder_ConfigurationRecorder();
            configurationRecorder.AccountId = context.LongValue("StartConfigurationRecorder.ConfigurationRecorder.AccountId");
            configurationRecorder.ConfigurationRecorderStatus = context.StringValue("StartConfigurationRecorder.ConfigurationRecorder.ConfigurationRecorderStatus");
            configurationRecorder.OrganizationMasterId        = context.LongValue("StartConfigurationRecorder.ConfigurationRecorder.OrganizationMasterId");
            configurationRecorder.OrganizationEnableStatus    = context.StringValue("StartConfigurationRecorder.ConfigurationRecorder.OrganizationEnableStatus");

            List <string> configurationRecorder_resourceTypes = new List <string>();

            for (int i = 0; i < context.Length("StartConfigurationRecorder.ConfigurationRecorder.ResourceTypes.Length"); i++)
            {
                configurationRecorder_resourceTypes.Add(context.StringValue("StartConfigurationRecorder.ConfigurationRecorder.ResourceTypes[" + i + "]"));
            }
            configurationRecorder.ResourceTypes = configurationRecorder_resourceTypes;
            startConfigurationRecorderResponse.ConfigurationRecorder = configurationRecorder;

            return(startConfigurationRecorderResponse);
        }