VaporShell.IoTCoreDeviceAdvisor.Classes.ps1

using namespace System
using namespace System.Collections
using namespace System.Collections.Generic
using namespace System.IO
using namespace System.Management.Automation
[CmdletBinding()]
Param()

Write-Verbose "Importing class 'IoTCoreDeviceAdvisorSuiteDefinition'"

class IoTCoreDeviceAdvisorSuiteDefinition : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSIoTCoreDeviceAdvisorSuiteDefinition'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotcoredeviceadvisor-suitedefinition.html'

    hidden [string[]] $_attributes = @('SuiteDefinitionId','SuiteDefinitionArn','SuiteDefinitionVersion')
    hidden [object] $_condition

    [string] $Type = 'AWS::IoTCoreDeviceAdvisor::SuiteDefinition'
    [VSJson] $SuiteDefinitionConfiguration
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name SuiteDefinitionConfiguration -Value {
            $this.Properties['SuiteDefinitionConfiguration']
        } -SecondValue {
            param([ValidateType(([string], [VSJson], [VSYaml], [psobject], [IDictionary]))][object] $value)
            $this.Properties['SuiteDefinitionConfiguration'] = [VSJson]::Transform($value)
            Write-Debug $this.Properties['SuiteDefinitionConfiguration']
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Tags -Value {
            $this.Properties['Tags']
        } -SecondValue {
            param([TransformTag()] [ValidateType(([IDictionary], [psobject], [VSTag]))] [object] $value)
            $this.Properties['Tags'] = [VSTag]::TransformTag($value)
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

    IoTCoreDeviceAdvisorSuiteDefinition() : base() {}
    IoTCoreDeviceAdvisorSuiteDefinition([IDictionary] $props) : base($props) {}
    IoTCoreDeviceAdvisorSuiteDefinition([psobject] $props) : base($props) {}
}