VaporShell.Location.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 'LocationPlaceIndexDataSourceConfiguration'"

class LocationPlaceIndexDataSourceConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSLocationPlaceIndexDataSourceConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-placeindex-datasourceconfiguration.html'

    hidden [object] $_intendedUse

    [string] $IntendedUse

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

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

Write-Verbose "Importing class 'LocationMapMapConfiguration'"

class LocationMapMapConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSLocationMapMapConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-location-map-mapconfiguration.html'

    hidden [object] $_style

    [string] $Style

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

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

Write-Verbose "Importing class 'LocationTracker'"

class LocationTracker : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSLocationTracker'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-tracker.html'

    hidden [string[]] $_attributes = @('CreateTime','TrackerArn','Arn','UpdateTime')
    hidden [object] $_condition

    [string] $Type = 'AWS::Location::Tracker'
    [string] $Description
    [string] $KmsKeyId
    [string] $PricingPlan
    [string] $PricingPlanDataSource
    [string] $PositionFiltering
    [string] $TrackerName
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name Description -Value {
            $this.Properties['Description']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Description'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name KmsKeyId -Value {
            $this.Properties['KmsKeyId']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['KmsKeyId'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name PricingPlan -Value {
            $this.Properties['PricingPlan']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PricingPlan'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name PricingPlanDataSource -Value {
            $this.Properties['PricingPlanDataSource']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PricingPlanDataSource'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name PositionFiltering -Value {
            $this.Properties['PositionFiltering']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PositionFiltering'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name TrackerName -Value {
            $this.Properties['TrackerName']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['TrackerName'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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

Write-Verbose "Importing class 'LocationGeofenceCollection'"

class LocationGeofenceCollection : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSLocationGeofenceCollection'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-geofencecollection.html'

    hidden [string[]] $_attributes = @('CollectionArn','Arn','CreateTime','UpdateTime')
    hidden [object] $_condition

    [string] $Type = 'AWS::Location::GeofenceCollection'
    [string] $CollectionName
    [string] $Description
    [string] $KmsKeyId
    [string] $PricingPlan
    [string] $PricingPlanDataSource
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name CollectionName -Value {
            $this.Properties['CollectionName']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['CollectionName'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Description -Value {
            $this.Properties['Description']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Description'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name KmsKeyId -Value {
            $this.Properties['KmsKeyId']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['KmsKeyId'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name PricingPlan -Value {
            $this.Properties['PricingPlan']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PricingPlan'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name PricingPlanDataSource -Value {
            $this.Properties['PricingPlanDataSource']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PricingPlanDataSource'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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

Write-Verbose "Importing class 'LocationTrackerConsumer'"

class LocationTrackerConsumer : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSLocationTrackerConsumer'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-trackerconsumer.html'

    hidden [object] $_condition

    [string] $Type = 'AWS::Location::TrackerConsumer'
    [string] $ConsumerArn
    [string] $TrackerName
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name ConsumerArn -Value {
            $this.Properties['ConsumerArn']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ConsumerArn'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name TrackerName -Value {
            $this.Properties['TrackerName']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['TrackerName'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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

Write-Verbose "Importing class 'LocationRouteCalculator'"

class LocationRouteCalculator : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSLocationRouteCalculator'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-routecalculator.html'

    hidden [string[]] $_attributes = @('CalculatorArn','Arn','CreateTime','UpdateTime')
    hidden [object] $_condition

    [string] $Type = 'AWS::Location::RouteCalculator'
    [string] $CalculatorName
    [string] $DataSource
    [string] $Description
    [string] $PricingPlan
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name CalculatorName -Value {
            $this.Properties['CalculatorName']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['CalculatorName'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name DataSource -Value {
            $this.Properties['DataSource']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['DataSource'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Description -Value {
            $this.Properties['Description']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Description'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name PricingPlan -Value {
            $this.Properties['PricingPlan']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PricingPlan'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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

Write-Verbose "Importing class 'LocationMap'"

class LocationMap : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSLocationMap'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-map.html'

    hidden [string[]] $_attributes = @('CreateTime','DataSource','MapArn','Arn','UpdateTime')
    hidden [object] $_condition

    [string] $Type = 'AWS::Location::Map'
    [LocationMapMapConfiguration] $Configuration
    [string] $Description
    [string] $MapName
    [string] $PricingPlan
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name Configuration -Value {
            $this.Properties['Configuration']
        } -SecondValue {
            param([ValidateType(([LocationMapMapConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Configuration'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Description -Value {
            $this.Properties['Description']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Description'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name MapName -Value {
            $this.Properties['MapName']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['MapName'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name PricingPlan -Value {
            $this.Properties['PricingPlan']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PricingPlan'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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

Write-Verbose "Importing class 'LocationPlaceIndex'"

class LocationPlaceIndex : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSLocationPlaceIndex'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-location-placeindex.html'

    hidden [string[]] $_attributes = @('CreateTime','IndexArn','Arn','UpdateTime')
    hidden [object] $_condition

    [string] $Type = 'AWS::Location::PlaceIndex'
    [string] $DataSource
    [LocationPlaceIndexDataSourceConfiguration] $DataSourceConfiguration
    [string] $Description
    [string] $IndexName
    [string] $PricingPlan
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name DataSource -Value {
            $this.Properties['DataSource']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['DataSource'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name DataSourceConfiguration -Value {
            $this.Properties['DataSourceConfiguration']
        } -SecondValue {
            param([ValidateType(([LocationPlaceIndexDataSourceConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['DataSourceConfiguration'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Description -Value {
            $this.Properties['Description']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Description'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name IndexName -Value {
            $this.Properties['IndexName']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['IndexName'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name PricingPlan -Value {
            $this.Properties['PricingPlan']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['PricingPlan'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Condition -Value {
            $this._condition
        } -SecondValue {
            param(
                [ValidateType(([string], [IntrinsicFunction], [ConditionFunction]))] [object]
                $value
            )
            $this._condition = $value
        }
    }

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