VaporShell.IoTThingsGraph.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 'IoTThingsGraphFlowTemplateDefinitionDocument'"

class IoTThingsGraphFlowTemplateDefinitionDocument : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSIoTThingsGraphFlowTemplateDefinitionDocument'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iotthingsgraph-flowtemplate-definitiondocument.html'

    hidden [object] $_language
    hidden [object] $_text

    [string] $Language
    [string] $Text

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name Language -Value {
            $this._language
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._language = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Text -Value {
            $this._text
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._text = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
    }

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

Write-Verbose "Importing class 'IoTThingsGraphFlowTemplate'"

class IoTThingsGraphFlowTemplate : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSIoTThingsGraphFlowTemplate'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iotthingsgraph-flowtemplate.html'

    hidden [object] $_condition

    [string] $Type = 'AWS::IoTThingsGraph::FlowTemplate'
    [double] $CompatibleNamespaceVersion
    [IoTThingsGraphFlowTemplateDefinitionDocument] $Definition
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name CompatibleNamespaceVersion -Value {
            $this.Properties['CompatibleNamespaceVersion']
        } -SecondValue {
            param([ValidateType(([double], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['CompatibleNamespaceVersion'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Definition -Value {
            $this.Properties['Definition']
        } -SecondValue {
            param([ValidateType(([IoTThingsGraphFlowTemplateDefinitionDocument], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Definition'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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