VaporShell.Wisdom.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 'WisdomAssistantAssociationAssociationData'"

class WisdomAssistantAssociationAssociationData : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSWisdomAssistantAssociationAssociationData'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-assistantassociation-associationdata.html'

    hidden [object] $_knowledgeBaseId

    [string] $KnowledgeBaseId

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

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

Write-Verbose "Importing class 'WisdomKnowledgeBaseAppIntegrationsConfiguration'"

class WisdomKnowledgeBaseAppIntegrationsConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSWisdomKnowledgeBaseAppIntegrationsConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-appintegrationsconfiguration.html'

    hidden [object] $_objectFields
    hidden [object] $_appIntegrationArn

    [string[]] $ObjectFields
    [string] $AppIntegrationArn

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

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

Write-Verbose "Importing class 'WisdomKnowledgeBaseServerSideEncryptionConfiguration'"

class WisdomKnowledgeBaseServerSideEncryptionConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSWisdomKnowledgeBaseServerSideEncryptionConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-serversideencryptionconfiguration.html'

    hidden [object] $_kmsKeyId

    [string] $KmsKeyId

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

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

Write-Verbose "Importing class 'WisdomKnowledgeBaseRenderingConfiguration'"

class WisdomKnowledgeBaseRenderingConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSWisdomKnowledgeBaseRenderingConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-renderingconfiguration.html'

    hidden [object] $_templateUri

    [string] $TemplateUri

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

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

Write-Verbose "Importing class 'WisdomAssistantServerSideEncryptionConfiguration'"

class WisdomAssistantServerSideEncryptionConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSWisdomAssistantServerSideEncryptionConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-assistant-serversideencryptionconfiguration.html'

    hidden [object] $_kmsKeyId

    [string] $KmsKeyId

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

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

Write-Verbose "Importing class 'WisdomKnowledgeBaseSourceConfiguration'"

class WisdomKnowledgeBaseSourceConfiguration : VSResourceProperty {
    hidden [string] $_vsFunctionName = 'Add-VSWisdomKnowledgeBaseSourceConfiguration'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-wisdom-knowledgebase-sourceconfiguration.html'

    hidden [object] $_appIntegrations

    [WisdomKnowledgeBaseAppIntegrationsConfiguration] $AppIntegrations

    hidden [void] _addAccessors() {
        $this | Add-Member -Force -MemberType ScriptProperty -Name AppIntegrations -Value {
            $this._appIntegrations
        } -SecondValue {
            param([ValidateType(([WisdomKnowledgeBaseAppIntegrationsConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this._appIntegrations = $value
        }
    }

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

Write-Verbose "Importing class 'WisdomKnowledgeBase'"

class WisdomKnowledgeBase : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSWisdomKnowledgeBase'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-knowledgebase.html'

    hidden [string[]] $_attributes = @('KnowledgeBaseArn','KnowledgeBaseId')
    hidden [object] $_condition

    [string] $Type = 'AWS::Wisdom::KnowledgeBase'
    [string] $Description
    [string] $KnowledgeBaseType
    [string] $Name
    [WisdomKnowledgeBaseRenderingConfiguration] $RenderingConfiguration
    [WisdomKnowledgeBaseServerSideEncryptionConfiguration] $ServerSideEncryptionConfiguration
    [WisdomKnowledgeBaseSourceConfiguration] $SourceConfiguration
    [VSTag[]] $Tags
    [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 KnowledgeBaseType -Value {
            $this.Properties['KnowledgeBaseType']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['KnowledgeBaseType'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Name -Value {
            $this.Properties['Name']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Name'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name RenderingConfiguration -Value {
            $this.Properties['RenderingConfiguration']
        } -SecondValue {
            param([ValidateType(([WisdomKnowledgeBaseRenderingConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['RenderingConfiguration'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name ServerSideEncryptionConfiguration -Value {
            $this.Properties['ServerSideEncryptionConfiguration']
        } -SecondValue {
            param([ValidateType(([WisdomKnowledgeBaseServerSideEncryptionConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ServerSideEncryptionConfiguration'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name SourceConfiguration -Value {
            $this.Properties['SourceConfiguration']
        } -SecondValue {
            param([ValidateType(([WisdomKnowledgeBaseSourceConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['SourceConfiguration'] = $value
        }
        $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
        }
    }

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

Write-Verbose "Importing class 'WisdomAssistantAssociation'"

class WisdomAssistantAssociation : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSWisdomAssistantAssociation'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistantassociation.html'

    hidden [string[]] $_attributes = @('AssistantAssociationArn','AssistantArn','AssistantAssociationId')
    hidden [object] $_condition

    [string] $Type = 'AWS::Wisdom::AssistantAssociation'
    [string] $AssistantId
    [WisdomAssistantAssociationAssociationData] $Association
    [string] $AssociationType
    [VSTag[]] $Tags
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name AssistantId -Value {
            $this.Properties['AssistantId']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['AssistantId'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name Association -Value {
            $this.Properties['Association']
        } -SecondValue {
            param([ValidateType(([WisdomAssistantAssociationAssociationData], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Association'] = $value
        }
        $this | Add-Member -Force -MemberType ScriptProperty -Name AssociationType -Value {
            $this.Properties['AssociationType']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['AssociationType'] = if ($value -is [int]) {
                $value.ToString()
            }
            else {
                $value
            }
        }
        $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
        }
    }

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

Write-Verbose "Importing class 'WisdomAssistant'"

class WisdomAssistant : VSResource {
    hidden [string] $_vsFunctionName = 'New-VSWisdomAssistant'
    hidden [string] $_awsDocumentation = 'http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-wisdom-assistant.html'

    hidden [string[]] $_attributes = @('AssistantArn','AssistantId')
    hidden [object] $_condition

    [string] $Type = 'AWS::Wisdom::Assistant'
    [string] $AssistantType
    [string] $Description
    [WisdomAssistantServerSideEncryptionConfiguration] $ServerSideEncryptionConfiguration
    [VSTag[]] $Tags
    [string] $Name
    [VSJson] $Metadata
    [UpdatePolicy] $UpdatePolicy
    [string] $Condition

    hidden [void] _addAccessors() {
        $this._addBaseAccessors()
        $this | Add-Member -Force -MemberType ScriptProperty -Name AssistantType -Value {
            $this.Properties['AssistantType']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['AssistantType'] = 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 ServerSideEncryptionConfiguration -Value {
            $this.Properties['ServerSideEncryptionConfiguration']
        } -SecondValue {
            param([ValidateType(([WisdomAssistantServerSideEncryptionConfiguration], [string], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['ServerSideEncryptionConfiguration'] = $value
        }
        $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 Name -Value {
            $this.Properties['Name']
        } -SecondValue {
            param([ValidateType(([string], [int], [IntrinsicFunction], [ConditionFunction]))] [object] $value)
            $this.Properties['Name'] = 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
        }
    }

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