Chilkat Online Tools

CreateVolume unicodeC Example

Amazon FSx

#include <C_CkRestW.h>
#include <C_CkAuthAwsW.h>
#include <C_CkJsonObjectW.h>
#include <C_CkStringBuilderW.h>

void ChilkatSample(void)
    {
    HCkRestW rest;
    BOOL success;
    HCkAuthAwsW authAws;
    HCkJsonObjectW json;
    HCkStringBuilderW sbRequestBody;
    HCkStringBuilderW sbResponseBody;
    int respStatusCode;
    HCkJsonObjectW jResp;
    const wchar_t *AdministrativeActionType;
    const wchar_t *FailureDetailsMessage;
    int ProgressPercent;
    int RequestTime;
    const wchar_t *Status;
    int TargetFileSystemValuesCreationTime;
    const wchar_t *DNSName;
    const wchar_t *TargetFileSystemValuesFileSystemId;
    const wchar_t *FileSystemType;
    const wchar_t *FileSystemTypeVersion;
    const wchar_t *KmsKeyId;
    const wchar_t *TargetFileSystemValuesLifecycle;
    int AutomaticBackupRetentionDays;
    int CopyTagsToBackups;
    const wchar_t *DailyAutomaticBackupStartTime;
    const wchar_t *LustreConfigurationDataCompressionType;
    const wchar_t *AutoImportPolicy;
    const wchar_t *ExportPath;
    int ImportedFileChunkSize;
    const wchar_t *ImportPath;
    const wchar_t *DataRepositoryConfigurationLifecycle;
    const wchar_t *DeploymentType;
    const wchar_t *DriveCacheType;
    const wchar_t *Destination;
    const wchar_t *Level;
    const wchar_t *MountName;
    int PerUnitStorageThroughput;
    const wchar_t *WeeklyMaintenanceStartTime;
    int OntapConfigurationAutomaticBackupRetentionDays;
    const wchar_t *OntapConfigurationDailyAutomaticBackupStartTime;
    const wchar_t *OntapConfigurationDeploymentType;
    int Iops;
    const wchar_t *Mode;
    const wchar_t *EndpointIpAddressRange;
    const wchar_t *InterclusterDNSName;
    const wchar_t *ManagementDNSName;
    const wchar_t *PreferredSubnetId;
    int ThroughputCapacity;
    const wchar_t *OntapConfigurationWeeklyMaintenanceStartTime;
    int OpenZFSConfigurationAutomaticBackupRetentionDays;
    int OpenZFSConfigurationCopyTagsToBackups;
    int CopyTagsToVolumes;
    const wchar_t *OpenZFSConfigurationDailyAutomaticBackupStartTime;
    const wchar_t *OpenZFSConfigurationDeploymentType;
    int DiskIopsConfigurationIops;
    const wchar_t *DiskIopsConfigurationMode;
    const wchar_t *RootVolumeId;
    int OpenZFSConfigurationThroughputCapacity;
    const wchar_t *OpenZFSConfigurationWeeklyMaintenanceStartTime;
    const wchar_t *OwnerId;
    const wchar_t *TargetFileSystemValuesResourceARN;
    int StorageCapacity;
    const wchar_t *StorageType;
    const wchar_t *VpcId;
    const wchar_t *ActiveDirectoryId;
    const wchar_t *AuditLogDestination;
    const wchar_t *FileAccessAuditLogLevel;
    const wchar_t *FileShareAccessAuditLogLevel;
    int WindowsConfigurationAutomaticBackupRetentionDays;
    int WindowsConfigurationCopyTagsToBackups;
    const wchar_t *WindowsConfigurationDailyAutomaticBackupStartTime;
    const wchar_t *WindowsConfigurationDeploymentType;
    const wchar_t *PreferredFileServerIp;
    const wchar_t *WindowsConfigurationPreferredSubnetId;
    const wchar_t *RemoteAdministrationEndpoint;
    const wchar_t *DomainName;
    const wchar_t *FileSystemAdministratorsGroup;
    const wchar_t *OrganizationalUnitDistinguishedName;
    const wchar_t *UserName;
    int WindowsConfigurationThroughputCapacity;
    const wchar_t *WindowsConfigurationWeeklyMaintenanceStartTime;
    int TargetSnapshotValuesCreationTime;
    const wchar_t *TargetSnapshotValuesLifecycle;
    const wchar_t *LifecycleTransitionReasonMessage;
    const wchar_t *TargetSnapshotValuesName;
    const wchar_t *TargetSnapshotValuesResourceARN;
    const wchar_t *SnapshotId;
    const wchar_t *TargetSnapshotValuesVolumeId;
    const wchar_t *TargetVolumeValues;
    int j;
    int count_j;
    const wchar_t *strVal;
    const wchar_t *Key;
    const wchar_t *Value;
    const wchar_t *Clients;
    int k;
    int count_k;
    int Id;
    const wchar_t *v_Type;
    int CreationTime;
    const wchar_t *FileSystemId;
    const wchar_t *Lifecycle;
    const wchar_t *Message;
    const wchar_t *Name;
    const wchar_t *FlexCacheEndpointType;
    const wchar_t *JunctionPath;
    const wchar_t *OntapVolumeType;
    const wchar_t *SecurityStyle;
    int SizeInMegabytes;
    int StorageEfficiencyEnabled;
    const wchar_t *StorageVirtualMachineId;
    int StorageVirtualMachineRoot;
    int CoolingPeriod;
    const wchar_t *TieringPolicyName;
    const wchar_t *UUID;
    int CopyTagsToSnapshots;
    const wchar_t *DataCompressionType;
    const wchar_t *CopyStrategy;
    const wchar_t *SnapshotARN;
    const wchar_t *ParentVolumeId;
    int ReadOnly;
    int RecordSizeKiB;
    int StorageCapacityQuotaGiB;
    int StorageCapacityReservationGiB;
    const wchar_t *VolumePath;
    const wchar_t *ResourceARN;
    const wchar_t *VolumeId;
    const wchar_t *VolumeType;
    int i;
    int count_i;

    // This example requires the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    rest = CkRestW_Create();

    authAws = CkAuthAwsW_Create();
    CkAuthAwsW_putAccessKey(authAws,L"AWS_ACCESS_KEY");
    CkAuthAwsW_putSecretKey(authAws,L"AWS_SECRET_KEY");

    // Don't forget to change the region to your particular region. (Also make the same change in the call to Connect below.)
    CkAuthAwsW_putRegion(authAws,L"us-west-2");
    CkAuthAwsW_putServiceName(authAws,L"fsx");
    // SetAuthAws causes Chilkat to automatically add the following headers: Authorization, X-Amz-Date
    CkRestW_SetAuthAws(rest,authAws);

    // URL: https://fsx.us-west-2.amazonaws.com/
    // Use the same region as specified above.
    success = CkRestW_Connect(rest,L"fsx.us-west-2.amazonaws.com",443,TRUE,TRUE);
    if (success != TRUE) {
        wprintf(L"ConnectFailReason: %d\n",CkRestW_getConnectFailReason(rest));
        wprintf(L"%s\n",CkRestW_lastErrorText(rest));
        CkRestW_Dispose(rest);
        CkAuthAwsW_Dispose(authAws);
        return;
    }

    // The following code creates the JSON request body.
    // The JSON created by this code is shown below.

    // Use this online tool to generate code from sample JSON:
    // Generate Code to Create JSON

    json = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(json,L"ClientRequestToken",L"string");
    CkJsonObjectW_UpdateString(json,L"Name",L"string");
    CkJsonObjectW_UpdateString(json,L"OntapConfiguration.JunctionPath",L"string");
    CkJsonObjectW_UpdateString(json,L"OntapConfiguration.SecurityStyle",L"string");
    CkJsonObjectW_UpdateInt(json,L"OntapConfiguration.SizeInMegabytes",123);
    CkJsonObjectW_UpdateInt(json,L"OntapConfiguration.StorageEfficiencyEnabled",123);
    CkJsonObjectW_UpdateString(json,L"OntapConfiguration.StorageVirtualMachineId",L"string");
    CkJsonObjectW_UpdateInt(json,L"OntapConfiguration.TieringPolicy.CoolingPeriod",123);
    CkJsonObjectW_UpdateString(json,L"OntapConfiguration.TieringPolicy.Name",L"string");
    CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.CopyTagsToSnapshots",123);
    CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.DataCompressionType",L"string");
    CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.NfsExports[0].ClientConfigurations[0].Clients",L"string");
    CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.NfsExports[0].ClientConfigurations[0].Options[0]",L"string");
    CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.OriginSnapshot.CopyStrategy",L"string");
    CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.OriginSnapshot.SnapshotARN",L"string");
    CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.ParentVolumeId",L"string");
    CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.ReadOnly",123);
    CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.RecordSizeKiB",123);
    CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.StorageCapacityQuotaGiB",123);
    CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.StorageCapacityReservationGiB",123);
    CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.UserAndGroupQuotas[0].Id",123);
    CkJsonObjectW_UpdateInt(json,L"OpenZFSConfiguration.UserAndGroupQuotas[0].StorageCapacityQuotaGiB",123);
    CkJsonObjectW_UpdateString(json,L"OpenZFSConfiguration.UserAndGroupQuotas[0].Type",L"string");
    CkJsonObjectW_UpdateString(json,L"Tags[0].Key",L"string");
    CkJsonObjectW_UpdateString(json,L"Tags[0].Value",L"string");
    CkJsonObjectW_UpdateString(json,L"VolumeType",L"string");

    // The JSON request body created by the above code:

    // {
    //   "ClientRequestToken": "string",
    //   "Name": "string",
    //   "OntapConfiguration": {
    //     "JunctionPath": "string",
    //     "SecurityStyle": "string",
    //     "SizeInMegabytes": number,
    //     "StorageEfficiencyEnabled": boolean,
    //     "StorageVirtualMachineId": "string",
    //     "TieringPolicy": {
    //       "CoolingPeriod": number,
    //       "Name": "string"
    //     }
    //   },
    //   "OpenZFSConfiguration": {
    //     "CopyTagsToSnapshots": boolean,
    //     "DataCompressionType": "string",
    //     "NfsExports": [
    //       {
    //         "ClientConfigurations": [
    //           {
    //             "Clients": "string",
    //             "Options": [
    //               "string"
    //             ]
    //           }
    //         ]
    //       }
    //     ],
    //     "OriginSnapshot": {
    //       "CopyStrategy": "string",
    //       "SnapshotARN": "string"
    //     },
    //     "ParentVolumeId": "string",
    //     "ReadOnly": boolean,
    //     "RecordSizeKiB": number,
    //     "StorageCapacityQuotaGiB": number,
    //     "StorageCapacityReservationGiB": number,
    //     "UserAndGroupQuotas": [
    //       {
    //         "Id": number,
    //         "StorageCapacityQuotaGiB": number,
    //         "Type": "string"
    //       }
    //     ]
    //   },
    //   "Tags": [
    //     {
    //       "Key": "string",
    //       "Value": "string"
    //     }
    //   ],
    //   "VolumeType": "string"
    // }

    CkRestW_AddHeader(rest,L"Content-Type",L"application/x-amz-json-1.1");
    CkRestW_AddHeader(rest,L"X-Amz-Target",L"AWSSimbaAPIService_v20180301.CreateVolume");

    sbRequestBody = CkStringBuilderW_Create();
    CkJsonObjectW_EmitSb(json,sbRequestBody);
    sbResponseBody = CkStringBuilderW_Create();
    success = CkRestW_FullRequestSb(rest,L"POST",L"/",sbRequestBody,sbResponseBody);
    if (success != TRUE) {
        wprintf(L"%s\n",CkRestW_lastErrorText(rest));
        CkRestW_Dispose(rest);
        CkAuthAwsW_Dispose(authAws);
        CkJsonObjectW_Dispose(json);
        CkStringBuilderW_Dispose(sbRequestBody);
        CkStringBuilderW_Dispose(sbResponseBody);
        return;
    }

    respStatusCode = CkRestW_getResponseStatusCode(rest);
    wprintf(L"response status code = %d\n",respStatusCode);
    if (respStatusCode != 200) {
        wprintf(L"Response Header:\n");
        wprintf(L"%s\n",CkRestW_responseHeader(rest));
        wprintf(L"Response Body:\n");
        wprintf(L"%s\n",CkStringBuilderW_getAsString(sbResponseBody));
        CkRestW_Dispose(rest);
        CkAuthAwsW_Dispose(authAws);
        CkJsonObjectW_Dispose(json);
        CkStringBuilderW_Dispose(sbRequestBody);
        CkStringBuilderW_Dispose(sbResponseBody);
        return;
    }

    jResp = CkJsonObjectW_Create();
    CkJsonObjectW_LoadSb(jResp,sbResponseBody);

    // The following code parses the JSON response.
    // A sample JSON response is shown below the sample code.

    // Use this online tool to generate parsing code from sample JSON:
    // Generate Parsing Code from JSON

    // Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.
    // See this example explaining how this memory should be used: const char * functions.

    CreationTime = CkJsonObjectW_IntOf(jResp,L"Volume.CreationTime");
    FileSystemId = CkJsonObjectW_stringOf(jResp,L"Volume.FileSystemId");
    Lifecycle = CkJsonObjectW_stringOf(jResp,L"Volume.Lifecycle");
    Message = CkJsonObjectW_stringOf(jResp,L"Volume.LifecycleTransitionReason.Message");
    Name = CkJsonObjectW_stringOf(jResp,L"Volume.Name");
    FlexCacheEndpointType = CkJsonObjectW_stringOf(jResp,L"Volume.OntapConfiguration.FlexCacheEndpointType");
    JunctionPath = CkJsonObjectW_stringOf(jResp,L"Volume.OntapConfiguration.JunctionPath");
    OntapVolumeType = CkJsonObjectW_stringOf(jResp,L"Volume.OntapConfiguration.OntapVolumeType");
    SecurityStyle = CkJsonObjectW_stringOf(jResp,L"Volume.OntapConfiguration.SecurityStyle");
    SizeInMegabytes = CkJsonObjectW_IntOf(jResp,L"Volume.OntapConfiguration.SizeInMegabytes");
    StorageEfficiencyEnabled = CkJsonObjectW_IntOf(jResp,L"Volume.OntapConfiguration.StorageEfficiencyEnabled");
    StorageVirtualMachineId = CkJsonObjectW_stringOf(jResp,L"Volume.OntapConfiguration.StorageVirtualMachineId");
    StorageVirtualMachineRoot = CkJsonObjectW_IntOf(jResp,L"Volume.OntapConfiguration.StorageVirtualMachineRoot");
    CoolingPeriod = CkJsonObjectW_IntOf(jResp,L"Volume.OntapConfiguration.TieringPolicy.CoolingPeriod");
    TieringPolicyName = CkJsonObjectW_stringOf(jResp,L"Volume.OntapConfiguration.TieringPolicy.Name");
    UUID = CkJsonObjectW_stringOf(jResp,L"Volume.OntapConfiguration.UUID");
    CopyTagsToSnapshots = CkJsonObjectW_IntOf(jResp,L"Volume.OpenZFSConfiguration.CopyTagsToSnapshots");
    DataCompressionType = CkJsonObjectW_stringOf(jResp,L"Volume.OpenZFSConfiguration.DataCompressionType");
    CopyStrategy = CkJsonObjectW_stringOf(jResp,L"Volume.OpenZFSConfiguration.OriginSnapshot.CopyStrategy");
    SnapshotARN = CkJsonObjectW_stringOf(jResp,L"Volume.OpenZFSConfiguration.OriginSnapshot.SnapshotARN");
    ParentVolumeId = CkJsonObjectW_stringOf(jResp,L"Volume.OpenZFSConfiguration.ParentVolumeId");
    ReadOnly = CkJsonObjectW_IntOf(jResp,L"Volume.OpenZFSConfiguration.ReadOnly");
    RecordSizeKiB = CkJsonObjectW_IntOf(jResp,L"Volume.OpenZFSConfiguration.RecordSizeKiB");
    StorageCapacityQuotaGiB = CkJsonObjectW_IntOf(jResp,L"Volume.OpenZFSConfiguration.StorageCapacityQuotaGiB");
    StorageCapacityReservationGiB = CkJsonObjectW_IntOf(jResp,L"Volume.OpenZFSConfiguration.StorageCapacityReservationGiB");
    VolumePath = CkJsonObjectW_stringOf(jResp,L"Volume.OpenZFSConfiguration.VolumePath");
    ResourceARN = CkJsonObjectW_stringOf(jResp,L"Volume.ResourceARN");
    VolumeId = CkJsonObjectW_stringOf(jResp,L"Volume.VolumeId");
    VolumeType = CkJsonObjectW_stringOf(jResp,L"Volume.VolumeType");
    i = 0;
    count_i = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions");
    while (i < count_i) {
        CkJsonObjectW_putI(jResp,i);
        AdministrativeActionType = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].AdministrativeActionType");
        FailureDetailsMessage = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].FailureDetails.Message");
        ProgressPercent = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].ProgressPercent");
        RequestTime = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].RequestTime");
        Status = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].Status");
        TargetFileSystemValuesCreationTime = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.CreationTime");
        DNSName = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.DNSName");
        FailureDetailsMessage = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.FailureDetails.Message");
        TargetFileSystemValuesFileSystemId = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.FileSystemId");
        FileSystemType = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.FileSystemType");
        FileSystemTypeVersion = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.FileSystemTypeVersion");
        KmsKeyId = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.KmsKeyId");
        TargetFileSystemValuesLifecycle = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.Lifecycle");
        AutomaticBackupRetentionDays = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.AutomaticBackupRetentionDays");
        CopyTagsToBackups = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.CopyTagsToBackups");
        DailyAutomaticBackupStartTime = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DailyAutomaticBackupStartTime");
        LustreConfigurationDataCompressionType = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataCompressionType");
        AutoImportPolicy = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.AutoImportPolicy");
        ExportPath = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ExportPath");
        FailureDetailsMessage = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.FailureDetails.Message");
        ImportedFileChunkSize = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ImportedFileChunkSize");
        ImportPath = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.ImportPath");
        DataRepositoryConfigurationLifecycle = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DataRepositoryConfiguration.Lifecycle");
        DeploymentType = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DeploymentType");
        DriveCacheType = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.DriveCacheType");
        Destination = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.LogConfiguration.Destination");
        Level = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.LogConfiguration.Level");
        MountName = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.MountName");
        PerUnitStorageThroughput = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.PerUnitStorageThroughput");
        WeeklyMaintenanceStartTime = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.LustreConfiguration.WeeklyMaintenanceStartTime");
        OntapConfigurationAutomaticBackupRetentionDays = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.AutomaticBackupRetentionDays");
        OntapConfigurationDailyAutomaticBackupStartTime = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DailyAutomaticBackupStartTime");
        OntapConfigurationDeploymentType = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DeploymentType");
        Iops = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DiskIopsConfiguration.Iops");
        Mode = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.DiskIopsConfiguration.Mode");
        EndpointIpAddressRange = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.EndpointIpAddressRange");
        InterclusterDNSName = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.DNSName");
        ManagementDNSName = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.DNSName");
        PreferredSubnetId = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.PreferredSubnetId");
        ThroughputCapacity = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.ThroughputCapacity");
        OntapConfigurationWeeklyMaintenanceStartTime = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.WeeklyMaintenanceStartTime");
        OpenZFSConfigurationAutomaticBackupRetentionDays = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.AutomaticBackupRetentionDays");
        OpenZFSConfigurationCopyTagsToBackups = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.CopyTagsToBackups");
        CopyTagsToVolumes = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.CopyTagsToVolumes");
        OpenZFSConfigurationDailyAutomaticBackupStartTime = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DailyAutomaticBackupStartTime");
        OpenZFSConfigurationDeploymentType = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DeploymentType");
        DiskIopsConfigurationIops = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DiskIopsConfiguration.Iops");
        DiskIopsConfigurationMode = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.DiskIopsConfiguration.Mode");
        RootVolumeId = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.RootVolumeId");
        OpenZFSConfigurationThroughputCapacity = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.ThroughputCapacity");
        OpenZFSConfigurationWeeklyMaintenanceStartTime = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OpenZFSConfiguration.WeeklyMaintenanceStartTime");
        OwnerId = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OwnerId");
        TargetFileSystemValuesResourceARN = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.ResourceARN");
        StorageCapacity = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.StorageCapacity");
        StorageType = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.StorageType");
        VpcId = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.VpcId");
        ActiveDirectoryId = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.ActiveDirectoryId");
        AuditLogDestination = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.AuditLogDestination");
        FileAccessAuditLogLevel = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.FileAccessAuditLogLevel");
        FileShareAccessAuditLogLevel = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AuditLogConfiguration.FileShareAccessAuditLogLevel");
        WindowsConfigurationAutomaticBackupRetentionDays = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.AutomaticBackupRetentionDays");
        WindowsConfigurationCopyTagsToBackups = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.CopyTagsToBackups");
        WindowsConfigurationDailyAutomaticBackupStartTime = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.DailyAutomaticBackupStartTime");
        WindowsConfigurationDeploymentType = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.DeploymentType");
        PreferredFileServerIp = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.PreferredFileServerIp");
        WindowsConfigurationPreferredSubnetId = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.PreferredSubnetId");
        RemoteAdministrationEndpoint = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.RemoteAdministrationEndpoint");
        DomainName = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DomainName");
        FileSystemAdministratorsGroup = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.FileSystemAdministratorsGroup");
        OrganizationalUnitDistinguishedName = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.OrganizationalUnitDistinguishedName");
        UserName = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.UserName");
        WindowsConfigurationThroughputCapacity = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.ThroughputCapacity");
        WindowsConfigurationWeeklyMaintenanceStartTime = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.WeeklyMaintenanceStartTime");
        TargetSnapshotValuesCreationTime = CkJsonObjectW_IntOf(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.CreationTime");
        TargetSnapshotValuesLifecycle = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.Lifecycle");
        LifecycleTransitionReasonMessage = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.LifecycleTransitionReason.Message");
        TargetSnapshotValuesName = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.Name");
        TargetSnapshotValuesResourceARN = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.ResourceARN");
        SnapshotId = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.SnapshotId");
        TargetSnapshotValuesVolumeId = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.VolumeId");
        TargetVolumeValues = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetVolumeValues");
        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.AdministrativeActions");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            strVal = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.AdministrativeActions[j]");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.NetworkInterfaceIds");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            strVal = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.NetworkInterfaceIds[j]");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.IpAddresses");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            strVal = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Intercluster.IpAddresses[j]");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.IpAddresses");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            strVal = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.Endpoints.Management.IpAddresses[j]");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.RouteTableIds");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            strVal = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.OntapConfiguration.RouteTableIds[j]");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.SubnetIds");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            strVal = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.SubnetIds[j]");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.Tags");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            Key = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.Tags[j].Key");
            Value = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.Tags[j].Value");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.Aliases");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            Lifecycle = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.Aliases[j].Lifecycle");
            Name = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.Aliases[j].Name");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.MaintenanceOperationsInProgress");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            strVal = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.MaintenanceOperationsInProgress[j]");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            strVal = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetFileSystemValues.WindowsConfiguration.SelfManagedActiveDirectoryConfiguration.DnsIps[j]");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            strVal = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.AdministrativeActions[j]");
            j = j + 1;
        }

        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.Tags");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            Key = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Key");
            Value = CkJsonObjectW_stringOf(jResp,L"Volume.AdministrativeActions[i].TargetSnapshotValues.Tags[j].Value");
            j = j + 1;
        }

        i = i + 1;
    }

    i = 0;
    count_i = CkJsonObjectW_SizeOfArray(jResp,L"Volume.OpenZFSConfiguration.NfsExports");
    while (i < count_i) {
        CkJsonObjectW_putI(jResp,i);
        j = 0;
        count_j = CkJsonObjectW_SizeOfArray(jResp,L"Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations");
        while (j < count_j) {
            CkJsonObjectW_putJ(jResp,j);
            Clients = CkJsonObjectW_stringOf(jResp,L"Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations[j].Clients");
            k = 0;
            count_k = CkJsonObjectW_SizeOfArray(jResp,L"Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations[j].Options");
            while (k < count_k) {
                CkJsonObjectW_putK(jResp,k);
                strVal = CkJsonObjectW_stringOf(jResp,L"Volume.OpenZFSConfiguration.NfsExports[i].ClientConfigurations[j].Options[k]");
                k = k + 1;
            }

            j = j + 1;
        }

        i = i + 1;
    }

    i = 0;
    count_i = CkJsonObjectW_SizeOfArray(jResp,L"Volume.OpenZFSConfiguration.UserAndGroupQuotas");
    while (i < count_i) {
        CkJsonObjectW_putI(jResp,i);
        Id = CkJsonObjectW_IntOf(jResp,L"Volume.OpenZFSConfiguration.UserAndGroupQuotas[i].Id");
        StorageCapacityQuotaGiB = CkJsonObjectW_IntOf(jResp,L"Volume.OpenZFSConfiguration.UserAndGroupQuotas[i].StorageCapacityQuotaGiB");
        v_Type = CkJsonObjectW_stringOf(jResp,L"Volume.OpenZFSConfiguration.UserAndGroupQuotas[i].Type");
        i = i + 1;
    }

    i = 0;
    count_i = CkJsonObjectW_SizeOfArray(jResp,L"Volume.Tags");
    while (i < count_i) {
        CkJsonObjectW_putI(jResp,i);
        Key = CkJsonObjectW_stringOf(jResp,L"Volume.Tags[i].Key");
        Value = CkJsonObjectW_stringOf(jResp,L"Volume.Tags[i].Value");
        i = i + 1;
    }

    // A sample JSON response body parsed by the above code:

    // {
    //   "Volume": {
    //     "AdministrativeActions": [
    //       {
    //         "AdministrativeActionType": "string",
    //         "FailureDetails": {
    //           "Message": "string"
    //         },
    //         "ProgressPercent": number,
    //         "RequestTime": number,
    //         "Status": "string",
    //         "TargetFileSystemValues": {
    //           "AdministrativeActions": [
    //             "AdministrativeAction"
    //           ],
    //           "CreationTime": number,
    //           "DNSName": "string",
    //           "FailureDetails": {
    //             "Message": "string"
    //           },
    //           "FileSystemId": "string",
    //           "FileSystemType": "string",
    //           "FileSystemTypeVersion": "string",
    //           "KmsKeyId": "string",
    //           "Lifecycle": "string",
    //           "LustreConfiguration": {
    //             "AutomaticBackupRetentionDays": number,
    //             "CopyTagsToBackups": boolean,
    //             "DailyAutomaticBackupStartTime": "string",
    //             "DataCompressionType": "string",
    //             "DataRepositoryConfiguration": {
    //               "AutoImportPolicy": "string",
    //               "ExportPath": "string",
    //               "FailureDetails": {
    //                 "Message": "string"
    //               },
    //               "ImportedFileChunkSize": number,
    //               "ImportPath": "string",
    //               "Lifecycle": "string"
    //             },
    //             "DeploymentType": "string",
    //             "DriveCacheType": "string",
    //             "LogConfiguration": {
    //               "Destination": "string",
    //               "Level": "string"
    //             },
    //             "MountName": "string",
    //             "PerUnitStorageThroughput": number,
    //             "WeeklyMaintenanceStartTime": "string"
    //           },
    //           "NetworkInterfaceIds": [
    //             "string"
    //           ],
    //           "OntapConfiguration": {
    //             "AutomaticBackupRetentionDays": number,
    //             "DailyAutomaticBackupStartTime": "string",
    //             "DeploymentType": "string",
    //             "DiskIopsConfiguration": {
    //               "Iops": number,
    //               "Mode": "string"
    //             },
    //             "EndpointIpAddressRange": "string",
    //             "Endpoints": {
    //               "Intercluster": {
    //                 "DNSName": "string",
    //                 "IpAddresses": [
    //                   "string"
    //                 ]
    //               },
    //               "Management": {
    //                 "DNSName": "string",
    //                 "IpAddresses": [
    //                   "string"
    //                 ]
    //               }
    //             },
    //             "PreferredSubnetId": "string",
    //             "RouteTableIds": [
    //               "string"
    //             ],
    //             "ThroughputCapacity": number,
    //             "WeeklyMaintenanceStartTime": "string"
    //           },
    //           "OpenZFSConfiguration": {
    //             "AutomaticBackupRetentionDays": number,
    //             "CopyTagsToBackups": boolean,
    //             "CopyTagsToVolumes": boolean,
    //             "DailyAutomaticBackupStartTime": "string",
    //             "DeploymentType": "string",
    //             "DiskIopsConfiguration": {
    //               "Iops": number,
    //               "Mode": "string"
    //             },
    //             "RootVolumeId": "string",
    //             "ThroughputCapacity": number,
    //             "WeeklyMaintenanceStartTime": "string"
    //           },
    //           "OwnerId": "string",
    //           "ResourceARN": "string",
    //           "StorageCapacity": number,
    //           "StorageType": "string",
    //           "SubnetIds": [
    //             "string"
    //           ],
    //           "Tags": [
    //             {
    //               "Key": "string",
    //               "Value": "string"
    //             }
    //           ],
    //           "VpcId": "string",
    //           "WindowsConfiguration": {
    //             "ActiveDirectoryId": "string",
    //             "Aliases": [
    //               {
    //                 "Lifecycle": "string",
    //                 "Name": "string"
    //               }
    //             ],
    //             "AuditLogConfiguration": {
    //               "AuditLogDestination": "string",
    //               "FileAccessAuditLogLevel": "string",
    //               "FileShareAccessAuditLogLevel": "string"
    //             },
    //             "AutomaticBackupRetentionDays": number,
    //             "CopyTagsToBackups": boolean,
    //             "DailyAutomaticBackupStartTime": "string",
    //             "DeploymentType": "string",
    //             "MaintenanceOperationsInProgress": [
    //               "string"
    //             ],
    //             "PreferredFileServerIp": "string",
    //             "PreferredSubnetId": "string",
    //             "RemoteAdministrationEndpoint": "string",
    //             "SelfManagedActiveDirectoryConfiguration": {
    //               "DnsIps": [
    //                 "string"
    //               ],
    //               "DomainName": "string",
    //               "FileSystemAdministratorsGroup": "string",
    //               "OrganizationalUnitDistinguishedName": "string",
    //               "UserName": "string"
    //             },
    //             "ThroughputCapacity": number,
    //             "WeeklyMaintenanceStartTime": "string"
    //           }
    //         },
    //         "TargetSnapshotValues": {
    //           "AdministrativeActions": [
    //             "AdministrativeAction"
    //           ],
    //           "CreationTime": number,
    //           "Lifecycle": "string",
    //           "LifecycleTransitionReason": {
    //             "Message": "string"
    //           },
    //           "Name": "string",
    //           "ResourceARN": "string",
    //           "SnapshotId": "string",
    //           "Tags": [
    //             {
    //               "Key": "string",
    //               "Value": "string"
    //             }
    //           ],
    //           "VolumeId": "string"
    //         },
    //         "TargetVolumeValues": "Volume"
    //       }
    //     ],
    //     "CreationTime": number,
    //     "FileSystemId": "string",
    //     "Lifecycle": "string",
    //     "LifecycleTransitionReason": {
    //       "Message": "string"
    //     },
    //     "Name": "string",
    //     "OntapConfiguration": {
    //       "FlexCacheEndpointType": "string",
    //       "JunctionPath": "string",
    //       "OntapVolumeType": "string",
    //       "SecurityStyle": "string",
    //       "SizeInMegabytes": number,
    //       "StorageEfficiencyEnabled": boolean,
    //       "StorageVirtualMachineId": "string",
    //       "StorageVirtualMachineRoot": boolean,
    //       "TieringPolicy": {
    //         "CoolingPeriod": number,
    //         "Name": "string"
    //       },
    //       "UUID": "string"
    //     },
    //     "OpenZFSConfiguration": {
    //       "CopyTagsToSnapshots": boolean,
    //       "DataCompressionType": "string",
    //       "NfsExports": [
    //         {
    //           "ClientConfigurations": [
    //             {
    //               "Clients": "string",
    //               "Options": [
    //                 "string"
    //               ]
    //             }
    //           ]
    //         }
    //       ],
    //       "OriginSnapshot": {
    //         "CopyStrategy": "string",
    //         "SnapshotARN": "string"
    //       },
    //       "ParentVolumeId": "string",
    //       "ReadOnly": boolean,
    //       "RecordSizeKiB": number,
    //       "StorageCapacityQuotaGiB": number,
    //       "StorageCapacityReservationGiB": number,
    //       "UserAndGroupQuotas": [
    //         {
    //           "Id": number,
    //           "StorageCapacityQuotaGiB": number,
    //           "Type": "string"
    //         }
    //       ],
    //       "VolumePath": "string"
    //     },
    //     "ResourceARN": "string",
    //     "Tags": [
    //       {
    //         "Key": "string",
    //         "Value": "string"
    //       }
    //     ],
    //     "VolumeId": "string",
    //     "VolumeType": "string"
    //   }
    // }


    CkRestW_Dispose(rest);
    CkAuthAwsW_Dispose(authAws);
    CkJsonObjectW_Dispose(json);
    CkStringBuilderW_Dispose(sbRequestBody);
    CkStringBuilderW_Dispose(sbResponseBody);
    CkJsonObjectW_Dispose(jResp);

    }